Skip to content

Releases: daegalus/dart-uuid

4.2.1

07 Nov 21:49
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.2.0...4.2.1

4.2.0

06 Nov 05:01
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.1.0...4.2.0

4.1.0

25 Sep 22:30
Compare
Choose a tag to compare

4.1.0

  • [BREAKING CHANGE] In order to enforce lowercase strings in UuidValue, I have made the default const constructor private, and added a fromString factory constructor. Please migrate any direct UuidValue() usage to UuidValue.fromString() or UuidValue.withValidation().

Full Changelog: 4.0.0...4.1.0

4.0.0

30 Aug 22:26
Compare
Choose a tag to compare

What's Changed

  • Provide constants for RFC4122 namespaces in UuidValue by @SpencerC in #85
  • Fix classes to be properly const by @daegalus in #88
  • Fix #89 v7: Uint64List not supported by dart2js. and v6: Uint64 accessor not supported by dart2js. by @hambergerpls in #90
  • check the length of the Uint8list returned by the custom RNG by @wph144 in #91
  • toBytes no longer validates by @Erhannis in #92

New Contributors

All changes since v3.0.7

v4.0.0

  • toBytes on UuidValue now does not validate by default, but has the option validate that can be set to true if you need validation when calling it. (Thanks @Erhannis)

v4.0.0-beta3-1

  • Ensure that any custom RNG implementation produces Uint8Lists of length 16. (Thanks @wph144)

v4.0.0-beta3

  • [BREAKING CHANGE] Replacing UuidUtil rng functions with RNG classes.
    • UuidUtil.mathRNG() is replaced with MathRNG().generate().
    • UuidUtil.cryptoRNG() is replaced with CryptoRNG().generate().
    • Custom crypto implementations just need to implement the RNG abstract class.
    • namedArgs and positionalArgs have been removed from GlobalOptions
    • You may use LegacyRNG() if you need to use the old function style RNG.
  • Fix a bug with the usage of Uint64List in Dart2js by not using it. (Thanks @hambergerpls)

v4.0.0-beta2

  • [BREAKING CHANGE] The Uuid class now takes a GlobalOptions class instead of a Map<String, dynamic>.
  • Added options classes to eventually replace the Map parameter.
  • [BREAKING CHANGE] Since v6,v7,v8 are new for 4.0, I have made it so they only take the new options class.
  • Reworked the constructors, and moved state out of the classes. Const is now supported properly again
  • Switched tests to use const Uuid to catch regressions.
  • Set the options parameter in v1, v4, and v5 to deprecated.
  • [BREAKING CHANGE] Make UuidValue properly const also
    • Can no longer run validation on the const variant.
    • Added UuidValue.withValidation() to handle this usecase, it can't be const.
    • If you need const and validation. Create the UuidValue with the UUID, then call the validate() function on it.

v4.0.0-beta1-1

  • Mostly cleanup, linting, updating depedencies, etc.

v4.0.0-beta1

  • Break up versions into individual objects that can be used standalone.
  • No more colliding global states between versions
  • Added UUID v6, v7, v8 from the new RFC.
  • Add time, version, and variant functions to UuidValue

Full Changelog: 3.0.4...4.0.0

4.0.0-beta3-1

06 Apr 05:28
Compare
Choose a tag to compare
4.0.0-beta3-1 Pre-release
Pre-release

What's Changed

  • check the length of the Uint8list returned by the custom RNG by @wph144 in #91

New Contributors

Full Changelog: 4.0.0-beta3...4.0.0-beta3-1

Details

  • Ensure that any custom RNG implementation produces Uint8Lists of length 16. (Thanks @wph44)

4.0.0-beta3

05 Apr 23:00
Compare
Choose a tag to compare
4.0.0-beta3 Pre-release
Pre-release

What's Changed

  • Fix #89 v7: Uint64List not supported by dart2js. and v6: Uint64 accessor not supported by dart2js. by @hambergerpls in #90

New Contributors

Full Changelog: 4.0.0-beta2...4.0.0-beta3

Details

  • [BREAKING CHANGE] Replacing UuidUtil rng functions with RNG classes.
    • UuidUtil.mathRNG() is replaced with MathRNG().generate().
    • UuidUtil.cryptoRNG() is replaced with CryptoRNG().generate().
    • Custom crypto implementations just need to implement the RNG abstract class.
    • namedArgs and positionalArgs have been removed from GlobalOptions
    • You may use LegacyRNG() if you need to use the old function style RNG.
  • Fix a bug with the usage of Uint64List in Dart2js by not using it. (Thanks @hambergerpls)

4.0.0-beta2

31 Mar 06:07
Compare
Choose a tag to compare
4.0.0-beta2 Pre-release
Pre-release

What's Changed

  • Provide constants for RFC4122 namespaces in UuidValue by @SpencerC in #85
  • Fix classes to be properly const by @daegalus in #88

New Contributors

Version diff: 4.0.0-beta1-1...4.0.0-beta2

More Details

  • [BREAKING CHANGE] The Uuid class now takes a GlobalOptions class instead of a Map<String, dynamic>.
  • Added options classes to eventually replace the Map parameter.
  • [BREAKING CHANGE] Since v6,v7,v8 are new for 4.0, I have made it so they only take the new options class.
  • Reworked the constructors, and moved state out of the classes. Const is now supported properly again
  • Switched tests to use const Uuid to catch regressions.
  • Set the options parameter in v1, v4, and v5 to deprecated.
  • [BREAKING CHANGE] Make UuidValue properly const also
    • Can no longer run validation on the const variant.
    • Added UuidValue.withValidation() to handle this usecase, it can't be const.
    • If you need const and validation. Create the UuidValue with the UUID, then call the validate() function on it.

4.0.0-beta1-1

13 Nov 10:55
Compare
Choose a tag to compare
4.0.0-beta1-1 Pre-release
Pre-release
  • Mostly cleanup, linting, updating depedencies, etc.

4.0.0-beta1

13 Nov 09:48
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release
  • Break up versions into individual objects that can be used standalone.
  • No more colliding global states between versions
  • Added UUID v6, v7, v8 from the new Draft RFC (up to Draft 4).
  • Add time, version, and variant functions to UuidValue

3.0.7

13 Nov 09:39
Compare
Choose a tag to compare
  • Fixed parse to allow buffers larger than 16 bytes to be used. [Thanks @hoylen]