summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2015-02-06 02:06:07 -0600
committerMichael Merickel <michael@merickel.org>2015-02-06 02:06:48 -0600
commitd23e6986b1122e8d7344f2c882ddd3e3f423e30f (patch)
tree4da27fa45bf58d5eeb4bdfee808158728be2f981 /CHANGES.txt
parentdd22319b1b8df9b1772451035fca582bd666e218 (diff)
downloadpyramid-d23e6986b1122e8d7344f2c882ddd3e3f423e30f.tar.gz
pyramid-d23e6986b1122e8d7344f2c882ddd3e3f423e30f.tar.bz2
pyramid-d23e6986b1122e8d7344f2c882ddd3e3f423e30f.zip
update changelog and docs
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index b334f5258..30f30cec7 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -80,6 +80,16 @@ Features
- Support keyword-only arguments and function annotations in views in
Python 3. See https://github.com/Pylons/pyramid/pull/1556
+- ``request.response`` will no longer be mutated when using the
+ ``pyramid.renderers.render_to_response()`` API. Almost all renderers
+ mutate the ``request.response`` response object (for example, the JSON
+ renderer sets ``request.response.content_type`` to ``application/json``).
+ However, when invoking ``render_to_response`` it is not expected that the
+ response object being returned would be the same one used later in the
+ request. The response object returned from ``render_to_response`` is now
+ explicitly different from ``request.response``. This does not change the
+ API of a renderers. See https://github.com/Pylons/pyramid/pull/1563
+
Bug Fixes
---------