diff --git a/CHANGELOG.md b/CHANGELOG.md index f6429db877..85739ad1c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## master (unreleased) +### Bug fixes + +* [#870](https://github.com/rubocop/rubocop-rails/issues/870): Fix an error for `Rails/RootPathnameMethods` when using `Rails.env` argument within `Dir.glob`. ([@koic][]) +* [#881](https://github.com/rubocop/rubocop-rails/pull/881): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` in multiline `rescue` branch before `redirect_to`. ([@gurix][]) +* [#871](https://github.com/rubocop/rubocop-rails/pull/871): Fix a false positive for `Rails/WhereMissing` when `left_joins(:foo)` and `where(foos: {id: nil})` separated by `or`, `and`. ([@ydah][]) +* [#875](https://github.com/rubocop/rubocop-rails/pull/875): Make `Rails/RootPathnameMethods` aware of enforced style of `Style/StringLiterals`. ([@koic][]) +* [#882](https://github.com/rubocop/rubocop-rails/pull/882): Fix false positive for `Rails/UniqueValidationWithoutIndex` with :conditions option. ([@etiennebarrie][]) +* [#821](https://github.com/rubocop/rubocop-rails/issues/821): Enhance `Rails/TimeZone` to accept methods with the `:in` timezone option. ([@fatkodima][]) + +### Changes + +* [#880](https://github.com/rubocop/rubocop-rails/pull/880): Add Rails/I18nLocaleTexts match for redirect_back. ([@bensheldon][]) + ## 2.17.3 (2022-11-20) ### Bug fixes @@ -766,3 +779,6 @@ [@jdufresne]: https://github.com/jdufresne [@vlad-pisanov]: https://github.com/vlad-pisanov [@gsamokovarov]: https://github.com/gsamokovarov +[@bensheldon]: https://github.com/bensheldon +[@gurix]: https://github.com/gurix +[@etiennebarrie]: https://github.com/etiennebarrie diff --git a/changelog/change_add_i18nlocaletext_match_for_redirect_back.md b/changelog/change_add_i18nlocaletext_match_for_redirect_back.md deleted file mode 100644 index 74626451b1..0000000000 --- a/changelog/change_add_i18nlocaletext_match_for_redirect_back.md +++ /dev/null @@ -1 +0,0 @@ -* [#880](https://github.com/rubocop/rubocop-rails/pull/880): Add Rails/I18nLocaleTexts match for redirect_back. ([@bensheldon][]) diff --git a/changelog/fix_an_error_for_rails_root_pathname_methods.md b/changelog/fix_an_error_for_rails_root_pathname_methods.md deleted file mode 100644 index 70c332ec9f..0000000000 --- a/changelog/fix_an_error_for_rails_root_pathname_methods.md +++ /dev/null @@ -1 +0,0 @@ -* [#870](https://github.com/rubocop/rubocop-rails/issues/870): Fix an error for `Rails/RootPathnameMethods` when using `Rails.env` argument within `Dir.glob`. ([@koic][]) diff --git a/changelog/fix_false_positive_action_controller_flash_before_render_after_rescue.md b/changelog/fix_false_positive_action_controller_flash_before_render_after_rescue.md deleted file mode 100644 index 0167185fc8..0000000000 --- a/changelog/fix_false_positive_action_controller_flash_before_render_after_rescue.md +++ /dev/null @@ -1 +0,0 @@ -* [#881](https://github.com/rubocop/rubocop-rails/pull/881): Fix a false positive for `Rails/ActionControllerFlashBeforeRender` when using `flash` in multiline `rescue` branch before `redirect_to`. ([@gurix][]) diff --git a/changelog/fix_fix_a_false_positive_for_rails_where_missing.md b/changelog/fix_fix_a_false_positive_for_rails_where_missing.md deleted file mode 100644 index d9ce7af504..0000000000 --- a/changelog/fix_fix_a_false_positive_for_rails_where_missing.md +++ /dev/null @@ -1 +0,0 @@ -* [#871](https://github.com/rubocop/rubocop-rails/pull/871): Fix a false positive for `Rails/WhereMissing` when `left_joins(:foo)` and `where(foos: {id: nil})` separated by `or`, `and`. ([@ydah][]) diff --git a/changelog/fix_make_rails_root_pathname_methods_aware_of_style_string_literals.md b/changelog/fix_make_rails_root_pathname_methods_aware_of_style_string_literals.md deleted file mode 100644 index a6cd122748..0000000000 --- a/changelog/fix_make_rails_root_pathname_methods_aware_of_style_string_literals.md +++ /dev/null @@ -1 +0,0 @@ -* [#875](https://github.com/rubocop/rubocop-rails/pull/875): Make `Rails/RootPathnameMethods` aware of enforced style of `Style/StringLiterals`. ([@koic][]) diff --git a/changelog/fix_support_conditions_option_of.md b/changelog/fix_support_conditions_option_of.md deleted file mode 100644 index 5627f8ea38..0000000000 --- a/changelog/fix_support_conditions_option_of.md +++ /dev/null @@ -1 +0,0 @@ -* [#882](https://github.com/rubocop/rubocop-rails/pull/882): Fix false positive for `Rails/UniqueValidationWithoutIndex` with :conditions option. ([@etiennebarrie][]) diff --git a/changelog/fix_time_zone_to_accept_in_option.md b/changelog/fix_time_zone_to_accept_in_option.md deleted file mode 100644 index 8f7ea24b1c..0000000000 --- a/changelog/fix_time_zone_to_accept_in_option.md +++ /dev/null @@ -1 +0,0 @@ -* [#821](https://github.com/rubocop/rubocop-rails/issues/821): Enhance `Rails/TimeZone` to accept methods with the `:in` timezone option. ([@fatkodima][])