summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-10-31 03:01:18 -0400
committerChris McDonough <chrism@plope.com>2010-10-31 03:01:18 -0400
commit3d9dd0e9c1e88c2260de2fee1db8108d44867a8f (patch)
treeb0dc32b89a8bbfd64915240b37bfac572807fbe3 /CHANGES.txt
parent051e27a386e9a774b3b1e8c705aa0c8de8e129c3 (diff)
downloadpyramid-3d9dd0e9c1e88c2260de2fee1db8108d44867a8f.tar.gz
pyramid-3d9dd0e9c1e88c2260de2fee1db8108d44867a8f.tar.bz2
pyramid-3d9dd0e9c1e88c2260de2fee1db8108d44867a8f.zip
- Renderer factories now accept a *dictionary* rather than an absolute resource
specification or an absolute path. The dictonary contains the following keys: ``name`` (the ``renderer=`` value), ``package`` (the 'current package' when the renderer configuration statement was found), ``type``: the renderer type, and ``registry``: the current registry. Third-party ``repoze.bfg`` renderer implementations that must be ported to Pyramid will need to account for this. This change was made to support more flexible Mako template rendering.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index dcfdbcaaa..8dbbbfd66 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -90,3 +90,17 @@ Backwards Incompatibilities (with BFG 1.3.X)
- The Venusian "category" for all built-in Venusian decorators
(e.g. ``subscriber`` and ``view_config``/``bfg_view``) is now
``pyramid`` instead of ``bfg``.
+
+- ``pyramid.renderers.rendered_response`` function removed; use
+ ``render_pyramid.renderers.render_to_response`` instead.
+
+- Renderer factories now accept a *dictionary* rather than an absolute resource
+ specification or an absolute path. The dictonary contains the following
+ keys: ``name`` (the ``renderer=`` value), ``package`` (the 'current package'
+ when the renderer configuration statement was found), ``type``: the renderer
+ type, and ``registry``: the current registry.
+
+ Third-party ``repoze.bfg`` renderer implementations that must be ported to
+ Pyramid will need to account for this.
+
+ This change was made to support more flexible Mako template rendering.