All Versions
13
Latest Version
Avg Release Cycle
161 days
Latest Release
299 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v3.1.0 Changes
August 18, 2025 -
v3.0.0 Changes
October 11, 2024🔄 Changed
- Raise
TypeErrorinstead ofValueErrorif constructor is called with value of wrong type. - ⚡️ Update
rufflinter rules and switch tohatch fmt.
➕ Added
- ➕ Added ULID.parse()-method, which allows creating a ULID-instance from an arbitrary supported input value. @perrotuerto #29
🛠 Fixed
- 📚 Documentation bug in the example of ULID.milliseconds() @tsugumi-sys #30
- Raise
-
v2.7.0 Changes
October 11, 2024 -
v2.6.0 Changes
May 25, 2024🔄 Changed
- ✅ Use stricter validation when a ULID value from user input. When using ULID.from_str() we will check if the characters match the base32 alphabet. In general, it is ensured that the timestamp part of the ULID is not out of range.
-
v2.5.0 Changes
May 25, 2024🔄 Changed
- Generate a more accurate JSON schema with Pydantic’s
BaseModel.model_json_schema(). This includes a specification for string and byte representations.
- Generate a more accurate JSON schema with Pydantic’s
-
v2.4.0 Changes
April 02, 2024➕ Added
- ✅ ULID objects are now properly serialized when used as Pydantic types @Avihais12344 #21
Internal
-
v2.3.0 Changes
March 21, 2024➕ Added
- ✅ ULID objects can now be converted to bytes with
bytes(ulid). - ✅ The Pydantic v2 protocol is now supported, so that the ULID class can be directly used as type annotations in Pydantic models
🔄 Changed
- ✅ The type annotations have been adapted, so that the classmethod constructors properly reflect the type for ULID subclasses. Thanks to @johnpaulett #9
- 🐎 Use
time.time_ns()when generatingULIDs for improved performance #16 #12
- ✅ ULID objects can now be converted to bytes with
-
v2.2.0 Changes
September 21, 2023➕ Added
- ➕ Added a new flag
--uuid4to the CLIshowcommand, that converts the providedULID
into an RFC 4122 compliantUUID. 🏗 The
ulid buildcommand allows the use of the special value-for all options to read its
inputs fromstdin. E.g.$ date --iso-8601|python -m ulid build --from-datetime - 01HAT9PVR02T3S13XB48S7GEHE
- ➕ Added a new flag
-
v2.1.0 Changes
September 21, 2023➕ Added
- The new method
ULID.to_uuid4can be used to create an RFC 4122 compliantUUIDfrom
an existingULID#5.
🔄 Changed
- The
validate_types-decorator that is used for allULID.from_*-methods to check type
👍 correctness at runtime has now better support for type hints.
Thanks to @johnpaulett
- The new method
-
v2.0.0 Changes
September 20, 2023