summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-08-06 03:30:40 +0000
committerChris McDonough <chrism@agendaless.com>2008-08-06 03:30:40 +0000
commit39fccbbfbceacaf1b3d5fb6f03a07fbe4d861969 (patch)
treeb06b38c284eae4e37bd46bc5b1182153cff8b7fa /CHANGES.txt
parente17c8d815136218d7dd07e21cf78f4104d773d48 (diff)
downloadpyramid-39fccbbfbceacaf1b3d5fb6f03a07fbe4d861969.tar.gz
pyramid-39fccbbfbceacaf1b3d5fb6f03a07fbe4d861969.tar.bz2
pyramid-39fccbbfbceacaf1b3d5fb6f03a07fbe4d861969.zip
- Small url dispatch overhaul: the ``connect`` method of the
``urldispatch.RoutesMapper`` object now accepts a keyword parameter named ``context_factory``. If this parameter is supplied, it must be a callable which returns an instance. This instance is used as the context for the request when a route is matched. - The registration of a RoutesModelTraverser no longer needs to be performed by the application; it's in the bfg ZCML now.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index a76a91bc0..eac0c6b48 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,14 +1,27 @@
-After 0.2.6
+0.2.7
- Add a ``request_type`` attribute to the available attributes of a
``bfg:view`` configure.zcml element. This attribute will have a
value which is a dotted Python path, pointing at an interface. If
the request object implements this interface when the view lookup
- is performed, the appropriate view will be called.
+ is performed, the appropriate view will be called. This is meant
+ to allow for simple "skinning" of sites based on request type. An
+ event subscriber should attach the interface to the request on
+ ingress to support skins.
- Remove "template only" views. These were just confusing and were
never documented.
+ - Small url dispatch overhaul: the ``connect`` method of the
+ ``urldispatch.RoutesMapper`` object now accepts a keyword
+ parameter named ``context_factory``. If this parameter is
+ supplied, it must be a callable which returns an instance. This
+ instance is used as the context for the request when a route is
+ matched.
+
+ - The registration of a RoutesModelTraverser no longer needs to be
+ performed by the application; it's in the bfg ZCML now.
+
0.2.6
- Add event sends for INewRequest and INewResponse. See the