Skip to content

Commit bb672e4

Browse files
authored
Fixes #821 (#826)
Clarify potential issue in changelog through introduction of `rest_framework_json_api.serializers.Serializer` class.
1 parent 45d4224 commit bb672e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ any parts of the framework not mentioned in the documentation should generally b
1313
### Added
1414

1515
* Added support for serializing nested serializers as attribute json value introducing setting `JSON_API_SERIALIZE_NESTED_SERIALIZERS_AS_ATTRIBUTE`
16-
* Note: As keys of nested serializers are not json api spec field names they are not inflected by format field names option.
16+
* Note: As keys of nested serializers are not json:api spec field names they are not inflected by format field names option.
17+
* Added `rest_framework_json_api.serializer.Serializer` class to support initial JSON API views without models.
18+
* Note that serializers derived from this class need to define `resource_name` in their `Meta` class.
19+
* This fix might be a **BREAKING CHANGE** if you use `rest_framework_json_api.serializers.Serializer` for non json:api spec views (usually `APIView`). You need to change those serializers classes to use `rest_framework.serializers.Serializer` instead.
1720

1821
### Fixed
1922

0 commit comments

Comments
 (0)