Skip to content

v2.0.0

Compare
Choose a tag to compare
@jerel jerel released this 29 Apr 18:37

Since v2.0.0-beta.2

  • Fixed bug where write_only fields still had their keys rendered
  • Exception handler can now easily be used on DRF-JA views alongside regular DRF views
  • Added get_related_field_name for views subclassing RelationshipView to override
  • Renamed JSON_API_FORMAT_RELATION_KEYS to JSON_API_FORMAT_TYPES to match what it was actually doing
  • Renamed JSON_API_PLURALIZE_RELATION_TYPE to JSON_API_PLURALIZE_TYPES
  • Documented ResourceRelatedField and RelationshipView
  • Added LimitOffsetPagination
  • Support deeply nested ?includes=foo.bar.baz without returning intermediate models (bar)
  • Allow a view's serializer_class to be fetched at runtime via get_serializer_class
  • Added support for get_root_meta on list serializers

Before v2.0.0-beta.2

  • Pretty much everything.

This package started life as rest_framework_ember before jsonapi.org existed. v2.0.0 is the first release after the name change and JSON API compatibility.