Skip to content

Update rubocop 1.84.1 → 1.85.0 (minor)#1867

Open
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/rubocop-1.85.0
Open

Update rubocop 1.84.1 → 1.85.0 (minor)#1867
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/rubocop-1.85.0

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Mar 5, 2026

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rubocop (1.84.1 → 1.85.0) · Repo · Changelog

Release Notes

1.85.0

New features

Bug fixes

  • #14829: Allow classes without a superclass in Style/EmptyClassDefinition. (@koic)
  • #14873: Fix an error in Style/NegatedWhile when the last expression of an until condition is negated. (@koic)
  • #14827: Improve Style/EmptyClassDefinition message wording. (@bbatsov)
  • #14800: Fix false obsolete configuration error for extracted cops when loaded as plugins. (@bbatsov)
  • #14928: Fix a false positive for Lint/Void when nil is used in case branch. (@5hun-s)
  • #14857: Fix false positives in Style/IfUnlessModifier when modifier forms are used inside string interpolations. (@koic)
  • #8773: Fix false positives in Style/HashTransformKeys and Style/HashTransformValues. (@sferik)
  • #6963: Fix false positives in Lint/Void for each blocks where the return value may be meaningful (e.g., Enumerator#each). (@sferik)
  • #14931: Ignore directive comments inside comments. (@koic)
  • #14834: Fix Layout/IndentationWidth false positive for chained method blocks when EnforcedStyleAlignWith is start_of_line. (@krororo)
  • #14756: Fix Lint/Void to detect void expressions in case/when branches. (@bbatsov)
  • #14874: Fix a Parser::ClobberingError in Lint/UselessAssignment when autocorrecting a useless assignment that wraps a block containing another useless assignment. (@koic)
  • #14880: Fix a false negative in Layout/MultilineAssignmentLayout when using numblock or itblock with SupportedTypes: ['block']. (@bbatsov)
  • #11462: Fix over-indentation when autocorrecting nested hashes with Layout/FirstHashElementIndentation. (@ydakuka)
  • #14880: Recognize block on different line from left side of multi-line assignment in Layout/MultilineAssignmentLayout. (@sanfrecce-osaka)
  • #14641: Fix false positive in Lint/RedundantSafeNavigation when using &.respond_to? with methods defined on Object (e.g., :class). (@bbatsov)
  • #14098: Mark Lint/SafeNavigationConsistency autocorrect as unsafe. (@bbatsov)
  • #14791: Fix autocorrect producing SyntaxError in Lint/InterpolationCheck when single quoted string contains double quotes with invalid interpolation. (@ydakuka)

Changes

  • #14872: Tweak autocorrection in Style/HashAsLastArrayItem when multiline hash elements. (@koic)
  • #14917: Change Style/EndlessMethod cop to consider receivers. (@fatkodima)
  • #14851: Reduce precision in 'Finished in X.X seconds' message to 5 decimal places. (@ZimbiX)
  • #14895: Rename class_definition to class_keyword in EnforcedStyle of Style/EmptyClassDefinition. (@koic)
  • #14956: Add support for String.new with interpolated strings to Style/RedundantInterpolationUnfreeze. (@lovro-bikic)
  • #14955: Register redundant parentheses around block body in Style/RedundantParentheses. (@lovro-bikic)

1.84.2

Bug fixes

  • #14854: Fix a clobbering error in Style/BlockDelimiters when autocorrecting nested multi-line blocks with adjacent curly braces. (@koic)
  • #14837: Fix an error for Style/IfUnlessModifier when the first value uses a normal if and the others use modifier if. (@koic)
  • #14858: Fix an infinite loop error in Layout/FirstArgumentIndentation when first arguments are over-indented in nested method calls. (@koic)
  • #14843: Fix an error in Layout/MultilineMethodCallIndentation when a multiline method call follows a hash access. (@koic)
  • #14859: Fix an error in Layout/MultilineMethodCallIndentation when a multiline method call includes a keyword argument whose value is a method call with a block. (@koic)
  • #14839: Fix a false positive for Layout/EmptyLinesAfterModuleInclusion when include is nested inside an array. (@eugeneius)
  • #7436: Fix Style/FormatStringToken to not autocorrect strings outside of format method context in aggressive mode. (@ydakuka)
  • #14841: Fix false negatives in Style/HashAsLastArrayItem when an array contains only a single hash element. (@koic)
  • #14865: Fix false negatives in Style/MethodDefParentheses when using splat or forwarding arguments without parentheses. (@koic)
  • #14833: Fix false positive for Layout/MultilineMethodCallIndentation when a multi-dot method chain is inside a hash pair value. (@ydakuka)
  • #14847: Fix false positive for Layout/MultilineMethodCallIndentation when a method is chained after a single-line block. (@ydakuka)
  • #14867: Fix Offense#highlighted_area for PseudoSourceRange locations. (@rafaelfranca)
  • #14861: Fix an error in Style/IfUnlessModifier when the first value uses a normal if and the others use ternary operator. (@koic)
  • #14816: Use toplevel cache configs for remote configuration files. (@nekketsuuu)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ parser (indirect, 3.3.10.1 → 3.3.10.2) · Repo · Changelog

Release Notes

3.3.10.2 (from changelog)

Features implemented:

  • add blocknilarg for prism (#1087) (Earlopain)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 4 commits:

🆕 json-schema (added, 6.1.0)

🆕 mcp (added, 0.8.0)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants