Skip to content

Commit 3ee6104

Browse files
committed
Update Changelog
1 parent e0d2a47 commit 3ee6104

18 files changed

+31
-17
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
## master (unreleased)
44

5+
### New features
6+
7+
* [#325](https://github.com/rubocop/rubocop-rails/pull/325): Add new `Rails/DotSeparatedKeys` cop. ([@fatkodima][])
8+
* [#704](https://github.com/rubocop/rubocop-rails/issues/704): Add new `Rails/StripHeredoc` cop. ([@koic][])
9+
* [#691](https://github.com/rubocop/rubocop-rails/pull/691): Add new `Rails/ToFormattedS` cop. ([@koic][])
10+
* [#588](https://github.com/rubocop/rubocop-rails/pull/588): Add new `Rails/RootPublicPath` cop. ([@leoarnold][])
11+
* [#702](https://github.com/rubocop/rubocop-rails/pull/702): Make `keys` method aware of `Rails/DeprecatedActiveModelErrorsMethods` cop. ([@koic][])
12+
* [#688](https://github.com/rubocop/rubocop-rails/pull/688): Support autocorrection for `Rails/DeprecatedActiveModelErrorsMethods`. ([@koic][])
13+
14+
### Bug fixes
15+
16+
* [#696](https://github.com/rubocop/rubocop-rails/pull/696): Fix a false negative for `Rails/TransactionExitStatement` when `return` is used in `rescue`. ([@koic][])
17+
* [#700](https://github.com/rubocop/rubocop-rails/issues/700): Fix a false positive for `Rails/FilePath` when a list of paths separated by colon including Rails.root. ([@tk0miya][])
18+
* [#680](https://github.com/rubocop/rubocop-rails/issues/680): Fix a false positive for `Rails/ReversibleMigrationMethodDefinition` when using an inner class. ([@koic][])
19+
* [#692](https://github.com/rubocop/rubocop-rails/issues/692): Fix an error for `Rails/UnusedIgnoredColumns` when using no tables db/schema.rb. ([@koic][])
20+
* [#707](https://github.com/rubocop/rubocop-rails/issues/707): Fix an error when a variable is passed to has_many or has_one with double splat. ([@nobuyo][])
21+
* [#695](https://github.com/rubocop/rubocop-rails/pull/695): Fixes a false negative where the `in_rescue?` check would bypass situations where the return was inside a transaction but outside of a rescue. ([@dorkrawk][])
22+
* [#703](https://github.com/rubocop/rubocop-rails/pull/703): Fix not autocorrected for `Rails/DuplicateAssociation`. ([@ydah][])
23+
* [#708](https://github.com/rubocop/rubocop-rails/pull/708): Recover Ruby 2.2 code analysis using `TargetRubyVersion: 2.2`. ([@koic][])
24+
25+
### Changes
26+
27+
* [#697](https://github.com/rubocop/rubocop-rails/pull/697): **(Compatibility)** Drop Ruby 2.5 support. ([@koic][])
28+
* [#705](https://github.com/rubocop/rubocop-rails/pull/705): Add mailers to default `filter`/`action` callbacks cops. ([@ojab][])
29+
* [#710](https://github.com/rubocop/rubocop-rails/pull/710): Rails/TransactionExitStatement - Inspect `ActiveRecord::Locking::Pessimistic#with_lock` too, as `#with_lock` opens a transaction. ([@FunnyHector][])
30+
531
## 2.14.2 (2022-03-18)
632

733
### Bug fixes
@@ -590,3 +616,8 @@
590616
[@lulalala]: https://github.com/lulalala
591617
[@gmcgibbon]: https://github.com/gmcgibbon
592618
[@FunnyHector]: https://github.com/FunnyHector
619+
[@ojab]: https://github.com/ojab
620+
[@tk0miya]: https://github.com/tk0miya
621+
[@nobuyo]: https://github.com/nobuyo
622+
[@dorkrawk]: https://github.com/dorkrawk
623+
[@ydah]: https://github.com/ydah

changelog/change_drop_ruby_2_5_support.md

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

changelog/change_enable_action_filter_cop_for_jobs_and_mailers.md

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

changelog/change_inspect_with_lock_for_rails_transaction_exit_statement_cop.md

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

changelog/fix_a_false_negative_for_rails_transaction_exit_statement.md

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

changelog/fix_a_false_positive_for_rails_filepath_for_colon_separated_pathlist.md

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

changelog/fix_a_false_positive_for_rails_reversible_migration_method_definition.md

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

changelog/fix_an_error_for_rails_unused_ignored_columns.md

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

changelog/fix_an_error_when_a_variable_is_passed.md

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

changelog/fix_false_negative_for_transaction_exit_with_rescue.md

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

0 commit comments

Comments
 (0)