Skip to content

Releases: oxidecomputer/newtype-uuid

newtype-uuid 1.1.3

07 Nov 10:14
Compare
Choose a tag to compare

Added

  • Add a Default implementation for TypedUuid. This implementation resolves
    to TypedUuid::nil().

newtype-uuid 1.1.2

08 Oct 02:07
Compare
Choose a tag to compare

Added

More const constructors for typed UUIDs, mirrored from the uuid crate: from_fields,
from_fields_le, from_u128, from_u128_le, from_u64_pair, from_bytes, and from_bytes_le.

Fixed

Correct doc for as_untyped_uuid. Thanks @Dr-Emann for your first contribution!

newtype-uuid 1.1.0

12 Apr 09:09
Compare
Choose a tag to compare

Added

  • TypedUuid::nil() and max() constructors.
  • TypedUuid is now #[repr(transparent)].

Changed

  • MSRV updated to Rust 1.61.

newtype-uuid 1.0.1

16 Feb 00:44
Compare
Choose a tag to compare

Breaking changes

  • GenericUuid::to_generic_uuid has been renamed to GenericUuid::into_generic_uuid.

Changed

  • Added #[must_use] annotations to constructors.

newtype-uuid 0.3.0

02 Feb 23:56
Compare
Choose a tag to compare

Breaking changes

  • TypedUuidTag::try_new returns a new TagError type rather than just a raw &'static str.

Changed

  • TypedUuidTag::as_str is now a const fn.

newtype-uuid 0.2.1

02 Feb 23:11
Compare
Choose a tag to compare

Documentation improvements.

newtype-uuid 0.2.0

01 Feb 21:16
Compare
Choose a tag to compare

Breaking changes

  • TypedUuidTags are now required to be valid ASCII identifiers, with hyphens also supported.

Misc

  • Added #[forbid(unsafe_code)]. Thanks Robert Lynch for the contribution!

newtype-uuid 0.1.0

31 Jan 02:23
Compare
Choose a tag to compare

Initial release.