python-ulid v2.3.0 Release Notes

Release Date: 2024-03-21 // about 2 years ago
  • ➕ 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 generating ULIDs for improved performance #16 #12