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
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.