Releases: encode/django-rest-framework
Releases ยท encode/django-rest-framework
Version 3.15.1
What's Changed
- Update the message to be consistent with the Django `HttpResponseBaโฆ by @maycuatroi in #9287
- Make
inflection
package truly optional by @browniebroke in #9303 - Fix broken links in release notes for 3.15 by @browniebroke in #9305
- TokenAdmin.autocomplete_fields Breaks Some Use Cases, Revert by @alexdlaird in #9301
- Add drf-sendables to third-party-packages.md by @amikrop in #9261
- Revert "feat: Add some changes to ValidationError to support django style vadโฆ" by @auvipy in #9326
- Revert "Re-prefetch related objects after updating" by @auvipy in #9327
- Revert #8863 by @tomchristie in #9330
- Revert #8009 by @tomchristie in #9332
- Revert #9030 by @tomchristie in #9333
- Revert "Fix NamespaceVersioning ignoring DEFAULT_VERSION on non-None namespaces" by @auvipy in #9335
SearchFilter.get_search_terms
returns list. by @tomchristie in #9338- Version 3.15.1 by @tomchristie in #9339
New Contributors
- @maycuatroi made their first contribution in #9287
- @alexdlaird made their first contribution in #9301
Full Changelog: 3.15.0...3.15.1
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