Skip to content

Releases: uuid-rs/uuid

1.11.0

16 Oct 04:30
4473398
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.10.0...1.11.0

1.10.0

09 Jul 00:39
4b4c590
Compare
Choose a tag to compare

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: 1.9.1...1.10.0

1.9.1

24 Jun 22:22
36e6f57
Compare
Choose a tag to compare

What's Changed

  • Add an example of generating bulk v7 UUIDs by @KodrAus in #761
  • Avoid taking the shared lock when getting usable bits in Uuid::now_v7 by @KodrAus in #762
  • Prepare for 1.9.1 release by @KodrAus in #763

Full Changelog: 1.9.0...1.9.1

1.9.0

24 Jun 04:24
4a129e7
Compare
Choose a tag to compare

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

1.8.0

18 Mar 23:57
0f2aaae
Compare
Choose a tag to compare

⚠️ 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

New Contributors

Full Changelog: 1.7.0...1.8.0

1.7.0

19 Jan 00:29
cefc353
Compare
Choose a tag to compare

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

20 Nov 11:11
c889107
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.0...1.6.1

1.6.0

19 Nov 23:30
4609e61
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.5.0...1.6.0

1.5.0

18 Oct 12:46
e68b010
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.4.1...1.5.0

1.4.1

17 Jul 04:15
97b7f07
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.4.0...1.4.1