From 3d9dd0e9c1e88c2260de2fee1db8108d44867a8f Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 31 Oct 2010 03:01:18 -0400 Subject: - 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. --- CHANGES.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'CHANGES.txt') 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. -- cgit v1.2.3