<commit_before># Changelog

### 2.0.0 - Unreleased

Features
- Allow skipping authorization per action (https://github.com/varvet/godmin/pull/231)

Bug fixes
- Support namespaced models when generating resources (https://github.com/varvet/godmin/issues/181)

Other
- Drop support for Rails 4 (https://github.com/varvet/godmin/pull/239)
- Better policy lookups for namespaced models (https://github.com/varvet/godmin/pull/180)
- Use Pundit for authorization (https://github.com/varvet/godmin/pull/180)

In order to upgrade
- Upgrade to Rails 5 and Ruby 2.2.2
- If using an admin engine, create a namespaced model for every resource, inheriting from the main app model
- Replace any `authenticate_admin_user` with `authenticate`
- Replace any `skip_before_action :authenticate_admin_user` with `prepend_before_action :disable_authentication`
- Replace any `rescue_from NotAuthorizedError` with `rescue_from Pundit::NotAuthorizedError`

### 1.5.0 - 2017-02-17

Features
- Support for nested resources (https://github.com/varvet/godmin/pull/189)

### 1.4.0 - 2017-02-15

Features
- Support group queries in scopes and filters (https://github.com/varvet/godmin/pull/208)
- Change color of remove buttons, so they're not grabbing all the attention (https://github.com/varvet/godmin/pull/212)

Bug fixes
- Fix permitted params in sessions controller to work with models other than `AdminUser` (https://github.com/varvet/godmin/pull/210)

Other<commit_msg>Prepares release<commit_after># Changelog

### 2.0.0 - 2019-12-06

Features
- Allow skipping authorization per action (https://github.com/varvet/godmin/pull/231)

Bug fixes
- Support namespaced models when generating resources (https://github.com/varvet/godmin/issues/181)

Other
- Drop support for Rails 4 (https://github.com/varvet/godmin/pull/239)
- Better policy lookups for namespaced models (https://github.com/varvet/godmin/pull/180)
- Use Pundit for authorization (https://github.com/varvet/godmin/pull/180)
- Rails 6 support (https://github.com/varvet/godmin/pull/248) and (https://github.com/varvet/godmin/pull/250)

In order to upgrade
- Upgrade to at least Rails 5 and Ruby 2.2.2
- If using an admin engine, create a namespaced model for every resource, inheriting from the main app model
- Replace any `authenticate_admin_user` with `authenticate`
- Replace any `skip_before_action :authenticate_admin_user` with `prepend_before_action :disable_authentication`
- Replace any `rescue_from NotAuthorizedError` with `rescue_from Pundit::NotAuthorizedError`

### 1.5.0 - 2017-02-17

Features
- Support for nested resources (https://github.com/varvet/godmin/pull/189)

### 1.4.0 - 2017-02-15

Features
- Support group queries in scopes and filters (https://github.com/varvet/godmin/pull/208)
- Change color of remove buttons, so they're not grabbing all the attention (https://github.com/varvet/godmin/pull/212)

Bug fixes
- Fix permitted params in sessions controller to work with models other than `AdminUser` (https://github.com/varvet/godmin/pull/210)

Other
{'fraction_non_alphanumeric': 0.1096752816434725, 'fraction_numerical': 0.042743538767395624, 'mean_word_length': 4.549632352941177, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4956082', 'n_tokens_mistral': 1054, 'n_tokens_neox': 927, 'n_words': 280}