Skip to content

v2.0.2

Choose a tag to compare

@fenying fenying released this 22 Jul 14:01
· 4 commits to master since this release
v2.0.2
1c0dd85

CHANGES

  • fix(algo): snowflake/snowflake-si class should not reset sequence to 0 avoiding sequence overflow.

    To ensure the randomness of the generated IDs, the sequence number must keep increasing even if the time is
    changed. Thus an additional counter will be used to track the quantity of IDs generated in the same millisecond.

Full Changelog: v2.0.1...v2.0.2