summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-31 13:48:13 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-31 13:48:13 -0700
commit22642d73056f06a1834dce8970922951fa18c5a1 (patch)
treee56037a9d48e7900b5ec3396b1ae28a2723ca623 /CHANGES.txt
parentf4c5f1a60612749ef36aae01d9a3a559b6acdfff (diff)
parentadfcf6d579496495fb71f8c1af293a953b3a13cb (diff)
downloadpyramid-22642d73056f06a1834dce8970922951fa18c5a1.tar.gz
pyramid-22642d73056f06a1834dce8970922951fa18c5a1.tar.bz2
pyramid-22642d73056f06a1834dce8970922951fa18c5a1.zip
Merge https://github.com/Pylons/pyramid
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index e58a1dc76..04f5a7d05 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,60 @@ Next release
Bug Fixes
---------
+- The ``proutes`` command tried too hard to resolve the view for printing,
+ resulting in exceptions when an exceptional root factory was encountered.
+ Instead of trying to resolve the view, if it cannot, it will now just print
+ ``<unknown>``.
+
+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 ``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
+-------------
+
+- The (weak) "Converting a CMF Application to Pyramid" tutorial has been
+ 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).
+
+- The class used as the "page template" in ``pyramid.chameleon_text`` was
+ removed, in preference to using a Chameleon-inbuilt version.
+
+
+1.0a8 (2010-12-27)
+==================
+
+Bug Fixes
+---------
+
- The name ``registry`` was not available in the ``paster pshell``
environment under IPython.
@@ -25,6 +79,10 @@ Features
arguments to add_route work by raising an exception during configuration if
view-related arguments exist but no ``view`` argument is passed.
+- Add ``paster proute`` command which displays a summary of the routing
+ table. See the narrative documentation section within the "URL Dispatch"
+ chapter entitled "Displaying All Application Routes".
+
Paster Templates
----------------
@@ -81,6 +139,10 @@ Documentation
- Merge "Static Assets" chapter into the "Assets" chapter.
+- Added narrative documentation section within the "URL Dispatch" chapter
+ entitled "Displaying All Application Routes" (for ``paster proutes``
+ command).
+
1.0a7 (2010-12-20)
==================