Skip to content

Releases: uuid-rs/uuid

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)

Const fns are here

23 May 19:14
Compare
Choose a tag to compare

Additions:

  • Const Uuid::from_bytes added (#218)
  • Backport u128 support (#238)

Dependency Updates:

  • serde & serde-test to 1.0.56 (#240)
  • cfg_if fixed to min 0.1.2

Feature Gates:

  • const_fn feature gate added (#232)

Collaborators:

Introducing: The Prelude

15 Apr 09:55
Compare
Choose a tag to compare

Additions:

  • UUID Prelude added (#177) (refactored in #193)
  • Allow compatibility with rust playgrounds - play.integer32.com and play.rust-lang.org (#189)

Refactors:

  • slog implementation (#185) and test (#182) uuid creation functions moved to seperate modules

Create uuid from random bytes

20 Mar 22:43
Compare
Choose a tag to compare

Changelog:

  • from_random_bytes added as a workaround for making rand public (#172)

Other miscellaneous changes (non-public):

  • copy_memory_function removed and replaced with copy_from_slice (#175)
  • cfg-if to create logical feature gate implementations (#167)
  • templates for issues & PRs. So please use them while creating issues/PRs (#162)