[Checkins] SVN: zope.component/trunk/ Remove IDefaultViewName, add more sensible changelog entry about removal of BBB interfaces.

Dan Korostelev nadako at gmail.com
Sun Mar 8 05:48:50 EDT 2009


Log message for revision 97658:
  Remove IDefaultViewName, add more sensible changelog entry about removal of BBB interfaces.

Changed:
  U   zope.component/trunk/CHANGES.txt
  U   zope.component/trunk/src/zope/component/interfaces.py

-=-
Modified: zope.component/trunk/CHANGES.txt
===================================================================
--- zope.component/trunk/CHANGES.txt	2009-03-08 09:07:36 UTC (rev 97657)
+++ zope.component/trunk/CHANGES.txt	2009-03-08 09:48:50 UTC (rev 97658)
@@ -4,6 +4,23 @@
 3.6.0 (unreleased)
 ==================
 
+- IMPORTANT: the interfaces that were defined in the
+  zope.component.bbb.interfaces and deprecated for years are
+  now (re)moved. However, some packages, including part of zope
+  framework were still using those interfaces. They will be adapted
+  for this change. If you were using some of those interfaces, you
+  need to adapt your code as well:
+  
+   - The IView and IDefaultViewName were moved to zope.publisher.interfaces.
+
+   - The IResource was moved to zope.app.publisher.interfaces.
+
+   - IContextDependent, IPresentation, IPresentationRequest,
+     IResourceFactory, IViewFactory were removed completely.
+
+     If you used IViewFactory in context of zope.app.form, there's now
+     IWidgetFactory in the zope.app.form.interfaces instead.
+
 - Added a pure-Python 'hookable' implementation, for use when
   'zope.hookable' is not present.
 
@@ -14,10 +31,6 @@
 
 - Remove deprecated code.
 
-- Remove interfaces that were defined in the bbb package and deprecated
-  for years now. Other packages that still rely on them will be adapted
-  to this change.
-
 - Change package's mailing list address to zope-dev at zope.org, because
   zope3-dev at zope.org is now retired.
 

Modified: zope.component/trunk/src/zope/component/interfaces.py
===================================================================
--- zope.component/trunk/src/zope/component/interfaces.py	2009-03-08 09:07:36 UTC (rev 97657)
+++ zope.component/trunk/src/zope/component/interfaces.py	2009-03-08 09:48:50 UTC (rev 97658)
@@ -909,22 +909,3 @@
 class IComponents(IComponentLookup, IComponentRegistry):
     """Component registration and access
     """
-
-########################################################################
-# This interface are deprecated and meant to be (re)moved soon
-#
-
-# When this code is removed, this needs to be undeprecated and moved
-# towards a private interface somewhere in zope.app.publisher. In
-# effect the Zope 3 core is still using IDefaultViewName at present,
-# even though it's in bbb.
-class IDefaultViewName(Interface):
-    """A string that contains the default view name
-
-    A default view name is used to select a view when a user hasn't
-    specified one.
-    """
-
-#
-#
-########################################################################



More information about the Checkins mailing list