Skip to content

Update standard 1.47.0 → 1.49.0 (minor) #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2025

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Apr 9, 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?

✳️ standard (1.47.0 → 1.49.0) · Repo · Changelog

Release Notes

1.49.0 (from changelog)

  • Updates standard performance to 1.8.0

1.48.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 9 commits:

↗️ parser (indirect, 3.3.7.2 → 3.3.7.4) · Repo · Changelog

Release Notes

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)

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

Commits

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

↗️ rubocop (indirect, 1.73.2 → 1.75.2) · Repo · Changelog

Release Notes

1.75.2

Changes

  • #14065: Update Lint/RedundantTypeConversion to register an offense for to_json.to_s. (@lovro-bikic)

Bug fixes

  • #14041: Fix an error when using ERB templated config YAML with server mode. (@koic)
  • #14048: Do not emit a warning for a zero-sized file while checking if it is executable. (@viralpraxis)
  • #14053: Fix incorrect autocorrect for Lint/DeprecatedOpenSSLConstant cipher constant argument is not cbc. (@koic)
  • #14051: Fix incorrect autocorrect for Style/RedundantCondition when true is used as the true branch and the condition takes arguments. (@koic)
  • #14062: Fix false positives for Lint/ReturnInVoidContext when returning inside define_method or a nested singleton method. (@earlopain)
  • #14057: Fix Style/ConditionalAssignment cop error on dynamic string node in branch. (@viralpraxis)
  • #14047: Fix Style/FrozenStringLiteralComment cop errors on emacs-styled magic comment. (@viralpraxis)

1.75.1

Changes

  • #14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. (@koic)

1.75.0

New features

  • #12049: Add new Style/HashFetchChain cop to detect chained fetch calls that can be replaced with a single call to dig. (@dvandersluis)
  • #13597: Add new Style/ItBlockParameter cop. (@koic)
  • #13899: Enable reusable Prism parse result for Ruby LSP add-on. (@koic)
  • #14015: Support it block parameter in Layout cops. (@koic)
  • #14017: Support it block parameter in Lint cops. (@koic)
  • #14018: Support it block parameter in Metrics cops. (@koic)
  • #14013: Support it block parameter in Style cops. (@koic)
  • #14025: Support TargetRubyVersion: 3.5 (experimental). (@earlopain)

Bug fixes

  • #14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. (@koic)
  • #14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. (@vlad-pisanov)
  • #14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. (@vlad-pisanov)
  • #8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. (@dvandersluis)
  • #14021: Fix handling of long heredoc lines with SplitStrings enabled. (@mauro-oto)
  • #13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. (@viralpraxis)
  • #14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. (@lovro-bikic)
  • #13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. (@eugeneius)
  • #14012: Fix incorrect autocorrections for Style/SoleNestedConditional. (@lovro-bikic)
  • #14020: Fix comment autocorrection for Style/IfInsideElse. (@lovro-bikic)

Changes

  • #12358: Add does as a forbidden prefix to Naming/PredicateName. (@dvandersluis)
  • #13621: Add ForbiddenIdentifiers and ForbiddenPatterns config options to Naming/MethodName cop. (@tejasbubane)
  • #13986: Add support for Array#intersection to Style/ArrayIntersect. (@dvandersluis)
  • #14006: Allow cop renames to trigger warnings instead of fatal errors. (@dvandersluis)
  • #13617: Use the prism translation layer to analyze Ruby 3.4+ by default. (@earlopain)
  • #14024: Change Style/RedundantParentheses to offend parentheses for chained && expressions. (@lovro-bikic)
  • #14029: Add AllowConsecutiveConditionals setting to Style/Next to allow consecutive conditional statements. (@vlad-pisanov)
  • #14016: Update Style/RedundantFormat to register offenses when the only argument to format or sprintf is a constant. (@dvandersluis)

1.74.0

New features

  • #13936: Adds new cop Style/ComparableBetween. (@lovro-bikic)
  • #13943: Allow writing steep annotation to method definition for Style/CommentedKeyword. (@dak2)

Bug fixes

  • #13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. (@koic)
  • #13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. (@earlopain)
  • #13971: Fix false alarm for config obsoletion. (@koic)
  • #13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. (@earlopain)
  • #13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. (@earlopain)
  • #13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. (@earlopain)
  • #13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. (@koic)
  • #13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. (@earlopain)
  • #13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. (@earlopain)
  • #13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. (@earlopain)
  • #13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. (@koic)
  • #13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. (@dvandersluis)
  • #13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. (@earlopain)

Changes

  • #12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. (@dvandersluis)
  • #13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. (@dvandersluis)
  • #13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. (@koic)
  • #13967: Make Lint/RedundantTypeConversion aware of redundant to_d. (@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.

↗️ rubocop-ast (indirect, 1.41.0 → 1.44.0) · Repo · Changelog

Release Notes

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)

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

Commits

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

↗️ rubocop-performance (indirect, 1.24.0 → 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)

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

Commits

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

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

Release Notes

1.8.0 (from changelog)

  • Updates rubocop-performance from 1.24.0 to 1.25.0

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

Commits

See the full diff on Github. The new version differs by 3 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)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@depfu depfu bot added the depfu label Apr 9, 2025
@pboling pboling merged commit 3d021f5 into main Apr 18, 2025
6 of 7 checks passed
@pboling pboling deleted the depfu/update/standard-1.49.0 branch April 18, 2025 06:49
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.

None yet

1 participant