From 2eca00a3dbbcdb2bd767840d0cebde5d9e172340 Mon Sep 17 00:00:00 2001 From: Malthe Borch Date: Thu, 4 Dec 2008 21:49:51 +0000 Subject: View component registration is now able to use the 'adaptation annotation' scheme (see zope.component.adaptedBy); the change-log entry has detailed information. --- CHANGES.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 5426da283..83126b062 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,12 @@ Next release + - The component registration handler for views (functions or class + instances) now observes component adaptation annotations (see + ``zope.component.adaptedBy``) and uses them before the fallback + values for ``for_`` and ``request_type``. This change does not + affect existing code insomuch as the code does not rely on these + defaults when an annotation is set on the view (unlikely). + - Strip all slashes from end and beginning of path in clean_path within traversal machinery. -- cgit v1.2.3