diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-01 01:11:09 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-01 01:11:09 -0400 |
| commit | 1dad60fc000c2bd0e0b08bbd9f66c584354a12f3 (patch) | |
| tree | a12978cf37d9104061a320ca73dafb71918fe952 /CHANGES.txt | |
| parent | ba471ceceb644b5d60c05a5ffa8216fb4ee8f730 (diff) | |
| download | pyramid-1dad60fc000c2bd0e0b08bbd9f66c584354a12f3.tar.gz pyramid-1dad60fc000c2bd0e0b08bbd9f66c584354a12f3.tar.bz2 pyramid-1dad60fc000c2bd0e0b08bbd9f66c584354a12f3.zip | |
note new interface
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 9f948ffe2..37fc92f75 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -45,6 +45,10 @@ Features (delta from BFG 1.3.X) - New API methods in ``pyramid.session``: ``signed_serialize`` and ``signed_deserialize``. +- New interface: ``pyramid.interfaces.IRendererInfo``. An object of this type + is passed to renderer factory constructors (see "Backwards + Incompatibilities"). + Documentation (delta from BFG 1.3) ----------------------------------- @@ -94,12 +98,12 @@ 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 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. +- Renderer factories now accept a *renderer 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. |
