[Zope-Checkins] CVS: Zope2 - CHANGES.txt:1.287.2.90
Jim Fulton
jim@digiciool.com
Thu, 15 Mar 2001 08:59:35 -0500 (EST)
Update of /cvs-repository/Zope2/doc
In directory korak:/tmp/cvs-serv29725
Modified Files:
Tag: zope-2_3-branch
CHANGES.txt
Log Message:
Added documentation of the small catalog API change.
--- Updated File CHANGES.txt in package Zope2 --
--- CHANGES.txt 2001/03/15 13:50:45 1.287.2.89
+++ CHANGES.txt 2001/03/15 13:59:35 1.287.2.90
@@ -315,6 +315,20 @@
Now allow subtransaction commit (but not abort) even when some
participating data managers don't understand subtransactions.
+ New Features
+
+ - The API for cataloging objects changed slightly:
+
+ o If the object being cataloged has a 'getPhysicalPath'
+ method, as Zope objects typically (always) do, then it is
+ no longer necessary to pass a unique ID to the catalog
+ when catalling the 'catalog_object' method. It is
+ recommended to not pass a unique id and let the catalog
+ figure out the unique id on it's own.
+
+ o If a unique id is passed to the catalog 'catalog_object'
+ method, it **must** be a string.
+
Zope 2.3.0
Bugs Fixed