diff options
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 3c953e728..7d06999d6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,11 +4,17 @@ Next Release Backwards Incompatibilities --------------------------- -- Almost all renderers affect properties on the ``request.response`` response - object. For example, setting the content-type in the JSON renderer to - 'application/json'. These mutations will no longer affect - ``request.response`` when using the ``pyramid.renderers.render()`` API as - its only expected output is a rendered string object. +- Removed the ``request.response_*`` varying attributes. These attributes + have been deprecated since Pyramid 1.1, and as per the deprecation policy, + have now been removed. + +- ``request.response`` will no longer be mutated when using the + ``pyramid.renderers.render()`` API. Almost all renderers mutate the + ``request.response`` response object (for + example, the JSON renderer sets ``request.response.content_type`` to + ``application/json``), but this is only necessary when the renderer + is called by the view execution machinery; it was a bug when it was + done as a side effect of calling ``pyramid.renderers.render()``. 1.5a1 (2013-08-30) ================== |
