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.
- Released version 0.3.1 with
ip-fallback
feature includingpnet_datalink
dependency.
- Implemented error handling for missing
machine_id
anddata_center_id
when theip-fallback
feature is disabled.- The
Builder
'sfinalize
method now returns an error ifmachine_id
ordata_center_id
are not provided and theip-fallback
feature is not enabled. - This change ensures that users receive clear error messages when necessary identifiers are missing without the fallback mechanism.
- The
- Updated the version in
Cargo.toml
to0.3.0
.
- Modified GitHub Actions configuration to support running on branches matching
feature/**
.- This update enhances the development workflow by allowing CI runs on feature branches.
- Split machine ID into 8 bits for machine ID and 8 bits for data center ID.
- Added
data_center_id
field toSharedSnowflake
andBuilder
. - Added
data_center_id
toDecomposedSnowflake
.
- Modified
next_id
method to use newmachine_id
anddata_center_id
. - Updated
decompose
function to handle newdata_center_id
.
- Removed support for 16-bit machine ID.
This is the initial version.