diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-01 00:43:43 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-01 00:43:43 -0400 |
| commit | f5fa3f9e2a754ce199386e3f20735cd2dfbbc3fc (patch) | |
| tree | 2c53687d943aad9e28a116453a20fbc80c329406 /CHANGES.txt | |
| parent | 6f1973b325cba5600eb91ff6982baf68b4567336 (diff) | |
| download | pyramid-f5fa3f9e2a754ce199386e3f20735cd2dfbbc3fc.tar.gz pyramid-f5fa3f9e2a754ce199386e3f20735cd2dfbbc3fc.tar.bz2 pyramid-f5fa3f9e2a754ce199386e3f20735cd2dfbbc3fc.zip | |
for performance reasons (to avoid unnecessary ZCA lookups), pass the helper object itself to a renderer rather than a dictionary derivation)
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index b54f1a920..9f948ffe2 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -94,14 +94,15 @@ Backwards Incompatibilities (with BFG 1.3.X) - ``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, ``registry``: the current registry, and ``settings``: the deployment - settings dictionary. +- Renderer factories now accept an *info object* rather than an absolute + resource specification or an absolute path. The object has the following + attributes: ``name`` (the ``renderer=`` value), ``package`` (the 'current + package' when the renderer configuration statement was found), ``type``: the + renderer type, ``registry``: the current registry, and ``settings``: the + deployment settings dictionary. 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. + This change was made primarily to support more flexible Mako template + rendering. |
