===================
This is a release that fixes a bug where incorrect regex match offsets could be
reported. Note that this doesn't impact whether a match occurs or not, just
where it occurs. The match offsets are still valid for slicing, they just may
not refer to the correct leftmost-first match. See #1364 for (many) more details.
Bug fixes:
#1354:
Fixes previously unsound reverse suffix and inner optimizations.
===================
This release includes a new API, a regex! macro, for lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely you've
already written one exactly like it. The new macro can be used like this:
useregex::regex;fnis_match(line: &str)-> bool{// The regex will be compiled approximately once and reused automatically.
// This avoids the footgun of using `Regex::new` here, which would
// guarantee that it would be compiled every time this routine is called.
// This would likely make this routine much slower than it needs to be.
regex!(r"bar|baz").is_match(line)}lethay="\path/to/foo:54:Blue Harvest
path/to/bar:90:Something, Something, Something, Dark Side
path/to/baz:3:It's a Trap!
";letmatches=hay.lines().filter(|line|is_match(line)).count();assert_eq!(matches,2);
Improvements:
#709:
Add a new regex! macro for efficient and automatic reuse of a compiled regex.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [anyhow](https://github.com/dtolnay/anyhow) | dev-dependencies | patch | `1.0.103` → `1.0.104` |
| [displaydoc](https://github.com/yaahc/displaydoc) | dependencies | patch | `0.2.6` → `0.2.7` |
| [generic-array](https://github.com/fizyk20/generic-array) | dependencies | patch | `1.4.3` → `1.4.4` |
| [hybrid-array](https://github.com/RustCrypto/hybrid-array) | dependencies | patch | `0.4.13` → `0.4.14` |
| [p521](https://github.com/RustCrypto/elliptic-curves/tree/master/p521) ([source](https://github.com/RustCrypto/elliptic-curves)) | dev-dependencies | patch | `0.14.0-rc.15` → `0.14.0` |
| [regex](https://github.com/rust-lang/regex) | dev-dependencies | minor | `1.12.4` → `1.13.1` |
| [serde](https://serde.rs) ([source](https://github.com/serde-rs/serde)) | dependencies | patch | `1.0.228` → `1.0.229` |
| [serde_json](https://github.com/serde-rs/json) | dev-dependencies | patch | `1.0.150` → `1.0.151` |
| [thiserror](https://github.com/dtolnay/thiserror) | dev-dependencies | patch | `2.0.18` → `2.0.19` |
| [voprf](https://github.com/vexahub/voprf-vx) | dependencies | patch | `1.0.0-rc.1` → `1.0.0` |
---
### Release Notes
<details>
<summary>dtolnay/anyhow (anyhow)</summary>
### [`v1.0.104`](https://github.com/dtolnay/anyhow/releases/tag/1.0.104)
[Compare Source](https://github.com/dtolnay/anyhow/compare/1.0.103...1.0.104)
- Update `syn` dev-dependency to version 3
</details>
<details>
<summary>yaahc/displaydoc (displaydoc)</summary>
### [`v0.2.7`](https://github.com/yaahc/displaydoc/blob/HEAD/CHANGELOG.md#027---2026-07-28)
[Compare Source](https://github.com/yaahc/displaydoc/compare/v0.2.6...v0.2.7)
#### Added
- Updated `syn` dependency to 3.0
#### Changed
- Bumped MSRV to 1.71
</details>
<details>
<summary>RustCrypto/hybrid-array (hybrid-array)</summary>
### [`v0.4.14`](https://github.com/RustCrypto/hybrid-array/blob/HEAD/CHANGELOG.md#0414-2026-07-30)
[Compare Source](https://github.com/RustCrypto/hybrid-array/compare/v0.4.13...v0.4.14)
##### Added
- Sizes for `sntrup` ([#​231])
[#​231]: https://github.com/RustCrypto/hybrid-array/pull/231
</details>
<details>
<summary>rust-lang/regex (regex)</summary>
### [`v1.13.1`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1131-2026-07-15)
[Compare Source](https://github.com/rust-lang/regex/compare/1.13.0...1.13.1)
\===================
This is a release that fixes a bug where incorrect regex match offsets could be
reported. Note that this doesn't impact whether a match occurs or not, just
where it occurs. The match offsets are still valid for slicing, they just may
not refer to the correct leftmost-first match. See
[#​1364](https://github.com/rust-lang/regex/pull/1364) for (many) more details.
Bug fixes:
- [#​1354](https://github.com/rust-lang/regex/issues/1354):
Fixes previously unsound reverse suffix and inner optimizations.
### [`v1.13.0`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1130-2026-07-09)
[Compare Source](https://github.com/rust-lang/regex/compare/1.12.4...1.13.0)
\===================
This release includes a new API, a `regex!` macro, for lazy compilation of
a regex from a string literal. If you use regexes a lot, it's likely you've
already written one exactly like it. The new macro can be used like this:
```rust
use regex::regex;
fn is_match(line: &str) -> bool {
// The regex will be compiled approximately once and reused automatically.
// This avoids the footgun of using `Regex::new` here, which would
// guarantee that it would be compiled every time this routine is called.
// This would likely make this routine much slower than it needs to be.
regex!(r"bar|baz").is_match(line)
}
let hay = "\
path/to/foo:54:Blue Harvest
path/to/bar:90:Something, Something, Something, Dark Side
path/to/baz:3:It's a Trap!
";
let matches = hay.lines().filter(|line| is_match(line)).count();
assert_eq!(matches, 2);
```
Improvements:
- [#​709](https://github.com/rust-lang/regex/issues/709):
Add a new `regex!` macro for efficient and automatic reuse of a compiled regex.
</details>
<details>
<summary>serde-rs/serde (serde)</summary>
### [`v1.0.229`](https://github.com/serde-rs/serde/releases/tag/v1.0.229)
[Compare Source](https://github.com/serde-rs/serde/compare/v1.0.228...v1.0.229)
- Update to syn 3
</details>
<details>
<summary>serde-rs/json (serde_json)</summary>
### [`v1.0.151`](https://github.com/serde-rs/json/releases/tag/v1.0.151)
[Compare Source](https://github.com/serde-rs/json/compare/v1.0.150...v1.0.151)
- Add RawValue::from\_string\_unchecked ([#​1331](https://github.com/serde-rs/json/issues/1331), thanks [@​WonderLawrence](https://github.com/WonderLawrence))
</details>
<details>
<summary>dtolnay/thiserror (thiserror)</summary>
### [`v2.0.19`](https://github.com/dtolnay/thiserror/releases/tag/2.0.19)
[Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.18...2.0.19)
- Update to syn 3
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTIuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjExLjYiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
1.0.103→1.0.1040.2.6→0.2.71.4.3→1.4.40.4.13→0.4.140.14.0-rc.15→0.14.01.12.4→1.13.11.0.228→1.0.2291.0.150→1.0.1512.0.18→2.0.191.0.0-rc.1→1.0.0Release Notes
dtolnay/anyhow (anyhow)
v1.0.104Compare Source
syndev-dependency to version 3yaahc/displaydoc (displaydoc)
v0.2.7Compare Source
Added
syndependency to 3.0Changed
RustCrypto/hybrid-array (hybrid-array)
v0.4.14Compare Source
Added
sntrup(#231)rust-lang/regex (regex)
v1.13.1Compare Source
===================
This is a release that fixes a bug where incorrect regex match offsets could be
reported. Note that this doesn't impact whether a match occurs or not, just
where it occurs. The match offsets are still valid for slicing, they just may
not refer to the correct leftmost-first match. See
#1364 for (many) more details.
Bug fixes:
Fixes previously unsound reverse suffix and inner optimizations.
v1.13.0Compare Source
===================
This release includes a new API, a
regex!macro, for lazy compilation ofa regex from a string literal. If you use regexes a lot, it's likely you've
already written one exactly like it. The new macro can be used like this:
Improvements:
Add a new
regex!macro for efficient and automatic reuse of a compiled regex.serde-rs/serde (serde)
v1.0.229Compare Source
serde-rs/json (serde_json)
v1.0.151Compare Source
dtolnay/thiserror (thiserror)
v2.0.19Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate CLI.
24eeb1ee97toc5adf8327ec5adf8327etoc231be1217View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.