Skip to content

1.9.0

Compare
Choose a tag to compare
@KodrAus KodrAus released this 24 Jun 04:24
· 19 commits to main since this release
4a129e7

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

New Contributors

Full Changelog: 1.8.0...1.9.0