|
2 | 2 |
|
3 | 3 | ## master (unreleased)
|
4 | 4 |
|
| 5 | +### New features |
| 6 | + |
| 7 | +* [#714](https://github.com/rubocop/rubocop-rails/pull/714): Add new `Rails/FreezeTime` cop. ([@ydah][]) |
| 8 | +* [#744](https://github.com/rubocop/rubocop-rails/pull/744): Add new `Rails/WhereMissing` cop. ([@ydah][]) |
| 9 | +* [#587](https://github.com/rubocop/rubocop-rails/pull/587): Add new `Rails/RootPathnameMethods` cop. ([@leoarnold][]) |
| 10 | +* [#752](https://github.com/rubocop/rubocop-rails/pull/752): Add `Rails/TopLevelHashWithIndifferentAccess` cop. ([@r7kamura][]) |
| 11 | +* [#759](https://github.com/rubocop/rubocop-rails/pull/759): Add new `Rails/ActionControllerFlashBeforeRender` cop. ([@americodls][]) |
| 12 | +* [#749](https://github.com/rubocop/rubocop-rails/pull/749): Add new `Rails/ActiveSupportOnLoad` cop. ([@bdewater][]) |
| 13 | +* [#747](https://github.com/rubocop/rubocop-rails/pull/747): Add `Rails/ToSWithArgument` cop. ([@r7kamura][]) |
| 14 | +* [#746](https://github.com/rubocop/rubocop-rails/pull/746): Enable `ActiveSupportExtensionsEnabled` option by default. ([@koic][]) |
| 15 | + |
| 16 | +### Bug fixes |
| 17 | + |
| 18 | +* [#757](https://github.com/rubocop/rubocop-rails/issues/757): Fix a false positive for `Rails/ReflectionClassName` when using Ruby 3.1's hash shorthand syntax. ([@koic][]) |
| 19 | +* [#741](https://github.com/rubocop/rubocop-rails/pull/741): Fix a bad autocorrection for `errors.details[:name] << value` in Rails/DeprecatedActiveModelErrorsMethods. ([@BrianHawley][]) |
| 20 | +* [#742](https://github.com/rubocop/rubocop-rails/pull/742): Rails/DeprecatedActiveModelErrorsMethods was missing the deprecated `values`, `to_h`, and `to_xml` methods. ([@BrianHawley][]) |
| 21 | +* [#740](https://github.com/rubocop/rubocop-rails/pull/740): Fix a NoMethodError on nil for `errors.keys` in a model in Rails/DeprecatedActiveModelErrorsMethods. ([@BrianHawley][]) |
| 22 | +* [#753](https://github.com/rubocop/rubocop-rails/pull/753): Fix `Rails/CompactBlank` bug when offense is found in block. ([@r7kamura][]) |
| 23 | +* [#756](https://github.com/rubocop/rubocop-rails/pull/756): Fix incorrect documentation URLs when using `rubocop --show-docs-url`. ([@r7kamura][]) |
| 24 | +* [#754](https://github.com/rubocop/rubocop-rails/pull/754): Make `Rails/RedundantReceiverInWithOptions` and `Rails/ReversibleMigration` cops aware of numbered block parameter. ([@koic][]) |
| 25 | + |
| 26 | +### Changes |
| 27 | + |
| 28 | +* [#750](https://github.com/rubocop/rubocop-rails/pull/750): Deprecate `IgnoredMethods` option in integrate to `AllowedMethods` and `AllowedPatterns` option. ([@koic][]) |
| 29 | +* [#729](https://github.com/rubocop/rubocop-rails/pull/729): Change the minimum required `rubocop` dependency version to 1.31.0. ([@pirj][]) |
| 30 | + |
5 | 31 | ## 2.15.2 (2022-07-07)
|
6 | 32 |
|
7 | 33 | ### Bug fixes
|
|
644 | 670 | [@kkitadate]: https://github.com/kkitadate
|
645 | 671 | [@Darhazer]: https://github.com/Darhazer
|
646 | 672 | [@kazarin]: https://github.com/kazarin
|
| 673 | +[@BrianHawley]: https://github.com/BrianHawley |
| 674 | +[@r7kamura]: https://github.com/r7kamura |
| 675 | +[@americodls]: https://github.com/americodls |
| 676 | +[@bdewater]: https://github.com/bdewater |
0 commit comments