Subject: CVS commit: pkgsrc/www/py-djangorestframework
From: Adam Ciarcinski
Date: 2025-03-30 17:08:13
Message id: 20250330150813.7A0BEFBE1@cvs.NetBSD.org

Log Message:
py-djangorestframework: updated to 3.16.0

3.16.0

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
Add official Django 5.2a1 support
Add support for Python 3.13
Support Django 2.1+ test client JSON data automatically serialized

Bug fixes

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

Translations

Add some missing Chinese translations
Fix spelling mistakes in Farsi language were corrected
Fixing and adding missing Brazilian Portuguese translations

Removals

Remove support for Python 3.8
Remove long deprecated code from request wrapper
Remove deprecated AutoSchema._get_reference method

Documentation and internal changes

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

Files:
RevisionActionfile
1.43modifypkgsrc/www/py-djangorestframework/Makefile
1.31modifypkgsrc/www/py-djangorestframework/distinfo