cattrs v1.10.0 Release Notes
Release Date: 2022-01-04 // over 2 years ago-
- ➕ Add PEP 563 (string annotations) support for dataclasses.
(
#195 <https://github.com/python-attrs/cattrs/issues/195>
_) - 🛠 Fix handling of dictionaries with string Enum keys for bson, orjson, and tomlkit.
- Rename the
cattr.gen.make_dict_unstructure_fn.omit_if_default
parameter to_cattrs_omit_if_default
, for consistency. Theomit_if_default
parameters toGenConverter
andoverride
are unchanged. - 📦 Following the changes in
attrs
21.3.0, add acattrs
package mirroring the existingcattr
package. Both package names may be used as desired, and thecattr
package isn't going away.
- ➕ Add PEP 563 (string annotations) support for dataclasses.
(