Releases: rubocop/rubocop-performance
Releases · rubocop/rubocop-performance
RuboCop Performance v1.25.0
New features
Bug fixes
- #494: Fix
Performance/FixedSize
false positive whencount
is called with anumblock
. (@dvandersluis) - #492: Fix false positives for
Performance/StringIdentifierArgument
when using interpolated string argument. (@koic)
Changes
- #482: Change
Performance/CollectionLiteralInLoop
to not register offenses forArray#include?
that are optimized directly in Ruby. (@earlopain)
RuboCop Performance 1.24.0
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
- #484: Fix
Performance/CaseWhenSplat
cop error onwhen
node without body. (@viralpraxis)
RuboCop Performance 1.23.1
Bug fixes
- #478: Fix
Performance/RedundantStringChars
cop error in case of implicit receiver. (@viralpraxis) - #480: Fix
Performance/Squeeze
cop error on frozen AST string node value. (@viralpraxis)
RuboCop Performance 1.23.0
New features
- #474: Add new
Performance/StringBytesize
cop. (@viralpraxis)
RuboCop Performance 1.22.1
RuboCop Performance 1.22.0
Bug fixes
- #454: Fix false positives for
Performance/BigDecimalWithNumericArgument
when using BigDecimal 3.1+. (@koic)
Changes
- #385: Disable
Performance/BlockGivenWithExplicitBlock
by default. (@earlopain) - #407: Make
Performance/DoubleStartEndWith
aware of safe navigation. (@earlopain)
RuboCop Performance 1.21.1
Bug fixes
- #452: Fix an error for
Performance/RedundantEqualityComparisonBlock
when the block is empty. (@earlopain)
RuboCop Performance 1.21.0
New features
Bug fixes
- #437: Fix a false positive for
Performance/ChainArrayAllocation
when usingselect
with block argument afterselect
. (@koic) - #448: Fix a false positive for
Performance/RedundantBlockCall
when usingblock.call
with block argument. (@koic)
Changes
- #240: Disable
Performance/Casecmp
cop by default. (@parkerfinch)
RuboCop Performance 1.20.2
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)