Skip to content

Commit 1314576

Browse files
committed
Prep for 0.17.0 release
1 parent 473d6d3 commit 1314576

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

docs/source/changelog.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,39 @@ Changelog
33

44
.. currentmodule:: msgspec
55

6+
Version 0.17.0 (2023-07-11)
7+
---------------------------
8+
9+
- Ensure ``None`` may be explicitly passed to `defstruct` for
10+
``module``/``namespace``/``bases`` (:pr:`445`).
11+
- Support decoding `datetime.datetime` values from ``int``/``float`` values
12+
(interpreted as seconds since the Unix epoch) when ``strict=False``
13+
(:pr:`452`).
14+
- Support subclasses of collection types (``list``, ``dict``, ...) as inputs to
15+
`convert` (:pr:`453`).
16+
- Support ``str`` subclasses as keys in `to_builtins` and all protocol
17+
``encode`` methods (:pr:`454`).
18+
- Improved performance when JSON encoding `decimal.Decimal` values (:pr:`455`).
19+
- Improved performance when JSON encoding ``int``/``float`` values (:pr:`458`).
20+
- Improved performance when JSON encoding ``str`` values (:pr:`459`).
21+
- Wrap errors in ``dec_hook`` with a `ValidationError` (:pr:`460`).
22+
- Support decoding `decimal.Decimal` values from numeric values (:pr:`463`)
23+
- Support encoding `decimal.Decimal` values as numeric values (:pr:`465`).
24+
- Support converting `decimal.Decimal` values to ``float`` in `convert`
25+
(:pr:`466`).
26+
- Preliminary support for CPython 3.12 beta releases (:pr:`467`).
27+
- Support decoding integers that don't fit into an ``int64``/``uint64``
28+
(:pr:`469`).
29+
- Add a new optional ``__post_init__`` method for `Struct` types (:pr:`470`).
30+
- Support decoding ``0``/``1`` into ``bool`` types when ``strict=False``
31+
(:pr:`471`).
32+
- Wrap errors raised in ``__post_init__``/``__attrs_post_init__`` in a
33+
`ValidationError` when decoding (:pr:`472`).
34+
- Add native support for encoding/decoding `datetime.timedelta` types
35+
(:pr:`475`).
36+
- Add a new `msgspec.json.Encoder.encode_lines` method for encoding an iterable
37+
of values as newline-delimited JSON (:pr:`479`).
38+
639
Version 0.16.0 (2023-06-12)
740
---------------------------
841

0 commit comments

Comments
 (0)