You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@ any parts of the framework not mentioned in the documentation should generally b
13
13
### Added
14
14
15
15
* 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.
0 commit comments