This release fixes a few bugs, clean-up some old code paths for unsupported Python versions and improve translations.
Minor changes
- Cleanup optional backports.zoneinfodependency and conditions on unsupported Python 3.8 and lower in #9681. Python versions prior to 3.9 were already unsupported so this isn't considered as a breaking change.
Bug fixes
- Fix regression in unique_togethervalidation withSerializerMethodFieldin #9712
- Fix UniqueTogetherValidatorto handle fields withsourceattribute in #9688
- Drop HTML line breaks on long headers in browsable API in #9438
Translations
- Add Kazakh locale support in #9713
- Update translations for Korean translations in #9571
- Update German translations in #9676
- Update Chinese translations in #9675
- Update Arabic translations-sal in #9595
- Update Persian translations in #9576
- Update Spanish translations in #9701
- Update Turkish Translations in #9749
- Fix some typos in Brazilian Portuguese translations in #9673
Documentation
- Removed reference to GitHub Issues and Discussions in #9660
- Add drf-restwindand update outdated images inbrowsable-api.mdin #9680
- Updated funding page to represent current scope in #9686
- Fix broken Heroku JSON Schema link in #9693
- Update Django documentation links to use stable version in #9698
- Expand docs on unique constraints cause 'required=True' in #9725
- Revert extension back from djangorestframework-guardian2todjangorestframework-guardianin #9734
- Add note to tutorial about required requestin serializer context when usingHyperlinkedModelSerializerin #9732
Internal changes
- Update GitHub Actions to use Ubuntu 24.04 for testing in #9677
- Update test matrix to use Django 5.2 stable version in #9679
- Add pyupgradetopre-commithooks in #9682
- Fix test with Django 5 when pytzis available in #9715
New Contributors
- @araggohnxd made their first contribution in #9673
- @mbeijen made their first contribution in #9660
- @stefan6419846 made their first contribution in #9676
- @ren000thomas made their first contribution in #9675
- @ulgens made their first contribution in #9682
- @bukh-sal made their first contribution in #9595
- @rezatn0934 made their first contribution in #9576
- @Rohit10jr made their first contribution in #9693
- @kushibayev made their first contribution in #9713
- @alihassancods made their first contribution in #9732
- @kulikjak made their first contribution in #9715
- @Natgho made their first contribution in #9749
Full Changelog: 3.16.0...3.16.1