Rubocop v0.82.0 Release Notes

Release Date: 2020-04-16 // about 4 years ago
  • ๐Ÿ†• New features

    • ๐Ÿ‘ #7867: Add support for tabs in indentation. (@DracoAter)
    • #7863: Corrector now accepts nodes in addition to ranges. (@marcandre)
    • #7862: Corrector now has a wrap method. (@marcandre)
    • #7850: Make it possible to enable/disable pending cops. (@koic)
    • ๐Ÿ’… #7861: Make it to allow Style/CaseEquality when the receiver is a constant. (@rafaelfranca)
    • ๐Ÿ’… #7851: Add a new Style/ExponentialNotation cop. (@tdeo)
    • ๐Ÿ’… #7384: Add new Style/DisableCopsWithinSourceCodeDirective cop. (@egze)
    • #7826: Add new Layout/SpaceAroundMethodCallOperator cop. (@saurabhmaurya15)

    ๐Ÿ› Bug fixes

    • ๐Ÿ‘• #7871: Fix an auto-correction bug in Lint/BooleanSymbol. (@knu)
    • ๐Ÿ‘• #7842: Fix a false positive for Lint/RaiseException when raising Exception with explicit namespace. (@koic)
    • ๐Ÿ‘• #7834: Fix Lint/UriRegexp to register offense with array arguments. (@tejasbubane)
    • ๐Ÿ’… #7841: Fix an error for Style/TrailingCommaInBlockArgs when lambda literal (->) has multiple arguments. (@koic)
    • ๐Ÿ‘• #7842: Fix a false positive for Lint/RaiseException when Exception without cbase specified under the namespace Gem by adding AllowedImplicitNamespaces option. (@koic)
    • ๐Ÿ’… Style/IfUnlessModifier does not infinite-loop when autocorrecting long lines which use if/unless modifiers and have multiple statements separated by semicolons. (@alexdowad)
    • 0๏ธโƒฃ rubocop-hq/rubocop-rails#127: Use ConfigLoader.default_configuration for the default config. (@hanachin)

    ๐Ÿ”„ Changes

    • (Breaking) Renamed Layout/Tab cop to Layout/IndentationStyle. (@DracoAter)
    • #7869: (Breaking) Drop support for Ruby 2.3. (@koic)