Skip to content

Commit 962f787

Browse files
committed
Update Changelog
1 parent d5842ef commit 962f787

14 files changed

+23
-13
lines changed

CHANGELOG.md

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

1010
## master (unreleased)
1111

12+
### New features
13+
14+
* [#906](https://github.com/rubocop/rubocop-rails/pull/906): Add `Rails/EnvLocal` cop. ([@sambostock][])
15+
* [#1128](https://github.com/rubocop/rubocop-rails/issues/1128): Make `Rails/DuplicateAssociation` aware of duplicate `class_name`. ([@koic][])
16+
* [#1157](https://github.com/rubocop/rubocop-rails/pull/1157): Support some Rails 7.1's new querying methods for `Rails/RedundantActiveRecordAllMethod`. ([@koic][])
17+
* [#1147](https://github.com/rubocop/rubocop-rails/issues/1147): Support the Trilogy adapter for MySQL. ([@koic][])
18+
19+
### Bug fixes
20+
21+
* [#952](https://github.com/rubocop/rubocop-rails/issues/952): Fix a false positive for `Rails/NotNullColumn` when using `null: false` for MySQL's TEXT type. ([@koic][])
22+
* [#1041](https://github.com/rubocop/rubocop-rails/issues/1041): Fix a false positive for `Rails/Output` when output method is called with block argument. ([@koic][])
23+
* [#1143](https://github.com/rubocop/rubocop-rails/issues/1143): Fix an error for `Rails/RedundantActiveRecordAllMethod` when using RuboCop 1.51 or lower. ([@koic][])
24+
* [#1105](https://github.com/rubocop/rubocop-rails/issues/1105): Fix false positives for `Rails/RedundantPresenceValidationOnBelongsTo` when using `validates` with `:if` or `:unless` options. ([@koic][])
25+
* [#1158](https://github.com/rubocop/rubocop-rails/issues/1158): `Rails/HasManyOrHasOneDependent` does not add offence when has_many or has_one is called on an explicit receiver. ([@samrjenkins][])
26+
* [#1160](https://github.com/rubocop/rubocop-rails/issues/1160): Fix `Rails/SaveBang` to ignore parenthesis. ([@fatkodima][])
27+
28+
### Changes
29+
30+
* [#1152](https://github.com/rubocop/rubocop-rails/pull/1152): Add more dangerous column names to `Rails/DangerousColumnNames`. ([@r7kamura][])
31+
* [#1039](https://github.com/rubocop/rubocop-rails/issues/1039): Deprecate `Rails/ActionFilter` cop; it will be disabled by default. ([@koic][])
32+
* [#893](https://github.com/rubocop/rubocop-rails/issues/893): Support `local` as an environment for `Rails/UnknownEnv` from Rails 7.1 onward. ([@ghiculescu][])
33+
1234
## 2.21.2 (2023-09-30)
1335

1436
### Bug fixes
@@ -952,3 +974,4 @@
952974
[@nipe0324]: https://github.com/nipe0324
953975
[@marocchino]: https://github.com/marocchino
954976
[@jamiemccarthy]: https://github.com/jamiemccarthy
977+
[@sambostock]: https://github.com/sambostock

changelog/change_add_more_dangerous_column_names_to.md

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

changelog/change_deprecate_rails_action_filter_cop.md

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

changelog/change_rails_unknown_env_to_add_local.md

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

changelog/fix_a_false_positive_for_rails_not_null_column.md

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

changelog/fix_a_false_positive_for_rails_output.md

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

changelog/fix_an_error_for_rails_redundant_active_record_all_method.md

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

changelog/fix_false_positives_for_redundant_presence_validation_on_belongs_to.md

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

changelog/fix_has_many_or_has_one_dependent_false_positive.md

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

changelog/fix_save_bang_to_ignore_parenthesis.md

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

0 commit comments

Comments
 (0)