Skip to content

Commit

Permalink
Update Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Aug 24, 2024
1 parent 6bc9b1c commit 91c0f30
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 17 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,32 @@

## master (unreleased)

### New features

* [#1238](https://github.com/rubocop/rubocop-rails/issues/1238): Add new `Rails/EnumSyntax` cop. ([@maxprokopiev][], [@koic][])
* [#1309](https://github.com/rubocop/rubocop-rails/pull/1309): Support Rails 7 syntax for `Rails/EnumHash` cop. ([@ytjmt][])
* [#1298](https://github.com/rubocop/rubocop-rails/pull/1298): Support Rails 7 syntax for `Rails/EnumUniqueness` cop. ([@ytjmt][])

### Bug fixes

* [#1335](https://github.com/rubocop/rubocop-rails/pull/1335): Fix an error for `Rails/BulkChangeTable` when the block for `change_table` is empty. ([@earlopain][])
* [#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][])
* [#1337](https://github.com/rubocop/rubocop-rails/pull/1337): Fix an error for `Rails/Validation` when passing no arguments. ([@earlopain][])
* [#1330](https://github.com/rubocop/rubocop-rails/pull/1330): Fix an error for `Rails/WhereNot` when using placeholder without second argument. ([@earlopain][])
* [#1311](https://github.com/rubocop/rubocop-rails/pull/1311): Fix false negatives for `Rails/ActionControllerFlashBeforeRender` when using implicit render or rescue blocks. ([@tldn0718][])
* [#1313](https://github.com/rubocop/rubocop-rails/pull/1313): Fix false positives for `Rails/CompactBlank` when using `collection.reject!`. ([@koic][])
* [#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][])
* [#1306](https://github.com/rubocop/rubocop-rails/pull/1306): Make `Rails/PluralizationGrammar` aware of byte methods. ([@earlopain][])
* [#1302](https://github.com/rubocop/rubocop-rails/pull/1302): Allow `params` receiver by default for `Style/CollectionMethods`. ([@koic][])
* [#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][])

### Changes

* [#1308](https://github.com/rubocop/rubocop-rails/issues/1308): Change `Rails/CompactBlank` to handle `select(&:present?)`. ([@fatkodima][])
* [#1303](https://github.com/rubocop/rubocop-rails/pull/1303): Change `Rails/IgnoredSkipActionFilterOption` to handle multiple callbacks. ([@fatkodima][])
* [#1199](https://github.com/rubocop/rubocop-rails/issues/1199): Make `Rails/WhereEquals` aware of `where.not(...)`. ([@earlopain][])
* [#1003](https://github.com/rubocop/rubocop-rails/pull/1003): Change `Rails/RootPathnameMethods` to detect offenses on `Dir.[]`. ([@r7kamura][])

## 2.25.1 (2024-06-29)

### Bug fixes
Expand Down Expand Up @@ -1098,3 +1124,5 @@
[@lukasfroehlich1]: https://github.com/lukasfroehlich1
[@ChaelCodes]: https://github.com/ChaelCodes
[@fwolfst]: https://github.com/fwolfst
[@maxprokopiev]: https://github.com/maxprokopiev
[@ytjmt]: https://github.com/ytjmt
1 change: 0 additions & 1 deletion changelog/change_compact_blank_to_handle_select_present.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/change_make_rails_where_equals_aware_of_not.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_error_rails_bulk_change_table.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_error_rails_render_plain_text_constant.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_error_rails_validation.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_error_rails_where_not_no_second_argument.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_false_positive_for_rails_compact_blank.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_make_pluralization_grammar_aware_of_bytes.md

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion changelog/fix_where_equals_error.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/new_add_new_rails_enum_syntax_cop.md

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 91c0f30

Please sign in to comment.