rubocop breaking changes
Updated December 4, 2026
On this page
Latest version 1.93.0, released November 25, 2026. Source repository
Its 0.82.0 release drops Ruby 2.3. Ruby end of life dates.
- From 0.93.0 to 1.92.2: 68 breaking changes in 15 versions.
- From 0.7.0 to 1.92.2: 404 breaking changes in 97 versions.
rubocop 1.92.2 breaking changes
- Behavior changed
Lint.PercentStringArray
The cop now reports quoted strings split at whitespace and suggests an array literal instead. Code that previously passed this cop may now show new offenses and should be reviewed. github.com
rubocop 1.91.0 breaking changes
- Removed
Style.DoubleCopDisableDirective
The cop is gone, superseded by Lint/CopDirectiveSyntax, which now reports and corrects more than one directive on a line. Configs that name this cop must be updated. github.com - Renamed
Style.DisableCopsWithinSourceCodeDirective.AllowTrailingComment
The AllowTrailingComment option is now called AllowWithReason. Update config files that set the old name. github.com - Behavior changed
Style.DirectiveScope
The cop now converts single-statement push/pop and enable/disable pairs to next, enable-next and disable-next forms. github.com - Default changed
AllCops.FailLevel
Under Preview style offenses are reported without failing the build, ahead of it becoming the default in RuboCop 2.0. github.com - Default changed
Lint.CopDirectiveSyntax
Directives that silently disable nothing are now reported by default. Code with such directives will get new offenses. github.com - Default changed
Metrics.MethodLength
Under Preview these Metrics cops are disabled, ahead of being disabled by default in RuboCop 2.0. github.com - Default changed
Metrics.severity
Security cops now report as warning and Metrics cops as refactor by default, which can change how offenses are reported or failed. github.com - Default changed
Style.DisableCopsWithinSourceCodeDirective.AllowedCops
Department names now match in AllowedCops and DisallowedCops, which can change which directives are flagged. github.com - Default changed
Style.Documentation
Under Preview this cop is disabled, ahead of being disabled by default in RuboCop 2.0. github.com - Default changed
Style.IfUnlessModifier
Under Preview these cops are disabled, ahead of being disabled by default in RuboCop 2.0. github.com
And 2 more in this version. Sign up to see every change
rubocop 1.90.0 breaking changes
- Behavior changed
The JUnit formatter now emits testcase elements only for cops enabled for each inspected file instead of all cops, so reports change shape. github.com - Behavior changed
Disable directives with the wrong namespace no longer suppress offenses, so previously hidden offenses may now be reported. github.com - Behavior changed
Layout.ExtraSpacing
A same-indentation line beyond the enclosing block is no longer treated as an alignment anchor, so code that relied on it may now be reported. github.com - Behavior changed
Layout.SpaceAroundOperators
A same-indentation line beyond the enclosing block is no longer treated as an alignment anchor, so code that relied on it may now be reported. github.com - Behavior changed
Layout.SpaceBeforeFirstArg
A same-indentation line beyond the enclosing block is no longer treated as an alignment anchor, so code that relied on it may now be reported. github.com - Behavior changed
Lint.CopDirectiveSyntax
Directives with keyword typos or unknown cop names are now reported, which can fail builds that previously passed. github.com - Behavior changed
Lint.RedundantCopEnableDirective
A rubocop:pop directive without a matching rubocop:push is now reported as redundant, which can fail builds. github.com - Behavior changed
Style.Sample
Offenses for shuffle with a random: argument are still reported but are no longer autocorrected, so fixes must be made by hand. github.com - Configuration changed
Exclude lists from a department and from its cops are merged rather than one overriding the other, so file exclusions may change. github.com
rubocop 1.89.0 breaking changes
- Behavior changed
Lint.ConstantResolution
When UseProjectIndex is enabled, Lint/ConstantResolution reports only genuinely ambiguous constants, so some previously reported offenses no longer appear. github.com - Behavior changed
Lint.DuplicateMethods
When UseProjectIndex is enabled, Lint/DuplicateMethods checks for duplicate methods across files, so new offenses may appear in existing code. github.com - Behavior changed
Lint.MissingSuper
With UseProjectIndex, Lint/MissingSuper skips its constructor offense when the project index shows no ancestor defines initialize, so some previously reported offenses disappear. github.com - Behavior changed
Lint.SafeNavigationChain
Autocorrection for Lint/SafeNavigationChain is now treated as unsafe, so it no longer runs under plain safe autocorrect. Review and run unsafe autocorrect explicitly if you rely on it. github.com - Behavior changed
Style.ConditionalAssignment
Style/ConditionalAssignment now skips some branch shapes it previously tried to rewrite, so some offenses and corrections no longer appear. github.com - Behavior changed
Style.Documentation
With UseProjectIndex enabled, Style/Documentation accepts a reopened class or module whose documentation is at another definition site, so some offenses no longer appear. github.com
rubocop 1.88.2 breaking changes
- Behavior changed
Lint.NumericOperationWithConstantResult
Its autocorrect is now marked unsafe, so it is no longer applied by safe autocorrection. Review its corrections manually or opt in to unsafe autocorrection to apply them. github.com
rubocop 1.88.1 breaking changes
- Behavior changed
Metrics.PerceivedComplexity
Simple case/in pattern branches are now weighted the same as case/when branches, so complexity scores for code using pattern matching may change. github.com - Behavior changed
Style.MapCompactWithConditionalBlock
The autocorrect for this cop is now marked unsafe because compact also removes nil elements already in the collection. Review autocorrected code that relied on the old behavior. github.com
Older versions
92 older versions, each with its first changes. Sign up to see every change
Show 92 older versions
rubocop 1.88.0 breaking changes
- Renamed
Bundler.GemComment.IgnoredGems
The old option name is deprecated but still works. Use AllowedGems in your configuration. github.com - Renamed
Lint.MissingCopEnableDirective.MaximumRangeSize
The old option name is deprecated but still works. Use MaxRangeSize in your configuration. github.com
And 4 more in this version.
rubocop 1.86.1 breaking changes
- Behavior changed
Tool execution errors are now returned as tool errors instead of protocol errors, which may change how MCP clients handle failures. github.com - Default changed
Style.OneClassPerFile
The cop no longer checks files under spec/ and test/ unless the config is changed to include them. github.com
And 1 more in this version.
rubocop 1.86.0 breaking changes
- Removed
RuboCop no longer installs the mcp gem as a runtime dependency, so code that relied on it being loaded through RuboCop must add it to its own Gemfile. github.com - Behavior changed
Lint.RedundantSafeNavigation
The cop now detects redundant safe navigation in the true branch of a conditional, so code that passed before may now produce offenses. github.com
rubocop 1.85.0 breaking changes
- Renamed
Style.EmptyClassDefinition
The EnforcedStyle value class_definition is now class_keyword. Update any configuration that uses the old value. github.com - Behavior changed
Lint.SafeNavigationConsistency
Autocorrection for this cop is now treated as unsafe, so it only applies when unsafe autocorrection is enabled. github.com
And 1 more in this version.
rubocop 1.84.2 breaking changes
- Behavior changed
Remote configuration files now use the top-level cache settings instead of their own. Users who depended on the previous cache behavior should check their configuration. github.com
rubocop 1.84.1 breaking changes
- Removed
InjectDefaults
The deprecated InjectDefaults handling is gone in this release. Configurations that still rely on it will no longer be processed that way. github.com
rubocop 1.84.0 breaking changes
- Behavior changed
Lint.DuplicateMethods
The cop now treats Forwardable-defined methods as definitions, so code that defines the same method twice may newly be flagged. github.com - Behavior changed
Lint.RedundantSplatExpansion
The cop now also reports redundant splat expansion in constant assignments, so existing code there may newly be flagged. github.com
And 1 more in this version.
rubocop 1.82.0 breaking changes
- Renamed
Layout.LineLength.IgnoreCopDirectives
Rename IgnoreCopDirectives to AllowCopDirectives in your RuboCop configuration for Layout/LineLength. github.com - Behavior changed
Gemspec.RubyVersionGlobalsUsage
The cop now flags Ruby::VERSION usage as well as RUBY_VERSION. github.com
And 12 more in this version.
rubocop 1.0.0 breaking changes
- Behavior changed
Cops inside namespaces five or more levels deep now belong to departments named by joining module names from the third one with slashes. For example, Rubocop::Cop::Foo::Bar::Baz now belongs to Foo/Bar instead of Bar. github.com - Behavior changed
RuboCop now assumes cop classes do not define new on_<type> methods at runtime, such as via extend in initialize. Cops that do so may stop working. github.com
And 2 more in this version.
rubocop 0.93.0 breaking changes
- Behavior changed
RegexpNode.parsed_tree
Regexps with interpolation are now parsed by blanking the interpolation instead of skipping them, so code that relied on skipping them may get different results. github.com
rubocop 0.92.0 breaking changes
- Default changed
Style.ArrayCoercion
The Style/ArrayCoercion cop is now disabled by default. Enable it in your configuration if you want its checks. github.com
rubocop 0.91.0 breaking changes
- Behavior changed
The cache now computes file hashes with crc32 rather than mtime, so caches become reusable across CI builds. Existing cache contents are invalidated by this change. github.com - Behavior changed
Style.GlobalStdStream
Autocorrection for Style/GlobalStdStream is treated as unsafe, so it will not be applied by safe autocorrect runs. Review its changes manually or opt in to unsafe autocorrection. github.com
And 1 more in this version.
rubocop 0.90.0 breaking changes
- Behavior changed
Lint.FrozenStringLiteralComment
The cop is now marked Safe, but its auto-correction is unsafe. Safe auto-correction may now apply its changes, so review them. github.com - Behavior changed
Style.CaseLikeIf
The cop is now marked as not safe, so safe auto-correction no longer applies its fixes. Review its offenses before auto-correcting. github.com
rubocop 0.89.0 breaking changes
- Removed
Lint.UselessComparison
The Lint/UselessComparison cop is removed; use Lint/BinaryOperatorWithIdenticalOperands instead. github.com - Removed
RuboCop.Cop.ParserDiagnostic
The RuboCop::Cop::ParserDiagnostic mixin module has been removed. github.com
And 9 more in this version.
rubocop 0.88.0 breaking changes
- Configuration changed
RuboCop now skips .rubocop.yml files outside the current project. Personal configuration files are still loaded when the project has no configuration of its own. github.com
rubocop 0.87.0 breaking changes
- Behavior changed
Gem names are now ordered ignoring underscores and dashes unless the ConsiderPunctuation setting is true. Review your configuration if you rely on the old order. github.com - Behavior changed
--autocorrect
rubocop -a / --autocorrect now runs only safe corrections. Use -A / --autocorrect-all to run both safe and unsafe corrections. github.com
And 1 more in this version.
rubocop 0.86.0 breaking changes
- Behavior changed
Metrics.CyclomaticComplexity
Metrics/CyclomaticComplexity now also counts &., ||=, &&= and blocks known to iterate, so complexity scores can rise and new offenses may appear. github.com - Default changed
Metrics.CyclomaticComplexity
The default maximum for Metrics/CyclomaticComplexity went from 6 to 7. Projects relying on the default may see fewer offenses, or set Max explicitly to keep the old limit. github.com
rubocop 0.85.0 breaking changes
- Behavior changed
Layout.HeredocIndentation
The cop now only recommends the squiggly heredoc style, so code relying on the other heredoc styles will be flagged. github.com
rubocop 0.84.0 breaking changes
- Removed
AST
The AST class is no longer provided by rubocop and now lives in the rubocop-ast gem. Code that references it must depend on rubocop-ast instead. github.com - Removed
NodePattern
The NodePattern class is no longer provided by rubocop and now lives in the rubocop-ast gem. Code that references it must depend on rubocop-ast instead. github.com
And 3 more in this version.
rubocop 0.83.0 breaking changes
- Behavior changed
A cop enabled explicitly is now enabled even when its department is disabled, which can change which offenses are reported. github.com - Behavior changed
--only-recognized-file-types
Files passed on the command line are inspected unless --only-recognized-file-types is given, so users relying on the old filtering must add that flag. github.com
And 4 more in this version.
rubocop 0.82.0 breaking changes
- Removed
RuboCop no longer supports Ruby 2.3. Users on Ruby 2.3 must upgrade their Ruby version or stay on an earlier RuboCop release. github.com - Renamed
Layout.Tab
The Layout/Tab cop was renamed to Layout/IndentationStyle. Update any configuration or inline directives that reference Layout/Tab. github.com
rubocop 0.81.0 breaking changes
- Removed
Lint.EndInMethod
The Lint/EndInMethod cop has been removed. Remove any references to it from your configuration. github.com - Behavior changed
Naming.MethodName
Naming/MethodName now also checks attr_reader, attr_writer, attr_accessor and attr declarations, so code using non-conforming names there will newly be flagged. github.com
And 1 more in this version.
rubocop 0.80.0 breaking changes
- Removed
Style.BracesAroundHashParameters
The Style/BracesAroundHashParameters cop has been removed, so configuration that enables or disables it will no longer apply. github.com - Behavior changed
Lint.Debugger
The console method is no longer treated as a debugger call by Lint/Debugger, so code using it will not be reported anymore. github.com
And 5 more in this version.
rubocop 0.79.0 breaking changes
- Behavior changed
Style.FrozenStringLiteralComment
The cop is now marked unsafe, so autocorrect no longer applies it by default and it must be run with unsafe autocorrect enabled. github.com
rubocop 0.78.0 breaking changes
- Renamed
Metrics.LineLength
The LineLength cop moved to the Layout department. Update any configuration or department references that use Metrics/LineLength. github.com - Behavior changed
Lint.NonDeterministicRequireOrder
Adds new cop Lint/NonDeterministicRequireOrder in rubocop 0.78.0 github.com
rubocop 0.77.0 breaking changes
- Removed
SafeMode
The SafeMode module was removed. Code that references it will no longer work. github.com - Renamed
Terms like Whitelist and Blacklist were replaced with alternatives in a breaking change. Update configuration and code that uses the old names. github.com
And 1 more in this version.
rubocop 0.76.0 breaking changes
- Renamed
Style.UnneededPercentQ
The Unneeded* cops were renamed to Redundant* cops, so configuration and disable comments referring to the old names must be updated. github.com
rubocop 0.75.0 breaking changes
- Renamed
Style.MethodCallWithArgsParentheses.IgnoredMethodPatterns
The IgnoredMethodPatterns option is renamed to IgnoredPatterns; update your .rubocop.yml. github.com - Behavior changed
--disable-uncorrectable
Cops disabled with --disable-uncorrectable now use rubocop:todo instead of rubocop:disable. github.com
And 6 more in this version.
rubocop 0.74.0 breaking changes
- Behavior changed
Cops now also detect string interpolations inside backticks, regular expressions and symbols, so code that passed before may now report offenses. github.com
rubocop 0.72.0 breaking changes
- Removed
The Rails cops were removed from RuboCop. Configurations that enable them must drop those cops. github.com - Removed
rubocop -R.--rails
The rubocop -R/--rails option was removed. Scripts or CI commands that pass it must stop using it. github.com
And 2 more in this version.
rubocop 0.71.0 breaking changes
- Behavior changed
Lint.PercentStringArray
Autocorrect for this cop is now marked unsafe, so it may not be applied automatically without review. github.com
rubocop 0.70.0 breaking changes
- Behavior changed
Style.PreferredHashMethods
Autocorrections from this cop are now treated as unsafe, so runs that apply only safe autocorrections will skip them. Users who relied on automatic fixes from this cop must opt in to unsafe autocorrection. github.com
rubocop 0.69.0 breaking changes
- Removed
The release no longer supports Ruby 2.2. Users on Ruby 2.2 must upgrade their Ruby version to keep using this release. github.com - Removed
Layout.IndentHeredoc.auto_detection
The auto_detection option for Layout/IndentHeredoc is removed. Remove it from configuration files. github.com
And 3 more in this version.
rubocop 0.68.0 breaking changes
- Removed
Performance cops
The Performance cops were removed in this release. Move to the separate rubocop-performance gem if you still need them. github.com - Renamed
IndentArray
IndentArray is renamed to IndentFirstArrayElement. Update your config to use the new name. github.com
And 6 more in this version.
rubocop 0.67.0 breaking changes
- Renamed
Performance.LstripRstrip
The cop moved from the Performance department to Style and was renamed to Strip. Update any config or inline disable comments that reference Performance/LstripRstrip. github.com - Renamed
Performance.RedundantSortBy
The cop now lives in the Style department. Update config and disable comments that name Performance/RedundantSortBy. github.com
And 2 more in this version.
rubocop 0.66.0 breaking changes
- Default changed
Metrics.BlockLength
The Metrics/BlockLength cop now excludes the gemspec file by default. Users who want gemspec files checked must change their configuration. github.com
rubocop 0.65.0 breaking changes
- Removed
RuboCop 0.65.0 no longer supports Ruby 2.2.0 and 2.2.1. Users on those Ruby versions must upgrade Ruby before updating. github.com - Default changed
Style.ModuleFunction
Style/ModuleFunction is marked SafeAutocorrect: false, so autocorrect no longer runs for it by default. Users who want the automatic fix must enable it in their configuration. github.com
rubocop 0.64.0 breaking changes
- Behavior changed
Style.LineEndConcatenation
The cop's auto-correction is now flagged as unsafe, so it will not run under safe-only auto-correction. Review its corrections manually before applying them. github.com - Behavior changed
Style.SymbolProc
The cop's auto-correction is now flagged as unsafe, so it will not run under safe-only auto-correction. Review its corrections manually before applying them. github.com
rubocop 0.63.0 breaking changes
- Renamed
Style.FlipFlop
The FlipFlop cop now lives under Lint instead of Style, so configuration and exclusions referencing Style/FlipFlop must be updated to Lint/FlipFlop. github.com - Behavior changed
Performance.RangeInclude
Performance/RangeInclude is now flagged as unsafe because Range#include? and Range#cover? are not equivalent, so auto-correct may change behavior. github.com
rubocop 0.62.0 breaking changes
- Behavior changed
RuboCop now skips files that git ignores, so those files are no longer checked. If you relied on them being inspected, adjust your configuration. github.com
rubocop 0.60.0 breaking changes
- Behavior changed
Layout.AlignHash
The Layout/AlignHash cop now enforces single spaces for the key option, so code using other spacing will be flagged and must be adjusted. github.com
rubocop 0.59.0 breaking changes
- Behavior changed
The path pattern (*) in configuration now also matches hidden files, so files previously skipped may now be inspected. github.com - Behavior changed
Rails.FindEach
The cop flags eager_load, includes, joins, left_joins, left_outer_joins, preload, references and unscoped as well, so code using them may now get offenses. github.com
And 6 more in this version.
rubocop 0.58.0 breaking changes
- Removed
Support for MRI 2.1 was dropped. Use a newer Ruby version. github.com - Removed
rake repl
The rake repl task was removed in this release. Stop calling it. github.com
And 3 more in this version.
rubocop 0.57.0 breaking changes
- Removed
Lint.SplatKeywordArguments
The Lint/SplatKeywordArguments cop was removed, so configuration that enables or disables it will no longer have an effect. github.com - Behavior changed
--fix-layout
The REPL is now started with bin/console instead of the rake repl task, so scripts calling rake repl must be updated. github.com
And 3 more in this version.
rubocop 0.56.0 breaking changes
- Removed
Style.MethodMissing
Style/MethodMissing is replaced by Style/MethodMissingSuper and Style/MissingRespondToMissing. Update configuration and inline disable comments that reference the old cop. github.com - Renamed
Style.EmptyLineAfterGuardClause
The cop is now named Layout/EmptyLineAfterGuardClause. Update configuration and disable comments to the new name. github.com
And 3 more in this version.
rubocop 0.55.0 breaking changes
- Behavior changed
--auto-gen-config
When generating config with --auto-gen-config, offenses are only output if the --output-offenses flag is also passed. github.com - Behavior changed
Rails.InverseOf
The cop now flags inverse_of: nil instead of accepting it as an opt-out, so code relying on that opt-out will get new offenses. github.com
rubocop 0.54.0 breaking changes
- Behavior changed
When TargetRubyVersion is not set in the config, RuboCop now reads gems.locked or Gemfile.lock to choose it, which can change which cops fire. github.com - Behavior changed
Style.TrivialAccessors
Auto-correction is disabled for `def` methods that appear after `private`, so autocorrect runs will leave those methods unchanged. github.com
And 1 more in this version.
rubocop 0.53.0 breaking changes
- Removed
Performance.HashEachMethods
The cop no longer provides a performance benefit and has been removed; configurations referencing it must be updated. github.com - Removed
Style.TrailingCommmaInLiteral
Replaced by two new cops, one for array literals and one for hash literals. github.com
And 16 more in this version.
rubocop 0.52.0 breaking changes
- Removed
Layout.SpaceInsideBrackets
The Layout/SpaceInsideBrackets cop is removed and replaced by Layout/SpaceInsideReferenceBrackets and Layout/SpaceInsideArrayLiteralBrackets. Update configuration that references the old cop. github.com - Renamed
Lint.RescueWithoutErrorClass
The Lint/RescueWithoutErrorClass cop has been replaced by Style/RescueStandardError. Update configuration that references the old cop name. github.com
And 11 more in this version.
rubocop 0.51.0 breaking changes
- Removed
RuboCop itself cannot be installed on MRI 2.0 anymore. github.com - Removed
Code that needs to support MRI 2.0 can no longer be analyzed by RuboCop. github.com
And 4 more in this version.
rubocop 0.50.0 breaking changes
- Renamed
Style.HeredocDelimiters
The cop Style/HeredocDelimiters is renamed to Style/HeredocDelimiterNaming. Update any configuration or disable comments that reference the old name. github.com - Default changed
The node_modules directory is now excluded by default. Files in it are no longer inspected unless the default excludes are overridden. github.com
And 2 more in this version.
rubocop 0.49.0 breaking changes
- Renamed
Style.SymbolArray
Cops dealing with whitespace were moved into a new Layout department, so configuration keyed by the old department names must be updated. github.com - Behavior changed
The cache location changed, so tooling relying on the old cache path may need updating. github.com
And 5 more in this version.
rubocop 0.48.0 breaking changes
- Behavior changed
Files are now selected by default as all Ruby files, with non-Ruby files excluded, which may change which files get inspected. github.com - Behavior changed
Lint.ShadowedException
The cop now reports shadowed exceptions when an implicit begin is present, so existing code may newly be flagged. github.com
And 6 more in this version.
rubocop 0.47.0 breaking changes
- Renamed
Lint.Eval
The Lint/Eval cop is renamed to Security/Eval. Update any configuration that refers to Lint/Eval. github.com - Renamed
MethodCallParentheses
The MethodCallParentheses cop is renamed to MethodCallWithoutArgsParentheses. Update any configuration that uses the old name. github.com
And 5 more in this version.
rubocop 0.46.0 breaking changes
- Behavior changed
Lint.Debugger
The cop now reports binding.irb calls as offenses, so code using binding.irb may newly fail RuboCop checks. github.com - Behavior changed
Perfomance.CompareWithBlock
The cop now reports min and max calls with blocks as offenses, so code using them may newly fail RuboCop checks. github.com
rubocop 0.45.0 breaking changes
- Behavior changed
PercentLiteralDelimiters
The PercentLiteralDelimiters cop now enforces delimiters around %I() literals as well, so existing %I code may newly be flagged. github.com - Default changed
The default Ruby version RuboCop targets when none is configured is now 2.1, so cops may report different offenses without configuration changes. github.com
And 1 more in this version.
rubocop 0.44.0 breaking changes
- Behavior changed
Style.RedundantReturn
The cop now reports redundant return statements inside conditional branches, so code that previously passed may now register offenses. github.com - Default changed
Autocorrect for unsafe rules is now off by default. Enable it explicitly in your configuration if you want it. github.com
And 1 more in this version.
rubocop 0.43.0 breaking changes
- Removed
Performance.PushSplat
The cop is removed because its corrections can produce slower code or cause failures. Remove any configuration that references it. github.com - Renamed
Lint.UselessArraySplat
The cop is renamed and now also checks unnecessary expansion of other literals. Update any configuration or inline disable comments that name the old cop. github.com
And 4 more in this version.
rubocop 0.42.0 breaking changes
- Removed
RuboCop no longer supports MRI 1.9.3; users on that Ruby version must upgrade Ruby or stay on an older RuboCop. github.com - Behavior changed
Lint.ShadowedException
The cop now always reports an offense when Exception is rescued before or alongside other exceptions. github.com
And 2 more in this version.
rubocop 0.41.0 breaking changes
- Renamed
Style.DeprecatedHashMethods
The cop is now called Style/PreferredHashMethods. Update any configuration or inline disable comments that name the old cop. github.com - Behavior changed
Style.ClosingParenthesisIndentation
Style/ClosingParenthesisIndentation now uses the Style/AlignParameters configuration when checking method calls, so offenses for existing code may change. github.com
rubocop 0.40.0 breaking changes
- Removed
The deprecated path matching syntax was removed; configurations relying on it must be updated. github.com - Behavior changed
Style.PredicateName
Style/PredicateName no longer checks files in the spec/ directory, so offenses there disappear. github.com
And 7 more in this version.
rubocop 0.39.0 breaking changes
- Behavior changed
Lint.AssignmentInCondition
Method assignments such as obj.attr = val inside a condition are now reported as offenses. github.com - Behavior changed
Performance.RedundantMerge
The cop reports new offenses for code inside each_with_object blocks, so existing code may now fail the check. github.com
And 4 more in this version.
rubocop 0.38.0 breaking changes
- Behavior changed
The cache for remote configs is stored next to the parent file rather than in the previous location. Users relying on the old cache location need to adapt. github.com - Behavior changed
Lint.UnusedMethodArgument
Autocorrect now deletes unused block arguments instead of prefixing them with an underscore. Code relying on the underscore-prefixed form will change. github.com
And 3 more in this version.
rubocop 0.37.0 breaking changes
- Removed
Style.SpaceAfterControlKeyword
The cop was removed because Style/SpaceAroundKeyword handles the same cases. Remove it from your configuration and use Style/SpaceAroundKeyword instead. github.com - Removed
Style.SpaceBeforeModifierKeyword
The cop was removed because Style/SpaceAroundKeyword handles the same cases. Remove it from your configuration and use Style/SpaceAroundKeyword instead. github.com
And 3 more in this version.
rubocop 0.36.0 breaking changes
- Removed
Lint.SpaceBeforeFirstArg
The cop was removed because it duplicated Style/SingleSpaceBeforeFirstArg. Stop enabling or configuring Lint/SpaceBeforeFirstArg. github.com - Removed
MultiSpaceAllowedForOperators
The config parameter was removed in favor of AllowForAlignment. Config validation fails if it is still used. github.com
And 7 more in this version.
rubocop 0.35.0 breaking changes
- Behavior changed
Style.AlignParameters
The cop now checks parameter alignment for method definitions as well, so existing definitions may newly be reported as offenses. github.com - Behavior changed
Style.TrailingUnderscoreVariable
The cop now registers an offense for `*_`, so code that uses that form will show new offenses. github.com
And 1 more in this version.
rubocop 0.34.0 breaking changes
- Behavior changed
Files matched by a cop's Exclude option are skipped by that cop, which can change reported offenses. github.com - Behavior changed
rubocop now exits with an error when the only offenses are Lint/UnneededDisable, which can fail existing CI builds. github.com
And 2 more in this version.
rubocop 0.33.0 breaking changes
- Renamed
Rails.Date
The Rails/Date style names changed to "strict" and "flexible", so update any style configuration that uses the old names. github.com - Renamed
Rails.TimeZone
The Rails/TimeZone style names changed to "strict" and "flexible", so update any style configuration that uses the old names. github.com
And 3 more in this version.
rubocop 0.32.0 breaking changes
- Renamed
Performance.ParallelAssignment
The cop now lives under Style, so configuration keyed to Performance/ParallelAssignment must use Style/ParallelAssignment. github.com
rubocop 0.31.0 breaking changes
- Configuration changed
AutoCorrect
The AutoCorrect configuration parameter now accepts only true or false, so any non-boolean value in existing configuration files must be changed to a boolean. github.com
rubocop 0.30.0 breaking changes
- Removed
RegexpLiteral.MaxSlashes
The MaxSlashes configuration option was removed. Use the cop's style setting to choose between %r and slashes for regular expressions. github.com - Renamed
UnneededPercentX
The cop is now called CommandLiteral and can enforce %x or backticks around command literals. Update any configuration that references UnneededPercentX. github.com
And 3 more in this version.
rubocop 0.29.0 breaking changes
- Removed
-e
Options -e/--emacs and -s/--silent are no longer recognized and now raise an error. Remove them from scripts and commands. github.com - Behavior changed
--fail-level
With --fail-level A, RuboCop now exits with an error if all offenses are auto-corrected. github.com
And 3 more in this version.
rubocop 0.28.0 breaking changes
- Behavior changed
Offenses that auto-correction fixes no longer produce a non-zero exit code. Scripts that expected a failure for any offense under --auto-correct should check the exit code again. github.com
rubocop 0.27.0 breaking changes
- Removed
Style.EmptyLinesAroundBody
The EmptyLinesAroundBody cop is replaced by EmptyLinesAroundMethodBody, EmptyLinesAroundClassBody and EmptyLinesAroundModuleBody. Update configuration that references the old cop. github.com - Behavior changed
AlignHash
Multiline hashes with some elements on the same line are now checked, which may report new offenses. github.com
And 2 more in this version.
rubocop 0.26.0 breaking changes
- Behavior changed
Files without an explicit encoding are now treated as utf-8 when inspected, which can change results for files in other encodings. github.com - Behavior changed
Style.Encoding
The Style/Encoding cop used to do nothing on Ruby 2.x and now actively checks code on that version, so it may report new offenses. github.com
And 1 more in this version.
rubocop 0.25.0 breaking changes
- Removed
Ruby 1.9.2 is no longer supported; Ruby 1.9.3 or later is now required. github.com - Renamed
Style.ClassLength
Several Style cops moved to the new Metrics namespace; update cop names in configuration to Metrics. github.com
And 1 more in this version.
rubocop 0.24.0 breaking changes
- Behavior changed
EndAlignment
EndAlignment no longer checks alignment of method definition ends; the new configurable DefEndAlignment cop takes over that check, so configuration for EndAlignment may need to be moved to DefEndAlignment. github.com - Behavior changed
UselessAssignment
Unused block local variables such as in obj.each { |arg; this| } are now reported by the UnusedBlockArgument cop rather than UselessAssignment, so offenses and cop configuration for them move to UnusedBlockArgument. github.com
rubocop 0.23.0 breaking changes
- Renamed
Rubocop
The Rubocop module was renamed to RuboCop. Code and extensions that reference the old module name must be updated to the new one. github.com
rubocop 0.22.0 breaking changes
- Renamed
rubocop-todo.yml
The rubocop-todo.yml file is renamed to .rubocop_todo.yml, so existing files must be renamed to be picked up. github.com - Behavior changed
NonNilCheck
NonNilCheck offense reporting and autocorrect are now configurable to include semantic changes. github.com
And 2 more in this version.
rubocop 0.21.0 breaking changes
- Removed
FinalNewline
The FinalNewline cop is gone because its check is now performed by TrailingBlankLines. Remove any config or inline disable comments that reference FinalNewline. github.com - Behavior changed
The syntax for excluding and including files was changed to be closer to shell globbing. github.com
And 1 more in this version.
rubocop 0.20.0 breaking changes
- Renamed
FavorJoin
The FavorJoin cop was renamed to ArrayJoin; update any config referencing it. github.com - Renamed
FavorUnlessOverNegatedIf
The FavorUnlessOverNegatedIf cop was renamed to NegatedIf; update any config referencing it. github.com
And 11 more in this version.
rubocop 0.19.0 breaking changes
- Removed
Ignore
The Ignore param was removed from the Rails Output cop; use the standard Exclude/Include options instead. github.com - Removed
SpaceAroundBlockBraces
SpaceAroundBlockBraces was replaced by SpaceBeforeBlockBraces and SpaceInsideBlockBraces; update configuration accordingly. github.com
And 7 more in this version.
rubocop 0.18.0 breaking changes
- Configuration changed
Include.Exclude
Include and Exclude patterns in configuration accept relative globs, so existing patterns may now match different files. github.com
rubocop 0.17.0 breaking changes
- Removed
Syntax
The Syntax cop can no longer be disabled and only reports invalid syntax offences. Remove any configuration that disables it. github.com - Behavior changed
--show-cops
Output now looks like a YAML configuration file, and the option takes an optional comma separated list of cops. github.com
And 2 more in this version.
rubocop 0.16.0 breaking changes
- Removed
DefWithoutParentheses
The DefWithoutParentheses cop is replaced by MethodDefParentheses, which can require either parentheses or no parentheses in method definitions. Update configuration that refers to the old cop. github.com - Removed
SymbolNames
The SymbolNames cop was removed because it produced too many false positives. Remove any configuration that refers to it. github.com
And 1 more in this version.
rubocop 0.15.0 breaking changes
- Removed
AccessControl
The AccessControl cop is split into AccessModifierIndentation and EmptyLinesAroundAccessModifier. Update configurations that reference AccessControl. github.com - Renamed
SpaceInsideHashLiteralBraces.EnforcedStyleIsWithSpaces
The boolean option EnforcedStyleIsWithSpaces (true or false) is replaced by EnforcedStyle (space or no_space). Update configuration files to use the new option. github.com
And 4 more in this version.
rubocop 0.14.0 breaking changes
- Removed
MethodAndVariableSnakeCase
The MethodAndVariableSnakeCase cop is gone. Use MethodName and VariableName instead, both configured with EnforcedStyle. github.com - Renamed
NoSpaceBeforeBlockParameters
The configuration option NoSpaceBeforeBlockParameters is now called SpaceBeforeBlockParameters. Update your config file. github.com
rubocop 0.12.0 breaking changes
- Removed
--silent
The --silent option was removed along with -s. The progress, simple and clang formatters now always report a summary, and emacs and files formatters no longer report. github.com - Removed
-s
The -s/--silent option was removed. The progress, simple and clang formatters now always report a summary, and emacs and files formatters no longer report. github.com
And 1 more in this version.
rubocop 0.11.0 breaking changes
- Behavior changed
Support for multiline chaining of blocks, which an earlier release had added, is retracted, so code relying on it will now be flagged. github.com
rubocop 0.9.0 breaking changes
- Renamed
FavorPercentR
FavorPercentR is merged into the RegexpLiteral cop. Update configuration to use RegexpLiteral. github.com - Renamed
PercentR
PercentR is merged into the RegexpLiteral cop. Update configuration to use RegexpLiteral. github.com
And 2 more in this version.
rubocop 0.8.0 breaking changes
- Removed
ArrayLiteral
The ArrayLiteral cop was folded into EmptyLiteral, so configuration or disable comments referring to ArrayLiteral must use EmptyLiteral instead. github.com - Removed
HashLiteral
The HashLiteral cop was folded into EmptyLiteral, so configuration or disable comments referring to HashLiteral must use EmptyLiteral instead. github.com
And 2 more in this version.
rubocop 0.7.0 breaking changes
- Renamed
EmptyLines
The EmptyLines cop was renamed to EmptyLineBetweenDefs to avoid confusion. Update any configuration that refers to the old cop name. github.com - Renamed
Indentation
The Indentation cop was renamed to CaseIndentation to avoid confusion. Update any configuration that refers to the old cop name. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.