Update dependency djangorestframework to v3.16.0

This MR contains the following updates:

Package Update Change
djangorestframework (source, changelog) minor ==3.15.2 -> ==3.16.0

Release Notes

encode/django-rest-framework (djangorestframework)

v3.16.0

Compare Source

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: https://github.com/encode/django-rest-framework/compare/3.15.2...3.16.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading