[PR #56] [MERGED] build(deps): bump regex from 1.8.4 to 1.9.1 #1679

Closed
opened 2026-05-23 03:58:27 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/56
Author: @dependabot[bot]
Created: 7/10/2023
Status: Merged
Merged: 7/10/2023
Merged by: @JakeStanger

Base: masterHead: dependabot/cargo/regex-1.9.1


📝 Commits (1)

  • 37e3244 build(deps): bump regex from 1.8.4 to 1.9.1

📊 Changes

2 files changed (+17 additions, -5 deletions)

View changed files

📝 Cargo.lock (+16 -4)
📝 Cargo.toml (+1 -1)

📄 Description

Bumps regex from 1.8.4 to 1.9.1.

Changelog

Sourced from regex's changelog.

1.9.1 (2023-07-07)

This is a patch release which fixes a memory usage regression. In the regex 1.9 release, one of the internal engines used a more aggressive allocation strategy than what was done previously. This patch release reverts to the prior on-demand strategy.

Bug fixes:

1.9.0 (2023-07-05)

This release marks the end of a years long rewrite of the regex crate internals. Since this is such a big release, please report any issues or regressions you find. We would also love to hear about improvements as well.

In addition to many internal improvements that should hopefully result in "my regex searches are faster," there have also been a few API additions:

  • A new Captures::extract method for quickly accessing the substrings that match each capture group in a regex.
  • A new inline flag, R, which enables CRLF mode. This makes . match any Unicode scalar value except for \r and \n, and also makes (?m:^) and (?m:$) match after and before both \r and \n, respectively, but never between a \r and \n.
  • RegexBuilder::line_terminator was added to further customize the line terminator used by (?m:^) and (?m:$) to be any arbitrary byte.
  • The std Cargo feature is now actually optional. That is, the regex crate can be used without the standard library.
  • Because regex 1.9 may make binary size and compile times even worse, a new experimental crate called regex-lite has been published. It prioritizes binary size and compile times over functionality (like Unicode) and performance. It shares no code with the regex crate.

New features:

... (truncated)

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/mpd-discord-rpc/pull/56 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 7/10/2023 **Status:** ✅ Merged **Merged:** 7/10/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `dependabot/cargo/regex-1.9.1` --- ### 📝 Commits (1) - [`37e3244`](https://github.com/JakeStanger/mpd-discord-rpc/commit/37e32443f0e3d3ee7ecf57734ddd19aed901ea6d) build(deps): bump regex from 1.8.4 to 1.9.1 ### 📊 Changes **2 files changed** (+17 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+16 -4) 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's changelog</a>.</em></p> <blockquote> <h1>1.9.1 (2023-07-07)</h1> <p>This is a patch release which fixes a memory usage regression. In the regex 1.9 release, one of the internal engines used a more aggressive allocation strategy than what was done previously. This patch release reverts to the prior on-demand strategy.</p> <p>Bug fixes:</p> <ul> <li>[BUG <a href="https://redirect.github.com/rust-lang/regex/issues/1027">#1027</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/1027">rust-lang/regex#1027</a>): Change the allocation strategy for the backtracker to be less aggressive.</li> </ul> <h1>1.9.0 (2023-07-05)</h1> <p>This release marks the end of a <a href="https://redirect.github.com/rust-lang/regex/issues/656">years long rewrite of the regex crate internals</a>. Since this is such a big release, please report any issues or regressions you find. We would also love to hear about improvements as well.</p> <p>In addition to many internal improvements that should hopefully result in &quot;my regex searches are faster,&quot; there have also been a few API additions:</p> <ul> <li>A new <code>Captures::extract</code> method for quickly accessing the substrings that match each capture group in a regex.</li> <li>A new inline flag, <code>R</code>, which enables CRLF mode. This makes <code>.</code> match any Unicode scalar value except for <code>\r</code> and <code>\n</code>, and also makes <code>(?m:^)</code> and <code>(?m:$)</code> match after and before both <code>\r</code> and <code>\n</code>, respectively, but never between a <code>\r</code> and <code>\n</code>.</li> <li><code>RegexBuilder::line_terminator</code> was added to further customize the line terminator used by <code>(?m:^)</code> and <code>(?m:$)</code> to be any arbitrary byte.</li> <li>The <code>std</code> Cargo feature is now actually optional. That is, the <code>regex</code> crate can be used without the standard library.</li> <li>Because <code>regex 1.9</code> may make binary size and compile times even worse, a new experimental crate called <code>regex-lite</code> has been published. It prioritizes binary size and compile times over functionality (like Unicode) and performance. It shares no code with the <code>regex</code> crate.</li> </ul> <p>New features:</p> <ul> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/244">#244</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/244">rust-lang/regex#244</a>): One can opt into CRLF mode via the <code>R</code> flag. e.g., <code>(?mR:$)</code> matches just before <code>\r\n</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/259">#259</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/259">rust-lang/regex#259</a>): Multi-pattern searches with offsets can be done with <code>regex-automata 0.3</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/476">#476</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/476">rust-lang/regex#476</a>): <code>std</code> is now an optional feature. <code>regex</code> may be used with only <code>alloc</code>.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/644">#644</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/644">rust-lang/regex#644</a>): <code>RegexBuilder::line_terminator</code> configures how <code>(?m:^)</code> and <code>(?m:$)</code> behave.</li> <li>[FEATURE <a href="https://redirect.github.com/rust-lang/regex/issues/675">#675</a>](<a href="https://redirect.github.com/rust-lang/regex/issues/675">rust-lang/regex#675</a>):</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/regex/commit/a47e2455ff29ab4c765c0716a484c75f226b5c5a"><code>a47e245</code></a> 1.9.1</li> <li><a href="https://github.com/rust-lang/regex/commit/4136a1b850e9634b4494f48fa971328b0b058850"><code>4136a1b</code></a> deps: bump regex-automata to 0.3.1</li> <li><a href="https://github.com/rust-lang/regex/commit/bd87969357cf309641e3296d603328672075ea19"><code>bd87969</code></a> regex-automata-0.3.1</li> <li><a href="https://github.com/rust-lang/regex/commit/663fc54707454c5f99f889e445ea798bd314c52d"><code>663fc54</code></a> changelog: 1.9.1</li> <li><a href="https://github.com/rust-lang/regex/commit/4e89cbf607c761d47f5285133fe791d284d3d313"><code>4e89cbf</code></a> automata/nfa/backtrack: fix memory usage</li> <li><a href="https://github.com/rust-lang/regex/commit/c51486d9f102bdf4ecb657a437c164fd7f425096"><code>c51486d</code></a> fuzz: tweak limits</li> <li><a href="https://github.com/rust-lang/regex/commit/54690c2dbc108f4df9ad8b1c94a712e65da37d11"><code>54690c2</code></a> doc: fix typos</li> <li><a href="https://github.com/rust-lang/regex/commit/7c3463d57f35c08da9f4506297f5e26249547a04"><code>7c3463d</code></a> regex-cli: update compile-test and add recent measurements</li> <li><a href="https://github.com/rust-lang/regex/commit/53786ce79766444a351539a6c1471edd03748feb"><code>53786ce</code></a> regex-cli-0.1.0</li> <li><a href="https://github.com/rust-lang/regex/commit/a40b1e5380a26bf08ee15cffd3db9a91611ac20e"><code>a40b1e5</code></a> regex-cli: make it publishable</li> <li>Additional commits viewable in <a href="https://github.com/rust-lang/regex/compare/1.8.4...1.9.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=regex&package-manager=cargo&previous-version=1.8.4&new-version=1.9.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:58:27 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#1679
No description provided.