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

Bump regex from 1.9.1 to 1.9.3 #859

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 7, 2023

Bumps regex from 1.9.1 to 1.9.3.

Changelog

Sourced from regex's changelog.

1.9.3 (2023-08-05)

This is a patch release that fixes a bug where some searches could result in incorrect match offsets being reported. It is difficult to characterize the types of regexes susceptible to this bug. They generally involve patterns that contain no prefix or suffix literals, but have an inner literal along with a regex prefix that can conditionally match.

Bug fixes:

  • [BUG #1060](rust-lang/regex#1060): Fix a bug with the reverse inner literal optimization reporting incorrect match offsets.

1.9.2 (2023-08-05)

This is a patch release that fixes another memory usage regression. This particular regression occurred only when using a RegexSet. In some cases, much more heap memory (by one or two orders of magnitude) was allocated than in versions prior to 1.9.0.

Bug fixes:

Commits

Dependabot compatibility score

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 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 [regex](https://github.com/rust-lang/regex) from 1.9.1 to 1.9.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.9.1...1.9.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 7, 2023
@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Merging #859 (916e2d3) into main (e22a2fd) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #859   +/-   ##
=======================================
  Coverage   94.04%   94.04%           
=======================================
  Files         102      102           
  Lines       15024    15024           
  Branches       25       25           
=======================================
  Hits        14129    14129           
  Misses        889      889           
  Partials        6        6           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e22a2fd...916e2d3. Read the comment docs.

@codspeed-hq
Copy link

codspeed-hq bot commented Aug 7, 2023

CodSpeed Performance Report

Merging #859 will degrade performances by 44.2%

Comparing dependabot/cargo/regex-1.9.3 (916e2d3) with main (e22a2fd)

Summary

🔥 8 improvements
❌ 5 regressions
✅ 122 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main dependabot/cargo/regex-1.9.3 Change
🔥 test_complete_core_lax 1.4 ms 1.1 ms +34.95%
🔥 test_complete_core_error 9.1 ms 8 ms +13.68%
🔥 test_core_python 496.6 µs 443.9 µs +11.88%
🔥 test_core_str 29.8 µs 26.8 µs +11.06%
🔥 test_core_future_str 30.1 µs 26.5 µs +13.51%
test_date_from_datetime 34.7 µs 38.7 µs -10.25%
🔥 test_date_from_str 26.4 µs 23.3 µs +13.09%
test_core_future_str 22.8 µs 26 µs -12.26%
test_int_error 76.1 µs 99.8 µs -23.81%
test_tagged_union_int_keys_python 33.1 µs 59.3 µs -44.2%
test_model_exclude_unset_false 52.9 µs 66.1 µs -20.02%
🔥 test_core_model_py 61.7 µs 48.2 µs +28.09%
🔥 test_core_model_py_extra 67.3 µs 56.7 µs +18.71%

@samuelcolvin samuelcolvin merged commit f9221f8 into main Aug 8, 2023
29 of 30 checks passed
@samuelcolvin samuelcolvin deleted the dependabot/cargo/regex-1.9.3 branch August 8, 2023 13:58
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant