Skip to content

Commit 898e59c

Browse files
committed
Update HISTORY
1 parent 308c37a commit 898e59c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

HISTORY.md

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Our backwards-compatibility policy can be found [here](https://github.com/python
1919
([#486](https://github.com/python-attrs/cattrs/pull/486))
2020
- **Minor change**: {py:func}`cattrs.gen.make_dict_structure_fn` will use the value for the `prefer_attrib_converters` parameter from the given converter by default now.
2121
If you're using this function directly, the old behavior can be restored by passing in the desired values explicitly.
22+
([#527](https://github.com/python-attrs/cattrs/issues/527) [#528](https://github.com/python-attrs/cattrs/pull/528))
2223
- Introduce {meth}`BaseConverter.get_structure_hook` and {meth}`BaseConverter.get_unstructure_hook` methods.
2324
([#432](https://github.com/python-attrs/cattrs/issues/432) [#472](https://github.com/python-attrs/cattrs/pull/472))
2425
- {meth}`BaseConverter.register_structure_hook`, {meth}`BaseConverter.register_unstructure_hook`,
@@ -53,6 +54,8 @@ can now be used as decorators and have gained new features.
5354
([#460](https://github.com/python-attrs/cattrs/issues/460) [#467](https://github.com/python-attrs/cattrs/pull/467))
5455
- `typing_extensions.Any` is now supported and handled like `typing.Any`.
5556
([#488](https://github.com/python-attrs/cattrs/issues/488) [#490](https://github.com/python-attrs/cattrs/pull/490))
57+
- `Optional` types can now be consistently customized using `register_structure_hook` and `register_unstructure_hook`.
58+
([#529](https://github.com/python-attrs/cattrs/issues/529) [#530](https://github.com/python-attrs/cattrs/pull/530))
5659
- The BaseConverter now properly generates detailed validation errors for mappings.
5760
([#496](https://github.com/python-attrs/cattrs/pull/496))
5861
- [PEP 695](https://peps.python.org/pep-0695/) generics are now tested.

0 commit comments

Comments
 (0)