djangorestframework-dataclasses v0.7
Breaking changes:
- The
validated_datarepresentation now contains therest_framework.fields.emptysentinel value for fields where no value was provided, instead of the default of the dataclass field. The value returned bysave()is unchanged. This was necessary to support partial updates.
Features & fixes:
- Improved Python 3.9 compatibility.
- Support partial updates.
- Support standard collection generics (PEP 585).
- Support non-generic
listanddicttypehints. - Support final fields (PEP 591).
- Support auto-generation for list or dictionaries of Any or variable type.
- Set default
max_digitsanddecimal_placesforDecimalField. - Improved error message when automatic field type deduction fails.