Update dependency uuid to v4 #68

Open
renovatebot wants to merge 1 commit from renovate/uuid-4.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
uuid dependencies major ^3.0.7 -> ^4.0.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

Daegalus/dart-uuid (uuid)

v4.5.1

Compare Source

Changelog

  • Add UuidValue.fromNamespace to let you make constant variants of the namespace, as due to language limitations on Enums, Namespace.*.uuidValue can't be constant.
  • Added isV#(), isNil(), and isMax() functions to UuidValue for matching Dart standards.

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.5.0...4.5.1

v4.5.0

Compare Source

Changelog

  • Change to CryptoRNG by default, you will now need to use MathRNG explicitly if you want speed over security. (thanks @​Rexios80)
  • Deprecate the use of Uuid.NAMESPACE* and UuidV5.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 Namespace enum in enums.dart.
  • Re-add Uuid.NAMESPACE* and UuidV5.NAMESPACE in order to give deprecation time.
  • Add missing MAX UUID option from RFC9562
  • Add bytes getter to Namespace enum.
  • [PARTIAL BREAKING CHANGE] Namespace is now an enum, and the entries are now of the Namespace type. They all have a value function to return the internal string

What's Changed

New Contributors

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.4.2...4.5.0

v4.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.4.1...4.4.2

v4.4.1

Compare Source

