Skip to content

Commit

Permalink
Note changes to Decimal rendering to json behavior. Fixes #582.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Jan 16, 2013
1 parent fecfe57 commit 0f0a07b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/topics/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ Major version numbers (x.0.0) are reserved for project milestones. No major poi

**Date**: 14th Jan 2013

* Deprecate django.utils.simplejson in favor of Python 2.6's built-in json module.
* Deprecate `django.utils.simplejson` in favor of Python 2.6's built-in json module.
* Bugfix: `auto_now`, `auto_now_add` and other `editable=False` fields now default to read-only.
* Bugfix: PK fields now only default to read-only if they are an AutoField or if `editable=False`.
* Bugfix: Validation errors instead of exceptions when serializers receive incorrect types.
* Bugfix: Validation errors instead of exceptions when related fields receive incorrect types.
* Bugfix: Handle ObjectDoesNotExist exception when serializing null reverse one-to-one

**Note**: Prior to 2.1.16, The Decimals would render in JSON using floating point if `simplejson` was installed, but otherwise render using string notation. Now that use of `simplejson` has been deprecated, Decimals will consistently render using string notation. See [#582] for more details.

### 2.1.15

**Date**: 3rd Jan 2013
Expand Down Expand Up @@ -324,3 +326,4 @@ This change will not affect user code, so long as it's following the recommended
[staticfiles13]: https://docs.djangoproject.com/en/1.3/howto/static-files/#with-a-template-tag
[2.1.0-notes]: https://groups.google.com/d/topic/django-rest-framework/Vv2M0CMY9bg/discussion
[announcement]: rest-framework-2-announcement.md
[#582]: https://github.com/tomchristie/django-rest-framework/issues/582

0 comments on commit 0f0a07b

Please sign in to comment.