From f052a898a509f5dc5b85d957ae02a6aebc87624c Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 26 Oct 2024 17:12:24 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 12 ++++++++++++ .../change_disable_transaction_exit_rails_7.2.md | 1 - .../change_env_local_to_handle_negated_conditions.md | 1 - ...ect_map_safe_navigation_handle_safe_navigation.md | 1 - changelog/fix_an_error_for_rails_enum_syntax.md | 1 - ..._rails_time_zone_string_to_time_with_specifier.md | 1 - 6 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 changelog/change_disable_transaction_exit_rails_7.2.md delete mode 100644 changelog/change_env_local_to_handle_negated_conditions.md delete mode 100644 changelog/change_select_map_safe_navigation_handle_safe_navigation.md delete mode 100644 changelog/fix_an_error_for_rails_enum_syntax.md delete mode 100644 changelog/fix_rails_time_zone_string_to_time_with_specifier.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 13df636ab8..176f115ddf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,17 @@ ## master (unreleased) +### Bug fixes + +* [#1377](https://github.com/rubocop/rubocop-rails/issues/1377): Fix an error for `Rails/EnumSyntax` when positional arguments are used and options are not passed as keyword arguments. ([@koic][]) +* [#1367](https://github.com/rubocop/rubocop-rails/pull/1367): Fix `Rails/TimeZone` should not report offense on `String#to_time` with timezone specifier. ([@armandmgt][]) + +### Changes + +* [#727](https://github.com/rubocop/rubocop-rails/issues/727): Disable `Rails/TransactionExitStatement` on Rails >= 7.2. ([@earlopain][]) +* [#1374](https://github.com/rubocop/rubocop-rails/pull/1374): Change `Rails/EnvLocal` to handle negated conditions. ([@fatkodima][]) +* [#1195](https://github.com/rubocop/rubocop-rails/issues/1195): Change `Rails/SelectMap` to handle safe navigation operators. ([@fatkodima][]) + ## 2.26.2 (2024-09-21) ### Bug fixes @@ -1152,3 +1163,4 @@ [@fwolfst]: https://github.com/fwolfst [@maxprokopiev]: https://github.com/maxprokopiev [@ytjmt]: https://github.com/ytjmt +[@armandmgt]: https://github.com/armandmgt diff --git a/changelog/change_disable_transaction_exit_rails_7.2.md b/changelog/change_disable_transaction_exit_rails_7.2.md deleted file mode 100644 index c199c04e3f..0000000000 --- a/changelog/change_disable_transaction_exit_rails_7.2.md +++ /dev/null @@ -1 +0,0 @@ -* [#727](https://github.com/rubocop/rubocop-rails/issues/727): Disable `Rails/TransactionExitStatement` on Rails >= 7.2. ([@earlopain][]) diff --git a/changelog/change_env_local_to_handle_negated_conditions.md b/changelog/change_env_local_to_handle_negated_conditions.md deleted file mode 100644 index 3d0482b15d..0000000000 --- a/changelog/change_env_local_to_handle_negated_conditions.md +++ /dev/null @@ -1 +0,0 @@ -* [#1374](https://github.com/rubocop/rubocop-rails/pull/1374): Change `Rails/EnvLocal` to handle negated conditions. ([@fatkodima][]) diff --git a/changelog/change_select_map_safe_navigation_handle_safe_navigation.md b/changelog/change_select_map_safe_navigation_handle_safe_navigation.md deleted file mode 100644 index e6a8cf2090..0000000000 --- a/changelog/change_select_map_safe_navigation_handle_safe_navigation.md +++ /dev/null @@ -1 +0,0 @@ -* [#1195](https://github.com/rubocop/rubocop-rails/issues/1195): Change `Rails/SelectMap` to handle safe navigation operators. ([@fatkodima][]) diff --git a/changelog/fix_an_error_for_rails_enum_syntax.md b/changelog/fix_an_error_for_rails_enum_syntax.md deleted file mode 100644 index 0ad353b258..0000000000 --- a/changelog/fix_an_error_for_rails_enum_syntax.md +++ /dev/null @@ -1 +0,0 @@ -* [#1377](https://github.com/rubocop/rubocop-rails/issues/1377): Fix an error for `Rails/EnumSyntax` when positional arguments are used and options are not passed as keyword arguments. ([@koic][]) diff --git a/changelog/fix_rails_time_zone_string_to_time_with_specifier.md b/changelog/fix_rails_time_zone_string_to_time_with_specifier.md deleted file mode 100644 index 05d07e76fb..0000000000 --- a/changelog/fix_rails_time_zone_string_to_time_with_specifier.md +++ /dev/null @@ -1 +0,0 @@ -* [#1367](https://github.com/rubocop/rubocop-rails/pull/1367): Fix `Rails/TimeZone` should not report offense on `String#to_time` with timezone specifier. ([@armandmgt][])