this one has some pretty key fixes in it, and a pretty hefty amount  
of refactoring to sessions/unit of work behavior.

important in this release is:

    - global_connect() / default MetaData has been restored, in the  
manner similar to 0.1's global "ProxyEngine" .  I already noticed  
some Pylons folks getting tripped up over an example that uses this,  
so that should work now.

  - oracle URLs fixed - somehow the translation of URL object to  
connect() string was totally hosed, so thats fixed, plus you can  
connect based on host/port as well as TNS name

  - firebird - its there !  not quite finished, but passing the  
majority of unit tests under 0.2.  not sure if reflection is totally  
working yet.

  - inheritance - a lot more is possible now.  a few people are  
storing object relationships that i never imagined could go straight  
into relational tables.

a fair amount has changed under the hood in this one with regards to  
ORM functionality and some with "threadlocal" connection/transaction  
management (again),  so please let me know of any new quirks introduced.


changelog:

0.2.2
- big improvements to polymorphic inheritance behavior, enabling it
to work with adjacency list table structures [ticket:190]
- major fixes and refactorings to inheritance relationships overall,
more unit tests
- fixed "echo_pool" flag on create_engine()
- fix to docs, removed incorrect info that close() is unsafe to use
with threadlocal strategy (its totally safe !)
- create_engine() can take URLs as string or unicode [ticket:188]
- firebird support partially completed;
thanks to James Ralston and Brad Clements for their efforts.
- Oracle url translation was broken, fixed, will feed host/port/sid
into cx_oracle makedsn() if 'database' field is present, else uses
straight TNS name from the 'host' field
- fix to using unicode criterion for query.get()/query.load()
- count() function on selectables now uses table primary key or
first column instead of "1" for criterion, also uses label "rowcount"
instead of "count".
- got rudimental "mapping to multiple tables" functionality cleaned up,
more correctly documented
- restored global_connect() function, attaches to a DynamicMetaData
instance called "default_metadata".  leaving MetaData arg to Table
out will use the default metadata.
- fixes to session cascade behavior, entity_name propigation
- reorganized unittests into subdirectories
- more fixes to threadlocal connection nesting patterns


_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to