From 988bc3a89f27e176103617e2667ea2e553be6d04 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Wed, 7 Dec 2022 12:37:44 -0300 Subject: [PATCH 01/68] Release Notes for 3.15 - Add docs/community/3.15-announcement.md - Update docs/community/release-notes.md - Update mkdocs.yml Co-authored-by: Bruno Alla --- docs/community/3.15-announcement.md | 58 ++++++++++++ docs/community/release-notes.md | 136 ++++++++++++++++++++++++++++ mkdocs.yml | 1 + 3 files changed, 195 insertions(+) create mode 100644 docs/community/3.15-announcement.md diff --git a/docs/community/3.15-announcement.md b/docs/community/3.15-announcement.md new file mode 100644 index 0000000000..1723313998 --- /dev/null +++ b/docs/community/3.15-announcement.md @@ -0,0 +1,58 @@ + + +# Django REST framework 3.15 + +At the Internet, on September 14th, 2023, with 135 commits 107 authors, we are happy to announce the release of Django REST framework 3.15. + +## Django 4.2 and Python 3.11 support + +The latest release now fully supports Django 4.2 and Python 3.11. + +The current minimum versions of Django still is 3.0 and Python 3.6. + +## Primary Support of UniqueConstraint + +`ModelSerializer` generates validators for [UniqueConstraint](https://docs.djangoproject.com/en/4.0/ref/models/constraints/#uniqueconstraint) (both UniqueValidator and UniqueTogetherValidator) + +## ValidationErrors improvements + +The `ValidationError` has been aligned with Django's, currently supporting the same style (signature) and nesting. + +## SimpleRouter non-regex matching support + +By default the URLs created by `SimpleRouter` use regular expressions. This behavior can be modified by setting the `use_regex_path` argument to `False` when instantiating the router. + +## ZoneInfo as the primary source of timezone data + +Dependency on pytz has been removed and deprecation warnings have been added, Django will provide ZoneInfo instances as long as USE_DEPRECATED_PYTZ is not enabled. More info on the migration can be found [in this guide](https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html). + +## Align `SearchFilter` behaviour to `django.contrib.admin` search + +Searches now may contain _quoted phrases_ with spaces, each phrase is considered as a single search term, and it will raise a validation error if any null-character is provided in search. See the [Filtering API guide](../api-guide/filtering.md) for more information. + +## Default values propagation + +Model fields' default values are now propagated to serializer fields, for more information see the [Serializer fields API guide](../api-guide/fields.md#default). + +## 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 behaviour. + +See the [release notes](release-notes.md) page for a complete listing. diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index fba7f63d62..ed923ebe62 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -34,6 +34,142 @@ You can determine your currently installed version using `pip show`: --- +## 3.15.x series + +### 3.15.0 + +Date: 14th September 2023 + +* Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] +* Update CONTRIBUTING.md [[#9095](https://github.com/encode/django-rest-framework/pull/9095)] +* Fix documentation link test [[#9076](https://github.com/encode/django-rest-framework/pull/9076)] +* Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] +* Update third-party-packages.md [[#9026](https://github.com/encode/django-rest-framework/pull/9026)] +* Document support for http.HTTPMethod in the @action decorator added in Python 3.11 [[#9067](https://github.com/encode/django-rest-framework/pull/9067)] +* Add note for HiddenField behavior [[#9055](https://github.com/encode/django-rest-framework/pull/9055)] +* Add docs validation to release process [[#6967](https://github.com/encode/django-rest-framework/pull/6967)] +* Update exceptions.md [[#9071](https://github.com/encode/django-rest-framework/pull/9071)] +* Partial serializer should not have required fields [[#7563](https://github.com/encode/django-rest-framework/pull/7563)] +* Propagate 'default' from model field to serializer field. [[#9030](https://github.com/encode/django-rest-framework/pull/9030)] +* Allow to override child.run_validation call in ListSerializer [[#8035](https://github.com/encode/django-rest-framework/pull/8035)] +* Align SearchFilter behaviour to django.contrib.admin search [[#9017](https://github.com/encode/django-rest-framework/pull/9017)] +* Class name added to unkown field error [[#9019](https://github.com/encode/django-rest-framework/pull/9019)] +* Fix: Pagination response schemas. [[#9049](https://github.com/encode/django-rest-framework/pull/9049)] +* Fix choices in ChoiceField to support IntEnum [[#8955](https://github.com/encode/django-rest-framework/pull/8955)] +* Fix `SearchFilter` rendering search field with invalid value [[#9023](https://github.com/encode/django-rest-framework/pull/9023)] +* Fix OpenAPI Schema yaml rendering for `timedelta` [[#9007](https://github.com/encode/django-rest-framework/pull/9007)] +* Fix `NamespaceVersioning` ignoring `DEFAULT_VERSION` on non-None namespaces [[#7278](https://github.com/encode/django-rest-framework/pull/7278)] +* Added Deprecation Warnings for CoreAPI [[#7519](https://github.com/encode/django-rest-framework/pull/7519)] +* Removed usage of `field.choices` that triggered full table load [[#8950](https://github.com/encode/django-rest-framework/pull/8950)] +* Permit mixed casing of string values for `BooleanField` validation [[#8970](https://github.com/encode/django-rest-framework/pull/8970)] +* Fixes `BrowsableAPIRenderer` for usage with `ListSerializer`. [[#7530](https://github.com/encode/django-rest-framework/pull/7530)] +* Change semantic of `OR` of two permission classes [[#7522](https://github.com/encode/django-rest-framework/pull/7522)] +* Remove dependency on `pytz` [[#8984](https://github.com/encode/django-rest-framework/pull/8984)] +* Add NullBooleanField deprecation to docs [[#8999](https://github.com/encode/django-rest-framework/pull/8999)] +* Fix example of `requires_context` attribute [[#8952](https://github.com/encode/django-rest-framework/pull/8952)] +* Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] +* Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] +* Fix URLPathVersioning reverse fallback [[#7247](https://github.com/encode/django-rest-framework/pull/7247)] +* Fix Links in Documentation to Django `reverse` and `reverse_lazy` [[#8986](https://github.com/encode/django-rest-framework/pull/8986)] +* Declared Django 4.2 support in README.md [[#8985](https://github.com/encode/django-rest-framework/pull/8985)] +* Remove django 2.2 from docs index [[#8982](https://github.com/encode/django-rest-framework/pull/8982)] +* Warn about Decimal type in min_value and max_value arguments of DecimalField [[#8972](https://github.com/encode/django-rest-framework/pull/8972)] +* Fix mapping for choice values [[#8968](https://github.com/encode/django-rest-framework/pull/8968)] +* Refactor read function to use context manager for file handling [[#8967](https://github.com/encode/django-rest-framework/pull/8967)] +* Fix: fallback on CursorPagination ordering if unset on the view [[#8954](https://github.com/encode/django-rest-framework/pull/8954)] +* Replaced `OrderedDict` with `dict` [[#8964](https://github.com/encode/django-rest-framework/pull/8964)] +* Refactor get_field_info method to include max_digits and decimal_places attributes in SimpleMetadata class [[#8943](https://github.com/encode/django-rest-framework/pull/8943)] +* Implement `__eq__` for validators [[#8925](https://github.com/encode/django-rest-framework/pull/8925)] +* Ensure CursorPagination respects nulls in the ordering field [[#8912](https://github.com/encode/django-rest-framework/pull/8912)] +* Use ZoneInfo as primary source of timezone data [[#8924](https://github.com/encode/django-rest-framework/pull/8924)] +* Add username search field for TokenAdmin (#8927) [[#8934](https://github.com/encode/django-rest-framework/pull/8934)] +* Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] +* Docs: Fix authentication / authorization mixup [[#8930](https://github.com/encode/django-rest-framework/pull/8930)] +* Use consistent spelling for "authorization" [[#8929](https://github.com/encode/django-rest-framework/pull/8929)] +* Test django 4.2 stable release [[#8932](https://github.com/encode/django-rest-framework/pull/8932)] +* Update requirements-packaging.txt [[#8921](https://github.com/encode/django-rest-framework/pull/8921)] +* Update tox with django 4.2rc1 [[#8920](https://github.com/encode/django-rest-framework/pull/8920)] +* Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] +* Minor documentation improvements and fixes [[#8903](https://github.com/encode/django-rest-framework/pull/8903)] +* Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] +* Test django 4.2b1 [[#8892](https://github.com/encode/django-rest-framework/pull/8892)] +* Docs: add missing renderer import in tutorial 6 [[#8885](https://github.com/encode/django-rest-framework/pull/8885)] +* Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] +* Upgrade isort version in pre-commit [[#8882](https://github.com/encode/django-rest-framework/pull/8882)] +* Docs: fix code example [[#8880](https://github.com/encode/django-rest-framework/pull/8880)] +* Feat: Add some changes to ValidationError to support django style vadation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] +* Inherit from faked classes in tests to satisfy mypy [[#8859](https://github.com/encode/django-rest-framework/pull/8859)] +* Initial django 4.2a1 testing [[#8846](https://github.com/encode/django-rest-framework/pull/8846)] +* Fix Respect `can_read_model` permission in DjangoModelPermissions [[#8009](https://github.com/encode/django-rest-framework/pull/8009)] +* Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] +* Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] +* Update documentation regarding arguments of ValidationError [[#8807](https://github.com/encode/django-rest-framework/pull/8807)] +* Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] +* Update docs to maintained `djangorestframework-guardian2` [[#8817](https://github.com/encode/django-rest-framework/pull/8817)] +* Revert "Fix bug in validators documentation (#8779)" [[#8811](https://github.com/encode/django-rest-framework/pull/8811)] +* Try update django-filter==22.1 [[#8813](https://github.com/encode/django-rest-framework/pull/8813)] +* Upddate setup python action to v4 [[#8806](https://github.com/encode/django-rest-framework/pull/8806)] +* attrs==22.1.0 [[#8828](https://github.com/encode/django-rest-framework/pull/8828)] +* Fix transifex-client version in packaging requirements. [[#8827](https://github.com/encode/django-rest-framework/pull/8827)] +* Raise ImproperlyConfigured exception if `basename` is not unique [[#8438](https://github.com/encode/django-rest-framework/pull/8438)] +* Use PrimaryKeyRelatedField pkfield in openapi [[#8315](https://github.com/encode/django-rest-framework/pull/8315)] +* Upgrade to tox 4 [[#8795](https://github.com/encode/django-rest-framework/pull/8795)] +* replace partition with split in BasicAuthentication [[#8790](https://github.com/encode/django-rest-framework/pull/8790)] +* Fix BooleanField's allow_null behavior [[#8614](https://github.com/encode/django-rest-framework/pull/8614)] +* Handle Django's ValidationErrors in ListField [[#6423](https://github.com/encode/django-rest-framework/pull/6423)] +* Remove a bit of inline CSS. Add CSP nonce where it might be required and is available [[#8783](https://github.com/encode/django-rest-framework/pull/8783)] +* Use autocomplete widget for user selection in Token admin [[#8534](https://github.com/encode/django-rest-framework/pull/8534)] +* Fix bug in validators documentation [[#8779](https://github.com/encode/django-rest-framework/pull/8779)] +* Make browsable API compatbile with strong CSP [[#8784](https://github.com/encode/django-rest-framework/pull/8784)] +* Avoid inline script execution for injecting CSRF token [[#7016](https://github.com/encode/django-rest-framework/pull/7016)] +* Remove Core API mentions from docs [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] +* Mitigate global dependency on inflection #8017 [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] [[#8781](https://github.com/encode/django-rest-framework/pull/8781)] +* Register Django urls [[#8778](https://github.com/encode/django-rest-framework/pull/8778)] +* Implemented Verbose Name Translation for TokenProxy [[#8713](https://github.com/encode/django-rest-framework/pull/8713)] +* Properly handle OverflowError in DurationField deserialization [[#8042](https://github.com/encode/django-rest-framework/pull/8042)] +* Fix OpenAPI operation name plural appropriately [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] +* Represent SafeString as plain string on schema rendering [[#8429](https://github.com/encode/django-rest-framework/pull/8429)] +* Fix #8771 - Checking for authentication even if `_ignore_model_permissions = True` [[#8772](https://github.com/encode/django-rest-framework/pull/8772)] +* Update schema generation doc & add deprecation notice [[#8773](https://github.com/encode/django-rest-framework/pull/8773)] +* Update 6-viewsets-and-routers.md [[#8590](https://github.com/encode/django-rest-framework/pull/8590)] +* Added pagination settings test case [[#8326](https://github.com/encode/django-rest-framework/pull/8326)] +* Fix 404 when page query parameter is empty string [[#8578](https://github.com/encode/django-rest-framework/pull/8578)] +* Fixes instance check in ListSerializer.to_representation [[#8726](https://github.com/encode/django-rest-framework/pull/8726)] [[#8727](https://github.com/encode/django-rest-framework/pull/8727)] +* FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] +* Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] +* converted assertion to pytest style in test status [[#8662](https://github.com/encode/django-rest-framework/pull/8662)] +* Fix #8751 - Add support to Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/875)] +* update minimum version to psycopg2-binary>=2.9.5 [[#8767](https://github.com/encode/django-rest-framework/pull/8767)] +* pytest versions update [[#8745](https://github.com/encode/django-rest-framework/pull/8745)] +* Add 3rd party entry for rest-framework-roles [[#8755](https://github.com/encode/django-rest-framework/pull/8755)] +* Added http 102, 103, 421, and 425 status codes in documentation [[#8763](https://github.com/encode/django-rest-framework/pull/8763)] +* Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] +* Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] +* Fix Pytest's deprecation warnings about nose usage [[#8758](https://github.com/encode/django-rest-framework/pull/8758)] +* Remove extraneous word "Both" [[#8740](https://github.com/encode/django-rest-framework/pull/8740)] +* Update jobs.md [[#8737](https://github.com/encode/django-rest-framework/pull/8737)] +* Update quickstart.md [[#8575](https://github.com/encode/django-rest-framework/pull/8575)] +* Improve style, fix some typos [[#8405](https://github.com/encode/django-rest-framework/pull/8405)] +* Fixes typo [[#8719](https://github.com/encode/django-rest-framework/pull/8719)] +* Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] +* Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] +* Update schemas.md [[#8707](https://github.com/encode/django-rest-framework/pull/8707)] +* Avoid importing `django.test` package when not testing [[#8699](https://github.com/encode/django-rest-framework/pull/8699)] +* Docs: use `asterisk` for unordered list [[#8697](https://github.com/encode/django-rest-framework/pull/8697)] +* Docs: Convert all tabs into spaces [[#8692](https://github.com/encode/django-rest-framework/pull/8692)] +* Preserve exception messages for wrapped Django exceptions [[#8051](https://github.com/encode/django-rest-framework/pull/8051)] +* Added examples to schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] +* Fix infinite recursion with deepcopy on Request [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] +* Refactor: Replace try/except with contextlib.suppress() [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] +* Docs: Updated browsable-api.md [[#8678](https://github.com/encode/django-rest-framework/pull/8678)] +* Add spaces to router example in 6-viewsets-and-routers.md [[#8448](https://github.com/encode/django-rest-framework/pull/8448)] +* Update requirements-testing.txt [[#8680](https://github.com/encode/django-rest-framework/pull/8680)] +* Minor fix to SerializeMethodField docstring [[#8629](https://github.com/encode/django-rest-framework/pull/8629)] +* Minor refactor: Unnecessary use of list() function [[#8672](https://github.com/encode/django-rest-framework/pull/8672)] +* Update documentation on dependency installation [[#8566](https://github.com/encode/django-rest-framework/pull/8566)] +* Unnecessary list comprehension [[#8670](https://github.com/encode/django-rest-framework/pull/8670)] +* Use correct class to indicate present deprecation [[#8665](https://github.com/encode/django-rest-framework/pull/8665)] + ## 3.14.x series ### 3.14.0 diff --git a/mkdocs.yml b/mkdocs.yml index dcef68987b..79831fe95a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -65,6 +65,7 @@ nav: - 'Contributing to REST framework': 'community/contributing.md' - 'Project management': 'community/project-management.md' - 'Release Notes': 'community/release-notes.md' + - '3.15 Announcement': 'community/3.15-announcement.md' - '3.14 Announcement': 'community/3.14-announcement.md' - '3.13 Announcement': 'community/3.13-announcement.md' - '3.12 Announcement': 'community/3.12-announcement.md' From 965e9bc0539e0c014f3f6a8bd8c346e84ce0bd78 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:08:40 +0000 Subject: [PATCH 02/68] Release date pending bump --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index ed923ebe62..ea88a5a6f6 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -38,7 +38,7 @@ You can determine your currently installed version using `pip show`: ### 3.15.0 -Date: 14th September 2023 +Date: ... * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] * Update CONTRIBUTING.md [[#9095](https://github.com/encode/django-rest-framework/pull/9095)] From 5313ae631070dcfdf3896565ab764bc5ea1ffc54 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:23:02 +0000 Subject: [PATCH 03/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 7c3575cc9a..8302d2ed22 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -41,7 +41,6 @@ You can determine your currently installed version using `pip show`: Date: ... * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] -* Update CONTRIBUTING.md [[#9095](https://github.com/encode/django-rest-framework/pull/9095)] * Fix documentation link test [[#9076](https://github.com/encode/django-rest-framework/pull/9076)] * Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] * Update third-party-packages.md [[#9026](https://github.com/encode/django-rest-framework/pull/9026)] From 7b57ec475a918fc6009c26640d559ed713cd762c Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:23:50 +0000 Subject: [PATCH 04/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 8302d2ed22..3a933cf2f7 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -41,7 +41,6 @@ You can determine your currently installed version using `pip show`: Date: ... * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] -* Fix documentation link test [[#9076](https://github.com/encode/django-rest-framework/pull/9076)] * Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] * Update third-party-packages.md [[#9026](https://github.com/encode/django-rest-framework/pull/9026)] * Document support for http.HTTPMethod in the @action decorator added in Python 3.11 [[#9067](https://github.com/encode/django-rest-framework/pull/9067)] From 7f559215e0dc85213d97312bb70c5b5a12ba0876 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:24:58 +0000 Subject: [PATCH 05/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 3a933cf2f7..f91c7d758d 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -42,7 +42,6 @@ Date: ... * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] * Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] -* Update third-party-packages.md [[#9026](https://github.com/encode/django-rest-framework/pull/9026)] * Document support for http.HTTPMethod in the @action decorator added in Python 3.11 [[#9067](https://github.com/encode/django-rest-framework/pull/9067)] * Add note for HiddenField behavior [[#9055](https://github.com/encode/django-rest-framework/pull/9055)] * Add docs validation to release process [[#6967](https://github.com/encode/django-rest-framework/pull/6967)] From 631b8c1ef38dcb423730c8ca0c3342977613d2bc Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:25:47 +0000 Subject: [PATCH 06/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index f91c7d758d..c53985f9be 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -43,7 +43,6 @@ Date: ... * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] * Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] * Document support for http.HTTPMethod in the @action decorator added in Python 3.11 [[#9067](https://github.com/encode/django-rest-framework/pull/9067)] -* Add note for HiddenField behavior [[#9055](https://github.com/encode/django-rest-framework/pull/9055)] * Add docs validation to release process [[#6967](https://github.com/encode/django-rest-framework/pull/6967)] * Update exceptions.md [[#9071](https://github.com/encode/django-rest-framework/pull/9071)] * Partial serializer should not have required fields [[#7563](https://github.com/encode/django-rest-framework/pull/7563)] From 7848ffd74e291a3e4bf01fcf46ec1760e37d08e7 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:27:39 +0000 Subject: [PATCH 07/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index c53985f9be..70c015112c 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -43,7 +43,6 @@ Date: ... * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] * Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] * Document support for http.HTTPMethod in the @action decorator added in Python 3.11 [[#9067](https://github.com/encode/django-rest-framework/pull/9067)] -* Add docs validation to release process [[#6967](https://github.com/encode/django-rest-framework/pull/6967)] * Update exceptions.md [[#9071](https://github.com/encode/django-rest-framework/pull/9071)] * Partial serializer should not have required fields [[#7563](https://github.com/encode/django-rest-framework/pull/7563)] * Propagate 'default' from model field to serializer field. [[#9030](https://github.com/encode/django-rest-framework/pull/9030)] From ff803c81030650a7f369163e8502babbda23031f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:29:26 +0000 Subject: [PATCH 08/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 70c015112c..8b47b1d515 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -60,7 +60,6 @@ Date: ... * Fixes `BrowsableAPIRenderer` for usage with `ListSerializer`. [[#7530](https://github.com/encode/django-rest-framework/pull/7530)] * Change semantic of `OR` of two permission classes [[#7522](https://github.com/encode/django-rest-framework/pull/7522)] * Remove dependency on `pytz` [[#8984](https://github.com/encode/django-rest-framework/pull/8984)] -* Add NullBooleanField deprecation to docs [[#8999](https://github.com/encode/django-rest-framework/pull/8999)] * Fix example of `requires_context` attribute [[#8952](https://github.com/encode/django-rest-framework/pull/8952)] * Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] * Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] From f5b08ff3c0c170b35947d0563a0884266e341fed Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:30:01 +0000 Subject: [PATCH 09/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 8b47b1d515..956cfe0cbb 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -60,7 +60,6 @@ Date: ... * Fixes `BrowsableAPIRenderer` for usage with `ListSerializer`. [[#7530](https://github.com/encode/django-rest-framework/pull/7530)] * Change semantic of `OR` of two permission classes [[#7522](https://github.com/encode/django-rest-framework/pull/7522)] * Remove dependency on `pytz` [[#8984](https://github.com/encode/django-rest-framework/pull/8984)] -* Fix example of `requires_context` attribute [[#8952](https://github.com/encode/django-rest-framework/pull/8952)] * Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] * Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] * Fix URLPathVersioning reverse fallback [[#7247](https://github.com/encode/django-rest-framework/pull/7247)] From 3fc4baac06a87689b495f813cfea2444beeb9da9 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:30:42 +0000 Subject: [PATCH 10/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 956cfe0cbb..a1cbebe68d 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -63,7 +63,6 @@ Date: ... * Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] * Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] * Fix URLPathVersioning reverse fallback [[#7247](https://github.com/encode/django-rest-framework/pull/7247)] -* Fix Links in Documentation to Django `reverse` and `reverse_lazy` [[#8986](https://github.com/encode/django-rest-framework/pull/8986)] * Declared Django 4.2 support in README.md [[#8985](https://github.com/encode/django-rest-framework/pull/8985)] * Remove django 2.2 from docs index [[#8982](https://github.com/encode/django-rest-framework/pull/8982)] * Warn about Decimal type in min_value and max_value arguments of DecimalField [[#8972](https://github.com/encode/django-rest-framework/pull/8972)] From d7df722b8126a22de44dbd5c510d5dfc701e109c Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:30:56 +0000 Subject: [PATCH 11/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index a1cbebe68d..467f0d627b 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -63,7 +63,6 @@ Date: ... * Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] * Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] * Fix URLPathVersioning reverse fallback [[#7247](https://github.com/encode/django-rest-framework/pull/7247)] -* Declared Django 4.2 support in README.md [[#8985](https://github.com/encode/django-rest-framework/pull/8985)] * Remove django 2.2 from docs index [[#8982](https://github.com/encode/django-rest-framework/pull/8982)] * Warn about Decimal type in min_value and max_value arguments of DecimalField [[#8972](https://github.com/encode/django-rest-framework/pull/8972)] * Fix mapping for choice values [[#8968](https://github.com/encode/django-rest-framework/pull/8968)] From 9324a235d9ae1db35767f3f5226e5f9a47cbe9d0 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:31:10 +0000 Subject: [PATCH 12/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 467f0d627b..b7b33a7720 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -63,7 +63,6 @@ Date: ... * Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] * Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] * Fix URLPathVersioning reverse fallback [[#7247](https://github.com/encode/django-rest-framework/pull/7247)] -* Remove django 2.2 from docs index [[#8982](https://github.com/encode/django-rest-framework/pull/8982)] * Warn about Decimal type in min_value and max_value arguments of DecimalField [[#8972](https://github.com/encode/django-rest-framework/pull/8972)] * Fix mapping for choice values [[#8968](https://github.com/encode/django-rest-framework/pull/8968)] * Refactor read function to use context manager for file handling [[#8967](https://github.com/encode/django-rest-framework/pull/8967)] From 088f91292c9e57e0804a27fb1b2f46baab63db8d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:33:21 +0000 Subject: [PATCH 13/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index b7b33a7720..9da06b17e5 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -74,7 +74,6 @@ Date: ... * Use ZoneInfo as primary source of timezone data [[#8924](https://github.com/encode/django-rest-framework/pull/8924)] * Add username search field for TokenAdmin (#8927) [[#8934](https://github.com/encode/django-rest-framework/pull/8934)] * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] -* Docs: Fix authentication / authorization mixup [[#8930](https://github.com/encode/django-rest-framework/pull/8930)] * Use consistent spelling for "authorization" [[#8929](https://github.com/encode/django-rest-framework/pull/8929)] * Test django 4.2 stable release [[#8932](https://github.com/encode/django-rest-framework/pull/8932)] * Update requirements-packaging.txt [[#8921](https://github.com/encode/django-rest-framework/pull/8921)] From 8aaf97f05a990c135fd31fae527d9693bbf995a6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:34:09 +0000 Subject: [PATCH 14/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 9da06b17e5..a6814eff52 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -74,8 +74,6 @@ Date: ... * Use ZoneInfo as primary source of timezone data [[#8924](https://github.com/encode/django-rest-framework/pull/8924)] * Add username search field for TokenAdmin (#8927) [[#8934](https://github.com/encode/django-rest-framework/pull/8934)] * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] -* Use consistent spelling for "authorization" [[#8929](https://github.com/encode/django-rest-framework/pull/8929)] -* Test django 4.2 stable release [[#8932](https://github.com/encode/django-rest-framework/pull/8932)] * Update requirements-packaging.txt [[#8921](https://github.com/encode/django-rest-framework/pull/8921)] * Update tox with django 4.2rc1 [[#8920](https://github.com/encode/django-rest-framework/pull/8920)] * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] From 42b78d0a754ba9e2cfaa711320a229abf3f788ca Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:34:24 +0000 Subject: [PATCH 15/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index a6814eff52..95e3615c96 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -74,7 +74,6 @@ Date: ... * Use ZoneInfo as primary source of timezone data [[#8924](https://github.com/encode/django-rest-framework/pull/8924)] * Add username search field for TokenAdmin (#8927) [[#8934](https://github.com/encode/django-rest-framework/pull/8934)] * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] -* Update requirements-packaging.txt [[#8921](https://github.com/encode/django-rest-framework/pull/8921)] * Update tox with django 4.2rc1 [[#8920](https://github.com/encode/django-rest-framework/pull/8920)] * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Minor documentation improvements and fixes [[#8903](https://github.com/encode/django-rest-framework/pull/8903)] From 3ef5fe25d5482237cdbbf84bb88b798734b57e13 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:34:35 +0000 Subject: [PATCH 16/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 95e3615c96..1002347a28 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -74,7 +74,6 @@ Date: ... * Use ZoneInfo as primary source of timezone data [[#8924](https://github.com/encode/django-rest-framework/pull/8924)] * Add username search field for TokenAdmin (#8927) [[#8934](https://github.com/encode/django-rest-framework/pull/8934)] * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] -* Update tox with django 4.2rc1 [[#8920](https://github.com/encode/django-rest-framework/pull/8920)] * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Minor documentation improvements and fixes [[#8903](https://github.com/encode/django-rest-framework/pull/8903)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] From 5d0c331dd5e4509f043b94419fb2da152a6ef381 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:34:49 +0000 Subject: [PATCH 17/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 1002347a28..63db22521f 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -75,7 +75,6 @@ Date: ... * Add username search field for TokenAdmin (#8927) [[#8934](https://github.com/encode/django-rest-framework/pull/8934)] * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] -* Minor documentation improvements and fixes [[#8903](https://github.com/encode/django-rest-framework/pull/8903)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] * Test django 4.2b1 [[#8892](https://github.com/encode/django-rest-framework/pull/8892)] * Docs: add missing renderer import in tutorial 6 [[#8885](https://github.com/encode/django-rest-framework/pull/8885)] From 9765941739790e2d3cd0e2d875249b5237c82fc3 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:35:25 +0000 Subject: [PATCH 18/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 63db22521f..b6a4293c0f 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -76,7 +76,6 @@ Date: ... * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] -* Test django 4.2b1 [[#8892](https://github.com/encode/django-rest-framework/pull/8892)] * Docs: add missing renderer import in tutorial 6 [[#8885](https://github.com/encode/django-rest-framework/pull/8885)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] * Upgrade isort version in pre-commit [[#8882](https://github.com/encode/django-rest-framework/pull/8882)] From aa27efbcdb5be929c70c5614ceb70eb5348e1cb4 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:35:40 +0000 Subject: [PATCH 19/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index b6a4293c0f..0d68043a08 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -76,7 +76,6 @@ Date: ... * Handle Nested Relation in SlugRelatedField when many=False [[#8922](https://github.com/encode/django-rest-framework/pull/8922)] * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] -* Docs: add missing renderer import in tutorial 6 [[#8885](https://github.com/encode/django-rest-framework/pull/8885)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] * Upgrade isort version in pre-commit [[#8882](https://github.com/encode/django-rest-framework/pull/8882)] * Docs: fix code example [[#8880](https://github.com/encode/django-rest-framework/pull/8880)] From 1a61130717c877e95a73e2c24f6f0f5a0f3163c4 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:36:04 +0000 Subject: [PATCH 20/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 0d68043a08..78036b705c 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -77,7 +77,6 @@ Date: ... * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] -* Upgrade isort version in pre-commit [[#8882](https://github.com/encode/django-rest-framework/pull/8882)] * Docs: fix code example [[#8880](https://github.com/encode/django-rest-framework/pull/8880)] * Feat: Add some changes to ValidationError to support django style vadation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] * Inherit from faked classes in tests to satisfy mypy [[#8859](https://github.com/encode/django-rest-framework/pull/8859)] From 7a374eae82f47e528c58eee13536d256ad18eb5d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:36:19 +0000 Subject: [PATCH 21/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 78036b705c..ef65c53479 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -77,7 +77,6 @@ Date: ... * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] -* Docs: fix code example [[#8880](https://github.com/encode/django-rest-framework/pull/8880)] * Feat: Add some changes to ValidationError to support django style vadation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] * Inherit from faked classes in tests to satisfy mypy [[#8859](https://github.com/encode/django-rest-framework/pull/8859)] * Initial django 4.2a1 testing [[#8846](https://github.com/encode/django-rest-framework/pull/8846)] From 0e73dfb4c2047470da3b62b509ae078f28fe5ff3 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:36:45 +0000 Subject: [PATCH 22/68] Fix typo --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index ef65c53479..f052ea86a8 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -77,7 +77,7 @@ Date: ... * Bump version of jQuery to 3.6.4 & updated ref links [[#8909](https://github.com/encode/django-rest-framework/pull/8909)] * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] -* Feat: Add some changes to ValidationError to support django style vadation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] +* Feat: Add some changes to ValidationError to support django style validation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] * Inherit from faked classes in tests to satisfy mypy [[#8859](https://github.com/encode/django-rest-framework/pull/8859)] * Initial django 4.2a1 testing [[#8846](https://github.com/encode/django-rest-framework/pull/8846)] * Fix Respect `can_read_model` permission in DjangoModelPermissions [[#8009](https://github.com/encode/django-rest-framework/pull/8009)] From 98a5b9a4bb3304826d740b0b81b89ed7167ee351 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:37:42 +0000 Subject: [PATCH 23/68] Changes to tests should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index f052ea86a8..173b1091c5 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -78,7 +78,6 @@ Date: ... * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] * Feat: Add some changes to ValidationError to support django style validation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] -* Inherit from faked classes in tests to satisfy mypy [[#8859](https://github.com/encode/django-rest-framework/pull/8859)] * Initial django 4.2a1 testing [[#8846](https://github.com/encode/django-rest-framework/pull/8846)] * Fix Respect `can_read_model` permission in DjangoModelPermissions [[#8009](https://github.com/encode/django-rest-framework/pull/8009)] * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] From 555b2ef014babcf3c76eb730e0bf23d13848e984 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:38:22 +0000 Subject: [PATCH 24/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 173b1091c5..9dcb604d30 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -78,7 +78,6 @@ Date: ... * Support UniqueConstraint [[#7438](https://github.com/encode/django-rest-framework/pull/7438)] * Allow Request, Response, Field, and GenericAPIView to be subscriptable. This allows the classes to be made generic for type checking. [[#8825](https://github.com/encode/django-rest-framework/pull/8825)] * Feat: Add some changes to ValidationError to support django style validation errors [[#8863](https://github.com/encode/django-rest-framework/pull/8863)] -* Initial django 4.2a1 testing [[#8846](https://github.com/encode/django-rest-framework/pull/8846)] * Fix Respect `can_read_model` permission in DjangoModelPermissions [[#8009](https://github.com/encode/django-rest-framework/pull/8009)] * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] From 5d1be7e28197cd5e8133db132d04187f773b2067 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:38:44 +0000 Subject: [PATCH 25/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 9dcb604d30..52a58ea484 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -81,7 +81,6 @@ Date: ... * Fix Respect `can_read_model` permission in DjangoModelPermissions [[#8009](https://github.com/encode/django-rest-framework/pull/8009)] * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] -* Update documentation regarding arguments of ValidationError [[#8807](https://github.com/encode/django-rest-framework/pull/8807)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] * Update docs to maintained `djangorestframework-guardian2` [[#8817](https://github.com/encode/django-rest-framework/pull/8817)] * Revert "Fix bug in validators documentation (#8779)" [[#8811](https://github.com/encode/django-rest-framework/pull/8811)] From 398aa1e34901a51deae3ba775d39fc4f9ae4ac25 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:39:18 +0000 Subject: [PATCH 26/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 52a58ea484..77eb053061 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -82,7 +82,6 @@ Date: ... * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] -* Update docs to maintained `djangorestframework-guardian2` [[#8817](https://github.com/encode/django-rest-framework/pull/8817)] * Revert "Fix bug in validators documentation (#8779)" [[#8811](https://github.com/encode/django-rest-framework/pull/8811)] * Try update django-filter==22.1 [[#8813](https://github.com/encode/django-rest-framework/pull/8813)] * Upddate setup python action to v4 [[#8806](https://github.com/encode/django-rest-framework/pull/8806)] From 3e88e6516cfad8194742dd3f4432faf5849ea8ad Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:40:05 +0000 Subject: [PATCH 27/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 77eb053061..d732f0bbf9 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -82,7 +82,6 @@ Date: ... * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] -* Revert "Fix bug in validators documentation (#8779)" [[#8811](https://github.com/encode/django-rest-framework/pull/8811)] * Try update django-filter==22.1 [[#8813](https://github.com/encode/django-rest-framework/pull/8813)] * Upddate setup python action to v4 [[#8806](https://github.com/encode/django-rest-framework/pull/8806)] * attrs==22.1.0 [[#8828](https://github.com/encode/django-rest-framework/pull/8828)] From ba2bb6ee10a67d54cc1902ae89565ed8a75251c6 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:41:05 +0000 Subject: [PATCH 28/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index d732f0bbf9..4a90f2b7a1 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -82,7 +82,6 @@ Date: ... * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] -* Try update django-filter==22.1 [[#8813](https://github.com/encode/django-rest-framework/pull/8813)] * Upddate setup python action to v4 [[#8806](https://github.com/encode/django-rest-framework/pull/8806)] * attrs==22.1.0 [[#8828](https://github.com/encode/django-rest-framework/pull/8828)] * Fix transifex-client version in packaging requirements. [[#8827](https://github.com/encode/django-rest-framework/pull/8827)] From d428aed1dacaab5d8a4c54e3da28bcb6a5830bac Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:41:17 +0000 Subject: [PATCH 29/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 4a90f2b7a1..b28b25f4a7 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -82,7 +82,6 @@ Date: ... * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] -* Upddate setup python action to v4 [[#8806](https://github.com/encode/django-rest-framework/pull/8806)] * attrs==22.1.0 [[#8828](https://github.com/encode/django-rest-framework/pull/8828)] * Fix transifex-client version in packaging requirements. [[#8827](https://github.com/encode/django-rest-framework/pull/8827)] * Raise ImproperlyConfigured exception if `basename` is not unique [[#8438](https://github.com/encode/django-rest-framework/pull/8438)] From ab7bb95ada66e57a84535acfee3b4600fabcc9b3 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:41:43 +0000 Subject: [PATCH 30/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index b28b25f4a7..c5c84d2021 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -82,7 +82,6 @@ Date: ... * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] -* attrs==22.1.0 [[#8828](https://github.com/encode/django-rest-framework/pull/8828)] * Fix transifex-client version in packaging requirements. [[#8827](https://github.com/encode/django-rest-framework/pull/8827)] * Raise ImproperlyConfigured exception if `basename` is not unique [[#8438](https://github.com/encode/django-rest-framework/pull/8438)] * Use PrimaryKeyRelatedField pkfield in openapi [[#8315](https://github.com/encode/django-rest-framework/pull/8315)] From 2b27c85955a5db8df164bb110c646764f549c6da Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:42:35 +0000 Subject: [PATCH 31/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index c5c84d2021..a13c6824b1 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -82,7 +82,6 @@ Date: ... * Add SimplePathRouter [[#6789](https://github.com/encode/django-rest-framework/pull/6789)] * Re-prefetch related objects after updating [[#8043](https://github.com/encode/django-rest-framework/pull/8043)] * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] -* Fix transifex-client version in packaging requirements. [[#8827](https://github.com/encode/django-rest-framework/pull/8827)] * Raise ImproperlyConfigured exception if `basename` is not unique [[#8438](https://github.com/encode/django-rest-framework/pull/8438)] * Use PrimaryKeyRelatedField pkfield in openapi [[#8315](https://github.com/encode/django-rest-framework/pull/8315)] * Upgrade to tox 4 [[#8795](https://github.com/encode/django-rest-framework/pull/8795)] From bfbb04a34565e4fcb805af110d7450f351a1ad18 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:42:50 +0000 Subject: [PATCH 32/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index a13c6824b1..1ae21ae2fc 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -84,7 +84,6 @@ Date: ... * Fix FilePathField required argument [[#8805](https://github.com/encode/django-rest-framework/pull/8805)] * Raise ImproperlyConfigured exception if `basename` is not unique [[#8438](https://github.com/encode/django-rest-framework/pull/8438)] * Use PrimaryKeyRelatedField pkfield in openapi [[#8315](https://github.com/encode/django-rest-framework/pull/8315)] -* Upgrade to tox 4 [[#8795](https://github.com/encode/django-rest-framework/pull/8795)] * replace partition with split in BasicAuthentication [[#8790](https://github.com/encode/django-rest-framework/pull/8790)] * Fix BooleanField's allow_null behavior [[#8614](https://github.com/encode/django-rest-framework/pull/8614)] * Handle Django's ValidationErrors in ListField [[#6423](https://github.com/encode/django-rest-framework/pull/6423)] From 402b0f40e5f2e108402afd222ba3e7d933666120 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:43:36 +0000 Subject: [PATCH 33/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 1ae21ae2fc..1facc865c1 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -89,7 +89,6 @@ Date: ... * Handle Django's ValidationErrors in ListField [[#6423](https://github.com/encode/django-rest-framework/pull/6423)] * Remove a bit of inline CSS. Add CSP nonce where it might be required and is available [[#8783](https://github.com/encode/django-rest-framework/pull/8783)] * Use autocomplete widget for user selection in Token admin [[#8534](https://github.com/encode/django-rest-framework/pull/8534)] -* Fix bug in validators documentation [[#8779](https://github.com/encode/django-rest-framework/pull/8779)] * Make browsable API compatbile with strong CSP [[#8784](https://github.com/encode/django-rest-framework/pull/8784)] * Avoid inline script execution for injecting CSRF token [[#7016](https://github.com/encode/django-rest-framework/pull/7016)] * Remove Core API mentions from docs [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] From 40f2289827867e99993ad379990adc3a66bd1924 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:45:14 +0000 Subject: [PATCH 34/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 1facc865c1..065c1eea7c 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -91,7 +91,6 @@ Date: ... * Use autocomplete widget for user selection in Token admin [[#8534](https://github.com/encode/django-rest-framework/pull/8534)] * Make browsable API compatbile with strong CSP [[#8784](https://github.com/encode/django-rest-framework/pull/8784)] * Avoid inline script execution for injecting CSRF token [[#7016](https://github.com/encode/django-rest-framework/pull/7016)] -* Remove Core API mentions from docs [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] * Mitigate global dependency on inflection #8017 [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] [[#8781](https://github.com/encode/django-rest-framework/pull/8781)] * Register Django urls [[#8778](https://github.com/encode/django-rest-framework/pull/8778)] * Implemented Verbose Name Translation for TokenProxy [[#8713](https://github.com/encode/django-rest-framework/pull/8713)] From f0b6150ca90f3f6eba33b2722a2de1179ffbb190 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:52:14 +0000 Subject: [PATCH 35/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 065c1eea7c..ef8cb7f114 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -98,7 +98,6 @@ Date: ... * Fix OpenAPI operation name plural appropriately [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] * Represent SafeString as plain string on schema rendering [[#8429](https://github.com/encode/django-rest-framework/pull/8429)] * Fix #8771 - Checking for authentication even if `_ignore_model_permissions = True` [[#8772](https://github.com/encode/django-rest-framework/pull/8772)] -* Update schema generation doc & add deprecation notice [[#8773](https://github.com/encode/django-rest-framework/pull/8773)] * Update 6-viewsets-and-routers.md [[#8590](https://github.com/encode/django-rest-framework/pull/8590)] * Added pagination settings test case [[#8326](https://github.com/encode/django-rest-framework/pull/8326)] * Fix 404 when page query parameter is empty string [[#8578](https://github.com/encode/django-rest-framework/pull/8578)] From c8b935ed27841f2583d0c6db8fc83f2164fda8a3 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:52:27 +0000 Subject: [PATCH 36/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index ef8cb7f114..4d7f87f5f7 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -98,7 +98,6 @@ Date: ... * Fix OpenAPI operation name plural appropriately [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] * Represent SafeString as plain string on schema rendering [[#8429](https://github.com/encode/django-rest-framework/pull/8429)] * Fix #8771 - Checking for authentication even if `_ignore_model_permissions = True` [[#8772](https://github.com/encode/django-rest-framework/pull/8772)] -* Update 6-viewsets-and-routers.md [[#8590](https://github.com/encode/django-rest-framework/pull/8590)] * Added pagination settings test case [[#8326](https://github.com/encode/django-rest-framework/pull/8326)] * Fix 404 when page query parameter is empty string [[#8578](https://github.com/encode/django-rest-framework/pull/8578)] * Fixes instance check in ListSerializer.to_representation [[#8726](https://github.com/encode/django-rest-framework/pull/8726)] [[#8727](https://github.com/encode/django-rest-framework/pull/8727)] From fecd1bff639d11ff2209d4b62fde98055a6e7967 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:55:31 +0000 Subject: [PATCH 37/68] Changes to tests should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 4d7f87f5f7..9c8222f195 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -98,7 +98,6 @@ Date: ... * Fix OpenAPI operation name plural appropriately [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] * Represent SafeString as plain string on schema rendering [[#8429](https://github.com/encode/django-rest-framework/pull/8429)] * Fix #8771 - Checking for authentication even if `_ignore_model_permissions = True` [[#8772](https://github.com/encode/django-rest-framework/pull/8772)] -* Added pagination settings test case [[#8326](https://github.com/encode/django-rest-framework/pull/8326)] * Fix 404 when page query parameter is empty string [[#8578](https://github.com/encode/django-rest-framework/pull/8578)] * Fixes instance check in ListSerializer.to_representation [[#8726](https://github.com/encode/django-rest-framework/pull/8726)] [[#8727](https://github.com/encode/django-rest-framework/pull/8727)] * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] From 1b7e0bd128bf39174df32cd7bd248096c8ceba4a Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:55:56 +0000 Subject: [PATCH 38/68] Changes to tests should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 9c8222f195..f9202deb6d 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -102,7 +102,6 @@ Date: ... * Fixes instance check in ListSerializer.to_representation [[#8726](https://github.com/encode/django-rest-framework/pull/8726)] [[#8727](https://github.com/encode/django-rest-framework/pull/8727)] * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] * Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] -* converted assertion to pytest style in test status [[#8662](https://github.com/encode/django-rest-framework/pull/8662)] * Fix #8751 - Add support to Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/875)] * update minimum version to psycopg2-binary>=2.9.5 [[#8767](https://github.com/encode/django-rest-framework/pull/8767)] * pytest versions update [[#8745](https://github.com/encode/django-rest-framework/pull/8745)] From e32b879908329bb818d8254e0834418023a8bc8a Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:57:47 +0000 Subject: [PATCH 39/68] Fix typo in release notes. --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index f9202deb6d..47108bc15d 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -102,7 +102,7 @@ Date: ... * Fixes instance check in ListSerializer.to_representation [[#8726](https://github.com/encode/django-rest-framework/pull/8726)] [[#8727](https://github.com/encode/django-rest-framework/pull/8727)] * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] * Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] -* Fix #8751 - Add support to Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/875)] +* Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * update minimum version to psycopg2-binary>=2.9.5 [[#8767](https://github.com/encode/django-rest-framework/pull/8767)] * pytest versions update [[#8745](https://github.com/encode/django-rest-framework/pull/8745)] * Add 3rd party entry for rest-framework-roles [[#8755](https://github.com/encode/django-rest-framework/pull/8755)] From cc5b5720a52a305c4f99f6a5f83fcdabd0e3b8e0 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:58:35 +0000 Subject: [PATCH 40/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 47108bc15d..fe1e015ff7 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -103,7 +103,6 @@ Date: ... * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] * Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] -* update minimum version to psycopg2-binary>=2.9.5 [[#8767](https://github.com/encode/django-rest-framework/pull/8767)] * pytest versions update [[#8745](https://github.com/encode/django-rest-framework/pull/8745)] * Add 3rd party entry for rest-framework-roles [[#8755](https://github.com/encode/django-rest-framework/pull/8755)] * Added http 102, 103, 421, and 425 status codes in documentation [[#8763](https://github.com/encode/django-rest-framework/pull/8763)] From 1ae36c56015347dba80b1fb1f6b366093d6df82a Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:58:57 +0000 Subject: [PATCH 41/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index fe1e015ff7..b306629de7 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -103,7 +103,6 @@ Date: ... * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] * Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] -* pytest versions update [[#8745](https://github.com/encode/django-rest-framework/pull/8745)] * Add 3rd party entry for rest-framework-roles [[#8755](https://github.com/encode/django-rest-framework/pull/8755)] * Added http 102, 103, 421, and 425 status codes in documentation [[#8763](https://github.com/encode/django-rest-framework/pull/8763)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] From 3017b72627b854a16e7293fcbb75c7548803ac91 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:59:21 +0000 Subject: [PATCH 42/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index b306629de7..4c33f8d827 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -103,7 +103,6 @@ Date: ... * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] * Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] -* Add 3rd party entry for rest-framework-roles [[#8755](https://github.com/encode/django-rest-framework/pull/8755)] * Added http 102, 103, 421, and 425 status codes in documentation [[#8763](https://github.com/encode/django-rest-framework/pull/8763)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] From 1a2323a05614baa60b4a5d4ce12946ce7cb84f8a Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 11:59:45 +0000 Subject: [PATCH 43/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 4c33f8d827..8fc36555fd 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -103,7 +103,6 @@ Date: ... * FloatField will crash if the input is a number that is too big [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] * Add missing DurationField to SimpleMetada label_lookup [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] -* Added http 102, 103, 421, and 425 status codes in documentation [[#8763](https://github.com/encode/django-rest-framework/pull/8763)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] * Fix Pytest's deprecation warnings about nose usage [[#8758](https://github.com/encode/django-rest-framework/pull/8758)] From 50ff1759b9cfe7aea7077a4522ea9c1a871fb063 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:00:17 +0000 Subject: [PATCH 44/68] Changes to tests should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 8fc36555fd..d32b304aea 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -105,7 +105,6 @@ Date: ... * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] -* Fix Pytest's deprecation warnings about nose usage [[#8758](https://github.com/encode/django-rest-framework/pull/8758)] * Remove extraneous word "Both" [[#8740](https://github.com/encode/django-rest-framework/pull/8740)] * Update jobs.md [[#8737](https://github.com/encode/django-rest-framework/pull/8737)] * Update quickstart.md [[#8575](https://github.com/encode/django-rest-framework/pull/8575)] From c4044d4f5af01df064f7aefc9527a0bc2ae12d0a Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:00:29 +0000 Subject: [PATCH 45/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index d32b304aea..393a258f50 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -105,7 +105,6 @@ Date: ... * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] -* Remove extraneous word "Both" [[#8740](https://github.com/encode/django-rest-framework/pull/8740)] * Update jobs.md [[#8737](https://github.com/encode/django-rest-framework/pull/8737)] * Update quickstart.md [[#8575](https://github.com/encode/django-rest-framework/pull/8575)] * Improve style, fix some typos [[#8405](https://github.com/encode/django-rest-framework/pull/8405)] From 60b9ca617cdfafc65acc01f4c8d0498a1e663a3d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:00:36 +0000 Subject: [PATCH 46/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 393a258f50..17ef109f78 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -105,7 +105,6 @@ Date: ... * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] -* Update jobs.md [[#8737](https://github.com/encode/django-rest-framework/pull/8737)] * Update quickstart.md [[#8575](https://github.com/encode/django-rest-framework/pull/8575)] * Improve style, fix some typos [[#8405](https://github.com/encode/django-rest-framework/pull/8405)] * Fixes typo [[#8719](https://github.com/encode/django-rest-framework/pull/8719)] From 8a0382c3c66259f7979daea67daf6c1bcab2f5d5 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:00:42 +0000 Subject: [PATCH 47/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 17ef109f78..0d00c2b62a 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -105,7 +105,6 @@ Date: ... * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] -* Update quickstart.md [[#8575](https://github.com/encode/django-rest-framework/pull/8575)] * Improve style, fix some typos [[#8405](https://github.com/encode/django-rest-framework/pull/8405)] * Fixes typo [[#8719](https://github.com/encode/django-rest-framework/pull/8719)] * Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] From fd0edb33e1902751e89e9753a46756b6ba07c6d5 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:01:16 +0000 Subject: [PATCH 48/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 0d00c2b62a..873f881be7 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -105,7 +105,6 @@ Date: ... * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] -* Improve style, fix some typos [[#8405](https://github.com/encode/django-rest-framework/pull/8405)] * Fixes typo [[#8719](https://github.com/encode/django-rest-framework/pull/8719)] * Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] * Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] From 81a548730fea02447505cb6abd1614a859587af7 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:01:30 +0000 Subject: [PATCH 49/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 873f881be7..359df6a935 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -105,7 +105,6 @@ Date: ... * Add support for Python 3.11 [[#8752](https://github.com/encode/django-rest-framework/pull/8752)] * Make request consistently available in pagination classes [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] -* Fixes typo [[#8719](https://github.com/encode/django-rest-framework/pull/8719)] * Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] * Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] * Update schemas.md [[#8707](https://github.com/encode/django-rest-framework/pull/8707)] From 914002bf63e05d90d0236c2e9d3f523f98a7a4e5 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:01:40 +0000 Subject: [PATCH 50/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 359df6a935..c86b4ede3a 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -107,7 +107,6 @@ Date: ... * Possibility to remove trailing zeros on DecimalFields representation [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] * Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] * Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] -* Update schemas.md [[#8707](https://github.com/encode/django-rest-framework/pull/8707)] * Avoid importing `django.test` package when not testing [[#8699](https://github.com/encode/django-rest-framework/pull/8699)] * Docs: use `asterisk` for unordered list [[#8697](https://github.com/encode/django-rest-framework/pull/8697)] * Docs: Convert all tabs into spaces [[#8692](https://github.com/encode/django-rest-framework/pull/8692)] From cda0ec67a9c9dae75f8e5f8a5b4b08196660880d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:02:26 +0000 Subject: [PATCH 51/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index c86b4ede3a..1ed5a0711b 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -108,7 +108,6 @@ Date: ... * Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] * Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] * Avoid importing `django.test` package when not testing [[#8699](https://github.com/encode/django-rest-framework/pull/8699)] -* Docs: use `asterisk` for unordered list [[#8697](https://github.com/encode/django-rest-framework/pull/8697)] * Docs: Convert all tabs into spaces [[#8692](https://github.com/encode/django-rest-framework/pull/8692)] * Preserve exception messages for wrapped Django exceptions [[#8051](https://github.com/encode/django-rest-framework/pull/8051)] * Added examples to schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] From 0660d66a44b2de8a27f2763a484c73c3d5fabb3e Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:02:32 +0000 Subject: [PATCH 52/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 1ed5a0711b..735ffcdeac 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -108,7 +108,6 @@ Date: ... * Add a method for getting serializer field name (OpenAPI) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] * Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] * Avoid importing `django.test` package when not testing [[#8699](https://github.com/encode/django-rest-framework/pull/8699)] -* Docs: Convert all tabs into spaces [[#8692](https://github.com/encode/django-rest-framework/pull/8692)] * Preserve exception messages for wrapped Django exceptions [[#8051](https://github.com/encode/django-rest-framework/pull/8051)] * Added examples to schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] * Fix infinite recursion with deepcopy on Request [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] From 70a4432ec9194b4b94d3ec1a90c8f0b3a06d4e25 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:03:56 +0000 Subject: [PATCH 53/68] Improve changelog entry --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 735ffcdeac..8e330c089f 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -109,7 +109,7 @@ Date: ... * Add `__eq__` method for `OperandHolder` class [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] * Avoid importing `django.test` package when not testing [[#8699](https://github.com/encode/django-rest-framework/pull/8699)] * Preserve exception messages for wrapped Django exceptions [[#8051](https://github.com/encode/django-rest-framework/pull/8051)] -* Added examples to schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] +* Include `examples` and `format` to OpenAPI schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] * Fix infinite recursion with deepcopy on Request [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] * Refactor: Replace try/except with contextlib.suppress() [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] * Docs: Updated browsable-api.md [[#8678](https://github.com/encode/django-rest-framework/pull/8678)] From 09325ac040034264e19921a3796985ccd38bf164 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:04:23 +0000 Subject: [PATCH 54/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 8e330c089f..9a75ba6b7c 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -112,7 +112,6 @@ Date: ... * Include `examples` and `format` to OpenAPI schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] * Fix infinite recursion with deepcopy on Request [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] * Refactor: Replace try/except with contextlib.suppress() [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] -* Docs: Updated browsable-api.md [[#8678](https://github.com/encode/django-rest-framework/pull/8678)] * Add spaces to router example in 6-viewsets-and-routers.md [[#8448](https://github.com/encode/django-rest-framework/pull/8448)] * Update requirements-testing.txt [[#8680](https://github.com/encode/django-rest-framework/pull/8680)] * Minor fix to SerializeMethodField docstring [[#8629](https://github.com/encode/django-rest-framework/pull/8629)] From da6e6dc957fc52a0f1cb524af4008b3ae774aeaf Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:04:31 +0000 Subject: [PATCH 55/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 9a75ba6b7c..a5bf903018 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -112,7 +112,6 @@ Date: ... * Include `examples` and `format` to OpenAPI schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] * Fix infinite recursion with deepcopy on Request [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] * Refactor: Replace try/except with contextlib.suppress() [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] -* Add spaces to router example in 6-viewsets-and-routers.md [[#8448](https://github.com/encode/django-rest-framework/pull/8448)] * Update requirements-testing.txt [[#8680](https://github.com/encode/django-rest-framework/pull/8680)] * Minor fix to SerializeMethodField docstring [[#8629](https://github.com/encode/django-rest-framework/pull/8629)] * Minor refactor: Unnecessary use of list() function [[#8672](https://github.com/encode/django-rest-framework/pull/8672)] From af6313adfd05ee98934bd7a69bd2a3bcf3c9b959 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:04:57 +0000 Subject: [PATCH 56/68] Changes to project workflow should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index a5bf903018..84f309a33e 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -112,7 +112,6 @@ Date: ... * Include `examples` and `format` to OpenAPI schema of CursorPagination [[#8687] (https://github.com/encode/django-rest-framework/pull/8687)] [[#8686](https://github.com/encode/django-rest-framework/pull/8686)] * Fix infinite recursion with deepcopy on Request [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] * Refactor: Replace try/except with contextlib.suppress() [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] -* Update requirements-testing.txt [[#8680](https://github.com/encode/django-rest-framework/pull/8680)] * Minor fix to SerializeMethodField docstring [[#8629](https://github.com/encode/django-rest-framework/pull/8629)] * Minor refactor: Unnecessary use of list() function [[#8672](https://github.com/encode/django-rest-framework/pull/8672)] * Update documentation on dependency installation [[#8566](https://github.com/encode/django-rest-framework/pull/8566)] From f2dc192c25b8e39edfbe16a0f3dd08e4be5a7e7f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 12:06:07 +0000 Subject: [PATCH 57/68] Changes to docs should not be included in release notes. --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index 84f309a33e..b8c110b613 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -114,7 +114,6 @@ Date: ... * Refactor: Replace try/except with contextlib.suppress() [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] * Minor fix to SerializeMethodField docstring [[#8629](https://github.com/encode/django-rest-framework/pull/8629)] * Minor refactor: Unnecessary use of list() function [[#8672](https://github.com/encode/django-rest-framework/pull/8672)] -* Update documentation on dependency installation [[#8566](https://github.com/encode/django-rest-framework/pull/8566)] * Unnecessary list comprehension [[#8670](https://github.com/encode/django-rest-framework/pull/8670)] * Use correct class to indicate present deprecation [[#8665](https://github.com/encode/django-rest-framework/pull/8665)] From 9e0003c84091a98010b9fbf875cdaaf83713a89c Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 4 Jan 2024 14:12:03 +0000 Subject: [PATCH 58/68] Update docs/community/3.15-announcement.md Co-authored-by: Asif Saif Uddin --- docs/community/3.15-announcement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/3.15-announcement.md b/docs/community/3.15-announcement.md index 1723313998..991de89e2e 100644 --- a/docs/community/3.15-announcement.md +++ b/docs/community/3.15-announcement.md @@ -19,7 +19,7 @@ # Django REST framework 3.15 -At the Internet, on September 14th, 2023, with 135 commits 107 authors, we are happy to announce the release of Django REST framework 3.15. +At the Internet, on January 12th, 2024, with 135 commits 107 authors, we are happy to announce the release of Django REST framework 3.15. ## Django 4.2 and Python 3.11 support From 53b5f627a05bb91f8156d8cae727a3c4528b22a8 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 7 Mar 2024 10:03:42 +0000 Subject: [PATCH 59/68] Update docs/community/3.15-announcement.md --- docs/community/3.15-announcement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/3.15-announcement.md b/docs/community/3.15-announcement.md index 991de89e2e..ac2bace9ca 100644 --- a/docs/community/3.15-announcement.md +++ b/docs/community/3.15-announcement.md @@ -23,7 +23,7 @@ At the Internet, on January 12th, 2024, with 135 commits 107 authors, we are hap ## Django 4.2 and Python 3.11 support -The latest release now fully supports Django 4.2 and Python 3.11. +The latest release now fully supports Django 5.0 and Python 3.12. The current minimum versions of Django still is 3.0 and Python 3.6. From 69baf9419e418fef9923d80d19f859a45a945621 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 7 Mar 2024 10:04:21 +0000 Subject: [PATCH 60/68] Update docs/community/3.15-announcement.md --- docs/community/3.15-announcement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/3.15-announcement.md b/docs/community/3.15-announcement.md index ac2bace9ca..0be68e2b30 100644 --- a/docs/community/3.15-announcement.md +++ b/docs/community/3.15-announcement.md @@ -21,7 +21,7 @@ At the Internet, on January 12th, 2024, with 135 commits 107 authors, we are happy to announce the release of Django REST framework 3.15. -## Django 4.2 and Python 3.11 support +## Django 5.0 and Python 3.12 support The latest release now fully supports Django 5.0 and Python 3.12. From dbba90aa18be49d86e24c8d3a5da6849cd08e89a Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 7 Mar 2024 10:17:33 +0000 Subject: [PATCH 61/68] Update docs/community/release-notes.md --- docs/community/release-notes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index b8c110b613..cec7c0d4df 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -40,6 +40,8 @@ You can determine your currently installed version using `pip show`: Date: ... +* Django 5.0 and Python 3.12 support [[#9157] (https://github.com/encode/django-rest-framework/pull/9157)] +* Use POST method instead of GET to perform logout in browsable API [[9208] (https://github.com/encode/django-rest-framework/pull/9208)] * Added jQuery 3.7.1 support & dropped previous version [[#9094](https://github.com/encode/django-rest-framework/pull/9094)] * Use str as default path converter [[#9066](https://github.com/encode/django-rest-framework/pull/9066)] * Document support for http.HTTPMethod in the @action decorator added in Python 3.11 [[#9067](https://github.com/encode/django-rest-framework/pull/9067)] From 204ef058459b9700ae23e547f55ee585d98dd0d8 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 8 Mar 2024 11:46:59 +0000 Subject: [PATCH 62/68] Update docs/community/release-notes.md Co-authored-by: Christian Clauss --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index cec7c0d4df..c50bfcd2a0 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -91,7 +91,7 @@ Date: ... * Handle Django's ValidationErrors in ListField [[#6423](https://github.com/encode/django-rest-framework/pull/6423)] * Remove a bit of inline CSS. Add CSP nonce where it might be required and is available [[#8783](https://github.com/encode/django-rest-framework/pull/8783)] * Use autocomplete widget for user selection in Token admin [[#8534](https://github.com/encode/django-rest-framework/pull/8534)] -* Make browsable API compatbile with strong CSP [[#8784](https://github.com/encode/django-rest-framework/pull/8784)] +* Make browsable API compatible with strong CSP [[#8784](https://github.com/encode/django-rest-framework/pull/8784)] * Avoid inline script execution for injecting CSRF token [[#7016](https://github.com/encode/django-rest-framework/pull/7016)] * Mitigate global dependency on inflection #8017 [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] [[#8781](https://github.com/encode/django-rest-framework/pull/8781)] * Register Django urls [[#8778](https://github.com/encode/django-rest-framework/pull/8778)] From 7549bdc9971ef25dd90872f1e2db408255d815de Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 8 Mar 2024 11:47:07 +0000 Subject: [PATCH 63/68] Update docs/community/release-notes.md Co-authored-by: Christian Clauss --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index c50bfcd2a0..fecdf04902 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -50,7 +50,7 @@ Date: ... * Propagate 'default' from model field to serializer field. [[#9030](https://github.com/encode/django-rest-framework/pull/9030)] * Allow to override child.run_validation call in ListSerializer [[#8035](https://github.com/encode/django-rest-framework/pull/8035)] * Align SearchFilter behaviour to django.contrib.admin search [[#9017](https://github.com/encode/django-rest-framework/pull/9017)] -* Class name added to unkown field error [[#9019](https://github.com/encode/django-rest-framework/pull/9019)] +* Class name added to unknown field error [[#9019](https://github.com/encode/django-rest-framework/pull/9019)] * Fix: Pagination response schemas. [[#9049](https://github.com/encode/django-rest-framework/pull/9049)] * Fix choices in ChoiceField to support IntEnum [[#8955](https://github.com/encode/django-rest-framework/pull/8955)] * Fix `SearchFilter` rendering search field with invalid value [[#9023](https://github.com/encode/django-rest-framework/pull/9023)] From b42d1ae7f31df998dfe80208aac0f144c2a8dcd4 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 12 Mar 2024 13:08:48 +0000 Subject: [PATCH 64/68] Update docs/community/3.15-announcement.md Co-authored-by: JAEGYUN JUNG --- docs/community/3.15-announcement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/3.15-announcement.md b/docs/community/3.15-announcement.md index 0be68e2b30..5bcff6969d 100644 --- a/docs/community/3.15-announcement.md +++ b/docs/community/3.15-announcement.md @@ -19,7 +19,7 @@ # Django REST framework 3.15 -At the Internet, on January 12th, 2024, with 135 commits 107 authors, we are happy to announce the release of Django REST framework 3.15. +At the Internet, on March 15th, 2024, with 176 commits by 138 authors, we are happy to announce the release of Django REST framework 3.15. ## Django 5.0 and Python 3.12 support From 4b74fe0739e62b752c39972a35d9601652721f3f Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Tue, 12 Mar 2024 13:27:10 +0000 Subject: [PATCH 65/68] Update docs/community/release-notes.md --- docs/community/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index fecdf04902..bf6c9eb59b 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -38,7 +38,7 @@ You can determine your currently installed version using `pip show`: ### 3.15.0 -Date: ... +Date: 15th March 2024 * Django 5.0 and Python 3.12 support [[#9157] (https://github.com/encode/django-rest-framework/pull/9157)] * Use POST method instead of GET to perform logout in browsable API [[9208] (https://github.com/encode/django-rest-framework/pull/9208)] From a45dd0702e7b2fb12bb59c48b4c09badf65003ec Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 13 Mar 2024 15:16:43 +0000 Subject: [PATCH 66/68] Update docs/community/release-notes.md Co-authored-by: JAEGYUN JUNG --- docs/community/release-notes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/community/release-notes.md b/docs/community/release-notes.md index bf6c9eb59b..aa40182284 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -62,7 +62,6 @@ Date: 15th March 2024 * Fixes `BrowsableAPIRenderer` for usage with `ListSerializer`. [[#7530](https://github.com/encode/django-rest-framework/pull/7530)] * Change semantic of `OR` of two permission classes [[#7522](https://github.com/encode/django-rest-framework/pull/7522)] * Remove dependency on `pytz` [[#8984](https://github.com/encode/django-rest-framework/pull/8984)] -* Fix validation for ListSerializer [[#8979](https://github.com/encode/django-rest-framework/pull/8979)] * Make set_value a method within `Serializer` [[#8001](https://github.com/encode/django-rest-framework/pull/8001)] * Fix URLPathVersioning reverse fallback [[#7247](https://github.com/encode/django-rest-framework/pull/7247)] * Warn about Decimal type in min_value and max_value arguments of DecimalField [[#8972](https://github.com/encode/django-rest-framework/pull/8972)] From 51fd06ecdc4103746f8902cb70023abfe08cc9b7 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 15 Mar 2024 11:06:05 +0000 Subject: [PATCH 67/68] Update release version --- rest_framework/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/__init__.py b/rest_framework/__init__.py index b9e3f9817c..45ff909806 100644 --- a/rest_framework/__init__.py +++ b/rest_framework/__init__.py @@ -10,7 +10,7 @@ import django __title__ = 'Django REST framework' -__version__ = '3.14.0' +__version__ = '3.15.0' __author__ = 'Tom Christie' __license__ = 'BSD 3-Clause' __copyright__ = 'Copyright 2011-2023 Encode OSS Ltd' From de2407f88fa3701cf60fac851dc398a95b5aa1b1 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Fri, 15 Mar 2024 11:18:23 +0000 Subject: [PATCH 68/68] Update supported Python and Django versions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 078ac07116..0146b9e222 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ There is a live example API for testing purposes, [available here][sandbox]. # Requirements * Python 3.6+ -* Django 4.2, 4.1, 4.0, 3.2, 3.1, 3.0 +* Django 5.0, 4.2, 4.1, 4.0, 3.2, 3.1, 3.0. We **highly recommend** and only officially support the latest patch release of each Python and Django series.