pypi djangorestframework-dataclasses 0.7
djangorestframework-dataclasses v0.7

latest releases: 1.1.1, 1.1.0, 1.0.0...
3 years ago

Breaking changes:

  • The validated_data representation now contains the rest_framework.fields.empty sentinel value for fields where no value was provided, instead of the default of the dataclass field. The value returned by save() 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 list and dict typehints.
  • Support final fields (PEP 591).
  • Support auto-generation for list or dictionaries of Any or variable type.
  • Set default max_digits and decimal_places for DecimalField.
  • Improved error message when automatic field type deduction fails.

Don't miss a new djangorestframework-dataclasses release

NewReleases is sending notifications on new releases.