All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.2.0 - 2026-11-03
Added
Snowflakex.decompose/1to split a snowflake into timestamp, machine id and sequence number.Snowflakex.epoch/0andSnowflakex.max_machine_id/0.- Typespecs for the public API.
- Test suite and continuous integration.
Changed
- Requires Elixir 1.15 or later.
- The application now fails to start with a descriptive error when the
:machine_idis missing or out of range. - A restarted worker no longer hands out IDs for the millisecond its predecessor may already have used, preventing duplicate IDs after a crash.
- The package license is declared with its SPDX identifier
Apache-2.0, andLICENSEcontains the full license text. - Rewrote the documentation.
1.1.1 - 2020-07-04
Changed
- Requires Elixir 1.5 or later.
- Updated documentation.
1.1.0 - 2017-02-15
Added
Snowflakex.new!/0, raisingSnowflakex.ClockErrorwhen the system clock moved backwards.
1.0.0 - 2016-12-05
- Initial release.