Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 20, 2025

Bumps rubocop-performance, prism and rubocop. These dependencies needed to be updated together.
Updates rubocop-performance from 1.24.0 to 1.26.1

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance v1.26.1

Bug fixes

  • #517: Fix false positives for Performance/RedundantStringChars when using str.chars[0, 2]. (@​koic)

Changes

  • #520: Disable Performance/BigDecimalWithNumericArgument by default. (@​earlopain)

RuboCop Performance v1.26.0

Bug fixes

  • #444: Fix an incorrect autocorrect for Performance/BlockGivenWithExplicitBlock when using Naming/BlockForwarding's autocorrection together. (@​a-lavis)
  • #500: Mark Performance/MapCompact cop as unsafe. (@​jbpextra)
  • #498: Fix Performance/Count cop error on empty selector block. (@​viralpraxis)
  • #504: Fix autocorrection syntax error for Performance/Count with multiline calls. (@​lovro-bikic)

Changes

  • #512: Detect negated conditions like !foo.start_with('bar') && !foo.start_with('baz') with Performance/DoubleStartEndWith. (@​earlopain)

RuboCop Performance v1.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)
Changelog

Sourced from rubocop-performance's changelog.

1.26.1 (2025-10-18)

Bug fixes

  • #517: Fix false positives for Performance/RedundantStringChars when using str.chars[0, 2]. ([@​koic][])

Changes

  • #520: Disable Performance/BigDecimalWithNumericArgument by default. ([@​earlopain][])

1.26.0 (2025-09-06)

Bug fixes

  • #444: Fix an incorrect autocorrect for Performance/BlockGivenWithExplicitBlock when using Naming/BlockForwarding's autocorrection together. ([@​a-lavis][])
  • #500: Mark Performance/MapCompact cop as unsafe. ([@​jbpextra][])
  • #498: Fix Performance/Count cop error on empty selector block. ([@​viralpraxis][])
  • #504: Fix autocorrection syntax error for Performance/Count with multiline calls. ([@​lovro-bikic][])

Changes

  • #512: Detect negated conditions like !foo.start_with('bar') && !foo.start_with('baz') with Performance/DoubleStartEndWith. ([@​earlopain][])

