pypi / djangorestframework-jsonapi
djangorestframework-jsonapi
What changed in djangorestframework-jsonapi 8 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-29.
12 breaking2 deprecations1 new APIs and options1 behavior and defaults12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdjangorestframework-jsonapi 915 changes
Breaking changes 6
Add IncludedResourcesFilter to DEFAULT_FILTER_BACKENDS to retain included-resource validation and prefetching behavior.
The minimum required django-filter version is now 25.1; the newest version is recommended.
Exposing Polymorphic resources through django-polymorphic as JSON:API endpoints is no longer supported.
Support for Django REST framework 3.15 and 3.16 was removed.
Support for Django 4.2 and 5.1 was removed.
Support for Python 3.9 and 3.10 was removed.
Deprecations 1
This mixin is deprecated; use IncludedResourcesFilter as a filter backend instead.
New APIs and options 1
Included-resource validation and prefetching moved to this filter class; add it to DEFAULT_FILTER_BACKENDS so validation runs before prefetching and avoids unnecessary database queries.
Behavior and default changes 1
The HTTP status code is now always added to the error object.
Fixes and other changes 6
The exception code is always added to the error object when set.
Support was added for Django 6.0 and 6.1.
Support was added for Django REST framework 3.17 and 3.18.
Empty responses carrying error codes are now allowed, such as returning Response(status=400) in a view.
None validation errors, such as AuthenticationFailed, are now rendered correctly.
Support was added for Python 3.15.
djangorestframework-jsonapi 813 changes
Breaking changes 6
This is the final release supporting Python 3.9 and 3.10, Django 4.2 and 5.1, and Django REST framework 3.15 and 3.16.
Support for Django 5.0 was removed.
Support for Django REST framework 3.14 was removed.
Built-in support for generating OpenAPI schemas was removed; the notes recommend drf-spectacular-json-api instead.
The minimum required version of the optional package is now 4.0.0.
Support for Python 3.8 was removed.
Deprecations 1
Support for exposing Polymorphic resources as JSON:API endpoints through django-polymorphic is deprecated, with no replacement currently available.
Fixes and other changes 6
Responses now include an empty included array when the include query parameter is present but no related resources exist.
Added support for Python 3.14.
Added support for Django REST framework 3.16.
Added support for Django 5.2.
The sparse fieldset's fields query parameter fully supports JSON_API_FORMAT_FIELD_NAMES.
The compound documents' include query parameter fully supports JSON_API_FORMAT_FIELD_NAMES.