Skip to content

Releases: uuid-rs/uuid

uuid 0.8.2: API and feature cleanups

11 Jan 06:18
b68733d
Compare
Choose a tag to compare

This release includes a large number of internal refactorings and changes to dependencies.

The 0.8.x releases are now tracked on the 0.8.x branch of uuid. The main branch now contains breaking changes.

Contributions

  • Update md5 to 0.7 (#442)
  • Use getrandom instead of rand (#447)
  • Remove dependency on serde_derive (#478)
  • Add WASI support (#477)
  • Fix some links in the docs (#471)
  • Make Uuid #[repr(transparent)] (#468)
  • Fix the example in the readme (#467)
  • Clarify documentation around rand crate (#489)
  • Fix an incorrect date mentioned in the docs (#496)
  • Update getrandom to 0.2.0 (#501)
  • Improve deserialization error message (#505)
  • Update docs on wasm features (#506)

uuid 0.8.1: Docs

18 Oct 22:14
fb62500
Compare
Choose a tag to compare

This release doesn't contain any source changes, it fixes up errors in the docs, adds clarification and more examples.

Contributions

  • Tidy up some docs. (#434)

uuid 0.8.0: API polish and consolidation

18 Oct 12:25
aa6d78f
Compare
Choose a tag to compare

This release is pretty substantial; it's the accumulation of some 8 months of work. It includes changes to error types, 128bit integer support, explicit endianness and V1 timestamps.

Contributions

uuid 0.7.4: Work docs.rs work!!!

28 Mar 21:26
Compare
Choose a tag to compare

Fixes

  • docs.rs builds now will work properly again. (#385)

Anyone interested can see the entire diff between 0.7.3 and 0.7.4 here.

uuid 0.7.3: Fast strings

25 Mar 02:52
Compare
Choose a tag to compare

Added

  • The uuid::Error error type. This is a sumtype of uuid::BytesError and uuid::ParseError.(#373)
    • Useful when the underlying uuid version and its error types don't matter until an error occurs.
  • Add encode_{lower, upper} for the uuid::adapter::{ Hyphenated, Simple, Urn }(#378)
  • Relatedly, added uuid::Uuid::encode_buffer for the buffer used in the encode_{lower,upper} functions.(#378)

Changes

  • Remove the rand dependency for v3 and v5 Uuids. (#371)

Anyone interested can see the entire diff between 0.7.2 and 0.7.3 here.

uuid 0.7.2: Microsoft love

29 Jan 06:56
Compare
Choose a tag to compare

Added

  • Support for winapi GUIDs, with guid feature (#336, #338)
  • Introduce Uuid builder interface (#332)
  • Support for compact serialization of uuid::Uuid and related types with uuid::adapter::compact::{serialize,deserialize) (#331)
    • use serde_derive's #[serde(with = "uuid::adapter::compact::dense_serde")] you can for your specific case with attributes.
  • Add support for functions that provide uuids in little endian format (#311)
    • By default, the internal representation of uuid::Uuids is unspecified.
    • However all functions returning the bytes are guaranteed to be big endian

Changes

  • Use hyphenated string instead of a raw bytes for uuid::Uuid Debug output (#360)
  • Adjust the error message for uuid::parser::Error::InvalidCharacter for clarity. (#355)

Fixes

  • uuid::Uuid::new_v4 compiles on wasm32 but panics at execution (#351, #358)

Dependencies


Anyone interested can see the entire diff between 0.7.1 and 0.7.2 here.

Where Did The Links Go?

14 Sep 21:25
Compare
Choose a tag to compare

Fixes:

  • fix up the doc names to follow the name changes (#315)
  • prelude names are not inlined (#316)

The Great Refactor Update

07 Sep 17:26
Compare
Choose a tag to compare

We have a transition guide for moving from uuid 0.6.x to uuid 0.7.x.


  • Minimum rustc version bumped to 1.22 (#254)

Added

  • Nil variant to uuid::Version (#181)
  • Add uuid::Version to prelude (#188)
  • Allow v3 & v5 Uuids to be constructed from bytes (#270)
  • BytesError for general Uuid use when byte slices are involved (#284)

Changes

  • Move namespace Uuid constants under uuid::Uuid (#187)
  • Use uuid::UuidBytes` instead of [u8;16] (#263)
  • uuid::Uuid::from_bytes() renamed to uuid::Uuid::from_slice(), uuid::Uuid::from_uuid_bytes() renamed to uuid::Uuid::from_bytes() (#299)
  • Uuid prefix removed from structs, enums and functions (#294)

Removed

  • uuid::Uuid::new() method (#214)
  • Remove deprecated use-std feature (#280)

Dependencies

  • Rand to 0.5 (#262)

2018 edition is available. To enable it, use the 2018 branch.


Since 0.7.0-beta

  • fix const_fn marked functions not being const for adapters (#310)
  • Optimize formatting by 80-90% by avoiding write!. (#303)

Beta of Major Refactors

25 Aug 18:23
Compare
Choose a tag to compare
Pre-release

Minimum rustc version bumped to 1.22 (#254)

Added:

  • Nil variant to UuidVersion (#181)
  • Add UuidVersion to prelude (#188)
  • support for u128 (#201)
  • Allow v3 & v5 to be constructed from bytes (#270)
  • BytesError for general Uuid use (#284)

Changes:

  • Move namespaces into Uuid::(#187)
  • Use UuidBytes instead of [u8;16] (#263)
  • from_bytes renamed to from_slice, from_uuid_bytes renamed to from_bytes (#299)
  • Uuid Prefix removed from functions (#294)

Removed:

  • Uuid::new() method (#214)
  • Remove deprecated use-std feature (#280)

Dependencies:

  • Rand to 0.5 (#262)

2018 edition is available. To enable it, use the 2018 branch

Const Fn Bug Fix

24 May 13:59
Compare
Choose a tag to compare

Fixes:

  • Fixes name of the feature in lib.rs (#246)