Skip to content

Commit 20ef8ca

Browse files
committed
Add release notes for #5170
1 parent a10b9f0 commit 20ef8ca

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/topics/release-notes.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ You can determine your currently installed version using `pip freeze`:
5151
**Possible backwards compatibility break** if you were relying on datetime strings being UTC. Have client interpret datetimes or [set default or active timezone (docs)][djangodocs-set-timezone] to UTC if needed.
5252

5353
* Removed DjangoFilterBackend inline with deprecation policy. Use `django_filters.rest_framework.FilterSet` and/or `django_filters.rest_framework.DjangoFilterBackend` instead. [#5273][gh5273]
54-
* Don't strip microseconds from `time` when encoding. Makes consistent with `datetime`. **BC Change**: Previously only milliseconds were encoded. [#5440][gh5440]
55-
* Added `STRICT_JSON` setting (default `True`) to raise exception for the extended float values (`nan`, `inf`, `-inf`) accepted by Python's `json` module. **BC Change**: Previously these values would converted to corresponding strings. Set `STRICT_JSON` to `False` to restore the previous behaviour. [#5265][gh5265]
54+
* Don't strip microseconds from `time` when encoding. Makes consistent with `datetime`.
55+
**BC Change**: Previously only milliseconds were encoded. [#5440][gh5440]
56+
* Added `STRICT_JSON` setting (default `True`) to raise exception for the extended float values (`nan`, `inf`, `-inf`) accepted by Python's `json` module.
57+
**BC Change**: Previously these values would converted to corresponding strings. Set `STRICT_JSON` to `False` to restore the previous behaviour. [#5265][gh5265]
5658
* Add support for `page_size` parameter in CursorPaginator class [#5250][gh5250]
59+
* Make `DEFAULT_PAGINATION_CLASS` `None` by default.
60+
**BC Change**: If your were **just** setting `PAGE_SIZE` to enable pagination you will need to add `DEFAULT_PAGINATION_CLASS`.
61+
The previous default was `rest_framework.pagination.PageNumberPagination`. There is a system check warning to catch this case. You may silence that if you are setting pagination class on a per-view basis. [#5170][gh5170]
5762

5863

5964

@@ -67,6 +72,7 @@ You can determine your currently installed version using `pip freeze`:
6772
[gh5440]: https://github.com/encode/django-rest-framework/issues/5440
6873
[gh5265]: https://github.com/encode/django-rest-framework/issues/5265
6974
[gh5250]: https://github.com/encode/django-rest-framework/issues/5250
75+
[gh5170]: https://github.com/encode/django-rest-framework/issues/5170
7076

7177

7278
## 3.6.x series

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy