rubocop/rubocop (rubocop)
### [`v1.56.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1560-2023-08-09)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.55.1...v1.56.0)
##### New features
- [#12074](https://togithub.com/rubocop/rubocop/pull/12074): Add new `Bundler/DuplicatedGroup` cop. (\[[@OwlKing](https://togithub.com/OwlKing)]\[])
- [#12078](https://togithub.com/rubocop/rubocop/pull/12078): Make LSP server support `rubocop.formatAutocorrectsAll` execute command. (\[[@koic](https://togithub.com/koic)]\[])
##### Bug fixes
- [#12106](https://togithub.com/rubocop/rubocop/issues/12106): Fix a false negative for `Style/RedundantReturn` when returning value with guard clause and `return` is used. (\[[@koic](https://togithub.com/koic)]\[])
- [#12095](https://togithub.com/rubocop/rubocop/pull/12095): Fix a false positive for `Style/Alias` when `EncforcedStyle: prefer_alias` and using `alias` with interpolated symbol argument. (\[[@koic](https://togithub.com/koic)]\[])
- [#12098](https://togithub.com/rubocop/rubocop/pull/12098): Fix a false positive for `Style/ClassEqualityComparison` when comparing interpolated string class name for equality. (\[[@koic](https://togithub.com/koic)]\[])
- [#12102](https://togithub.com/rubocop/rubocop/pull/12102): Fix an error for `Style/LambdaCall` when using nested lambda call `x.().()`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12099](https://togithub.com/rubocop/rubocop/pull/12099): Fix an incorrect autocorrect for `Style/Alias` when `EncforcedStyle: prefer_alias_method` and using `alias` with interpolated symbol argument. (\[[@koic](https://togithub.com/koic)]\[])
- [#12085](https://togithub.com/rubocop/rubocop/issues/12085): Fix an error for `Lint/SuppressedException` when `AllowNil: true` is set and endless method definition is used. (\[[@koic](https://togithub.com/koic)]\[])
- [#12087](https://togithub.com/rubocop/rubocop/issues/12087): Fix false positives for `Style/ArgumentsForwarding` with additional args/kwargs in def/send nodes. (\[[@owst](https://togithub.com/owst)]\[])
- [#12071](https://togithub.com/rubocop/rubocop/issues/12071): Fix `Style/SymbolArray` false positives when using square brackets or interpolation in a symbol literal in a percent style array. (\[[@jasondoc3](https://togithub.com/jasondoc3)]\[])
- [#12061](https://togithub.com/rubocop/rubocop/issues/12061): Support regex in StringLiteralsInInterpolation. (\[[@jonas054](https://togithub.com/jonas054)]\[])
- [#12091](https://togithub.com/rubocop/rubocop/pull/12091): With `--fail-level A` ignore non-correctable offenses at :info severity. (\[[@naveg](https://togithub.com/naveg)]\[])
##### Changes
- [#12094](https://togithub.com/rubocop/rubocop/pull/12094): Add `base64` gem to runtime dependency to suppress Ruby 3.3's warning. (\[[@koic](https://togithub.com/koic)]\[])
### [`v1.55.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1551-2023-07-31)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.55.0...v1.55.1)
##### Bug fixes
- [#12068](https://togithub.com/rubocop/rubocop/pull/12068): Fix a false positive for `Style/ReturnNilInPredicateMethodDefinition` when the last method argument in method definition is `nil`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12082](https://togithub.com/rubocop/rubocop/issues/12082): Fix an error for `Lint/UselessAssignment` when a variable is assigned and unreferenced in `for` with multiple variables. (\[[@koic](https://togithub.com/koic)]\[])
- [#12079](https://togithub.com/rubocop/rubocop/issues/12079): Fix an error for `Style/MixinGrouping` when mixin method has no arguments. (\[[@koic](https://togithub.com/koic)]\[])
- [#11637](https://togithub.com/rubocop/rubocop/pull/11637): Correct Rubocop for `private_class_method` method documentation. (\[[@bigzed](https://togithub.com/bigzed)]\[])
- [#12070](https://togithub.com/rubocop/rubocop/pull/12070): Fix false positive in `Style/ArgumentsForwarding` when receiver forwards args/kwargs. (\[[@owst](https://togithub.com/owst)]\[])
### [`v1.55.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1550-2023-07-25)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.54.2...v1.55.0)
##### New features
- [#11794](https://togithub.com/rubocop/rubocop/pull/11794): Add support to `Style/ArgumentsForwarding` for anonymous arg/kwarg forwarding in Ruby 3.2. (\[[@owst](https://togithub.com/owst)]\[])
- [#12044](https://togithub.com/rubocop/rubocop/issues/12044): Make LSP server support `layoutMode` option to run layout cops. (\[[@koic](https://togithub.com/koic)]\[])
- [#12056](https://togithub.com/rubocop/rubocop/pull/12056): Make LSP server support `lintMode` option to run lint cops. (\[[@koic](https://togithub.com/koic)]\[])
- [#12046](https://togithub.com/rubocop/rubocop/issues/12046): Make `ReturnNilInPredicateMethodDefinition` aware of `nil` at the end of predicate method definition. (\[[@koic](https://togithub.com/koic)]\[])
##### Bug fixes
- [#12055](https://togithub.com/rubocop/rubocop/pull/12055): Allow parentheses in single-line match patterns when using the `omit_parentheses` style of `Style/MethodCallWithArgsParentheses`. (\[[@gsamokovarov](https://togithub.com/gsamokovarov)]\[])
- [#12050](https://togithub.com/rubocop/rubocop/pull/12050): Fix a false positive for `Layout/RedundantLineBreak` when inspecting the `%` form string `%\n\n`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12063](https://togithub.com/rubocop/rubocop/pull/12063): Fix `Style/CombinableLoops` when one of the loops is empty. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
- [#12059](https://togithub.com/rubocop/rubocop/issues/12059): Fix a false negative for `Style/StringLiteralsInInterpolation` for symbols with interpolation. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
- [#11834](https://togithub.com/rubocop/rubocop/issues/11834): Fix false positive for when variable in inside conditional branch in nested node. (\[[@alexeyschepin](https://togithub.com/alexeyschepin)]\[])
- [#11802](https://togithub.com/rubocop/rubocop/issues/11802): Improve handling of `[]` and `()` with percent symbol arrays. (\[[@jasondoc3](https://togithub.com/jasondoc3)]\[])
- [#12052](https://togithub.com/rubocop/rubocop/issues/12052): Fix "Subfolders can't include glob special characters". (\[[@meric426](https://togithub.com/meric426)]\[], \[[@loveo](https://togithub.com/loveo)]\[])
- [#12062](https://togithub.com/rubocop/rubocop/pull/12062): Fix `LoadError` when loading RuboCop from a symlinked location on Windows. (\[[@p0deje](https://togithub.com/p0deje)]\[])
##### Changes
- [#12064](https://togithub.com/rubocop/rubocop/pull/12064): Make `Style/RedundantArgument` aware of `exit` and `exit!`. (\[[@koic](https://togithub.com/koic)]\[])
- [#12015](https://togithub.com/rubocop/rubocop/issues/12015): Mark `Style/HashConversion` as unsafe autocorrection. (\[[@koic](https://togithub.com/koic)]\[])
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:
'1.54.2'
->'1.56.0'
Release Notes
rubocop/rubocop (rubocop)
### [`v1.56.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1560-2023-08-09) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.55.1...v1.56.0) ##### New features - [#12074](https://togithub.com/rubocop/rubocop/pull/12074): Add new `Bundler/DuplicatedGroup` cop. (\[[@OwlKing](https://togithub.com/OwlKing)]\[]) - [#12078](https://togithub.com/rubocop/rubocop/pull/12078): Make LSP server support `rubocop.formatAutocorrectsAll` execute command. (\[[@koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#12106](https://togithub.com/rubocop/rubocop/issues/12106): Fix a false negative for `Style/RedundantReturn` when returning value with guard clause and `return` is used. (\[[@koic](https://togithub.com/koic)]\[]) - [#12095](https://togithub.com/rubocop/rubocop/pull/12095): Fix a false positive for `Style/Alias` when `EncforcedStyle: prefer_alias` and using `alias` with interpolated symbol argument. (\[[@koic](https://togithub.com/koic)]\[]) - [#12098](https://togithub.com/rubocop/rubocop/pull/12098): Fix a false positive for `Style/ClassEqualityComparison` when comparing interpolated string class name for equality. (\[[@koic](https://togithub.com/koic)]\[]) - [#12102](https://togithub.com/rubocop/rubocop/pull/12102): Fix an error for `Style/LambdaCall` when using nested lambda call `x.().()`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12099](https://togithub.com/rubocop/rubocop/pull/12099): Fix an incorrect autocorrect for `Style/Alias` when `EncforcedStyle: prefer_alias_method` and using `alias` with interpolated symbol argument. (\[[@koic](https://togithub.com/koic)]\[]) - [#12085](https://togithub.com/rubocop/rubocop/issues/12085): Fix an error for `Lint/SuppressedException` when `AllowNil: true` is set and endless method definition is used. (\[[@koic](https://togithub.com/koic)]\[]) - [#12087](https://togithub.com/rubocop/rubocop/issues/12087): Fix false positives for `Style/ArgumentsForwarding` with additional args/kwargs in def/send nodes. (\[[@owst](https://togithub.com/owst)]\[]) - [#12071](https://togithub.com/rubocop/rubocop/issues/12071): Fix `Style/SymbolArray` false positives when using square brackets or interpolation in a symbol literal in a percent style array. (\[[@jasondoc3](https://togithub.com/jasondoc3)]\[]) - [#12061](https://togithub.com/rubocop/rubocop/issues/12061): Support regex in StringLiteralsInInterpolation. (\[[@jonas054](https://togithub.com/jonas054)]\[]) - [#12091](https://togithub.com/rubocop/rubocop/pull/12091): With `--fail-level A` ignore non-correctable offenses at :info severity. (\[[@naveg](https://togithub.com/naveg)]\[]) ##### Changes - [#12094](https://togithub.com/rubocop/rubocop/pull/12094): Add `base64` gem to runtime dependency to suppress Ruby 3.3's warning. (\[[@koic](https://togithub.com/koic)]\[]) ### [`v1.55.1`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1551-2023-07-31) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.55.0...v1.55.1) ##### Bug fixes - [#12068](https://togithub.com/rubocop/rubocop/pull/12068): Fix a false positive for `Style/ReturnNilInPredicateMethodDefinition` when the last method argument in method definition is `nil`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12082](https://togithub.com/rubocop/rubocop/issues/12082): Fix an error for `Lint/UselessAssignment` when a variable is assigned and unreferenced in `for` with multiple variables. (\[[@koic](https://togithub.com/koic)]\[]) - [#12079](https://togithub.com/rubocop/rubocop/issues/12079): Fix an error for `Style/MixinGrouping` when mixin method has no arguments. (\[[@koic](https://togithub.com/koic)]\[]) - [#11637](https://togithub.com/rubocop/rubocop/pull/11637): Correct Rubocop for `private_class_method` method documentation. (\[[@bigzed](https://togithub.com/bigzed)]\[]) - [#12070](https://togithub.com/rubocop/rubocop/pull/12070): Fix false positive in `Style/ArgumentsForwarding` when receiver forwards args/kwargs. (\[[@owst](https://togithub.com/owst)]\[]) ### [`v1.55.0`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1550-2023-07-25) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.54.2...v1.55.0) ##### New features - [#11794](https://togithub.com/rubocop/rubocop/pull/11794): Add support to `Style/ArgumentsForwarding` for anonymous arg/kwarg forwarding in Ruby 3.2. (\[[@owst](https://togithub.com/owst)]\[]) - [#12044](https://togithub.com/rubocop/rubocop/issues/12044): Make LSP server support `layoutMode` option to run layout cops. (\[[@koic](https://togithub.com/koic)]\[]) - [#12056](https://togithub.com/rubocop/rubocop/pull/12056): Make LSP server support `lintMode` option to run lint cops. (\[[@koic](https://togithub.com/koic)]\[]) - [#12046](https://togithub.com/rubocop/rubocop/issues/12046): Make `ReturnNilInPredicateMethodDefinition` aware of `nil` at the end of predicate method definition. (\[[@koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#12055](https://togithub.com/rubocop/rubocop/pull/12055): Allow parentheses in single-line match patterns when using the `omit_parentheses` style of `Style/MethodCallWithArgsParentheses`. (\[[@gsamokovarov](https://togithub.com/gsamokovarov)]\[]) - [#12050](https://togithub.com/rubocop/rubocop/pull/12050): Fix a false positive for `Layout/RedundantLineBreak` when inspecting the `%` form string `%\n\n`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12063](https://togithub.com/rubocop/rubocop/pull/12063): Fix `Style/CombinableLoops` when one of the loops is empty. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#12059](https://togithub.com/rubocop/rubocop/issues/12059): Fix a false negative for `Style/StringLiteralsInInterpolation` for symbols with interpolation. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#11834](https://togithub.com/rubocop/rubocop/issues/11834): Fix false positive for when variable in inside conditional branch in nested node. (\[[@alexeyschepin](https://togithub.com/alexeyschepin)]\[]) - [#11802](https://togithub.com/rubocop/rubocop/issues/11802): Improve handling of `[]` and `()` with percent symbol arrays. (\[[@jasondoc3](https://togithub.com/jasondoc3)]\[]) - [#12052](https://togithub.com/rubocop/rubocop/issues/12052): Fix "Subfolders can't include glob special characters". (\[[@meric426](https://togithub.com/meric426)]\[], \[[@loveo](https://togithub.com/loveo)]\[]) - [#12062](https://togithub.com/rubocop/rubocop/pull/12062): Fix `LoadError` when loading RuboCop from a symlinked location on Windows. (\[[@p0deje](https://togithub.com/p0deje)]\[]) ##### Changes - [#12064](https://togithub.com/rubocop/rubocop/pull/12064): Make `Style/RedundantArgument` aware of `exit` and `exit!`. (\[[@koic](https://togithub.com/koic)]\[]) - [#12015](https://togithub.com/rubocop/rubocop/issues/12015): Mark `Style/HashConversion` as unsafe autocorrection. (\[[@koic](https://togithub.com/koic)]\[])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.