From d3fd8bb15c39a7822205f9621e1317f6d59915cf Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 4 Sep 2019 12:38:23 +0100 Subject: [PATCH 1/2] Version 3.10.3 --- docs/community/release-notes.md | 20 ++++++++++++++++++++ rest_framework/__init__.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index e3f3820d3a..a53b2d7cbb 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -40,6 +40,26 @@ You can determine your currently installed version using `pip show`: ## 3.10.x series +### 3.10.3 + +**Date**: 4th September 2019 + +* TODO + +### 3.10.2 + +**Date**: 29th July 2019 + +* Various `OpenAPI` schema fixes. +* Ability to specify urlconf in include_docs_urls. + +### 3.10.1 + +**Date**: 17th July 2019 + +* Don't include autocomplete fields on TokenAuth admin, since it forces constraints on custom user models & admin. +* Require `uritemplate` for OpenAPI schema generation, but not `coreapi`. + ### 3.10.0 **Date**: [15th July 2019][3.10.0-milestone] diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index 6a64c8b18b..4d4225c964 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -8,7 +8,7 @@ """ __title__ = 'Django REST framework' -__version__ = '3.10.1' +__version__ = '3.10.3' __author__ = 'Tom Christie' __license__ = 'BSD 2-Clause' __copyright__ = 'Copyright 2011-2019 Encode OSS Ltd' From 5ffa04196e1a0553406327b4c030dc5eb1def002 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 4 Sep 2019 14:14:20 +0100 Subject: [PATCH 2/2] Version 3.10.3 release notes --- docs/community/release-notes.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index a53b2d7cbb..cdaa350447 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -42,7 +42,16 @@ You can determine your currently installed version using `pip show`: ### 3.10.3 -**Date**: 4th September 2019 +* Include API version in OpenAPI schema generation, defaulting to empty string. +* Add pagination properties to OpenAPI response schemas. +* Add missing "description" property to OpenAPI response schemas. +* Only include "required" for non-empty cases in OpenAPI schemas. +* Fix response schemas for "DELETE" case in OpenAPI schemas. +* Use an array type for list view response schemas. +* Use consistent `lowerInitialCamelCase` style in OpenAPI operation IDs. +* Fix `minLength`/`maxLength`/`minItems`/`maxItems` properties in OpenAPI schemas. +* Only call `FileField.url` once in serialization, for improved performance. +* Fix an edge case where throttling calcualtions could error after a configuration change. * TODO