PackageTrack
Sign in Get early access

newtype-uuid

Newtype wrapper around UUIDs

1.4.0 9.2M downloads/mo #3255 most downloaded on crates.io oxidecomputer/newtype-uuid

What this package is like to depend on

Last release 26 days ago

28 Jul 2026

Release timing varies

gaps range from 2 weeks to 9 months

Nearly every release is documented

notes for 15 of 15 stable releases

2 versions withdrawn

withdrawn after publishing

3 years old

17 releases · first in 2024

3 releases in the last 12 months

see the full history below

Release timeline

17 releases · Jan 2024 to Jul 2026
2025 2026
Release Pre-release Withdrawn

Releases

latest 17
  1. 1.4.0 28 Jul 2026
    Release notes

    Added

    • TagError and ParseError now implement core::error::Error rather than merely std::error::Error.

    Changed

    • MSRV updated to Rust 1.85.
    • The minimum supported uuid version is now 1.21.0.
    Open source →
    Release notes

    Added

    • TagError and ParseError now implement core::error::Error rather than merely std::error::Error.

    Changed

    • MSRV updated to Rust 1.85.
    • The minimum supported uuid version is now 1.21.0.
    Open source →
  2. 1.3.2 07 Nov 2025
    Release notes

    Added

    • as_fields, to_fields_le, as_u128, to_u128_le, as_u64_pair, as_bytes, into_bytes, to_bytes_le, is_nil, and is_max methods to mirror corresponding methods on upstream Uuid.
    Open source →
    Release notes

    Added

    • as_fields, to_fields_le, as_u128, to_u128_le, as_u64_pair, as_bytes, into_bytes, to_bytes_le, is_nil, and is_max methods to mirror corresponding methods on upstream Uuid.
    Open source →
  3. 1.3.1 30 Sep 2025
    Release notes

    Added

    • New v7 feature allows for v7 UUIDs to be created. Thanks davidbarsky for your first contribution!

    Fixed

    Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.

    Open source →
    Release notes

    Added

    • New v7 feature allows for v7 UUIDs to be created. Thanks davidbarsky for your first contribution!

    Fixed

    Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.

    Open source →
  4. 1.3.0 19 Aug 2025 withdrawn
    Release notes

    Added

    • For schemars integration, automatic replacement support with typify and progenitor via the new x-rust-type extension.
    • The TypedUuidKind trait has a new optional method called alias, which represents a type alias. alias is used by schemars integration in a few ways: for the schema name of TypedUuid<T>, as well as for automatic replacement support.

    Changed

    • MSRV updated to Rust 1.79.
    Open source →
    Release notes

    Added

    • For schemars integration, automatic replacement support with typify and progenitor via the new x-rust-type extension.
    • The TypedUuidKind trait has a new optional method called alias, which represents a type alias. alias is used by schemars integration in a few ways: for the schema name of TypedUuid<T>, as well as for automatic replacement support.

    Changed

    • MSRV updated to Rust 1.79.
    Open source →
  5. 1.2.4 17 Jun 2025
    Release notes

    Added

    New upcast method enables safer conversion of one typed UUID to another. To opt into an upcast from TypedUuid<T> to TypedUuid<U>, implement From<T> for U.

    Open source →
    Release notes

    Added

    New upcast method enables safer conversion of one typed UUID to another. To opt into an upcast from TypedUuid<T> to TypedUuid<U>, implement From<T> for U.

    Open source →
  6. 1.2.3 17 Jun 2025 withdrawn
    Release notes

    Added

    New cast method enables safer conversion of one typed UUID to another. To opt into a cast from TypedUuid<T> to TypedUuid<U>, implement From<T> for U.

    Open source →
    Release notes

    (This release was yanked because cast was renamed to upcast.)

    Open source →
  7. 1.2.2 25 May 2025
    Release notes

    Added

    Added the following implementations:

    • AsRef<[u8]> for TypedUuid<T>.
    • From<TypedUuid<T>> for Vec<u8>.
    Open source →
    Release notes

    Added

    Added the following implementations:

    • AsRef<[u8]> for TypedUuid<T>.
    • From<TypedUuid<T>> for Vec<u8>.
    Open source →
  8. 1.2.1 15 Jan 2025
    Release notes

    Updated MSRV in readme.

    Open source →
    Release notes

    Updated MSRV in readme.

    Open source →
  9. 1.2.0 15 Jan 2025
    Release notes

    Added

    • New, optional feature proptest1 enables support for generating random instances of UUIDs. Currently, v4 UUIDs are always generated.

    Changed

    • MSRV updated to Rust 1.67.
    Open source →
  10. 1.1.3 07 Nov 2024
    Release notes

    Added

    • Add a Default implementation for TypedUuid. This implementation resolves to TypedUuid::nil().
    Open source →
  11. 1.1.2 08 Oct 2024
    Release notes

    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!

    Open source →
  12. 1.1.0 12 Apr 2024
    Release notes

    Added

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

    Changed

    • MSRV updated to Rust 1.61.
    Open source →
  13. 1.0.1 16 Feb 2024
    Release notes

    Breaking changes

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

    Changed

    • Added #[must_use] annotations to constructors.
    Open source →
  14. 0.3.0 02 Feb 2024
    Release notes

    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.
    Open source →
  15. 0.2.1 02 Feb 2024
    Release notes

    Documentation improvements.

    Open source →
  16. 0.2.0 01 Feb 2024
    Release notes

    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!
    Open source →
  17. 0.1.0 31 Jan 2024
    Release notes

    Initial release, with the impl_typed_uuid_kinds macro.

    Open source →
    Release notes

    Initial release.

    <!-- next-url --> [1.4.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.4.0 [1.3.2]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.3.2 [1.3.1]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.3.1 [1.3.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.3.0 [1.2.4]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.2.4 [1.2.3]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.2.3 [1.2.2]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.2.2 [1.2.1]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.2.1 [1.2.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.2.0 [1.1.3]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.1.3 [1.1.2]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.1.2 [1.1.1]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.1.1 [1.1.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.1.0 [1.0.1]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.0.1 [1.0.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-1.0.0 [0.3.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-0.3.0 [0.2.1]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-0.2.1 [0.2.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-0.2.0 [0.1.0]: https://github.com/oxidecomputer/newtype-uuid/releases/newtype-uuid-0.1.0

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive