|
1 | | -next |
2 | | -- anonymous indexes (via Column(unique=True) etc) use column._label for naming |
3 | | -to avoid collisions |
4 | | -0.1.7 |
5 | | -- some fixes to topological sort algorithm |
6 | | -- added DISTINCT ON support to Postgres (just supply distinct=[col1,col2..]) |
7 | | -- added __mod__ (% operator) to sql expressions |
8 | | -- "order_by" mapper property inherited from inheriting mapper |
9 | | -- fix to column type used when mapper UPDATES/DELETEs |
10 | | -- with convert_unicode=True, reflection was failing, has been fixed |
11 | | -- types types types! still werent working....have to use TypeDecorator again :( |
12 | | -- mysql binary type converts array output to buffer, fixes PickleType |
13 | | -- fixed the attributes.py memory leak once and for all |
14 | | -- unittests are qualified based on the databases that support each one |
15 | | -- fixed bug where column defaults would clobber VALUES clause of insert objects |
16 | | -- fixed bug where table def w/ schema name would force engine connection |
17 | | -- fix for parenthesis to work correctly with subqueries in INSERT/UPDATE |
18 | | -- HistoryArraySet gets extend() method |
19 | | -- fixed lazyload support for other comparison operators besides = |
20 | | -- lazyload fix where two comparisons in the join condition point to the |
21 | | -samem column |
22 | | -- added "construct_new" flag to mapper, will use __new__ to create instances |
23 | | -instead of __init__ (standard in 0.2) |
24 | | -- added selectresults.py to SVN, missed it last time |
25 | | -- tweak to allow a many-to-many relationship from a table to itself via |
26 | | -an association table |
27 | | -- small fix to "translate_row" function used by polymorphic example |
28 | | -- create_engine uses cgi.parse_qsl to read query string (out the window in 0.2) |
29 | | -- tweaks to CAST operator |
30 | | -- fixed function names LOCAL_TIME/LOCAL_TIMESTAMP -> LOCALTIME/LOCALTIMESTAMP |
31 | | -- fixed order of ORDER BY/HAVING in compile |
| 1 | +0.2 |
| 2 | +- overhaul to Engine system so that what was formerly the SQLEngine |
| 3 | +is now a ComposedSQLEngine which consists of a variety of components, |
| 4 | +including a Dialect, ConnectionProvider, etc. This impacted all the |
| 5 | +db modules as well as Session and Mapper. |
| 6 | +- create_engine now takes only RFC-1738-style strings: |
| 7 | +driver://user:password@host:port/database |
| 8 | +- total rewrite of connection-scoping methodology, Connection objects |
| 9 | +can now execute clause elements directly, added explicit "close" as |
| 10 | +well as support throughout Engine/ORM to handle closing properly, |
| 11 | +no longer relying upon __del__ internally to return connections |
| 12 | +to the pool [ticket:152]. |
| 13 | +- overhaul to Session interface and scoping. uses hibernate-style |
| 14 | +methods, including query(class), save(), save_or_update(), etc. |
| 15 | +no threadlocal scope is installed by default. Provides a binding |
| 16 | +interface to specific Engines and/or Connections so that underlying |
| 17 | +Schema objects do not need to be bound to an Engine. Added a basic |
| 18 | +SessionTransaction object that can simplistically aggregate transactions |
| 19 | +across multiple engines. |
| 20 | +- overhaul to mapper's dependency and "cascade" behavior; dependency logic |
| 21 | +factored out of properties.py into a separate module "dependency.py". |
| 22 | +"cascade" behavior is now explicitly controllable, proper implementation |
| 23 | +of "delete", "delete-orphan", etc. dependency system can now determine at |
| 24 | +flush time if a child object has a parent or not so that it makes better |
| 25 | +decisions on how that child should be updated in the DB with regards to deletes. |
| 26 | +- overhaul to Schema to build upon MetaData object instead of an Engine. |
| 27 | +Entire SQL/Schema system can be used with no Engines whatsoever, executed |
| 28 | +solely by an explicit Connection object. the "bound" methodlogy exists via the |
| 29 | +BoundMetaData for schema objects. ProxyEngine is generally not needed |
| 30 | +anymore and is replaced by DynamicMetaData. |
| 31 | +- true polymorphic behavior implemented, fixes [ticket:167] |
| 32 | +- "oid" system has been totally moved into compile-time behavior; |
| 33 | +if they are used in an order_by where they are not available, the order_by |
| 34 | +doesnt get compiled, fixes [ticket:147] |
| 35 | +- overhaul to packaging; "mapping" is now "orm", "objectstore" is now |
| 36 | +"session", the old "objectstore" namespace gets loaded in via the |
| 37 | +"threadlocal" mod if used |
| 38 | +- mods now called in via "import <modname>". extensions favored over |
| 39 | +mods as mods are globally-monkeypatching |
| 40 | +- fix to add_property so that it propigates properties to inheriting |
| 41 | +mappers [ticket:154] |
| 42 | +- backrefs create themselves against primary mapper of its originating |
| 43 | +property, priamry/secondary join arguments can be specified to override. |
| 44 | +helps their usage with polymorphic mappers |
| 45 | +- "table exists" function has been implemented [ticket:31] |
| 46 | +- "create_all/drop_all" added to MetaData object [ticket:98] |
| 47 | +- improvements and fixes to topological sort algorithm, as well as more |
| 48 | +unit tests |
| 49 | +- tutorial page added to docs which also can be run with a custom doctest |
| 50 | +runner to insure its properly working. docs generally overhauled to |
| 51 | +deal with new code patterns |
32 | 52 |
|
33 | 53 | 0.1.6 |
34 | 54 | - support for MS-SQL added courtesy Rick Morrison, Runar Petursson |
|
0 commit comments