From 3a79062af5227ef82f3afc4a776494a1a60741cb Mon Sep 17 00:00:00 2001 From: Oliver Sauder Date: Wed, 16 Apr 2025 20:15:53 +0400 Subject: [PATCH] Added support for Django REST framework 3.16 --- CHANGELOG.md | 9 +++++++-- README.rst | 2 +- docs/getting-started.md | 2 +- setup.py | 2 +- tox.ini | 6 +++--- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1825191..7a6ae7e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,16 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Note that in line with [Django REST framework policy](https://www.django-rest-framework.org/topics/release-notes/), any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change. -## [unreleased] +## [Unreleased] + +### Added + +* Added support for Django REST framework 3.16. ### Removed * Removed support for Python 3.8. +* Removed support for Django REST framework 3.14. ## [7.1.0] - 2024-10-25 -This is the last release supporting Python 3.8. +This is the last release supporting Python 3.8 and Django REST framework 3.14. ### Fixed diff --git a/README.rst b/README.rst index 83d5d7ab..21b2e3f0 100644 --- a/README.rst +++ b/README.rst @@ -94,7 +94,7 @@ Requirements 1. Python (3.9, 3.10, 3.11, 3.12, 3.13) 2. Django (4.2, 5.0, 5.1) -3. Django REST framework (3.14, 3.15) +3. Django REST framework (3.15, 3.16) We **highly** recommend and only officially support the latest patch release of each Python, Django and REST framework series. diff --git a/docs/getting-started.md b/docs/getting-started.md index 1799337b..461419c7 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -53,7 +53,7 @@ like the following: 1. Python (3.9, 3.10, 3.11, 3.12, 3.13) 2. Django (4.2, 5.0, 5.1) -3. Django REST framework (3.14, 3.15) +3. Django REST framework (3.15, 3.16) We **highly** recommend and only officially support the latest patch release of each Python, Django and REST framework series. diff --git a/setup.py b/setup.py index 779d00c1..de61b0d1 100755 --- a/setup.py +++ b/setup.py @@ -106,7 +106,7 @@ def get_package_data(package): }, install_requires=[ "inflection>=0.5.0", - "djangorestframework>=3.14", + "djangorestframework>=3.15", "django>=4.2", ], extras_require={ diff --git a/tox.ini b/tox.ini index 504a9d2e..45a4e20b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = - py{39,310,311,312}-django42-drf{314,315,master}, - py{310,311,312}-django{50,51}-drf{314,315,master}, + py{39,310,311,312}-django42-drf{315,316,master}, + py{310,311,312}-django{50,51}-drf{315,316,master}, py313-django51-drf{master}, black, docs, @@ -12,8 +12,8 @@ deps = django42: Django>=4.2,<4.3 django50: Django>=5.0,<5.1 django51: Django>=5.1,<5.2 - drf314: djangorestframework>=3.14,<3.15 drf315: djangorestframework>=3.15,<3.16 + drf316: djangorestframework>=3.16,<3.17 drfmaster: https://github.com/encode/django-rest-framework/archive/master.zip -rrequirements/requirements-testing.txt -rrequirements/requirements-optionals.txt