Skip to content

2.3.0

Choose a tag to compare

@mdomke mdomke released this 21 Mar 13:08
· 33 commits to main since this release
2.3.0
76f9741

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