Skip to content

Commit

Permalink
chore(deps): Bump regex from 1.8.4 to 1.9.0 (vectordotdev#17874)
Browse files Browse the repository at this point in the history
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.0.
<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.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>):
Anchored search APIs are now available in <code>regex-automata
0.3</code>.</li>
<li>[FEATURE <a
href="https://redirect.github.com/rust-lang/regex/issues/824">#824</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/824">rust-lang/regex#824</a>):
Add new <code>Captures::extract</code> method for easier capture group
access.</li>
<li>[FEATURE <a
href="https://redirect.github.com/rust-lang/regex/issues/961">#961</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/961">rust-lang/regex#961</a>):
Add <code>regex-lite</code> crate with smaller binary sizes and faster
compile times.</li>
<li>[FEATURE <a
href="https://redirect.github.com/rust-lang/regex/issues/1022">#1022</a>](<a
href="https://redirect.github.com/rust-lang/regex/pull/1022">rust-lang/regex#1022</a>):
Add <code>TryFrom</code> implementations for the <code>Regex</code>
type.</li>
</ul>
<p>Performance improvements:</p>
<ul>
<li>[PERF <a
href="https://redirect.github.com/rust-lang/regex/issues/68">#68</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/68">rust-lang/regex#68</a>):
Added a one-pass DFA engine for faster capture group matching.</li>
<li>[PERF <a
href="https://redirect.github.com/rust-lang/regex/issues/510">#510</a>](<a
href="https://redirect.github.com/rust-lang/regex/issues/510">rust-lang/regex#510</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/4f47b14d60e82e85a880513833362d5fb485ffa8"><code>4f47b14</code></a>
1.9.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/572e8572fa7536df5d1d9eb8849f860c536b764e"><code>572e857</code></a>
deps: bump to regex-syntax 0.7.3</li>
<li><a
href="https://github.com/rust-lang/regex/commit/377f1700754e7c1b0ad55b3f63836c0c042d5c21"><code>377f170</code></a>
regex-syntax-0.7.3</li>
<li><a
href="https://github.com/rust-lang/regex/commit/84dfe509aacd1589af76e43a539294c2f3fa8d4a"><code>84dfe50</code></a>
test: minimal polishing for regex-test crate</li>
<li><a
href="https://github.com/rust-lang/regex/commit/4f3a3b1e5c4bfe86f8a401ebe245052cdec09677"><code>4f3a3b1</code></a>
cargo: fix spacing</li>
<li><a
href="https://github.com/rust-lang/regex/commit/5c10684d6f6941d1243167702f7508018ee8e985"><code>5c10684</code></a>
api: add TryFrom impls for Regex</li>
<li><a
href="https://github.com/rust-lang/regex/commit/85d911808590dac69e6e14f294d24d70053cf28c"><code>85d9118</code></a>
changelog: small updates</li>
<li><a
href="https://github.com/rust-lang/regex/commit/aa64e6d02ee8a39bfee09e122d4ffd66441efc0c"><code>aa64e6d</code></a>
changelog: 1.9.0</li>
<li><a
href="https://github.com/rust-lang/regex/commit/7636ba84e19ffa649bc88bd73a86c3068ba56b3c"><code>7636ba8</code></a>
*: lots of polish</li>
<li><a
href="https://github.com/rust-lang/regex/commit/cacdf377617ec85024541599b96ef9dd3901df68"><code>cacdf37</code></a>
fuzz: improve Arbitrary impl for Unicode classes</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/regex/compare/1.8.4...1.9.0">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.0)](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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Doug Smith <doug.smith3197@gmail.com>
  • Loading branch information
dependabot[bot] and dsmith3197 authored Jul 7, 2023
1 parent 2126707 commit cb950b0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
18 changes: 12 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
rand_distr = { version = "0.4.3", default-features = false }
rdkafka = { version = "0.33.2", default-features = false, features = ["tokio", "libz", "ssl", "zstd"], optional = true }
redis = { version = "0.23.0", default-features = false, features = ["connection-manager", "tokio-comp", "tokio-native-tls-comp"], optional = true }
regex = { version = "1.8.4", default-features = false, features = ["std", "perf"] }
regex = { version = "1.9.0", default-features = false, features = ["std", "perf"] }
roaring = { version = "0.10.1", default-features = false, optional = true }
seahash = { version = "4.1.0", default-features = false }
semver = { version = "1.0.17", default-features = false, features = ["serde", "std"], optional = true }
Expand Down
4 changes: 3 additions & 1 deletion LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,11 @@ rdkafka,https://github.com/fede1024/rust-rdkafka,MIT,Federico Giraud <giraud.fed
redis,https://github.com/redis-rs/redis-rs,BSD-3-Clause,The redis Authors
redox_syscall,https://gitlab.redox-os.org/redox-os/syscall,MIT,Jeremy Soller <jackpot51@gmail.com>
redox_users,https://gitlab.redox-os.org/redox-os/users,MIT,"Jose Narvaez <goyox86@gmail.com>, Wesley Hershberger <mggmugginsmc@gmail.com>"
regex,https://github.com/rust-lang/regex,MIT OR Apache-2.0,The Rust Project Developers
regex,https://github.com/rust-lang/regex,MIT OR Apache-2.0,"The Rust Project Developers, Andrew Gallant <jamslam@gmail.com>"
regex-automata,https://github.com/BurntSushi/regex-automata,Unlicense OR MIT,Andrew Gallant <jamslam@gmail.com>
regex-automata,https://github.com/rust-lang/regex/tree/master/regex-automata,MIT OR Apache-2.0,"The Rust Project Developers, Andrew Gallant <jamslam@gmail.com>"
regex-syntax,https://github.com/rust-lang/regex,MIT OR Apache-2.0,The Rust Project Developers
regex-syntax,https://github.com/rust-lang/regex/tree/master/regex-syntax,MIT OR Apache-2.0,"The Rust Project Developers, Andrew Gallant <jamslam@gmail.com>"
rend,https://github.com/djkoloski/rend,MIT,David Koloski <djkoloski@gmail.com>
reqwest,https://github.com/seanmonstar/reqwest,MIT OR Apache-2.0,Sean McArthur <sean@seanmonstar.com>
resolv-conf,http://github.com/tailhook/resolv-conf,MIT OR Apache-2.0,paul@colomiets.name
Expand Down
2 changes: 1 addition & 1 deletion lib/codecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ memchr = { version = "2", default-features = false }
once_cell = { version = "1.18", default-features = false }
ordered-float = { version = "3.7.0", default-features = false }
prost = { version = "0.11.8", default-features = false, features = ["std"] }
regex = { version = "1.8.4", default-features = false, features = ["std", "perf"] }
regex = { version = "1.9.0", default-features = false, features = ["std", "perf"] }
serde = { version = "1", default-features = false, features = ["derive"] }
serde_json = { version = "1", default-features = false }
smallvec = { version = "1", default-features = false, features = ["union"] }
Expand Down
2 changes: 1 addition & 1 deletion lib/vector-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ proptest = { version = "1.2", optional = true }
prost-types = { version = "0.11", default-features = false }
prost = { version = "0.11", default-features = false, features = ["std"] }
quanta = { version = "0.11.1", default-features = false }
regex = { version = "1.8.4", default-features = false, features = ["std", "perf"] }
regex = { version = "1.9.0", default-features = false, features = ["std", "perf"] }
ryu = { version = "1", default-features = false }
serde = { version = "1.0.164", default-features = false, features = ["derive", "rc"] }
serde_json = { version = "1.0.99", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion vdev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ os_info = { version = "3.7.0", default-features = false }
# watch https://github.com/epage/anstyle for official interop with Clap
owo-colors = { version = "3.5.0", features = ["supports-colors"] }
paste = "1.0.13"
regex = { version = "1.8.4", default-features = false, features = ["std", "perf"] }
regex = { version = "1.9.0", default-features = false, features = ["std", "perf"] }
reqwest = { version = "0.11", features = ["json", "blocking"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.99"
Expand Down

0 comments on commit cb950b0

Please sign in to comment.