github encode/django-rest-framework 3.16.0
v3.16.0

7 days ago

This release is considered a significant release to improve upstream support with Django and Python. Some of these may change the behaviour of existing features and pre-existing behaviour. Specifically, some fixes were added to around the support of UniqueConstraint with nullable fields which will improve built-in serializer validation.

Features

  • Add official support for Django 5.1 and its new LoginRequiredMiddleware in #9514 and #9657
  • Add official Django 5.2a1 support in #9634
  • Add support for Python 3.13 in #9527 and #9556
  • Support Django 2.1+ test client JSON data automatically serialized in #6511 and fix a regression in #9615

Bug fixes

  • Fix unique together validator to respect condition's fields from UniqueConstraint in #9360
  • Fix raising on nullable fields part of UniqueConstraint in #9531
  • Fix unique_together validation with source in #9482
  • Added protections to AttributeError raised within properties in #9455
  • Fix get_template_context to handle also lists in #9467
  • Fix "Converter is already registered" deprecation warning. in #9512
  • Fix noisy warning and accept integers as min/max values of DecimalField in #9515
  • Fix usages of open() in setup.py in #9661

Translations

  • Add some missing Chinese translations in #9505
  • Fix spelling mistakes in Farsi language were corrected in #9521
  • Fixing and adding missing Brazilian Portuguese translations in #9535

Removals

  • Remove support for Python 3.8 in #9670
  • Remove long deprecated code from request wrapper in #9441
  • Remove deprecated AutoSchema._get_reference method in #9525

Documentation and internal changes

  • Provide tests for hashing of OperandHolder in #9437
  • Update documentation: Add adrf third party package in #9198
  • Update tutorials links in Community contributions docs in #9476
  • Fix usage of deprecated Django function in example from docs in #9509
  • Move path converter docs into a separate section in #9524
  • Add test covering update view without queryset attribute in #9528
  • Fix Transifex link in #9541
  • Fix example httpie call in docs in #9543
  • Fix example for serializer field with choices in docs in #9563
  • Remove extra <> in validators example in #9590
  • Update strftime link in the docs in #9624
  • Switch to codecov GHA in #9618
  • Add note regarding availability of the action attribute in 'Introspecting ViewSet actions' docs section in #9633
  • Improved description of allowed throttling rates in documentation in #9640
  • Add rest-framework-gm2m-relations package to the list of 3rd party libraries in #9063
  • Fix a number of typos in the test suite in the docs in #9662
  • Add django-pyoidc as a third party authentication library in #9667

New Contributors

Full Changelog: 3.15.2...3.16.0

Don't miss a new django-rest-framework release

NewReleases is sending notifications on new releases.