Skip to content

Commit 8472902

Browse files
committed
Release 0.10.0
1 parent f9825e9 commit 8472902

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

docs/source/changelog.rst

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@ Changelog
33

44
.. currentmodule:: msgspec
55

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+
625
Version 0.9.1 (2022-10-27)
726
--------------------------
827

@@ -71,9 +90,9 @@ Version 0.7.0 (2022-06-20)
7190
- Fix ARM support and publish ARM wheels for Linux and Mac (:pr:`104`).
7291
- Reduce published wheel sizes by stripping debug symbols (:pr:`113`).
7392
- 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`).
7796

7897

7998
Version 0.6.0 (2022-04-06)
@@ -119,8 +138,7 @@ Version 0.5.0 (2022-03-09)
119138
and call ``decoder.decode`` multiple times, but for struct types the overhead
120139
of calling the top-level function is decreased significantly (:pr:`77`,
121140
: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`).
124142

125143

126144
Version 0.4.2 (2022-02-28)

0 commit comments

Comments
 (0)