Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Rollback conversion to integers

Compare
Choose a tag to compare
@mattkingshott mattkingshott released this 17 Jan 15:02
· 27 commits to main since this release

This is a major release owing to a breaking change in the snowflake() global helper. In version 1, this converted the generated string into an integer. While fine for PHP, some languages such as JavaScript, don't support 64-bit integers and will truncate them. In order to prevent this, Snowflakes should exist as strings (even though they are integers).

The helper now returns a string.