Releases
v1.20.0
RuboCop Performance 1.20.0 (The RubyConf Taiwan 2023 Edition)
koic
released this
16 Dec 01:36
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
#389 : Improve Performance/MapCompact
to handle more safe navigation calls. (@fatkodima )
#395 : Enhance Performance/StringInclude
to handle ===
method. (@fatkodima )
#388 : Require RuboCop 1.30+ as runtime dependency. (@koic )
#380 : Require RuboCop AST 1.30.0+. (@koic )
You can’t perform that action at this time.