Skip to content

Releases: encode/django-rest-framework

Version 3.14.0

08 Nov 10:37
Compare
Choose a tag to compare
  • Django 2.2 is no longer supported. #8662
  • Django 4.1 compatibility. #8591
  • Add --api-version CLI option to generateschema management command. #8663
  • Enforce is_valid(raise_exception=False) as a keyword-only argument. #7952
  • Stop calling set_context on Validators. #8589
  • Return NotImplemented from ErrorDetails.__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. Matches ManyRelatedField.get_attribute to Field.get_attribute. #7574
  • Make schemas.openapi.get_reference public. #7515
  • Make ReturnDict support dict 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

08 Nov 10:37
Compare
Choose a tag to compare
  • Revert schema naming changes with function based @api_view. #8297

Version 3.13.0

08 Nov 10:37
7a84dc7
Compare
Choose a tag to compare
  • Django 4.0 compatability. #8178
  • Add max_length and min_length options to ListSerializer. #8165
  • Add get_request_serializer and get_response_serializer hooks to AutoSchema. #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

31 May 07:29
0323d6f
Compare
Choose a tag to compare
version 3.12.4

Version 3.9.3

29 Apr 14:36
Compare
Choose a tag to compare

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

03 Mar 19:23
Compare
Choose a tag to compare

See Release Notes for details.

Version 3.9.1

28 Feb 14:14
453196e
Compare
Choose a tag to compare

Verision 3.9.0

28 Feb 14:14
Compare
Choose a tag to compare

Version 3.8.2

06 Apr 13:43
fb802c0
Compare
Choose a tag to compare

Point release for 3.8.x series

  • Fix read_only + default unique_together validation. #5922
  • authtoken.views import coreapi from rest_framework.compat, not directly. #5921
  • Docs: Add missing argument 'detail' to Route #5920

Version 3.8.1

04 Apr 19:12
bc35345
Compare
Choose a tag to compare
  • Use old url_name behavior in route decorators #5915

    For list_route and detail_route maintain the old behavior of url_name,
    basing it on the url_path instead of the function name.