Sourced from uuid's releases.
4.0.0
What's Changed
- Provide constants for RFC4122 namespaces in UuidValue by
@âSpencerCin daegalus/dart-uuid#85- Fix classes to be properly const by
@âdaegalusin daegalus/dart-uuid#88- Fix #89 v7: Uint64List not supported by dart2js. and v6: Uint64 accessor not supported by dart2js. by
@âhambergerplsin daegalus/dart-uuid#90- check the length of the Uint8list returned by the custom RNG by
@âwph144in daegalus/dart-uuid#91- toBytes no longer validates by
@âErhannisin daegalus/dart-uuid#92New Contributors
@âSpencerCmade their first contribution in daegalus/dart-uuid#85@âhambergerplsmade their first contribution in daegalus/dart-uuid#90@âwph144made their first contribution in daegalus/dart-uuid#91@âErhannismade their first contribution in daegalus/dart-uuid#92All changes since v3.0.7
v4.0.0
- toBytes on UuidValue now does not validate by default, but has the option
validatethat 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
RNGabstract 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
Uuidclass now takes aGlobalOptionsclass instead of aMap<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
optionsparameter 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.
... (truncated)
Sourced from uuid's changelog.
v4.0.0
- toBytes on UuidValue now does not validate by default, but has the option
validatethat 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
@âwph44)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
RNGabstract 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
Uuidclass now takes aGlobalOptionsclass instead of aMap<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
optionsparameter 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, andvariantfunctions to UuidValuev3.0.7
- Fixed parse to allow buffers larger than 16 bytes to be used. [Thanks
@âhoylen]
e67b968 Fix SDK constraints13da889 Update docs8b0ada2 Prep for 4.0.0 release3416381 Added validate option to toBytes. Also ran dart format, because of git CI fail.8a49c14 Revert "Made fromByteList and fromList match" - turns out it wasn'tc2dd584 Made fromByteList and fromList match14cb91c toBytes no longer validates54ccdce Cleanup and regenerate docs06e425a Cleanup and version bumpca2bf53 check the length of the Uint8list returned by the custom RNG