rubocop/rubocop-rails (rubocop-rails)
### [`v2.25.0`](https://togithub.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2250-2024-05-17)
[Compare Source](https://togithub.com/rubocop/rubocop-rails/compare/v2.24.1...v2.25.0)
##### New features
- [#1272](https://togithub.com/rubocop/rubocop-rails/pull/1272): Add new `Rails/WhereRange` cop. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
##### Bug fixes
- [#1270](https://togithub.com/rubocop/rubocop-rails/issues/1270): Fix an incorrect autocorrect for `Rails/Validation` when using `validates_size_of`. (\[[@koic](https://togithub.com/koic)]\[])
- [#1278](https://togithub.com/rubocop/rubocop-rails/issues/1278): Fix a false positive for `Rails/SkipsModelValidations` when using `insert` or `insert!` with a safe navigator. (\[[@tldn0718](https://togithub.com/tldn0718)]\[])
- [#1260](https://togithub.com/rubocop/rubocop-rails/issues/1260): Fix a performance regression caused by `Rails/UnknownEnv` when using Rails 7.1. (\[[@lukasfroehlich1](https://togithub.com/lukasfroehlich1)]\[])
##### Changes
- [#1249](https://togithub.com/rubocop/rubocop-rails/issues/1249): Disable `Rails/UnusedIgnoredColumns` by default. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#1266](https://togithub.com/rubocop/rubocop-rails/pull/1266): Check `change_table` calls for offenses. (\[[@ccutrer](https://togithub.com/ccutrer)]\[])
- [#1267](https://togithub.com/rubocop/rubocop-rails/pull/1267): Make `Rails/HttpStatus` aware of Rails-specific response assertions. (\[[@tldn0718](https://togithub.com/tldn0718)]\[])
- [#1137](https://togithub.com/rubocop/rubocop-rails/pull/1137): Migrate to `TargetRailsVersion` the new [`requires_gem` API](https://togithub.com/rubocop/rubocop/pull/12186). (\[[@amomchilov](https://togithub.com/amomchilov)]\[])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
'~> 2.24.0'
->'~> 2.25.0'
Release Notes
rubocop/rubocop-rails (rubocop-rails)
### [`v2.25.0`](https://togithub.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2250-2024-05-17) [Compare Source](https://togithub.com/rubocop/rubocop-rails/compare/v2.24.1...v2.25.0) ##### New features - [#1272](https://togithub.com/rubocop/rubocop-rails/pull/1272): Add new `Rails/WhereRange` cop. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) ##### Bug fixes - [#1270](https://togithub.com/rubocop/rubocop-rails/issues/1270): Fix an incorrect autocorrect for `Rails/Validation` when using `validates_size_of`. (\[[@koic](https://togithub.com/koic)]\[]) - [#1278](https://togithub.com/rubocop/rubocop-rails/issues/1278): Fix a false positive for `Rails/SkipsModelValidations` when using `insert` or `insert!` with a safe navigator. (\[[@tldn0718](https://togithub.com/tldn0718)]\[]) - [#1260](https://togithub.com/rubocop/rubocop-rails/issues/1260): Fix a performance regression caused by `Rails/UnknownEnv` when using Rails 7.1. (\[[@lukasfroehlich1](https://togithub.com/lukasfroehlich1)]\[]) ##### Changes - [#1249](https://togithub.com/rubocop/rubocop-rails/issues/1249): Disable `Rails/UnusedIgnoredColumns` by default. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1266](https://togithub.com/rubocop/rubocop-rails/pull/1266): Check `change_table` calls for offenses. (\[[@ccutrer](https://togithub.com/ccutrer)]\[]) - [#1267](https://togithub.com/rubocop/rubocop-rails/pull/1267): Make `Rails/HttpStatus` aware of Rails-specific response assertions. (\[[@tldn0718](https://togithub.com/tldn0718)]\[]) - [#1137](https://togithub.com/rubocop/rubocop-rails/pull/1137): Migrate to `TargetRailsVersion` the new [`requires_gem` API](https://togithub.com/rubocop/rubocop/pull/12186). (\[[@amomchilov](https://togithub.com/amomchilov)]\[])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.