Skip to content

Update dependency rubocop-performance to v1.25.0 #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: production
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop-performance (source, changelog) '= 1.16.0' -> '= 1.25.0' age adoption passing confidence

Release Notes

rubocop/rubocop-performance (rubocop-performance)

v1.25.0

Compare Source

New features
Bug fixes
  • #​494: Fix Performance/FixedSize false positive when count is called with a numblock. ([@​dvandersluis][])
  • #​492: Fix false positives for Performance/StringIdentifierArgument when using interpolated string argument. ([@​koic][])
Changes
  • #​482: Change Performance/CollectionLiteralInLoop to not register offenses for Array#include? that are optimized directly in Ruby. ([@​earlopain][])

v1.24.0

Compare Source

New features
  • #​490: Pluginfy RuboCop Performance. ([@​koic][])
  • #​462: Add new Performance/ZipWithoutBlock cop that checks patterns like .map { |id| [id] } or .map { [_1] } and can replace them with .zip. ([@​corsonknowles][])
Bug fixes

v1.23.1

Compare Source

Bug fixes

v1.23.0

Compare Source

New features

v1.22.1

Compare Source

Bug fixes
  • #​468: Fix false positives for Performance/BigDecimalWithNumericArgument when using float argument for BigDecimal. ([@​koic][])

v1.22.0

Compare Source

Bug fixes
  • #​454: Fix false positives for Performance/BigDecimalWithNumericArgument when using BigDecimal 3.1+. ([@​koic][])
Changes

v1.21.1

Compare Source

Bug fixes
  • #​452: Fix an error for Performance/RedundantEqualityComparisonBlock when the block is empty. ([@​earlopain][])

v1.21.0

Compare Source

New features
Bug fixes
  • #​437: Fix a false positive for Performance/ChainArrayAllocation when using select with block argument after select. ([@​koic][])
  • #​448: Fix a false positive for Performance/RedundantBlockCall when using block.call with block argument. ([@​koic][])
Changes

v1.20.2

Compare Source

Bug fixes
  • #​425: Fix a false positive for Performance/StringIdentifierArgument when using string interpolation with methods that don't support symbols with :: inside them. ([@​earlopain][])

v1.20.1

Compare Source

Bug fixes
  • #​428: Fix false negatives for Performance/StringIdentifierArgument when using multiple string arguments. ([@​koic][])

v1.20.0

Compare Source

New features
  • #​384: Support optimized String#dup for Performance/UnfreezeString when Ruby 3.3+. ([@​koic][])
Bug fixes
  • #​374: Fix an error for Performance/MapMethodChain when using map method chain without receiver. ([@​koic][])
  • #​386: Fix a false negative for Performance/StringIdentifierArgument when using string interpolation. ([@​earlopain][])
  • #​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][])
  • #​390: Fix a false negative for Performance/ReverseEach when safe navigation is between reverse and each. ([@​fatkodima][])
  • #​401: Make Performance/Sum aware of safe navigation operator. ([@​koic][])
Changes

v1.19.1

Compare Source

Bug fixes
  • #​367: Fix an incorrect autocorrect for Performance/BlockGivenWithExplicitBlock when using Lint/UnusedMethodArgument's autocorrection together. ([@​ymap][])
  • #​370: Fix an incorrect autocorrect for Performance/RedundantMatch when expressions with lower precedence than =~ are used as an argument. ([@​ymap][])
  • #​365: Fix false positives for Performance/ArraySemiInfiniteRangeSlice when using [] with string literals. ([@​koic][])
  • #​373: Set target version for Performance/UnfreezeString. ([@​tagliala][])

v1.19.0

Compare Source

New features
  • #​364: Add new Performance/MapMethodChain cop. ([@​koic][])
  • #​363: Support safe navigation operator for Performance/ArraySemiInfiniteRangeSlice, Performance/DeletePrefix, Performance/DeleteSuffix, Performance/Detect, Performance/EndWith, Performance/InefficientHashSearch, Performance/MapCompact, Performance/RedundantSplitRegexpArgument, Performance/ReverseEach, Performance/ReverseFirst, Performance/SelectMap, Performance/Squeeze, Performance/StartWith, Performance/StringInclude, and Performance/StringReplacement cops. ([@​koic][])

v1.18.0

Compare Source

Bug fixes
  • #​359: Fix a false positive for Performance/RedundantEqualityComparisonBlock when the block variable is used on both sides of ==. ([@​koic][])
  • #​351: Fix an incorrect autocorrect for Performance/ConstantRegexp and Performance/RegexpMatch when autocorrecting both at the same time. ([@​fatkodima][])
Changes

v1.17.1

Compare Source

Bug fixes
  • #​352: Fix the default config for AllowRegexpMatch option of Performance/RedundantEqualityComparisonBlock. ([@​koic][])

v1.17.0

Compare Source

New features
  • #​347: Add AllowRegexpMatch option to Performance/RedundantEqualityComparisonBlock. ([@​koic][])
Bug fixes
  • #​346: Fix a false positive for Performance/StringIdentifierArgument when using a command method with receiver. ([@​koic][])
  • #​344: Fix Performance/FlatMap autocorrection for chained methods on separate lines. ([@​fatkodima][])

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 was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants