Skip to content

Commit 9a83d96

Browse files
committed
Update changelog for 0.18.5
1 parent fbb9f22 commit 9a83d96

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/source/changelog.rst

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

44
.. currentmodule:: msgspec
55

6+
Version 0.18.5 (2023-12-12)
7+
---------------------------
8+
9+
- Support unhashable ``Annotated`` metadata in `msgspec.inspect.type_info`
10+
(:pr:`566`).
11+
- Fix bug preventing decoding dataclasses/attrs types with default values and
12+
``slots=True, frozen=True`` (:pr:`569`).
13+
- Support passing parametrized generic struct types to `msgspec.structs.fields`
14+
(:pr:`571`).
15+
- Validate ``str`` constraints on dict keys when decoding msgpack (:pr:`577`).
16+
- Support ``UUID`` subclasses as inputs to `msgspec.convert` (:pr:`592`).
17+
- Call ``__eq__`` from generated ``__ne__`` if user defines manual ``__eq__``
18+
method on a ``Struct`` type (:pr:`593`).
19+
- Include the ``Struct`` type in the generated hash (:pr:`595`).
20+
- Add a ``cache_hash`` struct option (:pr:`596`).
21+
- Fix a bug around caching of dataclass type info when dealing with subclasses
22+
of dataclasses (:pr:`599`).
23+
- Add `msgspec.structs.force_setattr` (:pr:`600`).
24+
- Support custom dict key types in JSON encoder and decoder (:pr:`602`).
25+
- Include ``dict`` key constraints in generated JSON schema via the
26+
``propertyNames`` field (:pr:`604`).
27+
- Add a ``schema_hook`` for generating JSON schemas for custom types (:pr:`605`).
28+
- Add support for Python 3.12's ``type`` aliases (:pr:`606`).
29+
630
Version 0.18.4 (2023-10-04)
731
---------------------------
832

0 commit comments

Comments
 (0)