@@ -3,6 +3,25 @@ Changelog
3
3
4
4
.. currentmodule :: msgspec
5
5
6
+ Version 0.10.0 (2022-12-07)
7
+ ---------------------------
8
+
9
+ - Add ``forbid_unknown_fields `` configuration option to `Struct ` types (:pr: `210 `)
10
+ - **BREAKING **: Encode all `enum ` types by value, rather than name (:pr: `211 `)
11
+ - Fix a bug in the JSON encoder when base64 encoding binary objects (:pr: `217 `)
12
+ - Add support for encoding/decoding `dataclasses ` (:pr: `218 `)
13
+ - Add support for encoding/decoding `datetime.date ` objects (:pr: `221 `)
14
+ - Add support for encoding/decoding `uuid.UUID ` objects (:pr: `222 `)
15
+ - **BREAKING **: support encoding/decoding `datetime.datetime ` values without
16
+ timezones by default (:pr: `224 `).
17
+ - Add a ``tz `` :doc: `constraint <constraints >` to require aware or naive
18
+ datetime/time objects when decoding (:pr: `224 `).
19
+ - Add support for encoding/decoding `datetime.time ` objects (:pr: `225 `)
20
+ - Add a `msgspec.json.format ` utility for efficiently pretty-printing already
21
+ encoded JSON documents (:pr: `226 `).
22
+ - Support decoding JSON from strings instead of just bytes-like objects
23
+ (:pr: `229 `)
24
+
6
25
Version 0.9.1 (2022-10-27)
7
26
--------------------------
8
27
@@ -71,9 +90,9 @@ Version 0.7.0 (2022-06-20)
71
90
- Fix ARM support and publish ARM wheels for Linux and Mac (:pr: `104 `).
72
91
- Reduce published wheel sizes by stripping debug symbols (:pr: `113 `).
73
92
- Fix a memory leak in ``Struct.__reduce__ `` (:pr: `117 `).
74
- - Rename ``nogc `` struct option to ``gc `` (a breaking change) . To disable GC on
75
- a Struct instance you now want to specify ``gc=False `` instead of
76
- `` nogc=True `` (:pr: `124 `).
93
+ - ** BREAKING **: Rename ``nogc `` struct option to ``gc ``. To disable GC on a
94
+ Struct instance you now want to specify ``gc=False `` instead of `` nogc=True ``
95
+ (:pr: `124 `).
77
96
78
97
79
98
Version 0.6.0 (2022-04-06)
@@ -119,8 +138,7 @@ Version 0.5.0 (2022-03-09)
119
138
and call ``decoder.decode `` multiple times, but for struct types the overhead
120
139
of calling the top-level function is decreased significantly (:pr: `77 `,
121
140
:pr: `88 `).
122
- - Rename the Struct option ``asarray `` to ``array_like `` (a breaking change)
123
- (:pr: `85 `).
141
+ - **BREAKING **: Rename the Struct option ``asarray `` to ``array_like `` (:pr: `85 `).
124
142
125
143
126
144
Version 0.4.2 (2022-02-28)
0 commit comments