Releases: uuid-rs/uuid
Releases · uuid-rs/uuid
uuid 0.8.2: API and feature cleanups
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
to0.7
(#442) - Use
getrandom
instead ofrand
(#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
to0.2.0
(#501) - Improve deserialization error message (#505)
- Update docs on wasm features (#506)
uuid 0.8.1: Docs
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
uuid 0.7.4: Work docs.rs work!!!
uuid 0.7.3: Fast strings
Added
- The
uuid::Error
error type. This is a sumtype ofuuid::BytesError
anduuid::ParseError
.(#373)- Useful when the underlying uuid version and its error types don't matter until an error occurs.
- Add
encode_{lower, upper}
for theuuid::adapter::{ Hyphenated, Simple, Urn }
(#378) - Relatedly, added
uuid::Uuid::encode_buffer
for the buffer used in theencode_{lower,upper}
functions.(#378)
Changes
- Remove the
rand
dependency forv3
andv5
Uuid
s. (#371)
Anyone interested can see the entire diff between 0.7.2
and 0.7.3
here.
uuid 0.7.2: Microsoft love
Added
- Support for
winapi
GUID
s, withguid
feature (#336, #338) - Introduce
Uuid
builder interface (#332) - Support for compact serialization of
uuid::Uuid
and related types withuuid::adapter::compact::{serialize,deserialize)
(#331)- use
serde_derive
's#[serde(with = "uuid::adapter::compact::dense_serde")]
you can for your specific case with attributes.
- use
- Add support for functions that provide uuids in little endian format (#311)
- By default, the internal representation of
uuid::Uuid
s is unspecified. - However all functions returning the bytes are guaranteed to be big endian
- By default, the internal representation of
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
Dependencies
Anyone interested can see the entire diff between 0.7.1
and 0.7.2
here.
Where Did The Links Go?
The Great Refactor Update
We have a transition guide for moving from
uuid 0.6.x
touuid 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
Uuid
s to be constructed from bytes (#270) BytesError
for generalUuid
use when byte slices are involved (#284)
Changes
- Move namespace
Uuid
constants underuuid::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 touuid::Uuid::from_bytes()
(#299) Uuid
prefix removed from structs, enums and functions (#294)
Removed
Dependencies
- Rand to
0.5
(#262)
2018 edition is available. To enable it, use the 2018
branch.
Since 0.7.0-beta
Beta of Major Refactors
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:
Dependencies:
- Rand to 0.5 (#262)
2018 edition is available. To enable it, use the 2018 branch
Const Fn Bug Fix
Fixes:
- Fixes name of the feature in lib.rs (#246)