Skip to content
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

Update rubocop: 1.30.1 → 1.48.1 (minor) #3144

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Mar 16, 2023

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.30.1 → 1.48.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.

↗️ parser (indirect, 3.1.2.0 → 3.2.1.1) · Repo · Changelog

Release Notes

3.2.1.1 (from changelog)

API modifications:

  • bump racc to 1.6.2 (#916) (Ilya Bylich)
  • backport tests for mixed usage of anonymous kwarg/kwrestarg and forwarded-arguments (#915) (Ilya Bylich)
  • add tests for kwopt+kwrest arguments and forwarded_kwrestarg. (#913) (Ilya Bylich)

Bugs fixed:

  • builders/default: allow forwarded_kwrestarg with additional kwargs (#912) (Owen Stephens)

3.2.1.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.2.1 (#908) (Koichi ITO)
  • lexer.rl: extract strings lexing to lexer-strings.rl (#905) (Ilya Bylich)

Features implemented:

  • Ruby 3.3 support (#904) (Ole Friis Østergaard)

3.2.0.0 (from changelog)

API modifications:

  • lexer.rl: extract extend_string_escaped to a separate method (#893) (Ilya Bylich)
  • bump Racc to 1.6.1 (#890) (Koichi ITO)

Features implemented:

  • lexer.rl: use Ragel -F0 on non-CRuby (#894) (Benoit Daloze)
  • ruby32.y: Allow optional newlines before closing parenthesis (#892) (Koichi ITO)

Bugs fixed:

  • ruby32.y: fix a parse error when using forwarded argument with restarg (#889) (Koichi ITO)

3.1.3.0 (from changelog)

API modifications:

  • Bump maintenance branches to 3.1.3, 3.0.5, 2.7.7 (#886) (Koichi ITO)
  • ruby32.y: reuse nonlocal_var rule. (#879) (Ilya Bylich)
  • ruby32.y: reuse opt_nl rule. (#878) (Ilya Bylich)

Features implemented:

  • ruby32.y: implement forwarded restarg and kwrestarg. (#874) (Ilya Bylich)

3.1.2.1 (from changelog)

Bugs fixed:

  • ruby31.y: fix preparing the state for one-line patterns without braces (#864) (Vladimir Dementyev)

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

Commits

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

↗️ regexp_parser (indirect, 2.5.0 → 2.7.0) · Repo · Changelog

Release Notes

2.7.0 (from changelog)

Added

  • Regexp::Lexer.lex now streams tokens when called with a block
    • it can now take arbitrarily large input, just like Regexp::Scanner
    • this also slightly improves Regexp::Parser.parse performance
    • note: Regexp::Parser.parse still does not and will not support streaming
  • improved performance of Subexpression#each_expression
  • minor improvements to Regexp::Scanner performance
  • overall improvement of parse performance: about 10% for large Regexps

Fixed

  • parsing of octal escape sequences in sets, e.g. [\141]

2.6.2 (from changelog)

Fixed

  • fixed SystemStackError when cloning recursive subexpression calls
    • e.g. Regexp::Parser.parse(/a|b\g<0>/).dup

2.6.1 (from changelog)

Fixed

  • fixed scanning of two negative lookbehind edge cases
    • (?<!x)y> used to raise a ScannerError
    • (?<!x>)y used to be misinterpreted as a named group
    • thanks to Sergio Medina for the report

2.6.0 (from changelog)

Fixed

  • fixed #referenced_expression for \g<0> (was nil, is now the Root exp)
  • fixed #reference, #referenced_expression for recursion level backrefs
    • e.g. (a)(b)\k<-1+1>
    • #referenced_expression was nil, now it is the correct Group exp
  • detect and raise for two more syntax errors when parsing String input
    • quantification of option switches (e.g. (?i)+)
    • invalid references (e.g. /\k<1>/)
    • these are a SyntaxError in Ruby, so could only be passed as a String

Added

  • Regexp::Expression::Base#human_name
    • returns a nice, human-readable description of the expression
  • Regexp::Expression::Base#optional?
    • returns true if the expression is quantified accordingly (e.g. with *, {,n})
  • added a deprecation warning when calling #to_re on set members

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

Commits

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

↗️ rubocop-ast (indirect, 1.18.0 → 1.27.0) · Repo · Changelog

Release Notes

1.27.0 (from changelog)

New features

  • #229: Add source_range method to NodePattern. (@koic)

1.26.0 (from changelog)

New features

  • #255: Make Node#class_constructor? aware of Ruby 3.2's Data.define. (@koic)
  • #255: Make Node#class_construcor? aware of Ruby 2.7's numbered parameters. (@koic)

1.25.0 (from changelog)

New features

  • #256: Support Parser::Ruby33 for Ruby 3.3 parser (experimental). (@koic)

1.24.0 (from changelog)

New features

  • #245: Add node types forwarded_restarg and forwarded_kwrestarg. (@ydah)

1.23.0 (from changelog)

New features

  • #242: Add character_literal? to StrNode. (@koic)

1.22.0 (from changelog)

New features

  • #240: Add a type predicate new_line? to Token. (@tdeo)

1.21.0 (from changelog)

New features

1.20.1 (from changelog)

New features

1.20.0 (from changelog)

Bug fixes

  • #230: Make RegexpNode aware of fixed-encoding regopt. (@koic)

1.19.1 (from changelog)

New features

  • #235: Add regexp_dots? method to RuboCop::AST::Token (erroneously released in 1.19.0 as regexp_dot?). (@koic)

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

Commits

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

↗️ ruby-progressbar (indirect, 1.11.0 → 1.13.0) · Repo · Changelog

Release Notes

1.13.0 (from changelog)

Add

  • Ability To Allow Different Projectors To Be Used For Time Estimates
  • Concept Of A Projector
  • Ability To Access Progress Bar Instance Using Enumerator Refinement

Remove

  • smoothing Option

Change

  • Issue Caused By Ruby Bug

1.12.0 (from changelog)

Add

  • Ability To Swap Out Running Average Calculators
  • running_average_rate As Configuration Option
  • Wall Clock Time To Completion To The Format Elements

Change

  • Rename Running Average Calculator To Smoothed Average Calculator
  • Rename smoothing To running_average_rate
  • Rename smoothing_factor To rate
  • Allow Timer's Elapsed Seconds To Calculate Even If Not Started

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

↗️ unicode-display_width (indirect, 2.2.0 → 2.4.2) · Repo · Changelog

Release Notes

2.4.2 (from changelog)

More performance improvements:

  • Optimize lookup of first 4096 codepoints
  • Avoid overwrite lookup if no overwrites are set

2.4.1 (from changelog)

  • Improve general performance!
  • Further improve performance for ASCII strings

You should really upgrade - it's much faster now!

2.4.0 (from changelog)

  • Improve performance for ASCII-only strings, by @fatkodima
  • Require Ruby 2.4

2.3.0 (from changelog)

  • Unicode 15.0

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

Commits

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


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 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 Automatic PRs to update gems label Mar 16, 2023
@depfu
Copy link
Contributor Author

depfu bot commented Apr 10, 2023

Closed in favor of #3150.

@depfu depfu bot closed this Apr 10, 2023
@depfu depfu bot deleted the depfu/update/rubocop-1.48.1 branch April 10, 2023 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depfu Automatic PRs to update gems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants