summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-01-24 08:45:35 +0000
committerChris McDonough <chrism@agendaless.com>2010-01-24 08:45:35 +0000
commit333bd06861e55f97dfcaeebff100657734829add (patch)
tree495b62d5b297a52f29f042adca5d54a319d413c2 /CHANGES.txt
parentcc6a44df0a8535d2bc91944ae34a2521c12c7a07 (diff)
downloadpyramid-333bd06861e55f97dfcaeebff100657734829add.tar.gz
pyramid-333bd06861e55f97dfcaeebff100657734829add.tar.bz2
pyramid-333bd06861e55f97dfcaeebff100657734829add.zip
Merge reversepolarity branch.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 21668ca7d..ec8e7f19d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,40 @@
+Next release
+============
+
+Bug Fixes
+---------
+
+- When "hybrid mode" (both traversal and urldispatch) is in use,
+ default to finding route-related views even if a non-route-related
+ view registration has been made with a more specific context. The
+ default used to be to find views with a more specific context first.
+ Use the ``use_global_views`` argument to the route configuration to
+ get back the older behavior.
+
+Features
+--------
+
+- Add ``use_global_views`` argument to ``add_route`` method of
+ Configurator. When this argument is true, views registered for *no*
+ route will be found if no more specific view related to the route is
+ found.
+
+- Add ``use_global_views`` attribute to ZCML ``<route>`` directive
+ (see above).
+
+Internal
+--------
+
+- When registering a view, register the view adapter with the
+ "requires" interfaces as ``(request_type, context_type)`` rather
+ than ``(context_type, request_type)``. This provides for saner
+ lookup, because the registration will always be made with a specific
+ request interface, but registration may not be made with a specific
+ context interface. In general, when creating multiadapters, you
+ want to order the provides interfaces so that the the elements which
+ are more likely to have specific interfaces are ordered before those
+ which may not.
+
1.2b2 (2010-01-21)
==================