Skip to content

Update rubocop-rails 2.24.1 → 2.33.1 (minor)#818

Closed
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/rubocop-rails-2.33.1
Closed

Update rubocop-rails 2.24.1 → 2.33.1 (minor)#818
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/rubocop-rails-2.33.1

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu bot commented Aug 13, 2025

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-rails (2.24.1 → 2.33.1) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

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

✳️ rubocop-performance (1.23.1 → 1.25.0) · Repo · Changelog

Release Notes

1.25.0

New features

  • #496: Support it block parameter in Performance cops. (@koic)

Bug fixes

  • #494: Fix Performance/FixedSize false positive when count is called with a numblock. (@dvandersluis)
  • #492: Fix false positives for Performance/StringIdentifierArgument when using interpolated string argument. (@koic)

Changes

  • #482: Change Performance/CollectionLiteralInLoop to not register offenses for Array#include? that are optimized directly in Ruby. (@earlopain)

1.24.0

New features

  • #490: Pluginfy RuboCop Performance. (@koic)
  • #462: Add new Performance/ZipWithoutBlock cop that checks patterns like .map { |id| [id] } or .map { [_1] } and can replace them with .zip. (@corsonknowles)

Bug fixes

  • #484: Fix Performance/CaseWhenSplat cop error on when node without body. (@viralpraxis)

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

Commits

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

✳️ standard (1.45.0 → 1.50.0) · Repo · Changelog

Release Notes

1.50.0 (from changelog)

1.49.0 (from changelog)

  • Updates standard performance to 1.8.0

1.48.0 (from changelog)

1.47.0 (from changelog)

  • Updates standard performance to 1.7.0

1.46.0 (from changelog)

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

Commits

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

↗️ ast (indirect, 2.4.2 → 2.4.3) · Repo · Changelog

Commits

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

↗️ json (indirect, 2.10.2 → 2.13.2) · Repo · Changelog

Release Notes

2.13.2

What's Changed

  • Improve duplicate key warning and errors to include the key name and point to the right caller.

Full Changelog: v2.13.1...v2.13.2

2.13.1

What's Changed

  • Fix support for older compilers without __builtin_cpu_supports.

Full Changelog: v2.13.0...v2.13.1

2.13.0

What's Changed

  • Add new allow_duplicate_key parsing options. By default a warning is now emitted when a duplicated key is encountered.
    In json 3.0 an error will be raised.
  • Optimize parsing further using SIMD to scan strings.

Full Changelog: v2.12.2...v2.13.0

2.12.2

  • Fix compiler optimization level.

Full Changelog: v2.12.1...v2.12.2

2.12.1

What's Changed

  • Fix a potential crash in large negative floating point number generation.
  • Fix for JSON.pretty_generate to use passed state object's generate instead of state class as the required parameters aren't available.

Full Changelog: v2.12.0...v2.12.1

2.12.0 (from changelog)

  • Improve floating point generation to not use scientific notation as much.
  • Include line and column in parser errors. Both in the message and as exception attributes.
  • Handle non-string hash keys with broken to_s implementations.
  • JSON.generate now uses SSE2 (x86) or NEON (arm64) instructions when available to escape strings.

2.11.3 (from changelog)

  • Fix a regression in JSON.pretty_generate that could cause indentation to be off once some #to_json has been called.

2.11.2 (from changelog)

  • Add back JSON::PRETTY_STATE_PROTOTYPE. This constant was private API but is used by popular gems like multi_json. It now emits a deprecation warning.

2.11.1

What's Changed

  • Add back JSON.restore, JSON.unparse, JSON.fast_unparse and JSON.pretty_unparse.
    These were deprecated 16 years ago, but never emited warnings, only undocumented, so are
    still used by a few gems.

Full Changelog: v2.11.0...v2.11.1

2.11.0

