Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfda86c4

Browse files
committed
Add release note for#5265
Strict JSON handling
1 parent5cff1b1 commitfda86c4

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)

[8]ページ先頭

©2009-2025 Movatter.jp