-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update Rust crate uuid to v1.10.0 #15348
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cla-bot
bot
added
the
cla-signed
The user has signed the Contributor License Agreement
label
Jul 27, 2024
maxdeviant
approved these changes
Jul 27, 2024
kevmo314
pushed a commit
to kevmo314/zed
that referenced
this pull request
Jul 29, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [uuid](https://togithub.com/uuid-rs/uuid) | workspace.dependencies | minor | `1.8.0` -> `1.10.0` | --- ### Release Notes <details> <summary>uuid-rs/uuid (uuid)</summary> ### [`v1.10.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.10.0) [Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.9.1...1.10.0) #### Deprecations This release deprecates and renames the following functions: - `Builder::from_rfc4122_timestamp` -> `Builder::from_gregorian_timestamp` - `Builder::from_sorted_rfc4122_timestamp` -> `Builder::from_sorted_gregorian_timestamp` - `Timestamp::from_rfc4122` -> `Timestamp::from_gregorian` - `Timestamp::to_rfc4122` -> `Timestamp::to_gregorian` #### What's Changed - Use const identifier in uuid macro by [@&zed-industries#8203;Vrajs16](https://togithub.com/Vrajs16) in [https://github.com/uuid-rs/uuid/pull/764](https://togithub.com/uuid-rs/uuid/pull/764) - Rename most methods referring to RFC4122 by [@&zed-industries#8203;Mikopet](https://togithub.com/Mikopet) / [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/765](https://togithub.com/uuid-rs/uuid/pull/765) - prepare for 1.10.0 release by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/766](https://togithub.com/uuid-rs/uuid/pull/766) #### New Contributors - [@&zed-industries#8203;Vrajs16](https://togithub.com/Vrajs16) made their first contribution in [https://github.com/uuid-rs/uuid/pull/764](https://togithub.com/uuid-rs/uuid/pull/764) **Full Changelog**: uuid-rs/uuid@1.9.1...1.10.0 ### [`v1.9.1`](https://togithub.com/uuid-rs/uuid/releases/tag/1.9.1) [Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.9.0...1.9.1) #### What's Changed - Add an example of generating bulk v7 UUIDs by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/761](https://togithub.com/uuid-rs/uuid/pull/761) - Avoid taking the shared lock when getting usable bits in Uuid::now_v7 by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/762](https://togithub.com/uuid-rs/uuid/pull/762) - Prepare for 1.9.1 release by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/763](https://togithub.com/uuid-rs/uuid/pull/763) **Full Changelog**: uuid-rs/uuid@1.9.0...1.9.1 ### [`v1.9.0`](https://togithub.com/uuid-rs/uuid/releases/tag/1.9.0) [Compare Source](https://togithub.com/uuid-rs/uuid/compare/1.8.0...1.9.0) #### `Uuid::now_v7()` is guaranteed to be monotonic Before this release, `Uuid::now_v7()` would only use the millisecond-precision timestamp for ordering. It now also uses a global 42-bit counter that's re-initialized each millisecond so that the following will always pass: ```rust let a = Uuid::now_v7(); let b = Uuid::now_v7(); assert!(a < b); ``` #### What's Changed - Add a get_node_id method for v1 and v6 UUIDs by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/748](https://togithub.com/uuid-rs/uuid/pull/748) - Update atomic and zerocopy to latest by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/750](https://togithub.com/uuid-rs/uuid/pull/750) - Add repository field to uuid-macro-internal crate by [@&zed-industries#8203;paolobarbolini](https://togithub.com/paolobarbolini) in [https://github.com/uuid-rs/uuid/pull/752](https://togithub.com/uuid-rs/uuid/pull/752) - update docs to updated RFC (from 4122 to 9562) by [@&zed-industries#8203;Mikopet](https://togithub.com/Mikopet) in [https://github.com/uuid-rs/uuid/pull/753](https://togithub.com/uuid-rs/uuid/pull/753) - Support counters in v7 UUIDs by [@&zed-industries#8203;KodrAus](https://togithub.com/KodrAus) in [https://github.com/uuid-rs/uuid/pull/755](https://togithub.com/uuid-rs/uuid/pull/755) #### New Contributors - [@&zed-industries#8203;paolobarbolini](https://togithub.com/paolobarbolini) made their first contribution in [https://github.com/uuid-rs/uuid/pull/752](https://togithub.com/uuid-rs/uuid/pull/752) - [@&zed-industries#8203;Mikopet](https://togithub.com/Mikopet) made their first contribution in [https://github.com/uuid-rs/uuid/pull/753](https://togithub.com/uuid-rs/uuid/pull/753) **Full Changelog**: uuid-rs/uuid@1.8.0...1.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.8.0
->1.10.0
Release Notes
uuid-rs/uuid (uuid)
v1.10.0
Compare Source
Deprecations
This release deprecates and renames the following functions:
Builder::from_rfc4122_timestamp
->Builder::from_gregorian_timestamp
Builder::from_sorted_rfc4122_timestamp
->Builder::from_sorted_gregorian_timestamp
Timestamp::from_rfc4122
->Timestamp::from_gregorian
Timestamp::to_rfc4122
->Timestamp::to_gregorian
What's Changed
New Contributors
Full Changelog: uuid-rs/uuid@1.9.1...1.10.0
v1.9.1
Compare Source
What's Changed
Full Changelog: uuid-rs/uuid@1.9.0...1.9.1
v1.9.0
Compare Source
Uuid::now_v7()
is guaranteed to be monotonicBefore this release,
Uuid::now_v7()
would only use the millisecond-precision timestamp for ordering. It now also uses a global 42-bit counter that's re-initialized each millisecond so that the following will always pass:What's Changed
New Contributors
Full Changelog: uuid-rs/uuid@1.8.0...1.9.0
Configuration
📅 Schedule: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Release Notes: