diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-30 02:07:36 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-30 02:07:36 -0500 |
| commit | 95c9f6f331bd3294699969ae399045891c0dc6ad (patch) | |
| tree | 1d7a5f503d7119dfa6edda4365255319b6cc3ca7 /CHANGES.txt | |
| parent | 2953baaebadfb267e1fa98d35605b88ff2274052 (diff) | |
| download | pyramid-95c9f6f331bd3294699969ae399045891c0dc6ad.tar.gz pyramid-95c9f6f331bd3294699969ae399045891c0dc6ad.tar.bz2 pyramid-95c9f6f331bd3294699969ae399045891c0dc6ad.zip | |
- The "view derivation" code is now factored into a set of classes rather
than a large number of standalone functions (a side effect of the
``view_mapper`` refactoring).
- The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view``
method, which is used by the default view mapper (a side effect of the
``view_mapper`` refactoring).
- The object passed as ``renderer`` to the "view deriver" is now an instance
of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side
effect of ``view_mapper`` refactoring).
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index fabb882f7..018de8cf7 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -13,12 +13,19 @@ Bug Fixes Features -------- -- config.add_view now accepts a 'decorator' keyword argument, a - callable which will decorate the view callable before it is added to - the registry +- ``config.add_view`` now accepts a ``decorator`` keyword argument, a callable + which will decorate the view callable before it is added to the registry. -- If a handler class provides an _action_decorator classmethod, use that - as the decorator for each view registration for that handler. +- ``config.add_view`` now accepts a ``view_mapper`` keyword argument, which + should be a class which implements the new + ``pyramid.interfaces.IViewMapperFactory`` interface. Use of an alternate + view mapper allows objects that are meant to be used as view callables to + have an arbitrary argument list and an arbitrary result. This feature will + be used by Pyramid extension developers, not by "civilians". + +- If a handler class provides an __action_decorator__ attribute (usually a + classmethod or staticmethod), use that as the decorator for each view + registration for that handler. Documentation ------------- @@ -27,6 +34,21 @@ Documentation removed from the tutorials section. It was moved to the ``pyramid_tutorials`` Github repository. +Internals +--------- + +- The "view derivation" code is now factored into a set of classes rather + than a large number of standalone functions (a side effect of the + ``view_mapper`` refactoring). + +- The ``pyramid.renderer.RendererHelper`` class has grown a ``render_view`` + method, which is used by the default view mapper (a side effect of the + ``view_mapper`` refactoring). + +- The object passed as ``renderer`` to the "view deriver" is now an instance + of ``pyramid.renderers.RendererHelper`` rather than a dictionary (a side + effect of ``view_mapper`` refactoring). + 1.0a8 (2010-12-27) ================== |
