-
Support encoding
set
andfrozenset
subclasses (#249). -
Support encoding/decoding
typing.NewType
types (#251). -
Allow creating a
msgspec.Raw
object from astr
(#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 tomsgspec.Meta
, for storing arbitrary user-defined metadata (#255). -
Improved performance for JSON encoding strings (#256).