Skip to content

Commit a89a642

Browse files
authored
encode#7703 adding deprecations to release notes (encode#7716)
* encode#7703 adding deprecations to release notes * encode#7703 - update link for gh6687
1 parent 393f867 commit a89a642

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/community/release-notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ Date: 28th September 2020
177177
* Don't strict disallow redundant `SerializerMethodField` field name arguments.
178178
* Don't render extra actions in browable API if not authenticated.
179179
* Strip null characters from search parameters.
180+
* Deprecate the `detail_route` decorator in favor of `action`, which accepts a `detail` bool. Use `@action(detail=True)` instead. [gh6687]
181+
* Deprecate the `list_route` decorator in favor of `action`, which accepts a `detail` bool. Use `@action(detail=False)` instead. [gh6687]
180182

181183
## 3.9.x series
182184

@@ -2270,6 +2272,7 @@ For older release notes, [please see the version 2.x documentation][old-release-
22702272
<!-- 3.10.0 -->
22712273
[gh6680]: https://github.com/encode/django-rest-framework/issues/6680
22722274
[gh6317]: https://github.com/encode/django-rest-framework/issues/6317
2275+
[gh6687]: https://github.com/encode/django-rest-framework/issues/6687
22732276

22742277
<!-- 3.11.0 -->
22752278
[gh6892]: https://github.com/encode/django-rest-framework/issues/6892

0 commit comments

Comments
 (0)