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-performance 1.14.3 → 1.19.0 (minor) #1373

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Aug 20, 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-performance (1.14.3 → 1.19.0) · Repo · Changelog

Release Notes

1.19.0

New features

  • #364: Add new Performance/MapMethodChain cop. (@koic)
  • #363: Support safe navigation operator for Performance/ArraySemiInfiniteRangeSlice, Performance/DeletePrefix, Performance/DeleteSuffix, Performance/Detect, Performance/EndWith, Performance/InefficientHashSearch, Performance/MapCompact, Performance/RedundantSplitRegexpArgument, Performance/ReverseEach, Performance/ReverseFirst, Performance/SelectMap, Performance/Squeeze, Performance/StartWith, Performance/StringInclude, and Performance/StringReplacement cops. (@koic)

1.18.0

Bug fixes

  • #359: Fix a false positive for Performance/RedundantEqualityComparisonBlock when the block variable is used on both sides of ==. (@koic)
  • #351: Fix an incorrect autocorrect for Performance/ConstantRegexp and Performance/RegexpMatch when autocorrecting both at the same time. (@fatkodima)

Changes

1.17.1

Bug fixes

  • #352: Fix the default config for AllowRegexpMatch option of Performance/RedundantEqualityComparisonBlock. (@koic)

1.17.0

New features

  • #347: Add AllowRegexpMatch option to Performance/RedundantEqualityComparisonBlock. (@koic)

Bug fixes

  • #346: Fix a false positive for Performance/StringIdentifierArgument when using a command method with receiver. (@koic)
  • #344: Fix Performance/FlatMap autocorrection for chained methods on separate lines. (@fatkodima)

1.16.0

Changes

  • #332: Register offenses for variables against regexes in Performance/StringInclude. (@fatkodima)

1.15.2

Bug fixes

  • #313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. (@koic)
  • #321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. (@koic)
  • #314: Fix Performance/RegexpMatch to handle ::Regexp. (@fatkodima)

Changes

1.15.1

Bug fixes

  • #309: Fix an error for Performance/MapCompact when using map(&:do_something).compact and there is a line break after map.compact and assigning with ||=. (@koic)

Changes

  • #307: Support autocorrection even if reject is used on Performance/Count. (@r7kamura)

1.15.0

New features

  • #305: Support numbered parameter for Performance/RedundantSortBlock, Performance/SortReverse, and Performance/TimesMap cops. (@koic)

Bug fixes

  • #299: Fix incorrect documentation URLs when using rubocop --show-docs-url. (@r7kamura)

Changes

  • #297: Support autocorrection on Performance/RedundantMatch when receiver is a Regexp literal. (@r7kamura)

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 (1.36.0 → 1.56.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.

↗️ json (indirect, 2.6.2 → 2.6.3) · Repo · Changelog

Release Notes

2.6.3

What's Changed

  • bugfix json/pure mixing escaped with literal unicode raises Encoding::CompatibilityError by @notEthan in #483
  • Stop including the parser source LINE in exceptions by @casperisfine in #470

New Contributors

Full Changelog: v2.6.2...v2.6.3

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

Commits

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

↗️ parallel (indirect, 1.22.1 → 1.23.0) · Repo

Commits

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

↗️ parser (indirect, 3.1.2.1 → 3.2.2.3) · Repo · Changelog

Release Notes

3.2.2.3 (from changelog)

API modifications:

  • Add Racc to runtime dependencies (#929) (Koichi ITO)

3.2.2.2 (from changelog)

API modifications:

  • bump racc to 1.7.0 (#928) (Ilya Bylich)

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)

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

Commits

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

↗️ rubocop-ast (indirect, 1.21.0 → 1.29.0) · Repo · Changelog

Release Notes

1.29.0 (from changelog)

1.28.1 (from changelog)

Bug fixes

  • #262: Fix an error when parsing non UTF-8 frozen string. (@koic)

1.28.0 (from changelog)

New features

  • #259: Add forwarded_kwrestarg node to AST::Builder. (@koic)

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)

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

Commits

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

🆕 base64 (added, 0.1.1)

🆕 language_server-protocol (added, 3.17.0.3)


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 force-pushed the depfu/update/rubocop-performance-1.19.0 branch from c66c3e0 to ce83e77 Compare August 21, 2023 16:50
@depfu
Copy link
Contributor Author

depfu bot commented Sep 24, 2023

Closed in favor of #1396.

@depfu depfu bot closed this Sep 24, 2023
@depfu depfu bot deleted the depfu/update/rubocop-performance-1.19.0 branch September 24, 2023 06: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