v4.4.1

  • Fix UUIDv1 to use millisecondsSinceEpoch instead of microsecondsSinceEpoch. Matches UUIDv6 and passes vector tests. (#​119)

What's Changed

New Contributors

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.4.0...4.4.1

v4.4.0

Compare Source

  • Fix MathRNG with Seed being recreated on each use, generating the same list of bytes. (thanks @​showband)
  • Fix UUIDv5 UTF8 inconsistencies. (thanks @​vjamrich)
  • Use static state storage for random number generator to prevent MathRNG issue.
  • Replace V1, v6, V7, V8 MathRNG preventively, the issue didn't exhibit there due to other factors in the UUID generation (primarily time, and clockseq)

What's Changed

New Contributors

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.3.3...4.4.0

v4.3.3

Compare Source

v4.3.3

  • Fix UUIDv7 in Javascript
    • 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.

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.3.2...4.3.3

v4.3.2

Compare Source

  • 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

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.3.1...4.3.2

v4.3.1

Compare Source

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.3.0...4.3.1

v4.3.0

Compare Source

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.2.2...4.3.0

v4.2.2

Compare Source

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.2.1...4.2.2

v4.2.1

Compare Source

What's Changed

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.2.0...4.2.1

v4.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/daegalus/dart-uuid/compare/4.1.0...4.2.0

v4.1.0

Compare Source

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: https://github.com/daegalus/dart-uuid/compare/4.0.0...4.1.0

v4.0.0

Compare Source

What's Changed

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: https://github.com/daegalus/dart-uuid/compare/3.0.4...4.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [uuid](https://github.com/Daegalus/dart-uuid) | dependencies | major | `^3.0.7` -> `^4.0.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Daegalus/dart-uuid (uuid)</summary> ### [`v4.5.1`](https://github.com/daegalus/dart-uuid/releases/tag/4.5.1) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.5.0...4.5.1) #### Changelog - Add `UuidValue.fromNamespace` to let you make constant variants of the namespace, as due to language limitations on Enums, `Namespace.*.uuidValue` can't be constant. - Added `isV#()`, `isNil()`, and `isMax()` functions to `UuidValue` for matching Dart standards. **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.5.0...4.5.1 ### [`v4.5.0`](https://github.com/daegalus/dart-uuid/releases/tag/4.5.0) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.4.2...4.5.0) #### Changelog - Change to CryptoRNG by default, you will now need to use MathRNG explicitly if you want speed over security. (thanks [@&#8203;Rexios80](https://github.com/Rexios80)) - This also works around a regression in the Dart SDK on WASM targets: https://github.com/dart-lang/sdk/issues/56609 - Deprecate the use of `Uuid.NAMESPACE*` and `UuidV5.NAMESPACE`, and switch to using a proper const enum for this. (thanks [@&#8203;bymoye](https://github.com/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 `Namespace` enum in `enums.dart`. - Re-add `Uuid.NAMESPACE*` and `UuidV5.NAMESPACE` in order to give deprecation time. - Add missing MAX UUID option from RFC9562 - Add `bytes` getter to `Namespace` enum. - **\[PARTIAL BREAKING CHANGE]** `Namespace` is now an enum, and the entries are now of the `Namespace` type. They all have a `value` function to return the internal `string` #### What's Changed - remove multiple individually defined Namespaces and use enumerations instead by [@&#8203;bymoye](https://github.com/bymoye) in https://github.com/daegalus/dart-uuid/pull/122 - Always use `CryptoRNG` as the default by [@&#8203;Rexios80](https://github.com/Rexios80) in https://github.com/daegalus/dart-uuid/pull/126 #### New Contributors - [@&#8203;bymoye](https://github.com/bymoye) made their first contribution in https://github.com/daegalus/dart-uuid/pull/122 - [@&#8203;Rexios80](https://github.com/Rexios80) made their first contribution in https://github.com/daegalus/dart-uuid/pull/126 **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.4.2...4.5.0 ### [`v4.4.2`](https://github.com/daegalus/dart-uuid/releases/tag/4.4.2) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.4.1...4.4.2) #### What's Changed - fix: downgrade meta dependency by [@&#8203;techouse](https://github.com/techouse) in https://github.com/daegalus/dart-uuid/pull/121 #### New Contributors - [@&#8203;techouse](https://github.com/techouse) made their first contribution in https://github.com/daegalus/dart-uuid/pull/121 **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.4.1...4.4.2 ### [`v4.4.1`](https://github.com/daegalus/dart-uuid/releases/tag/4.4.1) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.4.0...4.4.1) #### v4.4.1 - Fix UUIDv1 to use millisecondsSinceEpoch instead of microsecondsSinceEpoch. Matches UUIDv6 and passes vector tests. ([#&#8203;119](https://github.com/Daegalus/dart-uuid/issues/119)) #### What's Changed - Update renovate.json by [@&#8203;daegalus](https://github.com/daegalus) in https://github.com/daegalus/dart-uuid/pull/114 - Update All (major) by [@&#8203;renovate](https://github.com/renovate) in https://github.com/daegalus/dart-uuid/pull/115 - Update dependency lints to v4 by [@&#8203;renovate](https://github.com/renovate) in https://github.com/daegalus/dart-uuid/pull/116 #### New Contributors - [@&#8203;renovate](https://github.com/renovate) made their first contribution in https://github.com/daegalus/dart-uuid/pull/115 **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.4.0...4.4.1 ### [`v4.4.0`](https://github.com/daegalus/dart-uuid/releases/tag/4.4.0) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.3.3...4.4.0) - Fix MathRNG with Seed being recreated on each use, generating the same list of bytes. (thanks [@&#8203;showband](https://github.com/showband)) - Fix UUIDv5 UTF8 inconsistencies. (thanks [@&#8203;vjamrich](https://github.com/vjamrich)) - Use static state storage for random number generator to prevent MathRNG issue. - Replace V1, v6, V7, V8 MathRNG preventively, the issue didn't exhibit there due to other factors in the UUID generation (primarily time, and clockseq) #### What's Changed - fixed MathRNG - it now uses the initial seed properly by [@&#8203;showband](https://github.com/showband) in https://github.com/daegalus/dart-uuid/pull/109 - Fix V5 UUID inconsistencies when using UTF-8 characters by [@&#8203;vjamrich](https://github.com/vjamrich) in https://github.com/daegalus/dart-uuid/pull/112 #### New Contributors - [@&#8203;showband](https://github.com/showband) made their first contribution in https://github.com/daegalus/dart-uuid/pull/109 - [@&#8203;vjamrich](https://github.com/vjamrich) made their first contribution in https://github.com/daegalus/dart-uuid/pull/112 **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.3.3...4.4.0 ### [`v4.3.3`](https://github.com/daegalus/dart-uuid/releases/tag/4.3.3) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.3.2...4.3.3) ### v4.3.3 - Fix UUIDv7 in Javascript - 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. **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.3.2...4.3.3 ### [`v4.3.2`](https://github.com/daegalus/dart-uuid/releases/tag/4.3.2) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.3.1...4.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` **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.3.1...4.3.2 ### [`v4.3.1`](https://github.com/daegalus/dart-uuid/releases/tag/4.3.1) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.3.0...4.3.1) **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.3.0...4.3.1 ### [`v4.3.0`](https://github.com/daegalus/dart-uuid/releases/tag/4.3.0) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.2.2...4.3.0) **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.2.2...4.3.0 ### [`v4.2.2`](https://github.com/daegalus/dart-uuid/releases/tag/4.2.2) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.2.1...4.2.2) **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.2.1...4.2.2 ### [`v4.2.1`](https://github.com/daegalus/dart-uuid/releases/tag/4.2.1) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.2.0...4.2.1) #### What's Changed - Fix meta minimum dependency by [@&#8203;davidmartos96](https://github.com/davidmartos96) in https://github.com/daegalus/dart-uuid/pull/102 **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.2.0...4.2.1 ### [`v4.2.0`](https://github.com/daegalus/dart-uuid/releases/tag/4.2.0) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.1.0...4.2.0) #### What's Changed - Faster CryptoRNG by [@&#8203;rkistner](https://github.com/rkistner) in https://github.com/daegalus/dart-uuid/pull/97 - Deprecation warning in default UuidValue constructor by [@&#8203;davidmartos96](https://github.com/davidmartos96) in https://github.com/daegalus/dart-uuid/pull/99 - :sparkles: Added [@&#8203;experimental](https://github.com/experimental) annotation by [@&#8203;Kaival-Patel](https://github.com/Kaival-Patel) in https://github.com/daegalus/dart-uuid/pull/100 #### New Contributors - [@&#8203;rkistner](https://github.com/rkistner) made their first contribution in https://github.com/daegalus/dart-uuid/pull/97 - [@&#8203;davidmartos96](https://github.com/davidmartos96) made their first contribution in https://github.com/daegalus/dart-uuid/pull/99 - [@&#8203;Kaival-Patel](https://github.com/Kaival-Patel) made their first contribution in https://github.com/daegalus/dart-uuid/pull/100 **Full Changelog**: https://github.com/daegalus/dart-uuid/compare/4.1.0...4.2.0 ### [`v4.1.0`](https://github.com/daegalus/dart-uuid/releases/tag/4.1.0) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/4.0.0...4.1.0) ### 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**: https://github.com/daegalus/dart-uuid/compare/4.0.0...4.1.0 ### [`v4.0.0`](https://github.com/daegalus/dart-uuid/releases/tag/4.0.0) [Compare Source](https://github.com/Daegalus/dart-uuid/compare/3.0.7...4.0.0) #### What's Changed - Provide constants for RFC4122 namespaces in UuidValue by [@&#8203;SpencerC](https://github.com/SpencerC) in https://github.com/daegalus/dart-uuid/pull/85 - Fix classes to be properly const by [@&#8203;daegalus](https://github.com/daegalus) in https://github.com/daegalus/dart-uuid/pull/88 - Fix [#&#8203;89](https://github.com/Daegalus/dart-uuid/issues/89) v7: Uint64List not supported by dart2js. and v6: Uint64 accessor not supported by dart2js. by [@&#8203;hambergerpls](https://github.com/hambergerpls) in https://github.com/daegalus/dart-uuid/pull/90 - check the length of the Uint8list returned by the custom RNG by [@&#8203;wph144](https://github.com/wph144) in https://github.com/daegalus/dart-uuid/pull/91 - toBytes no longer validates by [@&#8203;Erhannis](https://github.com/Erhannis) in https://github.com/daegalus/dart-uuid/pull/92 #### New Contributors - [@&#8203;SpencerC](https://github.com/SpencerC) made their first contribution in https://github.com/daegalus/dart-uuid/pull/85 - [@&#8203;hambergerpls](https://github.com/hambergerpls) made their first contribution in https://github.com/daegalus/dart-uuid/pull/90 - [@&#8203;wph144](https://github.com/wph144) made their first contribution in https://github.com/daegalus/dart-uuid/pull/91 - [@&#8203;Erhannis](https://github.com/Erhannis) made their first contribution in https://github.com/daegalus/dart-uuid/pull/92 #### 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 [@&#8203;Erhannis](https://github.com/Erhannis)) ##### v4.0.0-beta3-1 - Ensure that any custom RNG implementation produces Uint8Lists of length 16. (Thanks [@&#8203;wph144](https://github.com/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 [@&#8203;hambergerpls](https://github.com/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**: https://github.com/daegalus/dart-uuid/compare/3.0.4...4.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40Mi4zIiwidXBkYXRlZEluVmVyIjoiNDAuNDIuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: flutter/pubspec.lock
Command failed: flutter pub upgrade uuid
Because flutter_hbb depends on flutter_rust_bridge 1.80.1 which depends on uuid ^3.0.6, uuid ^3.0.6 is required.
So, because flutter_hbb depends on uuid ^4.0.0, version solving failed.


You can try one of the following suggestions to make the pubspec resolve:
* Try upgrading your constraint on flutter_rust_bridge: flutter pub add flutter_rust_bridge:^1.82.6
* Consider downgrading your constraint on uuid: flutter pub add uuid:^3.0.7
Failed to update packages.

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: flutter/pubspec.lock ``` Command failed: flutter pub upgrade uuid Because flutter_hbb depends on flutter_rust_bridge 1.80.1 which depends on uuid ^3.0.6, uuid ^3.0.6 is required. So, because flutter_hbb depends on uuid ^4.0.0, version solving failed. You can try one of the following suggestions to make the pubspec resolve: * Try upgrading your constraint on flutter_rust_bridge: flutter pub add flutter_rust_bridge:^1.82.6 * Consider downgrading your constraint on uuid: flutter pub add uuid:^3.0.7 Failed to update packages. ```
renovatebot force-pushed renovate/uuid-4.x from 75f696ca2f
Some checks failed
renovate/artifacts Artifact file update failure
to 82f40b86e6
Some checks failed
renovate/artifacts Artifact file update failure
2025-06-06 00:30:25 +00:00
Compare
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
test-actions/rustdesk!68
No description provided.