- Dropped Python 2.6 support
- Added Python 3 support
- The new version is compatible with Django 1.11 - 3.2, DRF 3.5 - 3.12
- The new version is compatible with Django < 1.12 and DRF < 3.6.0
- Add validation of serialized data to ensure dict-ness
- Fix bug when saving properties if no properties were passed to the serializer
- Introduced NestedPropertySerializer class, which should be used for nested properties case.
- Fixed wrong write for nested properties case.
- New version for DRF 3.x
- Support validation on property updates
- Support validation on property creation
- Fix update for the case when self.object is an empty queryset
- Move JSON serialization to
from_native
method
- Support JSON properties
- Handle edge cases when object might be
None
indata
andfield_to_native
attributes ofPropertySerializer
(those cases occur when browsable APIs are used).
- Rename
PropertiesSerializer
toPropertySerializer
andNestedPropertiesSerializer
toNestedPropertySerializer
- because we usually use resource names in singular form.
- Initial version. Fix
_options_class
forNestedPropertiesSerializer