1.25.0 (2025-04-01)

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][])
Commits
  • 4783c90 Cut 1.26.1
  • d3f1806 Update Changelog
  • a63df04 Merge pull request #521 from Earlopain/disable-bigdecimal
  • 7a5499f [Fix #520] Disable Performance/BigDecimalWithNumericArgument by default
  • 03a6071 Merge pull request #518 from koic/fix_false_positives_for_performance_redunda...
  • a1ef194 [Fix #517] Fix false positives for Performance/RedundantStringChars
  • 6e1afeb Tweak bug report template
  • 60ff474 Suppress RuboCop's offense
  • 955429a Switch back docs version to master
  • 4e6eb01 Cut 1.26.0
  • Additional commits viewable in compare view

Updates prism from 1.3.0 to 1.6.0

Release notes

Sourced from prism's releases.

v1.6.0

Added

  • Add support for passing "current" as the version option to Prism.* APIs.

Changed

  • Remove a compiler warning for a missing unsigned cast for a shift value.

v1.5.2

Changed

  • Fix character literal forced encoding when a unicode escape sequence is used.
  • Reject 1 if foo = bar baz.
  • Clear static literal flag on interpolated strings.
  • Reject optional argument/endless method definition ambiguity.

v1.5.1

Changed

  • Revert of a bug introduced with static literal flags on interpolated strings.

v1.5.0

Added

  • Add Prism::Translation::ParserCurrent.
  • Add Integer::to_u32_digits for the Rust API.
  • Add pm_comment_type_t field for the Rust API.
  • Support leading logical operators for CRuby 3.5+.

Changed

  • Mark Prism as ractor-safe.
  • Enforce a minimum version for the parser translation layer.
  • Many fixes to the parser translation layer.
  • Accept a newline after the defined? keyword.
  • Reject true && not true.
  • Make it = it assign nil to match parse.y behavior [Bug #21139].
  • Some fixes to the ruby parser translation layer.
  • Ensure call nodes have the correct ending location.
  • Reject foo && return bar.

v1.4.0

Added

  • Support 3.5 as a version option.
  • Many, many compatibility fixes for the parser translation layer.
  • Handle escapes in named capture names.
  • The freeze option is added to the various Prism:: APIs to deeply freeze the AST.
  • Properly support it for the parser and ruby_parser translation layers.

... (truncated)

Changelog

Sourced from prism's changelog.

[1.6.0] - 2025-10-16

Added

  • Add support for passing "current" as the version option to Prism.* APIs.

Changed

  • Remove a compiler warning for a missing unsigned cast for a shift value.

[1.5.2] - 2025-10-09

Changed

  • Fix character literal forced encoding when a unicode escape sequence is used.
  • Reject 1 if foo = bar baz.
  • Clear static literal flag on interpolated strings.
  • Reject optional argument/endless method definition ambiguity.

[1.5.1] - 2025-09-13

Changed

  • Revert of a bug introduced with static literal flags on interpolated strings.

[1.5.0] - 2025-09-12

Added

  • Add Prism::Translation::ParserCurrent.
  • Add Integer::to_u32_digits for the Rust API.
  • Add pm_comment_type_t field for the Rust API.
  • Support leading logical operators for CRuby 3.5+.

Changed

  • Mark Prism as ractor-safe.
  • Enforce a minimum version for the parser translation layer.
  • Many fixes to the parser translation layer.
  • Accept a newline after the defined? keyword.
  • Reject true && not true.
  • Make it = it assign nil to match parse.y behavior [Bug #21139].
  • Some fixes to the ruby parser translation layer.
  • Ensure call nodes have the correct ending location.
  • Reject foo && return bar.

[1.4.0] - 2025-03-18

Added

... (truncated)

Commits
  • 2924f8f Merge pull request #3683 from ruby/bump-version
  • b72fcc6 Bump to v1.6.0
  • 1a22357 Merge pull request #3679 from Earlopain/parse-as-current
  • 9c5cd20 Add support for Prism.parse(foo, version: "current")
  • 8e88590 Merge pull request #3680 from tenderlove/trusted-publishers
  • f224797 use bundler cache instead of bundle install
  • 64f3c2a Add npm publishing workflow
  • 2b91919 Add crates.io publishing workflow
  • 6f56379 Add gem publishing workflow
  • 4848dbd Merge pull request #3682 from froydnj/froydnj-unsigned-shift-constant
  • Additional commits viewable in compare view

Updates rubocop from 1.74.0 to 1.81.1

Release notes

Sourced from rubocop's releases.

RuboCop v1.81.1

Bug fixes

  • #14563: Fix incorrect autocorrection for Lint/DeprecatedOpenSSLConstant when Cipher appears twice. (@​koic)

Changes

  • #14565: Allow multiline method chain for Style/NumberedParameters and Style/ItBlockParameter with EnforcedStyle: allow_single_line when the block itself is on a single line. (@​earlopain)

RuboCop v1.81.0

New features

Bug fixes

  • #14560: Fix an error for Style/NilComparison cop when using the var.==(nil) and var.===(nil) syntax. (@​viralpraxis)
  • #14535: Fix autocorrect for Style/ExplicitBlockArgument when there are two methods that share the same implementation. (@​earlopain)
  • #14527: Fix false negatives for Style/NumberedParameters and Style/ItBlockParameter when using multiline method chain with EnforcedStyle: allow_single_line. (@​koic)
  • #14522: Fix false negatives for Layout/MultilineOperationIndentation when using indented code on LHS of equality operator in modifier method definition. (@​koic)
  • #14496: Fix false negatives for Layout/EmptyLineBetweenDefs for AllowAdjacentOneLineDefs: false and DefLikeMacros that take no block. (@​earlopain)
  • #14553: Fix false positives when EnforcedStyle: allowed_in_returns and !! appears across multiple lines in return position. (@​koic)
  • #14557: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression as a condition. (@​koic)
  • #14525: Fix false positives for Style/RedundantRegexpEscape when an escaped variable sigil follows # (e.g., /#\@foo/, /#\@@bar/, /#\$baz/). (@​koic)
  • #14529: Fix false negative in Layout/RescueEnsureAlignment with a block whose send node is split over multiple lines. (@​dvandersluis)
  • #14528: Fix Style/RedundantFormat when the format string has a variable width that isn't given as a literal value. (@​dvandersluis)
  • #14541: Fix gemspec parsing error when ParserEngine: parser_prism is configured in a base config file. ([@​sudoremo][])
  • #14544: Fix an incorrect autocorrect for Lint/Void when using a return value in assignment method definition. (@​koic)
  • #14543: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using escaped single quote character. (@​koic)
  • #14540: Fix an incorrect autocorrect for Style/UnlessElse when using unless with then. (@​koic)
  • #14507: Fix the built-in Ruby LSP add-on not restarting when config files (.rubocop.yml, .rubocop_todo.yml) change. (@​earlopain)
  • #14514: Fix the built-in Ruby LSP add-on not respecting .rubocop config file. (@​earlopain)
  • #14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. (@​earlopain)
  • #14534: Prevent Layout/LineLength autocorrection from splitting a block if its receiver contains a heredoc. (@​dvandersluis)
  • #14497: Fix a false positive for Lint/ShadowedArgument when assigning inside a rescue block. (@​earlopain)

Changes

  • #14492: Add support for LSP positionEncoding utf-8 and utf-32. ([@​tmtm][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.81.1 (2025-09-26)

Bug fixes

  • #14563: Fix incorrect autocorrection for Lint/DeprecatedOpenSSLConstant when Cipher appears twice. ([@​koic][])

Changes

  • #14565: Allow multiline method chain for Style/NumberedParameters and Style/ItBlockParameter with EnforcedStyle: allow_single_line when the block itself is on a single line. ([@​earlopain][])

1.81.0 (2025-09-25)

New features

  • #14512: Add Style/ArrayIntersectWithSingleElement cop. ([@​r7kamura][])
  • #10971: Support EnforcedStyleForMultiline: diff_comma in Style/TrailingCommaInArguments. ([@​akouryy][])

Bug fixes

  • #14560: Fix an error for Style/NilComparison cop when using the var.==(nil) and var.===(nil) syntax. ([@​viralpraxis][])
  • #14535: Fix autocorrect for Style/ExplicitBlockArgument when there are two methods that share the same implementation. ([@​earlopain][])
  • #14527: Fix false negatives for Style/NumberedParameters and Style/ItBlockParameter when using multiline method chain with EnforcedStyle: allow_single_line. ([@​koic][])
  • #14522: Fix false negatives for Layout/MultilineOperationIndentation when using indented code on LHS of equality operator in modifier method definition. ([@​koic][])
  • #14496: Fix false negatives for Layout/EmptyLineBetweenDefs for AllowAdjacentOneLineDefs: false and DefLikeMacros that take no block. ([@​earlopain][])
  • #14553: Fix false positives when EnforcedStyle: allowed_in_returns and !! appears across multiple lines in return position. ([@​koic][])
  • #14557: Fix false positives for Style/RedundantParentheses when parentheses are used around a one-line rescue expression as a condition. ([@​koic][])
  • #14525: Fix false positives for Style/RedundantRegexpEscape when an escaped variable sigil follows # (e.g., /#\@foo/, /#\@@bar/, /#\$baz/). ([@​koic][])
  • #14529: Fix false negative in Layout/RescueEnsureAlignment with a block whose send node is split over multiple lines. ([@​dvandersluis][])
  • #14528: Fix Style/RedundantFormat when the format string has a variable width that isn't given as a literal value. ([@​dvandersluis][])
  • #14541: Fix gemspec parsing error when ParserEngine: parser_prism is configured in a base config file. ([@​sudoremo][])
  • #14544: Fix an incorrect autocorrect for Lint/Void when using a return value in assignment method definition. ([@​koic][])
  • #14543: Fix an incorrect autocorrect for Style/RedundantRegexpArgument when using escaped single quote character. ([@​koic][])
  • #14540: Fix an incorrect autocorrect for Style/UnlessElse when using unless with then. ([@​koic][])
  • #14507: Fix the built-in Ruby LSP add-on not restarting when config files (.rubocop.yml, .rubocop_todo.yml) change. ([@​earlopain][])
  • #14514: Fix the built-in Ruby LSP add-on not respecting .rubocop config file. ([@​earlopain][])
  • #14508: Fix the built-in Ruby LSP add-on getting in an irrecoverable state when the config is invalid on startup. ([@​earlopain][])
  • #14534: Prevent Layout/LineLength autocorrection from splitting a block if its receiver contains a heredoc. ([@​dvandersluis][])
  • #14497: Fix a false positive for Lint/ShadowedArgument when assigning inside a rescue block. ([@​earlopain][])

Changes

  • #14492: Add support for LSP positionEncoding utf-8 and utf-32. ([@​tmtm][])

1.80.2 (2025-09-03)

Bug fixes

  • #14477: Fix a false positive for Style/SafeNavigation when using ternary expression with index access call with method chain. ([@​koic][])
  • #14486: Fix false positives for Style/RedundantParentheses with unary operators and yield, super, or defined?. ([@​earlopain][])
  • #14489: Fix false negatives for Style/RedundantParentheses with method calls taking argument without parentheses like return (x y) if z. ([@​earlopain][])

... (truncated)

Commits
  • db58831 Cut 1.81.1
  • 2797207 Update Changelog
  • 6b2f047 [Fix #14563] Fix an incorrect autocorrect for Lint/DeprecatedOpenSSLConstant
  • 8260fc1 Allow implicit block args when the block itself is on one line only
  • c1400e7 [Docs] Document --editor-mode in a comment`
  • d3ef76a Reset the docs version
  • 386bf10 Cut 1.81
  • 148250d Update Changelog
  • face244 Fix an error for Style/NilComparison cop
  • d8c1d4c Fix an error for InternalAffairsOnSendWithoutOnCSend with alias_method an...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance), [prism](https://github.com/ruby/prism) and [rubocop](https://github.com/rubocop/rubocop). These dependencies needed to be updated together.

Updates `rubocop-performance` from 1.24.0 to 1.26.1
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-performance@v1.24.0...v1.26.1)

Updates `prism` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/ruby/prism/releases)
- [Changelog](https://github.com/ruby/prism/blob/main/CHANGELOG.md)
- [Commits](ruby/prism@v1.3.0...v1.6.0)

Updates `rubocop` from 1.74.0 to 1.81.1
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.74.0...v1.81.1)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-version: 1.26.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: prism
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: rubocop
  dependency-version: 1.81.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Oct 20, 2025
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 ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant