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