cattrs v1.5.0 Release Notes

Release Date: 2021-04-15 // about 3 years ago
    • 🛠 Fix an issue with GenConverter unstructuring attrs classes and dataclasses with generic fields. (#65 <https://github.com/python-attrs/cattrs/issues/65>_)
    • GenConverter has support for easy overriding of collection unstructuring types (for example, unstructure all sets to lists) through its unstruct_collection_overrides argument. (#137 <https://github.com/python-attrs/cattrs/pull/137>_)
    • Unstructuring mappings with GenConverter is significantly faster.
    • GenConverter supports strict handling of unexpected dictionary keys through its forbid_extra_keys argument. (#142 <https://github.com/python-attrs/cattrs/pull/142>_)