Releases: encode/django-rest-framework
Releases ยท encode/django-rest-framework
Version 3.14.0
- Django 2.2 is no longer supported. #8662
- Django 4.1 compatibility. #8591
- Add
--api-version
CLI option togenerateschema
management command. #8663 - Enforce
is_valid(raise_exception=False)
as a keyword-only argument. #7952 - Stop calling
set_context
on Validators. #8589 - Return
NotImplemented
fromErrorDetails.__ne__
. #8538 - Don't evaluate
DateTimeField.default_timezone
when a custom timezone is set. #8531 - Make relative URLs clickable in Browseable API. #8464
- Support
ManyRelatedField
falling back to the default value when the attribute specified by dot notation doesn't exist. MatchesManyRelatedField.get_attribute
toField.get_attribute
. #7574 - Make
schemas.openapi.get_reference
public. #7515 - Make
ReturnDict
supportdict
union operators on Python 3.9 and later. #8302 - Update throttling to check if
request.user
is set before checking if the user is authenticated. #8370
Version 3.13.1
- Revert schema naming changes with function based
@api_view
. #8297
Version 3.13.0
- Django 4.0 compatability. #8178
- Add
max_length
andmin_length
options toListSerializer
. #8165 - Add
get_request_serializer
andget_response_serializer
hooks toAutoSchema
. #7424 - Fix OpenAPI representation of null-able read only fields. #8116
- Respect
UNICODE_JSON
setting in API schema outputs. #7991 - Fix for
RemoteUserAuthentication
. #7158 - Make Field constructors keyword-only. #7632
3.12.4
version 3.12.4
Version 3.9.3
This is the last Django REST Framework release that will support Python 2.
Be sure to upgrade to Python 3 before upgrading to Django REST Framework 3.10.
- Adjusted the compat check for django-guardian to allow the last guardian
version (v1.4.9) compatible with Python 2. #6613
Version 3.9.2
See Release Notes for details.
Version 3.9.1
Verision 3.9.0
Release announcement:
https://www.django-rest-framework.org/community/3.9-announcement/
Change Notes:
https://www.django-rest-framework.org/community/release-notes/#39x-series
Version 3.8.2
Version 3.8.1
-
Use old
url_name
behavior in route decorators #5915For
list_route
anddetail_route
maintain the old behavior ofurl_name
,
basing it on theurl_path
instead of the function name.