All notable changes will be documented in this file following the Keep a Changelog format. This project adheres to Semantic Versioning.
0.5.0 - 2024-07-10
- Added support for
$snowflake->toDateTime()
and$snowflake->toCarbon()
which allows you to get the timestamp associated with the ID. - Added
firstForTimestamp($timestamp)
method that lets you create an ID that corresponds to the lowest possible ID at that timestamp (useful for querying) - Added Livewire synths
- Bits no longer follows
Carbon::setTestNow
and instead provides its ownsetTestNow
method (see reasoning). - Added
.gitattributes
to minimize bundle size
0.4.1 - 2024-03-25
0.4.0 - 2024-03-12
0.3.0 - 2024-02-15
- Added a
snowflake_id()
helper method to avoidSnowflake::make()->id()
calls everywhere
- Improved exception message when trying to set epoch to a future date
0.2.0 - 2023-11-13
0.1.1 - 2023-07-09
0.1.0 - 2023-07-05
0.0.4 - 2023-07-03
0.0.3 - 2023-07-03
0.0.2 - 2023-07-02
0.0.1 - 2023-07-02
Added
for new features.Changed
for changes in existing functionality.Deprecated
for soon-to-be removed features.Removed
for now removed features.Fixed
for any bug fixes.Security
in case of vulnerabilities.