Skip to content

Commit 1af8ee6

Browse files
committed
Add release note for #5265
Strict JSON handling
1 parent 28569a2 commit 1af8ee6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/topics/release-notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ You can determine your currently installed version using `pip freeze`:
5252

5353
* Removed DjangoFilterBackend inline with deprecation policy. Use `django_filters.rest_framework.FilterSet` and/or `django_filters.rest_framework.DjangoFilterBackend` instead. [#5273][gh5273]
5454
* 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]
56+
5557

5658

5759
<!-- 3.7.0 -->
@@ -62,6 +64,7 @@ You can determine your currently installed version using `pip freeze`:
6264
[djangodocs-set-timezone]: https://docs.djangoproject.com/en/1.11/topics/i18n/timezones/#default-time-zone-and-current-time-zone
6365
[gh5273]: https://github.com/encode/django-rest-framework/issues/5273
6466
[gh5440]: https://github.com/encode/django-rest-framework/issues/5440
67+
[gh5265]: https://github.com/encode/django-rest-framework/issues/5265
6568

6669

6770
## 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