All Versions
12
Latest Version
Avg Release Cycle
91 days
Latest Release
63 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.18.0 Changes
August 10, 2023- ➕ Add a new
msgspec.json.Decoder.decode_linesmethod for decoding newline-delimited JSON into a list of values (#485). - 👌 Support for decoding UUIDs from binary values (#499).
- 👌 Support for encoding UUIDs in alternate formats (#499).
- 👍 Overhaul how dataclasses are encoded to support more dataclass-like objects (#501).
- Encode all declared fields on a dataclass (#501).
- 👌 Support encoding
edgedb.Objectinstances as dataclass-like objects (#501). - 👌 Improve performance when json decoding
floatvalues (#510). - 👌 Support for JSON encoding dicts with
floatkeys (#510). - 👌 Support for JSON decoding dicts with
floatkeys (#510). - ➕ Add
float_hooktomsgspec.json.Decoderto support changing the default for how JSON floats are decoded (#511).
- ➕ Add a new
-
v0.17.0 Changes
July 12, 2023- Ensure
Nonemay be explicitly passed todefstructformodule/namespace/bases(#445). - 👌 Support decoding
datetime.datetimevalues fromint/floatvalues (interpreted as seconds since the Unix epoch) whenstrict=False(#452). - 👌 Support subclasses of collection types (
list,dict, ...) as inputs toconvert(#453). - 👌 Support
strsubclasses as keys into_builtinsand all protocolencodemethods (#454). - 👌 Improved performance when JSON encoding
decimal.Decimalvalues (#455). - 👌 Improved performance when JSON encoding
int/floatvalues (#458). - 👌 Improved performance when JSON encoding
strvalues (#459). - Wrap errors in
dec_hookwith aValidationError(#460). - 👌 Support decoding
decimal.Decimalvalues from numeric values (#463) - 👌 Support encoding
decimal.Decimalvalues as numeric values (#465). - 👌 Support converting
decimal.Decimalvalues tofloatinconvert(#466). - 🚀 Preliminary support for CPython 3.12 beta releases (#467).
- 👌 Support decoding integers that don't fit into an
int64/uint64(#469). - Add a new optional
__post_init__method forStructtypes (#470). - 👌 Support decoding
0/1intobooltypes whenstrict=False(#471). - Wrap errors raised in
__post_init__/__attrs_post_init__in aValidationErrorwhen decoding (#472). - ➕ Add native support for encoding/decoding
datetime.timedeltatypes (#475). - ➕ Add a new
msgspec.json.Encoder.encode_linesmethod for encoding an iterable of values as newline-delimited JSON (#479).
- Ensure