Version 0.4.0
This is a major release with several large changes:
- Moved MessagePack support to the
msgspec.msgpacksubmodule - New JSON support available in
msgspec.json - Improved error message generation to provide full path to the mistyped values
- Renamed the
immutablekwarg inmsgspec.Structtofrozento better match python conventions - Renamed
EncodingErrortoEncodeError/DecodingErrortoDecodeErrorto better match python conventions - Improved
pyrightsupport, allowing more errors to be statically caught by their type checker - Adds support for Python 3.10 pattern matching on
msgspec.Structtypes - Adds support for decoding into
typing.Uniontypes (with a few restrictions) - General performance improvements across all encoders/decoders