Skip to content

Version 0.12.0

Compare
Choose a tag to compare
@jcrist jcrist released this 05 Jan 19:26
· 320 commits to main since this release
  • Support encoding set and frozenset subclasses (#249).

  • Support encoding/decoding typing.NewType types (#251).

  • Allow creating a msgspec.Raw object from a str (#252).

  • Add new experimental msgspec.inspect module for inspecting type annotations. This is intended to be used for building downstream tooling based on msgspec-compatible types. See the docs for more information (#253).

  • Add new extra field to msgspec.Meta, for storing arbitrary user-defined metadata (#255).

  • Improved performance for JSON encoding strings (#256).