Comments (4)
I should add that the consequence of removing the shuffle also for when a seed
has been given to UuidUtil.mathRNG
is that the generated UUID for a given seed is no longer the same as before my suggested patch. If backward compatibility is important, we can add the shuffle again for this case.
from dart-uuid.
This is fantastic, and thank you for taking the time to dig this info up and relay the information. I don't believe I am concerned about backwards compatibility for 3.x since i did a lot of breaking changes already. This also primarily powers v4 numbers, which are primarily used for completely random UUIDs every time. Seeds are rarely used with v4 in production use-cases.
I am ok with the consequences. I will be honest, I have made changes that changed the UUID outputs for v4 in the past. I am currently focused on work stuff, but I will merge this and create a release in a few hours.
Again, thank you very much for the PR and figuring this out, this is good info to know.
from dart-uuid.
Thanks for the fast response. 👍
And just take the time. This is not really that urgent. I just stumbled into this implementation and was kinda puzzled about the shuffle and the reasons behind it. :)
from dart-uuid.
Just released 3.0.1 with your fix. Thanks again!
from dart-uuid.
Related Issues (20)
- 4.2.0 version is incompatible with flutter 3.13 HOT 2
- Problem after updating to latest version with CryptoRNG HOT 7
- dev dependencies not compatible to flutter 3.3.10 stable HOT 3
- Parsing UUID v4 without hyphens HOT 7
- web version timestamp truncated HOT 5
- 4.3.1 version is incompatible with flutter 3.16 HOT 3
- Execution failed for task ':app:mergeExtDexDebug'. after installing uuid 4.3.3 HOT 2
- A bug in generateInternal() method in MathRNG class HOT 2
- Duplicate UUIDs - V5 inconsistencies when using UTF8/Unicode characters HOT 3
- Action Required: Fix Renovate Configuration
- .toString() results in "instance of 'Uuid'" instead of a string representation of the value HOT 1
- Duplicate values for UUIDv4 HOT 10
- About the time of UUIDv1 generation HOT 7
- uuid v4.4.1 meta dependency too high for Flutter v3.22
- Dependency conflict while running on flutter 3.13.3
- Same UUIDs generated every run when compiled to WASM HOT 3
- Removal of `UuidValue.nil`, get a const nil UUID HOT 7
- Add convenient getters to the UUIDValue class to check the version of the UUID HOT 2
- @experimental annotation on UuidValue HOT 2
- UuidValue default constructor breaking behavior HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-uuid.