From 28c1103dcd2738b537e717546099072ea5584572 Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Fri, 7 Feb 2020 22:49:19 +0400 Subject: [PATCH] Release version 3.1.0 --- CHANGELOG.md | 8 ++++---- rest_framework_json_api/__init__.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b2b34f9..f2dc90b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Note that in line with [Django REST Framework policy](http://www.django-rest-framework.org/topics/release-notes/), any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change. -## [Unreleased] +## [3.1.0] - 2020-02-08 ### Added @@ -18,10 +18,10 @@ any parts of the framework not mentioned in the documentation should generally b ### Fixed -* Ensure that `409 Conflict` is returned when processing a `PATCH` request in which the resource object’s type and id do not match the server’s endpoint properly as outlined in [JSON:API](https://jsonapi.org/format/#crud-updating-responses-409) spec. +* Ensured that `409 Conflict` is returned when processing a `PATCH` request in which the resource object’s type and id do not match the server’s endpoint as outlined in [JSON:API](https://jsonapi.org/format/#crud-updating-responses-409) spec. * Properly return parser error when primary data is of invalid type -* Pass instance to child serializer when `PolymorphicModelSerializer` inits it in `to_internal_value` -* Handle serialization of related resources on inherited polymorphic models that are absent on the base model +* Pass instance to child serializers when using `PolymorphicModelSerializer` +* Properly resolve related resource type when using `PolymorphicModelSerializer` ## [3.0.0] - 2019-10-14 diff --git a/rest_framework_json_api/__init__.py b/rest_framework_json_api/__init__.py index 619fd5ad..a15ece29 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__ = '3.0.0' +__version__ = '3.1.0' __author__ = '' __license__ = 'BSD' __copyright__ = ''