Skip to content

[ruby] Update rubocop 1.85.1 → 1.86.0 (minor)#2765

Merged
StephenHulme merged 1 commit intodevelopfrom
depfu/update/rubocop-1.86.0
Mar 31, 2026
Merged

[ruby] Update rubocop 1.85.1 → 1.86.0 (minor)#2765
StephenHulme merged 1 commit intodevelopfrom
depfu/update/rubocop-1.86.0

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu bot commented Mar 30, 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.85.1 → 1.86.0) · Repo · Changelog

Release Notes

1.86.0

New features

  • #15000: Display ZJIT usage when running under LSP. (@koic)
  • #14961: Add AllowedParentClasses option to Style/EmptyClassDefinition. (@hammadkhan)
  • #14977: Support AllowedReceivers for Style/HashLookupMethod. (@koic)

Bug fixes

  • #15015: Fix Style/ConcatArrayLiterals autocorrect deleting code for percent literals with interpolation. (@bbatsov)
  • #14897: Detect constant reassignment after class/module definition in Lint/ConstantReassignment. (@ydakuka)
  • #11829: Fix false negatives for Lint/DuplicateMethods when duplicate methods are defined in anonymous classes and modules not assigned to a constant. (@Darhazer)
  • #14988: Fix false negative in Style/RedundantParentheses when redundant parentheses around range literals in block body. (@koic)
  • #14916: Fix false positive for Layout/MultilineMethodCallIndentation when method chain is inside a hash pair value passed to a multiline chained method call. (@ydakuka)
  • #15010: Fix a false positive for Lint/DuplicateMethods when modules blocks are passed as method arguments. (@5hun-s)
  • #15028: Fix a false positive for Lint/DuplicateMethods when the same method is defined in different anonymous module blocks passed to a no-receiver call (e.g. stub_const). (@Darhazer)
  • #15021: Fix false positives in Layout/EmptyLineAfterGuardClause when using a guard clause followed by a multi-line guard clause with raise, fail, return, break, or next. (@koic)
  • #15001: Fix false positives in Layout/RedundantLineBreak when setting InspectBlocks: true and using rescue or ensure in the block. (@koic)
  • #14997: Fix false positives in Style/FileOpen when assigning File.open to an instance variable, class variable, global variable, or constant. (@koic)
  • #15019: Fix false positives in Lint/DuplicateMethods when the same method is defined in anonymous module blocks passed to different receivers. (@koic)
  • #14987: Complete ERB and Haml autocorrection in a single run. (@alpaca-tc)
  • #15039: Fix incorrect autocorrect in Style/IfWithSemicolon when return with value is in the else branch. (@koic)
  • #14930: Fix incorrect autocorrection for Style/IfUnlessModifier when multiple if/unless modifier forms are on the same line inside a collection. (@ydakuka)
  • #14985: Fix incorrect autocorrection in Lint/SafeNavigationChain when chaining a method call after safe navigation in the if branch of a ternary. (@koic)
  • #15009: Fix infinite loop in Layout/EndAlignment when end is followed by || or &&. (@koic)
  • #14981: Fix spurious warning "does not support Safe/SafeAutoCorrect parameter" when those parameters are set for cops that don't have them in their default configuration. (@dduugg)
  • #15043: Fix an error for Lint/UselessDefaultValueArgument when fetch without a receiver is inside a fetch block. (@koic)
  • #15034: Fix incorrect autocorrection in Style/IfWithSemicolon when using single-line unless / ; / end. (@koic)
  • #15015: Fix Style/NonNilCheck autocorrect for receivers containing spaces. (@bbatsov)
  • #15015: Fix Style/RaiseArgs to allow anonymous keyword forwarding (raise Ex.new(**)). (@bbatsov)
  • #14890: Fix a false positive for Lint/RedundantCopDisableDirective when a rubocop:disable comment is used to suppress Lint/EmptyWhen, Lint/EmptyConditionalBody, Lint/EmptyInPattern, or Style/SymbolProc. (@eugeneius)
  • #15015: Fix false negative in Style/RedundantPercentQ for %q strings with interpolation-like syntax. (@bbatsov)
  • #14984: Fix Style/AndOr adding unnecessary parentheses around return without arguments. (@eugeneius)
  • #14945: Support files with multiple modifiers in Lint/UselessConstantScoping. (@h-lame)
  • #15015: Fix Style/TrailingMethodEndStatement to detect singleton methods (def self.foo). (@bbatsov)
  • #10822: Don't store results in cache if there are warnings. (@jonas054)

Changes

  • #14718: Allow setting MaxFilesInCache to false to entirely disable cache pruning. (@byroot)
  • #14989: Make Lint/RedundantSafeNavigation aware of safe navigation in conditional true branch. (@koic)
  • #15041: Remove mcp gem from runtime dependencies. (@koic)

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.

↗️ json (indirect, 2.19.2 → 2.19.3) · Repo · Changelog

Release Notes

2.19.3

  • Fix handling of unescaped control characters preceeded by a backslash.

Full Changelog: v2.19.2...v2.19.3

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

Commits

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

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

Release Notes

3.3.11.1 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.11 (#1089) (Koichi ITO)

3.3.11.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.11 (#1088) (Koichi ITO)

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

Commits

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

🗑️ json-schema (removed)

🗑️ mcp (removed)


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 dependencies Pull requests that update a dependency file label Mar 30, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.98%. Comparing base (e00ff45) to head (f3bd31e).
⚠️ Report is 4 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2765   +/-   ##
========================================
  Coverage    84.98%   84.98%           
========================================
  Files          504      504           
  Lines        20667    20667           
  Branches       377      377           
========================================
  Hits         17564    17564           
  Misses        3100     3100           
  Partials         3        3           
Flag Coverage Δ
javascript 80.25% <ø> (ø)
pull_request 84.98% <ø> (ø)
push 84.98% <ø> (ø)
ruby 92.60% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@StephenHulme StephenHulme merged commit 95174e7 into develop Mar 31, 2026
17 checks passed
@StephenHulme StephenHulme deleted the depfu/update/rubocop-1.86.0 branch March 31, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant