Changelog
- Change to CryptoRNG by default, you will now need to use MathRNG explicitly if you want speed over security. (thanks @Rexios80)
- This also works around a regression in the Dart SDK on WASM targets: dart-lang/sdk#56609
- Deprecate the use of
Uuid.NAMESPACE*andUuidV5.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
Namespaceenum inenums.dart.
- Re-add
Uuid.NAMESPACE*andUuidV5.NAMESPACEin order to give deprecation time. - Add missing MAX UUID option from RFC9562
- Add
bytesgetter toNamespaceenum. - [PARTIAL BREAKING CHANGE]
Namespaceis now an enum, and the entries are now of theNamespacetype. They all have avaluefunction to return the internalstring
What's Changed
- remove multiple individually defined Namespaces and use enumerations instead by @bymoye in #122
- Always use
CryptoRNGas the default by @Rexios80 in #126
New Contributors
Full Changelog: 4.4.2...4.5.0