rubocop/rubocop-performance (rubocop-performance)
### [`v1.20.0`](https://togithub.com/rubocop/rubocop-performance/blob/HEAD/CHANGELOG.md#1200-2023-12-16)
[Compare Source](https://togithub.com/rubocop/rubocop-performance/compare/v1.19.1...v1.20.0)
##### New features
- [#384](https://togithub.com/rubocop/rubocop-performance/issues/384): Support optimized `String#dup` for `Performance/UnfreezeString` when Ruby 3.3+. (\[[@koic](https://togithub.com/koic)]\[])
##### Bug fixes
- [#374](https://togithub.com/rubocop/rubocop-performance/issues/374): Fix an error for `Performance/MapMethodChain` when using `map` method chain without receiver. (\[[@koic](https://togithub.com/koic)]\[])
- [#386](https://togithub.com/rubocop/rubocop-performance/issues/386): Fix a false negative for `Performance/StringIdentifierArgument` when using string interpolation. (\[[@earlopain](https://togithub.com/earlopain)]\[])
- [#419](https://togithub.com/rubocop/rubocop-performance/pull/419): Make `Performance/Count`, `Performance/FixedSize`, `Performance/FlatMap`, `Performance/InefficientHashSearch`, `Performance/RangeInclude`, `Performance/RedundantSortBlock`, `Performance/ReverseFirst`, `Performance/SelectMap`, `Performance/Size`, `Performance/SortReverse`, and `Performance/TimesMap` cops aware of safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[])
- [#390](https://togithub.com/rubocop/rubocop-performance/issues/390): Fix a false negative for `Performance/ReverseEach` when safe navigation is between `reverse` and `each`. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
- [#401](https://togithub.com/rubocop/rubocop-performance/issues/401): Make `Performance/Sum` aware of safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[])
##### Changes
- [#389](https://togithub.com/rubocop/rubocop-performance/issues/389): Improve `Performance/MapCompact` to handle more safe navigation calls. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
- [#395](https://togithub.com/rubocop/rubocop-performance/issues/395): Enhance `Performance/StringInclude` to handle `===` method. (\[[@fatkodima](https://togithub.com/fatkodima)]\[])
- [#388](https://togithub.com/rubocop/rubocop-performance/pull/388): Require RuboCop 1.30+ as runtime dependency. (\[[@koic](https://togithub.com/koic)]\[])
- [#380](https://togithub.com/rubocop/rubocop-performance/pull/380): Require RuboCop AST 1.30.0+. (\[[@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.19.0'
->'~> 1.20.0'
Release Notes
rubocop/rubocop-performance (rubocop-performance)
### [`v1.20.0`](https://togithub.com/rubocop/rubocop-performance/blob/HEAD/CHANGELOG.md#1200-2023-12-16) [Compare Source](https://togithub.com/rubocop/rubocop-performance/compare/v1.19.1...v1.20.0) ##### New features - [#384](https://togithub.com/rubocop/rubocop-performance/issues/384): Support optimized `String#dup` for `Performance/UnfreezeString` when Ruby 3.3+. (\[[@koic](https://togithub.com/koic)]\[]) ##### Bug fixes - [#374](https://togithub.com/rubocop/rubocop-performance/issues/374): Fix an error for `Performance/MapMethodChain` when using `map` method chain without receiver. (\[[@koic](https://togithub.com/koic)]\[]) - [#386](https://togithub.com/rubocop/rubocop-performance/issues/386): Fix a false negative for `Performance/StringIdentifierArgument` when using string interpolation. (\[[@earlopain](https://togithub.com/earlopain)]\[]) - [#419](https://togithub.com/rubocop/rubocop-performance/pull/419): Make `Performance/Count`, `Performance/FixedSize`, `Performance/FlatMap`, `Performance/InefficientHashSearch`, `Performance/RangeInclude`, `Performance/RedundantSortBlock`, `Performance/ReverseFirst`, `Performance/SelectMap`, `Performance/Size`, `Performance/SortReverse`, and `Performance/TimesMap` cops aware of safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[]) - [#390](https://togithub.com/rubocop/rubocop-performance/issues/390): Fix a false negative for `Performance/ReverseEach` when safe navigation is between `reverse` and `each`. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#401](https://togithub.com/rubocop/rubocop-performance/issues/401): Make `Performance/Sum` aware of safe navigation operator. (\[[@koic](https://togithub.com/koic)]\[]) ##### Changes - [#389](https://togithub.com/rubocop/rubocop-performance/issues/389): Improve `Performance/MapCompact` to handle more safe navigation calls. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#395](https://togithub.com/rubocop/rubocop-performance/issues/395): Enhance `Performance/StringInclude` to handle `===` method. (\[[@fatkodima](https://togithub.com/fatkodima)]\[]) - [#388](https://togithub.com/rubocop/rubocop-performance/pull/388): Require RuboCop 1.30+ as runtime dependency. (\[[@koic](https://togithub.com/koic)]\[]) - [#380](https://togithub.com/rubocop/rubocop-performance/pull/380): Require RuboCop AST 1.30.0+. (\[[@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.