What's Changed

  • Optimize Integer generation to be ~1.8x faster.
  • Optimize Float generation to be ~10x faster.
  • Fix JSON.load proc argument to substitute the parsed object with the return value.
    This better match Marshal.load behavior.
  • Deprecate JSON.fast_generate (it's not any faster, so pointless).
  • Deprecate JSON.load_default_options.
  • Deprecate JSON.unsafe_load_default_options.
  • Deprecate JSON.dump_default_options.
  • Deprecate Kernel#j
  • Deprecate Kernel#jj
  • Remove outdated JSON.iconv.
  • Remove Class#json_creatable? monkey patch.
  • Remove deprecated JSON.restore method.
  • Remove deprecated JSON.unparse method.
  • Remove deprecated JSON.fast_unparse method.
  • Remove deprecated JSON.pretty_unparse method.
  • Remove deprecated JSON::UnparserError constant.
  • Remove outdated JSON::MissingUnicodeSupport constant.

Full Changelog: v2.10.2...v2.11.0

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.

↗️ language_server-protocol (indirect, 3.17.0.4 → 3.17.0.5) · Repo · Changelog

Release Notes

3.17.0.5 (from changelog)

  • Use JSON.generate() instead to improve performance (#115)

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

Commits

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

↗️ parallel (indirect, 1.26.3 → 1.27.0) · Repo

Commits

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

↗️ parser (indirect, 3.3.7.1 → 3.3.9.0) · Repo · Changelog

Release Notes

3.3.9.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.9 (#1080) (Koichi ITO)
  • Bump maintenance branches to 3.2.9 (#1079) (Koichi ITO)

3.3.8.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.3.8 (#1077) (Koichi ITO)
  • YARD docs for Parser::CurrentRuby and Parser::Base#version (#1076) (Vince Broz)

3.3.7.4 (from changelog)

Bugs fixed:

  • lexer-strings.rb: Avoid an exception on utf8 surrogate pair codepoints (#1051) (Earlopain)
  • builder.rb: emit kwargs node for indexasgn when opted in (#1053) (Earlopain)
  • builder.rb: correctly handle ... forwarding to super with explicit block (#1049) (Earlopain)
  • numbered parameters are valid for pattern matching pinning (#1060) (Earlopain)

3.3.7.3 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.8 and 3.1.7 (#1074) (Koichi ITO)

3.3.7.2 (from changelog)

Features implemented:

  • add prism-specific node types (#1071) (Earlopain)

Bugs fixed:

  • builder.rb: fix hash value omission considering some local vars as constants (#1064) (Earlopain)

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

Commits

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

↗️ regexp_parser (indirect, 2.10.0 → 2.11.2) · Repo · Changelog

Release Notes

2.11.2 (from changelog)

Added

Fixed

  • scan with correct encoding when passing regopt individually (#102)

2.11.1 (from changelog)

Fixed

  • restored compatibility with Ruby < 2.6, broken in regexp_parser v2.11.0

2.11.0 (from changelog)

Added

  • a new token :escape, :utf8_hex and expression EscapeSequence::UTF8Hex
    • used for UTF-8 hex escapes, e.g. \xE2\x82\xAC representing U+20AC "€"

Fixed

  • detection of numeric backrefs > 9, e.g. ((((((((((foo))))))))))\10
    • these are only backrefs in Ruby if sufficient groups have been opened
    • they were previously always scanned as octal or literal escapes

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

Commits

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

↗️ rubocop (indirect, 1.71.2 → 1.75.8) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

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

↗️ rubocop-ast (indirect, 1.38.1 → 1.46.0) · Repo · Changelog

Release Notes

1.46.0

New features

  • #379: Support RuboCop::AST::ComplexNode. ([@koic][])

Bug fixes

  • #380: Fix RuboCop::AST::NumericNode#sign? to return boolean. ([@viralpraxis][])

1.45.1

Bug fixes

  • #382: Fix an error when using Parser gem with prism_result. (@koic)

1.45.0

New features

  • #381: Support AST::Node#any_match_pattern_type? method. (@koic)

1.44.1

Bug fixes

1.44.0

New features

  • #377: Support RuboCop::AST::Node#any_def_type? method. (@koic)

1.43.0

Changes

  • #374: Use the prism translation layer to analyze Ruby 3.4 by default. ([@Earlopain])
  • #373: Add prism as a runtime dependency. ([@Earlopain])

1.42.0

New features

  • #370: Support Prism::Translation::Parser35 for Ruby 3.5 parser (experimental). (@earlopain, @koic)

1.41.0

New features

1.40.0

Changes

  • #354: Use Prism::Translation::Parser::Builder when parsing with prism. (@earlopain)

1.39.0 (from changelog)

New features

  • #359: Enable reusable Prism parse result. (@koic)

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

Commits

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

↗️ standard-performance (indirect, 1.6.0 → 1.8.0) · Repo · Changelog

Release Notes

1.8.0 (from changelog)

  • Updates rubocop-performance from 1.24.0 to 1.25.0

1.7.0 (from changelog)

  • Updates rubocop-performance from 1.23.0 to 1.24.0

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

Commits

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

🆕 prism (added, 1.4.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)
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.

@depfu depfu bot force-pushed the depfu/update/rubocop-rails-2.33.1 branch from 4ee89ed to 4aeb526 Compare August 14, 2025 00:42
@depfu
Copy link
Copy Markdown
Contributor Author

depfu bot commented Aug 14, 2025

Closed in favor of #820.

@depfu depfu bot closed this Aug 14, 2025
@depfu depfu bot deleted the depfu/update/rubocop-rails-2.33.1 branch August 14, 2025 16:47
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