rubocop/rubocop (rubocop)
### [`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)]\[])
### [`v1.54.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1542-2023-07-13)
[Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.54.1...v1.54.2)
##### Bug fixes
- [#12043](https://togithub.com/rubocop/rubocop/pull/12043): Fix a false negative for `Layout/ExtraSpacing` when some characters are vertically aligned. (\[[@koic](https://togithub.com/koic)]\[])
- [#12040](https://togithub.com/rubocop/rubocop/pull/12040): Fix a false positive for `Layout/TrailingEmptyLines` to prevent the following incorrect autocorrection when inspecting the `%` form string `%\n\n`. (\[[@koic](https://togithub.com/koic)]\[])
- [#1867](https://togithub.com/rubocop/rubocop/issues/1867): Fix an error when `AllCops:Exclude` is empty in .rubocop.yml. (\[[@koic](https://togithub.com/koic)]\[])
- [#12034](https://togithub.com/rubocop/rubocop/issues/12034): Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. (\[[@koic](https://togithub.com/koic)]\[])
- [#12038](https://togithub.com/rubocop/rubocop/pull/12038): Output the "server restarting" message to stderr. (\[[@knu](https://togithub.com/knu)]\[])
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.1'
->'1.55.1'
Release Notes
rubocop/rubocop (rubocop)
### [`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)]\[]) ### [`v1.54.2`](https://togithub.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1542-2023-07-13) [Compare Source](https://togithub.com/rubocop/rubocop/compare/v1.54.1...v1.54.2) ##### Bug fixes - [#12043](https://togithub.com/rubocop/rubocop/pull/12043): Fix a false negative for `Layout/ExtraSpacing` when some characters are vertically aligned. (\[[@koic](https://togithub.com/koic)]\[]) - [#12040](https://togithub.com/rubocop/rubocop/pull/12040): Fix a false positive for `Layout/TrailingEmptyLines` to prevent the following incorrect autocorrection when inspecting the `%` form string `%\n\n`. (\[[@koic](https://togithub.com/koic)]\[]) - [#1867](https://togithub.com/rubocop/rubocop/issues/1867): Fix an error when `AllCops:Exclude` is empty in .rubocop.yml. (\[[@koic](https://togithub.com/koic)]\[]) - [#12034](https://togithub.com/rubocop/rubocop/issues/12034): Fix invalid byte sequence in UTF-8 error when using an invalid encoding string. (\[[@koic](https://togithub.com/koic)]\[]) - [#12038](https://togithub.com/rubocop/rubocop/pull/12038): Output the "server restarting" message to stderr. (\[[@knu](https://togithub.com/knu)]\[])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.