[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().
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.
v4.3.2
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
v4.3.1
Add additional optional parameters for parseing and validation for the new noDashes flag.
v4.3.0
Update SDK constraints to >= 3.0.0
Update Meta package to 1.11.0
[PARTIAL BREAKING CHANGE] Changing MathRNG implementation to use 4 nextints, instead of 16 for optimization to match CryptoRNG. This will affect regenerating the same UUID from the same seed.
If you need the old behavior, please use MathRNGDeprecated() instead.
v4.2.2
Fix CryptoRNG on Web generating a random number 0 always
Add NoDashes support to the validator so that it validates UUIDs that don't have dashes but are otherwise valid.
v4.2.1
Lower meta dependency to 1.9.1 so that it is compatible with Flutter Stable 3.13
v4.2.0
[BREAKING CHANGE] Deprecate default/empty UuidValue constructor because it has a different behavior from the 3.x package version. (Thanks @davidmartos96)
Use UuidValue.fromString() instead, which has the same behavior. If you need to define a const UuidValue you can use UuidValue.raw(), but making sure the value is lowercase.
Mark UuidValue as experimental with an annotation. (Thanks @Kaival-Patel)
v4.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().
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 @wph44)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps uuid from 3.0.7 to 4.3.3.
Release notes
Sourced from uuid's releases.
... (truncated)
Changelog
Sourced from uuid's changelog.
... (truncated)
Commits
5e3538c
Update docs273b77d
Fix javascript 32bit truncation issue with time and other fixes.31994e7
readme and changelog6e15876
docsaeed565
toFormattedString and meta constraint8e9c07c
Update Docs73de7f3
More ways to pass NoDashes54e0f11
4.3.0 docs update974b459
Change MathRNG internal loop, and update SDK constraintsde13354
4.2.2 docsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show