From 333bd06861e55f97dfcaeebff100657734829add Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 24 Jan 2010 08:45:35 +0000 Subject: Merge reversepolarity branch. --- CHANGES.txt | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'CHANGES.txt') 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 ```` 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) ================== -- cgit v1.2.3