Skip to content

v2.5.0

Compare
Choose a tag to compare
@sliverc sliverc released this 11 Jul 14:39
· 465 commits to main since this release
2619f45
  • Add new pagination classes based on JSON:API query parameter recommendations:
    • JsonApiPageNumberPagination and JsonApiLimitOffsetPagination. See usage docs.
    • Deprecates PageNumberPagination and LimitOffsetPagination
  • Add ReadOnlyModelViewSet extension with prefetch mixins
  • Add support for Django REST Framework 3.8.x
  • Introduce JSON_API_FORMAT_FIELD_NAMES option replacing JSON_API_FORMAT_KEYS but in comparison preserving
    values from being formatted as attributes can contain any json value.
    • JSON_API_FORMAT_KEYS still works as before (formatting all json value keys also nested) but is marked as deprecated
  • Performance improvement when rendering included data
  • Allow overwriting of get_queryset() in custom ResourceRelatedField