django-rest-framework/docs/community/3.16-announcement.md
Pravin ade172e1d5
Standardize spelling to American English in documentation (#9804)
* Standardize spelling to American English (only in .md files)

* Update remaining British english spell words to American english style

* Configures the codespell pre-commit hook to enforce US English consistency
changes:
- Activates the `en-GB_to_en-US` built-in dictionary to flag British spellings
- Created codespell-ignore-words.txt file to ignore specific words
- include `code` and `names` for comprehensive typo checking in technical contexts.
- changed the 'lets' to 'let's'.
2025-10-27 22:44:48 +06:00

1.6 KiB

Django REST framework 3.16

At the Internet, on March 28th, 2025, we are happy to announce the release of Django REST framework 3.16.

Updated Django and Python support

The latest release now fully supports Django 5.1 and the upcoming 5.2 LTS as well as Python 3.13.

The current minimum versions of Django is now 4.2 and Python 3.9.

Django LoginRequiredMiddleware

The new LoginRequiredMiddleware introduced by Django 5.1 can now be used alongside Django REST Framework, however it is not honored for API views as an equivalent behavior can be configured via DEFAULT_AUTHENTICATION_CLASSES. See our dedicated section in the docs for more information.

Improved support for UniqueConstraint

The generation of validators for UniqueConstraint has been improved to support better nullable fields and constraints with conditions.

Other fixes and improvements

There are a number of fixes and minor improvements in this release, ranging from documentation, internal infrastructure (typing, testing, requirements, deprecation, etc.), security and overall behavior.

See the release notes page for a complete listing.