diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dd15afa..f9937c64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,15 @@ -v2.5.0 - [unreleased] +v2.5.0 - Released July 11, 2018 + * Add new pagination classes based on JSON:API query parameter *recommendations*: * `JsonApiPageNumberPagination` and `JsonApiLimitOffsetPagination`. See [usage docs](docs/usage.md#pagination). - * Deprecates `PageNumberPagination` and `LimitOffsetPagination`. -* Add `ReadOnlyModelViewSet` extension with prefetch mixins. + * 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 comparision preserving +* 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](http://jsonapi.org/format/#document-resource-object-attributes). - * `JSON_API_FORMAT_KEYS` still works as before (formating all json value keys also nested) but is marked as deprecated. + * `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` v2.4.0 - Released January 25, 2018 diff --git a/rest_framework_json_api/__init__.py b/rest_framework_json_api/__init__.py index b9631b00..e30504ed 100644 --- a/rest_framework_json_api/__init__.py +++ b/rest_framework_json_api/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __title__ = 'djangorestframework-jsonapi' -__version__ = '2.4.0' +__version__ = '2.5.0' __author__ = '' __license__ = 'MIT' __copyright__ = ''