[Modeling-users] Modeling/core v0.9pre17 released
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2004-02-17 21:25:53
|
Hi all, This release consists mainly in bug-fixes, for which you'll find the details in the full changelog, below. Additionally, it should be noted that the default behaviour is now to keep the connection to the database opened --see the User's Guide: http://modeling.sourceforge.net/UserGuide/env-vars-core.html doc. for MDL_TRANSIENT_DB_CONNECTION for details. Remember that the file MIGRATION contains any details that should be taken into account when updating the framework to a newer version. (Support for sql datatype DOUBLE was added to MySQL adaptor) Last, the two patches for batch-fetching relationships and for the dynamic creation of modules have been integrated, but will be officially announced in the next release, when the related documentation is written. Thanks to all for the patches, the bug reports, the tests and the suggestions! -- S=E9bastien. ------------------------------------------------------------------------ 0.9-pre-17 (2004/02/17) ----------------------- * Integrated patch #814055: Dynamic creation of packages/modules/classes. Not publicly announced, it is not documented yet. Till then, the file doc/README.dynamic.txt contains further details. * MySQL: - added DOUBLE to the list of supported SQL types - fixed the generation of primary keys: two threads could get the same = id * Applied patch #771009: DatabaseContext.batchFetchRelationship() Not publicly announced because it's not documented yet --and there a ne= ed for a more user-friendly API at the EditingContext level! * ObserverCenter: internals changed: no more variables or functions whose names are surrounded by double-underscores (these names are normally reserved for python use) * Updated the files to conform to PEP-0263: source encoding is iso-8859-1 * Fixed SortOrdering.sortOrderingsWithString() * Added missing Modeling.__version__, thanks to John Lenton for noticing. * Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION whi= ch has the inverse semantics --see the User's Guide, appendix Environment Variables, for details. * Fixed bug #880862 using a patch submitted by John Georgiadis (thanks!): XML exported under py2.3 cannot be imported back because of boolean val= ues 'True' and 'False' not properly handled. * MySQL: the model's connection dictionary may now give a specific port to connect to. * Relationship.py: added __ne__ (for python 2.1 and 2.2), fixed FlattenedRelationship.__eq__ * Fixed bug #862182: Validation refusing valid relations between objects (TODO: tests units for this) * Fixed bug #861048: Invalid FK constraints in generated DB schema Added scripts/bug861048.py that you can run against your model to check= if the corresponding generated database schema was affected by the bug. If= it is, the script will tell you what should be done to fix it. * Fixed bug #857803: mysql: invalid generated sql for complex qualifiers --some qualifiers led to invalid SQL when fetching, causing SyntaxError. * Fixed bug #847212: qualifier IN does not handle correctly strings (stri= ngs were not quoted as they should be) * Fixed bug #854630: an empty qualifier string made ec.fetch() fail * Fixed bug #813297: mdl_generate_db_schema fails for SQLite and -A (fixed in 0.9pre16 but it was not announced) ------------------------------------------------------------------------ |