Closed renovate[bot] closed 1 month ago
Because you closed this PR without merging, Renovate will ignore this update ('2.26.0'
). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps
array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.
This PR contains the following updates:
'2.24.1'
->'2.26.0'
Release Notes
rubocop/rubocop-rails (rubocop-rails)
### [`v2.26.0`](https://togithub.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2260-2024-08-24) [Compare Source](https://togithub.com/rubocop/rubocop-rails/compare/v2.25.1...v2.26.0) ##### New features - [#1238](https://togithub.com/rubocop/rubocop-rails/issues/1238): Add new `Rails/EnumSyntax` cop. (\[[@maxprokopiev](https://togithub.com/maxprokopiev)]\[], \[[@koic](https://togithub.com/koic)]\[]) - [#1309](https://togithub.com/rubocop/rubocop-rails/pull/1309): Support Rails 7 syntax for `Rails/EnumHash` cop. (\[[@ytjmt](https://togithub.com/ytjmt)]\[]) - [#1298](https://togithub.com/rubocop/rubocop-rails/pull/1298): Support Rails 7 syntax for `Rails/EnumUniqueness` cop. (\[[@ytjmt](https://togithub.com/ytjmt)]\[]) ##### Bug fixes - [#1335](https://togithub.com/rubocop/rubocop-rails/pull/1335): Fix an error for `Rails/BulkChangeTable` when the block for `change_table` is empty. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1325](https://togithub.com/rubocop/rubocop-rails/pull/1325): Fix an error for `Rails/RenderPlainText` when the content type is passed as a constant. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1337](https://togithub.com/rubocop/rubocop-rails/pull/1337): Fix an error for `Rails/Validation` when passing no arguments. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1330](https://togithub.com/rubocop/rubocop-rails/pull/1330): Fix an error for `Rails/WhereNot` when using placeholder without second argument. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1311](https://togithub.com/rubocop/rubocop-rails/pull/1311): Fix false negatives for `Rails/ActionControllerFlashBeforeRender` when using implicit render or rescue blocks. (\[[@tldn0718](https://togithub.com/tldn0718)]\[]) - [#1313](https://togithub.com/rubocop/rubocop-rails/pull/1313): Fix false positives for `Rails/CompactBlank` when using `collection.reject!`. (\[[@koic](https://togithub.com/koic)]\[]) - [#1319](https://togithub.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](https://togithub.com/earlopain)]\[]) - [#1306](https://togithub.com/rubocop/rubocop-rails/pull/1306): Make `Rails/PluralizationGrammar` aware of byte methods. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1302](https://togithub.com/rubocop/rubocop-rails/pull/1302): Allow `params` receiver by default for `Style/CollectionMethods`. (\[[@koic](https://togithub.com/koic)]\[]) - [#1321](https://togithub.com/rubocop/rubocop-rails/pull/1321): Fix an error for `Rails/WhereEquals` when the second argument is not yet typed (`where("foo = ?", )`). (\[[@earlopain](https://togithub.com/earlopain)]\[]) ##### Changes - [#1308](https://togithub.com/rubocop/rubocop-rails/issues/1308): Change `Rails/CompactBlank` to handle `select(&:present?)`. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#1303](https://togithub.com/rubocop/rubocop-rails/pull/1303): Change `Rails/IgnoredSkipActionFilterOption` to handle multiple callbacks. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#1199](https://togithub.com/rubocop/rubocop-rails/issues/1199): Make `Rails/WhereEquals` aware of `where.not(...)`. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1003](https://togithub.com/rubocop/rubocop-rails/pull/1003): Change `Rails/RootPathnameMethods` to detect offenses on `Dir.[]`. (\[[@r7kamura](https://togithub.com/r7kamura)]\[]) ### [`v2.25.1`](https://togithub.com/rubocop/rubocop-rails/blob/HEAD/CHANGELOG.md#2251-2024-06-29) [Compare Source](https://togithub.com/rubocop/rubocop-rails/compare/v2.25.0...v2.25.1) ##### Bug fixes - [#1280](https://togithub.com/rubocop/rubocop-rails/issues/1280): Look for change_column_null for `Rails/BulkChangeTable`. (\[[@ccutrer](https://togithub.com/ccutrer)]\[]) - [#1299](https://togithub.com/rubocop/rubocop-rails/pull/1299): Fix an error for `Rails/NotNullColumn` when the block for `change_table` is empty. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#1281](https://togithub.com/rubocop/rubocop-rails/issues/1281): Fix `Rails/WhereRange` autocorrect for complex expressions. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#1282](https://togithub.com/rubocop/rubocop-rails/issues/1282): Fix `Rails/WhereRange` to correctly handle template strings with extra spaces. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) ##### Changes - [#1295](https://togithub.com/rubocop/rubocop-rails/issues/1295): Cover validates_comparison_of in `Rails/Validation`. (\[[@ChaelCodes](https://togithub.com/ChaelCodes)]\[]) - [#1288](https://togithub.com/rubocop/rubocop-rails/issues/1288): Let `Rails/LinkToBlank` look into `link_to_if` and `link_to_unless`, too. (\[[@fwolfst](https://togithub.com/fwolfst)]\[]) - [#1286](https://togithub.com/rubocop/rubocop-rails/issues/1286): Mark `Rails/SkipsModelValidations` as unsafe. (\[[@koic](https://togithub.com/koic)]\[]) - [#1283](https://togithub.com/rubocop/rubocop-rails/issues/1283): Mark `Rails/WhereRange` as unsafe autocorrect. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) ### [`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 - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.