Skip to content

Commit

Permalink
Release version 3.2.0 (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliverc authored Aug 25, 2020
1 parent 959aec7 commit 9c49b65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,18 @@ 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.2.0] - 2020-08-26

### Added

* Added support for serializing nested serializers as attribute json value introducing setting `JSON_API_SERIALIZE_NESTED_SERIALIZERS_AS_ATTRIBUTE`
* Note: As keys of nested serializers are not json api spec field names they are not inflected by format field names option.

### Fixed

* Avoid `AttributeError` for PUT and PATCH methods when using `APIView`
* Clear many-to-many relationships instead of deleting related objects during PATCH on `RelationshipView`
* Allow POST, PATCH, DELETE for actions in `ReadOnlyModelViewSet`. It was problematic since 2.8.0.
* Allow POST, PATCH, DELETE for actions in `ReadOnlyModelViewSet`. Regression since version `2.8.0`.
* Properly format nested errors

### Changed
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_json_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

__title__ = 'djangorestframework-jsonapi'
__version__ = '3.1.0'
__version__ = '3.2.0'
__author__ = ''
__license__ = 'BSD'
__copyright__ = ''
Expand Down

0 comments on commit 9c49b65

Please sign in to comment.