Bump uuid from 1.22.0 to 1.23.0 #525

Merged
dependabot[bot] merged 1 commit from dependabot/cargo/uuid-1.23.0 into main 2026-03-30 21:49:46 +00:00
dependabot[bot] commented 2026-03-30 06:38:14 +00:00 (Migrated from github.com)

Bumps uuid from 1.22.0 to 1.23.0.

Release notes

Sourced from uuid's releases.

v1.23.0

What's Changed

New Contributors

Special thanks

@​meng-xu-cs raised a series of bugs against the timestamp logic in uuid using automated tooling. The issues themselves were reasonably and responsibly presented and the end result is a better uuid library for everyone. Thanks!

Deprecations

This release includes the following deprecations:

  • Context: Renamed to ContextV1
  • Timestamp::from_gregorian: Renamed to Timestamp::from_gregorian_time

Change to Version::Max

Version::Max's u8 representation has changed from 0xff to 0x0f to match the value returned by Uuid::get_version_num.

Change to Uuid::get_version for the max UUID

Uuid::get_version will only return Some(Version::Max) if the UUID is actually the max UUID (all bytes are 0xff). Previously it would return Some if only the version field was 0x0f. This change matches the behaviour of the nil UUID, which only returns Some(Version::Nil) if the UUID is the nil UUID (all bytes are 0x00).

Full Changelog: https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.0

Commits
  • 00ab922 Merge pull request #876 from uuid-rs/cargo/v1.23.0
  • 726ba45 prepare for 1.23.0 release
  • 996dade Merge pull request #875 from uuid-rs/fix/context-ordering
  • e140479 simplify a use stmt
  • 8ed9142 reorganize and document more v7 context internals
  • e09a322 use LazyLock to synchronize v1/v6 context initialization
  • 0f260cc Merge pull request #874 from uuid-rs/chore/impl-cleanups
  • 1419e91 clean up and refactor main lib tests
  • ceeaf4b ensure we don't overflow on counters less than 12
  • 63bc8f5 Merge pull request #873 from uuid-rs/fix/error-msg
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [uuid](https://github.com/uuid-rs/uuid) from 1.22.0 to 1.23.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/uuid-rs/uuid/releases">uuid's releases</a>.</em></p> <blockquote> <h2>v1.23.0</h2> <h2>What's Changed</h2> <ul> <li>feat: add support for 'hyphenated' format in the serde module by <a href="https://github.com/FrenchDilettante"><code>@​FrenchDilettante</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/865">uuid-rs/uuid#865</a></li> <li>Fix a number of bugs in time-related code by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/872">uuid-rs/uuid#872</a></li> <li>Reword invalid char error message by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/873">uuid-rs/uuid#873</a></li> <li>Impl cleanups by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/874">uuid-rs/uuid#874</a></li> <li>Use LazyLock to synchronize v1/v6 context initialization by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/875">uuid-rs/uuid#875</a></li> <li>Prepare for 1.23.0 release by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/uuid-rs/uuid/pull/876">uuid-rs/uuid#876</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/FrenchDilettante"><code>@​FrenchDilettante</code></a> made their first contribution in <a href="https://redirect.github.com/uuid-rs/uuid/pull/865">uuid-rs/uuid#865</a></li> </ul> <h2>Special thanks</h2> <p><a href="https://github.com/meng-xu-cs"><code>@​meng-xu-cs</code></a> raised a series of bugs against the timestamp logic in <code>uuid</code> using automated tooling. The issues themselves were reasonably and responsibly presented and the end result is a better <code>uuid</code> library for everyone. Thanks!</p> <h1>Deprecations</h1> <p>This release includes the following deprecations:</p> <ul> <li><code>Context</code>: Renamed to <code>ContextV1</code></li> <li><code>Timestamp::from_gregorian</code>: Renamed to <code>Timestamp::from_gregorian_time</code></li> </ul> <h1>Change to <code>Version::Max</code></h1> <p><code>Version::Max</code>'s <code>u8</code> representation has changed from <code>0xff</code> to <code>0x0f</code> to match the value returned by <code>Uuid::get_version_num</code>.</p> <h1>Change to <code>Uuid::get_version</code> for the max UUID</h1> <p><code>Uuid::get_version</code> will only return <code>Some(Version::Max)</code> if the UUID is actually the max UUID (all bytes are <code>0xff</code>). Previously it would return <code>Some</code> if only the version field was <code>0x0f</code>. This change matches the behaviour of the nil UUID, which only returns <code>Some(Version::Nil)</code> if the UUID is the nil UUID (all bytes are <code>0x00</code>).</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.0">https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/uuid-rs/uuid/commit/00ab922d5351607dfff520f37eb49cb9854fda73"><code>00ab922</code></a> Merge pull request <a href="https://redirect.github.com/uuid-rs/uuid/issues/876">#876</a> from uuid-rs/cargo/v1.23.0</li> <li><a href="https://github.com/uuid-rs/uuid/commit/726ba45fe3491bf6253173d0be6b99ed3b1cbbb9"><code>726ba45</code></a> prepare for 1.23.0 release</li> <li><a href="https://github.com/uuid-rs/uuid/commit/996dadea029e3976f52cba58e5e9b9a08c4f82c4"><code>996dade</code></a> Merge pull request <a href="https://redirect.github.com/uuid-rs/uuid/issues/875">#875</a> from uuid-rs/fix/context-ordering</li> <li><a href="https://github.com/uuid-rs/uuid/commit/e14047993bc5a6180a96119436a983c19d79b084"><code>e140479</code></a> simplify a use stmt</li> <li><a href="https://github.com/uuid-rs/uuid/commit/8ed9142847a22bc7707794bfee6b2016d4470772"><code>8ed9142</code></a> reorganize and document more v7 context internals</li> <li><a href="https://github.com/uuid-rs/uuid/commit/e09a3225a8d99c5eadcbbeb7432195b2ea5ece76"><code>e09a322</code></a> use LazyLock to synchronize v1/v6 context initialization</li> <li><a href="https://github.com/uuid-rs/uuid/commit/0f260cc67135ac20d914e387a47e59960247fdee"><code>0f260cc</code></a> Merge pull request <a href="https://redirect.github.com/uuid-rs/uuid/issues/874">#874</a> from uuid-rs/chore/impl-cleanups</li> <li><a href="https://github.com/uuid-rs/uuid/commit/1419e91097fcffc7afa8f54eb41fdc912200b540"><code>1419e91</code></a> clean up and refactor main lib tests</li> <li><a href="https://github.com/uuid-rs/uuid/commit/ceeaf4b7b59895497c59acdaf286233b1e7cc576"><code>ceeaf4b</code></a> ensure we don't overflow on counters less than 12</li> <li><a href="https://github.com/uuid-rs/uuid/commit/63bc8f52e5042b9c729fa0380b9948b49fe397cc"><code>63bc8f5</code></a> Merge pull request <a href="https://redirect.github.com/uuid-rs/uuid/issues/873">#873</a> from uuid-rs/fix/error-msg</li> <li>Additional commits viewable in <a href="https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uuid&package-manager=cargo&previous-version=1.22.0&new-version=1.23.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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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>
Sign in to join this conversation.
No description provided.