Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 607 Bytes

CHANGELOG.md

File metadata and controls

30 lines (20 loc) · 607 Bytes

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 from cuid() and cuidSecure()

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 type int Function()? instead of Function?

3.1.0

  • fix fingerprinting on web
  • increase min SDK version from 2.12.0 to 2.14.0