Version 0.12.0
-
Support encoding
setandfrozensetsubclasses (#249). -
Support encoding/decoding
typing.NewTypetypes (#251). -
Allow creating a
msgspec.Rawobject from astr(#252). -
Add new experimental
msgspec.inspectmodule 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
extrafield tomsgspec.Meta, for storing arbitrary user-defined metadata (#255). -
Improved performance for JSON encoding strings (#256).