NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #3163 most downloaded on crates.io
Newtype wrapper around UUIDs
Last release 2 months 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
TagError and ParseError now implement core::Error rather than merely std::Error .
TagError and ParseError now implement core::error::Error rather than merely std::error::Error.uuid version is now 1.21.0.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 correspond
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.One column per month.
New v7 feature allows for v7 UUIDs to be created. Thanks davidbarsky for your first contribution!
v7 feature allows for v7 UUIDs to be created. Thanks davidbarsky for your first contribution!Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.
For schemars integration, automatic replacement support with typify and progenitor via the new x-rust-type extension.
typify and progenitor via the new x-rust-type extension.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.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> f
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.
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.
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
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.
Added the following implementations:
Added the following implementations:
AsRef<[u8]> for TypedUuid<T>.From<TypedUuid<T>> for Vec<u8>.Added the following implementations:
AsRef<[u8]> for TypedUuid<T>.From<TypedUuid<T>> for Vec<u8>.Updated MSRV in readme.
Updated MSRV in readme.
New, optional feature proptest1 enables support for generating random instances of UUIDs. Currently, v4 UUIDs are always generated.
proptest1 enables support for generating random instances of UUIDs. Currently, v4 UUIDs are always generated.Add a Default implementation for TypedUuid. This implementation resolves to TypedUuid::nil().
Default implementation for TypedUuid. This implementation resolves
to TypedUuid::nil().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
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.
Correct doc for as_untyped_uuid. Thanks @Dr-Emann for your first contribution!
TypedUuid::nil() and max() constructors.
TypedUuid::nil() and max() constructors.TypedUuid is now #[repr(transparent)].GenericUuid::to_generic_uuid has been renamed to GenericUuid::into_generic_uuid.
GenericUuid::to_generic_uuid has been renamed to GenericUuid::into_generic_uuid.#[must_use] annotations to constructors.TypedUuidTag::try_new returns a new TagError type rather than just a raw &'static str.
TypedUuidTag::try_new returns a new TagError type rather than just a raw &'static str.TypedUuidTag::as_str is now a const fn.Documentation improvements.
Documentation improvements.
TypedUuidTags are now required to be valid ASCII identifiers, with hyphens also supported.
TypedUuidTags are now required to be valid ASCII identifiers, with hyphens also supported.#[forbid(unsafe_code)]. Thanks Robert Lynch for the contribution!Initial release, with the impl_typed_uuid_kinds macro.
Initial release, with the impl_typed_uuid_kinds macro.
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →