cuid2 3.0.0
cuid2: ^3.0.0 copied to clipboard
A dart implementaion of the secure, collision-resistant ids optimized for horizontal scaling and performance (v2).
1.0.0 #
- Initial version.
2.0.0 #
- Add
cuidConfig()
for more customizability. - Example:
Function myCounter(int start) {
return () => start += 5;
}
final cc = cuidConfig(counter: myCounter(0));
final id = cc.gen();
- [BREAKING] remove
entropyLength
param fromcuid()
andcuidSecure()
3.0.0 #
- refactor code and bring it up to cuid2,js v2.2.0
- add more tests
- [POSSIBLE BREAKING CHANGE]
counter
parameter function is now of typeint Function()?
instead ofFunction?