Releases: uuid-rs/uuid
Releases · uuid-rs/uuid
1.11.0
What's Changed
- Upgrade zerocopy to 0.8 by @yotamofek in #771
- Prepare for 1.11.0 release by @KodrAus in #772
New Contributors
- @yotamofek made their first contribution in #771
Full Changelog: 1.10.0...1.11.0
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 @Vrajs16 in #764
- Rename most methods referring to RFC4122 by @Mikopet / @KodrAus in #765
- prepare for 1.10.0 release by @KodrAus in #766
New Contributors
Full Changelog: 1.9.1...1.10.0
1.9.1
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:
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 @KodrAus in #748
- Update atomic and zerocopy to latest by @KodrAus in #750
- Add repository field to uuid-macro-internal crate by @paolobarbolini in #752
- update docs to updated RFC (from 4122 to 9562) by @Mikopet in #753
- Support counters in v7 UUIDs by @KodrAus in #755
New Contributors
- @paolobarbolini made their first contribution in #752
- @Mikopet made their first contribution in #753
Full Changelog: 1.8.0...1.9.0
1.8.0
⚠️ Potential Breakage ⚠️
A new impl AsRef<Uuid> for Uuid
bound has been added, which can break inference on code like:
let b = uuid.as_ref();
You can fix these by explicitly typing the result of the conversion:
let b: &[u8] = uuid.as_ref();
or by calling as_bytes
instead:
let b = uuid.as_bytes();
What's Changed
- docs: fix small spelling mistake by @bengsparks in #737
- serde serialize_with support by @dakaizou in #735
- Fix up CI builds by @KodrAus in #744
- Only add
wasm-bindgen
as a dependency onwasm32-unknown-unknown
by @emilk in #738 - impl AsRef for Uuid by @koshell in #743
- Add v6 to v8 draft link to README by @KodrAus in #746
- Add a workflow for running cargo outdated by @KodrAus in #745
- Prepare for 1.8.0 release by @KodrAus in #747
New Contributors
- @bengsparks made their first contribution in #737
- @dakaizou made their first contribution in #735
- @emilk made their first contribution in #738
- @koshell made their first contribution in #743
Full Changelog: 1.7.0...1.8.0
1.7.0
What's Changed
- Add missing test for invalid parse_str by @CXWorks in #723
- Upgrade borsh unstable dependency to v1.0 and make it stable by @bgeron in #724
- Reduce the package size of uuid by @KodrAus in #726
- Make use of newer Cargo features for specifying dependencies by @KodrAus in #727
- Prepare for 1.7.0 release by @KodrAus in #728
New Contributors
Full Changelog: 1.6.1...1.7.0
1.6.1
1.6.0
What's Changed
- doc: fix links in v6 module by @metalalive in #714
- Stabilize UUIDv6-v8 support by @KodrAus in #718
- Prepare for 1.6.0 release by @KodrAus in #719
New Contributors
- @metalalive made their first contribution in #714
Full Changelog: 1.5.0...1.6.0
1.5.0
What's Changed
- Add impl From for String under the std feature flag by @brahms116 in #700
- Remove dead link to templates by @KodrAus in #704
- make ClockSequence wrap correctly by @fef1312 in #705
- Track MSRV in Cargo.toml by @KodrAus in #706
- Support converting between Uuid and vec by @KodrAus in #703
- Replace MIPS with Miri and add clippy to CI by @KodrAus in #712
- Added
bytemuck
support by @John-Toohey in #711 - Prepare for 1.5.0 release by @KodrAus in #713
New Contributors
- @brahms116 made their first contribution in #700
- @fef1312 made their first contribution in #705
- @John-Toohey made their first contribution in #711
Full Changelog: 1.4.1...1.5.0
1.4.1
What's Changed
- Fix macro hygiene by @teohhanhui in #694
- Add #[inline] for Uuid::from_bytes[_ref] and Uuid::{as,into}_bytes by @jrose-signal in #693
- Print uuids in examples by @KodrAus in #697
- Prepare for 1.4.1 release by @KodrAus in #698
New Contributors
- @teohhanhui made their first contribution in #694
- @jrose-signal made their first contribution in #693
Full Changelog: 1.4.0...1.4.1