diff --git a/docs/community/3.15-announcement.md b/docs/community/3.15-announcement.md new file mode 100644 index 00000000000..3e72b86b409 --- /dev/null +++ b/docs/community/3.15-announcement.md @@ -0,0 +1,30 @@ + + +# Django REST framework 3.15 + +## Python 3.11 support + +Python 3.11 is now supported. + +## Other fixes and improvements + +There are a number of minor fixes and improvements in this release, ranging from documentation, internal infrastructure (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 887cae3b478..2199d999c76 100644 --- a/docs/community/release-notes.md +++ b/docs/community/release-notes.md @@ -34,6 +34,71 @@ You can determine your currently installed version using `pip show`: --- +## 3.15.x series + +### 3.15.0 + +Date: TBD + +* Raise ImproperlyConfigured exception if `basename` is not unique (#8438) [[#8438](https://github.com/encode/django-rest-framework/pull/8438)] +* Use PrimaryKeyRelatedField pkfield in openapi (#8315) [[#8315](https://github.com/encode/django-rest-framework/pull/8315)] +* Upgrade to tox 4 (#8795) [[#8795](https://github.com/encode/django-rest-framework/pull/8795)] +* replace partition with split in BasicAuthentication (#8790) [[#8790](https://github.com/encode/django-rest-framework/pull/8790)] +* Fix BooleanField's allow_null behavior (#8614) [[#8614](https://github.com/encode/django-rest-framework/pull/8614)] +* Handle Django's ValidationErrors in ListField (#6423) [[#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) [[#8783](https://github.com/encode/django-rest-framework/pull/8783)] +* Update admin.py (#8534) [[#8534](https://github.com/encode/django-rest-framework/pull/8534)] +* Fix bug in validators documentation (#8779) [[#8779](https://github.com/encode/django-rest-framework/pull/8779)] +* Make browsable API compatbile with strong CSP (#8784) [[#8784](https://github.com/encode/django-rest-framework/pull/8784)] +* Avoid inline script execution for injecting CSRF token (#7016) [[#7016](https://github.com/encode/django-rest-framework/pull/7016)] +* Remove Core API mentions from docs (#8780) [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] +* Mitigate global dependency on inflection #8017 (#8781) [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] [[#8781](https://github.com/encode/django-rest-framework/pull/8781)] +* Register Django urls (#8778) [[#8778](https://github.com/encode/django-rest-framework/pull/8778)] +* Implemented Verbose Name Translation for TokenProxy (#8713) [[#8713](https://github.com/encode/django-rest-framework/pull/8713)] +* Properly handle OverflowError in DurationField deserialization (#8042) [[#8042](https://github.com/encode/django-rest-framework/pull/8042)] +* Fix OpenAPI operation name plural appropriately (#8017) [[#8017](https://github.com/encode/django-rest-framework/pull/8017)] +* Represent SafeString as plain string on schema rendering. (#8429) [[#8429](https://github.com/encode/django-rest-framework/pull/8429)] +* Fix #8771 - Checking for authentication even if `_ignore_model_permissions = True` (#8772) [[#8772](https://github.com/encode/django-rest-framework/pull/8772)] +* Update schema generation doc & add deprecation notice #8453 (#8773) [[#8773](https://github.com/encode/django-rest-framework/pull/8773)] +* Update 6-viewsets-and-routers.md (#8590) [[#8590](https://github.com/encode/django-rest-framework/pull/8590)] +* Added pagination settings test case (#8362) [[#8326](https://github.com/encode/django-rest-framework/pull/8326)] +* Fix 404 when page query parameter is empty string (#8578) [[#8578](https://github.com/encode/django-rest-framework/pull/8578)] +* Fixes instance check in ListSerializer.to_representation (#8726) (#8727) [[#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) [[#8725](https://github.com/encode/django-rest-framework/pull/8725)] +* Add missing DurationField to SimpleMetada label_lookup (#8702) [[#8702](https://github.com/encode/django-rest-framework/pull/8702)] +* converted assertion to pytest style in test status (#8769) [[#8662](https://github.com/encode/django-rest-framework/pull/8662)] +* Fix #8751 - Add support to Python 3.11 (#8752) [[#8752](https://github.com/encode/django-rest-framework/pull/875)] +* update minimum version to psycopg2-binary>=2.9.5 (#8767) [[#8767](https://github.com/encode/django-rest-framework/pull/8767)] +* pytest versions update (#8745) [[#8745](https://github.com/encode/django-rest-framework/pull/8745)] +* Add 3rd party entry for rest-framework-roles (#8755) [[#8755](https://github.com/encode/django-rest-framework/pull/8755)] +* Added http 102, 103, 421, and 425 status codes in documentation (#8763) [[#8763](https://github.com/encode/django-rest-framework/pull/8763)] +* Make request consistently available in pagination classes (#8764) [[#8764](https://github.com/encode/django-rest-framework/pull/9764)] +* Possibility to remove trailing zeros on DecimalFields representation (#6514) [[#6514](https://github.com/encode/django-rest-framework/pull/6514)] +* Fix Pytest's deprecation warnings about nose usage (#8758) [[#8758](https://github.com/encode/django-rest-framework/pull/8758)] +* Remove extraneous word "Both" (#8740) [[#8740](https://github.com/encode/django-rest-framework/pull/8740)] +* Update jobs.md (#8737) [[#8737](https://github.com/encode/django-rest-framework/pull/8737)] +* Update quickstart.md (#8575) [[#8575](https://github.com/encode/django-rest-framework/pull/8575)] +* Improve style, fix some typos (#8405) [[#8405](https://github.com/encode/django-rest-framework/pull/8405)] +* Fixes typo (#8719) [[#8719](https://github.com/encode/django-rest-framework/pull/8719)] +* Add a method for getting serializer field name (OpenAPI) (#7493) [[#7493](https://github.com/encode/django-rest-framework/pull/7493)] +* Add `__eq__` method for `OperandHolder` class (#8710) [[#8710](https://github.com/encode/django-rest-framework/pull/8710)] +* Update schemas.md (#8707) [[#8707](https://github.com/encode/django-rest-framework/pull/8707)] +* Avoid importing `django.test` package when not testing (#8699) +* Docs: use `asterisk` for unordered list (#8697) [[#8697](https://github.com/encode/django-rest-framework/pull/8697)] +* Docs: Convert all tabs into spaces (#8692) [[#8692](https://github.com/encode/django-rest-framework/pull/8692)] +* Preserve exception messages for wrapped Django exceptions (#8051) [[#8051](https://github.com/encode/django-rest-framework/pull/8051)] +* Added examples to schema of CursorPagination (#8687, #8686) [[#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) [[#8684](https://github.com/encode/django-rest-framework/pull/8684)] +* Refactor: Replace try/except with contextlib.suppress() (#8676) [[#8676](https://github.com/encode/django-rest-framework/pull/8676)] +* Docs: Updated browsable-api.md (#8678) [[#8678](https://github.com/encode/django-rest-framework/pull/8678)] +* Add spaces to router example in 6-viewsets-and-routers.md (#8448) [[#8448](https://github.com/encode/django-rest-framework/pull/8448)] +* Update requirements-testing.txt (#8680) [[#8680](https://github.com/encode/django-rest-framework/pull/8680)] +* Minor fix to SerializeMethodField docstring (#8629) [[#8629](https://github.com/encode/django-rest-framework/pull/8629)] +* Minor refactor: Unnecessary use of list() function (#8672) [[#8672](https://github.com/encode/django-rest-framework/pull/8672)] +* Update documentation on dependency installation (#8566) [[#8566](https://github.com/encode/django-rest-framework/pull/8566)] +* Unnecessary list comprehension (#8670) [[#8670](https://github.com/encode/django-rest-framework/pull/8670)] +* Use correct class to indicate present deprecation (#8665) [[#8665](https://github.com/encode/django-rest-framework/pull/8665)] + ## 3.14.x series ### 3.14.0