Skip to content

3.2.0

Compare
Choose a tag to compare
@godruoyi godruoyi released this 30 Apr 13:43
· 1 commit to master since this release
f0dbd16

What's Changed

  • chore: cleanup of tests (testing with swoole on 8.3, removed all warnings) by @jklab in #79
  • chore: make random sequence resolver more random by @godruoyi in #80
    • The default workId and datacenterId will be randomly between 0 and 31 if not set.
    • A more random algorithm is used to generate sequence numbers in the RandomSequenceResolver.

This is a breaking change as we have updated the default behavior when creating a Snowflake instance.

CleanShot 2025-04-30 at 21 43 48@2x

Update your package to version 3.2.0 to apply the change.

Full Changelog: 3.1.1...3.2.0