[Modeling-users] Core / ZModeling v0.9pre10 released
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-18 15:57:22
|
Hi all, Release 0.9-pre-10 is out! The most proeminent additions are: * the ability to fetch raw rows (instead of fully initialized objects), * two new qualifier operators have been introduced: IN and NOT IN, * parsing of qualifier strings has been made significantly faster. The documentation has been updated to document the new features, as well as how the framework reacts to fetch when objects have been inserted, updated or deleted. Please refer to section 4.5 for details, and in particular: - http://modeling.sf.net/UserGuide/ec-fetch-reflect-changes.html - http://modeling.sf.net/UserGuide/ec-fetch-raw-rows.html It also contains some bug fixes, one of which (ticket #772997) concerns the cancellation of an object's deletion within an EditingContext, which was mishandled by the framework. Among the different stuff we discussed already here, you must note that: - DatabaseContext.batchFetchRelationship() is not included yet, - the PyModel branch has been merged into the trunk but is not officially announced since it lacks documentation for now. This will be for the next release. Best regards, -- S=E9bastien. ------------------------------------------------------------------------ 0.9-pre-10 (2003/07/18) ----------------------- * Fixed bug #772997: deleted then re-insert objects not correctly handled. * Added the ability to fetch raw rows (dictionaries instead of fully intialized objects) --see FetchSpecification.setFetchesRawRows() and EditingContext.fetch() 's parameter 'rawRows'. Also added the possibili= ty to turn these rows into real objects --see EditingContext.faultForRawRo= w() Documentation updated. * Added CustomObject.snapshot_raw(), support for the future ability to fe= tch raw rows (see above) * rewrote trace() statements in QualifierParser to avoid the unnecessary formatting of its arguments when it is not enabled. On my machine this speeds up the parsing of qualifiers strings up to x7. * Added operator 'in' and 'not in' for fetch qualifiers. Operators 'AND', 'OR' and 'NOT' can now be written with lower-case characters. [Merged branch brch-0_9pre7-1-PyModel] Note: PyModel are not officially announced w/ this release, because there= 's no documentation yet. See mailing-list archives for details, or go there and ask. =20=20 * Fixed: adaptorModel() could raise instead of returning None when model's adaptorName is not set * Model: added updateModelWithCFG(), loadModel(), searchModel() ModelSet: DEPRECATED method: updateModelWithCFG() --moved in Model, will be removed in v0.9.1 * Added Modeling.PyModel and Modeling.tests.test_PyModel * Added tests/testPackages/StoreEmployees/pymodel_StoreEmployees.py and updated StoreEmployees/__init__.py: now loads the model from the PyModel * Changed ClassDescription's delete rules: constants DELETE_CASCADE, DELETE_DENY, DELETE_NULLIFY and DELETE_NOACTION are now strings (were: integers) --> Relationship.setDeleteRule() updated to accept old integer values (backward compatibility) ------------------------------------------------------------------------ |