From 22bc59e3a0c6991dfc771ebe9b4c2c4e868e3d20 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 7 Sep 2024 17:06:43 +0900 Subject: [PATCH] Update Changelog --- CHANGELOG.md | 10 ++++++++++ .../change_application_record_to_ignore_migrations.md | 1 - ...e_enum_syntax_to_autoccorect_underscored_options.md | 1 - changelog/fix_false_negatives_enum_syntax.md | 1 - changelog/fix_false_positive_database_qualified.md | 1 - 5 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 changelog/change_application_record_to_ignore_migrations.md delete mode 100644 changelog/change_enum_syntax_to_autoccorect_underscored_options.md delete mode 100644 changelog/fix_false_negatives_enum_syntax.md delete mode 100644 changelog/fix_false_positive_database_qualified.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 8671e1bf72..f4ef61d35a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,16 @@ ## master (unreleased) +### Bug fixes + +* [#1343](https://github.com/rubocop/rubocop-rails/issues/1343): Fix false negatives for `Rails/EnumSyntax` for non-literal mappings. ([@earlopain][]) +* [#1340](https://github.com/rubocop/rubocop-rails/issues/1340): Fix a false positive for `Rails/WhereEquals`, `Rails/WhereNot`, and `Rails/WhereRange` when qualifying the database name. ([@earlopain][]) + +### Changes + +* [#1342](https://github.com/rubocop/rubocop-rails/issues/1342): Change `Rails/ApplicationRecord` to ignore migrations. ([@fatkodima][]) +* [#1350](https://github.com/rubocop/rubocop-rails/pull/1350): Change `Rails/EnumSyntax` to autocorrect underscored options. ([@fatkodima][]) + ## 2.26.0 (2024-08-24) ### New features diff --git a/changelog/change_application_record_to_ignore_migrations.md b/changelog/change_application_record_to_ignore_migrations.md deleted file mode 100644 index 59f8e2259d..0000000000 --- a/changelog/change_application_record_to_ignore_migrations.md +++ /dev/null @@ -1 +0,0 @@ -* [#1342](https://github.com/rubocop/rubocop-rails/issues/1342): Change `Rails/ApplicationRecord` to ignore migrations. ([@fatkodima][]) diff --git a/changelog/change_enum_syntax_to_autoccorect_underscored_options.md b/changelog/change_enum_syntax_to_autoccorect_underscored_options.md deleted file mode 100644 index f497ea13de..0000000000 --- a/changelog/change_enum_syntax_to_autoccorect_underscored_options.md +++ /dev/null @@ -1 +0,0 @@ -* [#1350](https://github.com/rubocop/rubocop-rails/pull/1350): Change `Rails/EnumSyntax` to autocorrect underscored options. ([@fatkodima][]) diff --git a/changelog/fix_false_negatives_enum_syntax.md b/changelog/fix_false_negatives_enum_syntax.md deleted file mode 100644 index b1d030fdf2..0000000000 --- a/changelog/fix_false_negatives_enum_syntax.md +++ /dev/null @@ -1 +0,0 @@ -* [#1343](https://github.com/rubocop/rubocop-rails/issues/1343): Fix false negatives for `Rails/EnumSyntax` for non-literal mappings. ([@earlopain][]) diff --git a/changelog/fix_false_positive_database_qualified.md b/changelog/fix_false_positive_database_qualified.md deleted file mode 100644 index 50e815b818..0000000000 --- a/changelog/fix_false_positive_database_qualified.md +++ /dev/null @@ -1 +0,0 @@ -* [#1340](https://github.com/rubocop/rubocop-rails/issues/1340): Fix a false positive for `Rails/WhereEquals`, `Rails/WhereNot`, and `Rails/WhereRange` when qualifying the database name. ([@earlopain][])