@@ -3,6 +3,35 @@ Changelog
33
44.. currentmodule :: msgspec
55
6+ Version 0.19.0 (2024-12-27)
7+ ---------------------------
8+
9+ - Improve JSON encoding performance by up to 40% (:pr: `647 `).
10+ - Ensure `tuple ` and `frozenset ` default values are treated identically whether
11+ specified by value or ``default_factory `` (:pr: `653 `).
12+ - Fix memory leak of ``match_args `` in ``StructConfig `` object (:pr: `684 `).
13+ - Fix memory leak in ``Raw.copy() `` (:pr: `709 `).
14+ - Update ``decode `` signatures for PEP 688 (:pr: `740 `).
15+ - Generate ``__replace__ `` method on ``Struct `` types, for use with
16+ `copy.replace ` (:pr: `747 `).
17+ - Fix incorrect decoding of certain > 64 bit integers (:pr: `751 `).
18+ - Call ``__post_init__ `` when converting from an object to a Struct
19+ (:pr: `752 `).
20+ - **BREAKING **: Expand buffer when ``encode_into `` is passed a buffer smaller
21+ than ``offset `` (:pr: `753 `).
22+ - Support `Raw ` objects as inputs to `convert ` (:pr: `754 `).
23+ - Error nicely when a dataclass *type * (instead of an *instance *) is passed to
24+ ``encode `` (:pr: `755 `).
25+ - Drop support for Python 3.8 (:pr: `756 `, :pr: `763 `).
26+ - Add support for Python 3.13 (:pr: `711 `).
27+ - Remove deprecated ``from_builtins `` (:pr: `761 `).
28+ - Support encoding any ``Enum `` type whose ``.value `` is a supported type
29+ (:pr: `757 `).
30+ - Don't fail eagerly when processing generic types with unsupported
31+ ``__parameters__ `` (:pr: `772 `).
32+ - Use ``eval_type_backport `` to backport type annotations to Python 3.9
33+ (:pr: `773 `).
34+
635Version 0.18.6 (2024-01-21)
736---------------------------
837
0 commit comments