Skip to content

Commit 91c0f30

Browse files
committed
Update Changelog
1 parent 6bc9b1c commit 91c0f30

18 files changed

+28
-17
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,32 @@
99

1010
## master (unreleased)
1111

12+
### New features
13+
14+
* [#1238](https://github.com/rubocop/rubocop-rails/issues/1238): Add new `Rails/EnumSyntax` cop. ([@maxprokopiev][], [@koic][])
15+
* [#1309](https://github.com/rubocop/rubocop-rails/pull/1309): Support Rails 7 syntax for `Rails/EnumHash` cop. ([@ytjmt][])
16+
* [#1298](https://github.com/rubocop/rubocop-rails/pull/1298): Support Rails 7 syntax for `Rails/EnumUniqueness` cop. ([@ytjmt][])
17+
18+
### Bug fixes
19+
20+
* [#1335](https://github.com/rubocop/rubocop-rails/pull/1335): Fix an error for `Rails/BulkChangeTable` when the block for `change_table` is empty. ([@earlopain][])
21+
* [#1325](https://github.com/rubocop/rubocop-rails/pull/1325): Fix an error for `Rails/RenderPlainText` when the content type is passed as a constant. ([@earlopain][])
22+
* [#1337](https://github.com/rubocop/rubocop-rails/pull/1337): Fix an error for `Rails/Validation` when passing no arguments. ([@earlopain][])
23+
* [#1330](https://github.com/rubocop/rubocop-rails/pull/1330): Fix an error for `Rails/WhereNot` when using placeholder without second argument. ([@earlopain][])
24+
* [#1311](https://github.com/rubocop/rubocop-rails/pull/1311): Fix false negatives for `Rails/ActionControllerFlashBeforeRender` when using implicit render or rescue blocks. ([@tldn0718][])
25+
* [#1313](https://github.com/rubocop/rubocop-rails/pull/1313): Fix false positives for `Rails/CompactBlank` when using `collection.reject!`. ([@koic][])
26+
* [#1319](https://github.com/rubocop/rubocop-rails/issues/1319): Fix a false positive for `Rails/RedundantPresenceValidationOnBelongsTo` when removing `presence` would leave other non-validation options like `allow_blank` without validations. ([@earlopain][])
27+
* [#1306](https://github.com/rubocop/rubocop-rails/pull/1306): Make `Rails/PluralizationGrammar` aware of byte methods. ([@earlopain][])
28+
* [#1302](https://github.com/rubocop/rubocop-rails/pull/1302): Allow `params` receiver by default for `Style/CollectionMethods`. ([@koic][])
29+
* [#1321](https://github.com/rubocop/rubocop-rails/pull/1321): Fix an error for `Rails/WhereEquals` when the second argument is not yet typed (`where("foo = ?", )`). ([@earlopain][])
30+
31+
### Changes
32+
33+
* [#1308](https://github.com/rubocop/rubocop-rails/issues/1308): Change `Rails/CompactBlank` to handle `select(&:present?)`. ([@fatkodima][])
34+
* [#1303](https://github.com/rubocop/rubocop-rails/pull/1303): Change `Rails/IgnoredSkipActionFilterOption` to handle multiple callbacks. ([@fatkodima][])
35+
* [#1199](https://github.com/rubocop/rubocop-rails/issues/1199): Make `Rails/WhereEquals` aware of `where.not(...)`. ([@earlopain][])
36+
* [#1003](https://github.com/rubocop/rubocop-rails/pull/1003): Change `Rails/RootPathnameMethods` to detect offenses on `Dir.[]`. ([@r7kamura][])
37+
1238
## 2.25.1 (2024-06-29)
1339

1440
### Bug fixes
@@ -1098,3 +1124,5 @@
10981124
[@lukasfroehlich1]: https://github.com/lukasfroehlich1
10991125
[@ChaelCodes]: https://github.com/ChaelCodes
11001126
[@fwolfst]: https://github.com/fwolfst
1127+
[@maxprokopiev]: https://github.com/maxprokopiev
1128+
[@ytjmt]: https://github.com/ytjmt

changelog/change_compact_blank_to_handle_select_present.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_ignored_skip_action_filter_option_multiple_callbacks.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_make_rails_where_equals_aware_of_not.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/change_rails_root_pathname_methods_to_detect_offenses_on_dir_index.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_error_rails_bulk_change_table.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_error_rails_render_plain_text_constant.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_error_rails_validation.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_error_rails_where_not_no_second_argument.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/fix_false_negatives_for_action_controller_flash_before_render.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)