Skip to content

Releases: daegalus/dart-uuid

4.5.1

26 Sep 13:44
1af5c28
Compare
Choose a tag to compare

Changelog

  • Add UuidValue.fromNamespace to let you make constant variants of the namespace, as due to language limitations on Enums, Namespace.*.uuidValue can't be constant.
  • Added isV#(), isNil(), and isMax() functions to UuidValue for matching Dart standards.

Full Changelog: 4.5.0...4.5.1

4.5.0

30 Aug 19:28
Compare
Choose a tag to compare

Changelog

  • Change to CryptoRNG by default, you will now need to use MathRNG explicitly if you want speed over security. (thanks @Rexios80)
  • Deprecate the use of Uuid.NAMESPACE* and UuidV5.NAMESPACE, and switch to using a proper const enum for this. (thanks @bymoye)
    • These will be removed once sufficient time has been made for the deprecation notice to be seen. Most likely v5.0.
    • Please use the new Namespace enum in enums.dart.
  • Re-add Uuid.NAMESPACE* and UuidV5.NAMESPACE in order to give deprecation time.
  • Add missing MAX UUID option from RFC9562
  • Add bytes getter to Namespace enum.
  • [PARTIAL BREAKING CHANGE] Namespace is now an enum, and the entries are now of the Namespace type. They all have a value function to return the internal string

What's Changed

  • remove multiple individually defined Namespaces and use enumerations instead by @bymoye in #122
  • Always use CryptoRNG as the default by @Rexios80 in #126

New Contributors

Full Changelog: 4.4.2...4.5.0

4.4.2

11 Jul 19:08
db18117
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.4.1...4.4.2

4.4.1

10 Jul 05:31
Compare
Choose a tag to compare

v4.4.1

  • Fix UUIDv1 to use millisecondsSinceEpoch instead of microsecondsSinceEpoch. Matches UUIDv6 and passes vector tests. (#119)

What's Changed

New Contributors

Full Changelog: 4.4.0...4.4.1

4.4.0

08 Apr 18:24
Compare
Choose a tag to compare
  • Fix MathRNG with Seed being recreated on each use, generating the same list of bytes. (thanks @showband)
  • Fix UUIDv5 UTF8 inconsistencies. (thanks @vjamrich)
  • Use static state storage for random number generator to prevent MathRNG issue.
  • Replace V1, v6, V7, V8 MathRNG preventively, the issue didn't exhibit there due to other factors in the UUID generation (primarily time, and clockseq)

What's Changed

  • fixed MathRNG - it now uses the initial seed properly by @showband in #109
  • Fix V5 UUID inconsistencies when using UTF-8 characters by @vjamrich in #112

New Contributors

Full Changelog: 4.3.3...4.4.0

4.3.3

11 Jan 06:04
Compare
Choose a tag to compare

v4.3.3

  • Fix UUIDv7 in Javascript
    • Using bitshifts on anything over 32bits get truncated. Switched to a more naive solution for now. Hopefully dart2wasm fixes things.
  • Remove unnecessary _randomData() functions
  • Add fixnum package to handle issues in v6, time, and javascript.

Full Changelog: 4.3.2...4.3.3

4.3.2

10 Jan 05:24
Compare
Choose a tag to compare
  • Added toFormattedString() to UuidValue to handle cases where the UUID used has no hyphens but you wnt them for output.
  • Changed constraint for meta to 1.10.0 to not conflict with flutter_test

Full Changelog: 4.3.1...4.3.2

4.3.1

12 Dec 22:12
Compare
Choose a tag to compare

Full Changelog: 4.3.0...4.3.1

4.3.0

12 Dec 22:04
Compare
Choose a tag to compare

Full Changelog: 4.2.2...4.3.0

4.2.2

12 Dec 21:49
Compare
Choose a tag to compare

Full Changelog: 4.2.1...4.2.2