From: Mike Bayer Date: Wed, 14 Apr 2010 22:11:16 +0000 (-0400) Subject: 0.6.0 prep X-Git-Tag: rel_0_6_0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d246e585a29774ac75b5e79e2695d3e5b7437fb;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 0.6.0 prep --- diff --git a/CHANGES b/CHANGES index b254b0a01f..7edcc9b8a9 100644 --- a/CHANGES +++ b/CHANGES @@ -4,8 +4,9 @@ CHANGES ======= -0.6uow_refactor -=============== +0.6.0 +===== + - orm - Unit of work internals have been rewritten. Units of work with large numbers of objects interdependent objects @@ -19,18 +20,14 @@ CHANGES work to be done, filtered through a single topological sort for correct ordering. Flush actions are assembled using far fewer steps and less memory. [ticket:1742] - + - one-to-many relationships now maintain a list of positive parent-child associations within the flush, preventing previous parents marked as deleted from cascading a delete or NULL foreign key set on those child objects, despite the end-user not removing the child from the old association. [ticket:1764] - -0.6.0 -===== -- orm - A collection lazy load will switch off default eagerloading on the reverse many-to-one side, since that loading is by definition unnecessary. [ticket:1495] diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index 774ac24d94..30d357fd69 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -114,6 +114,6 @@ from sqlalchemy.engine import create_engine, engine_from_config __all__ = sorted(name for name, obj in locals().items() if not (name.startswith('_') or inspect.ismodule(obj))) -__version__ = '0.6uow_refactor' +__version__ = '0.6.0' del inspect, sys diff --git a/lib/sqlalchemy/orm/dependency.py b/lib/sqlalchemy/orm/dependency.py index 731b21549c..624035c686 100644 --- a/lib/sqlalchemy/orm/dependency.py +++ b/lib/sqlalchemy/orm/dependency.py @@ -168,9 +168,6 @@ class DependencyProcessor(object): if not sum_: continue - # I'd like to emit the before_delete/after_save actions - # here and have the unit of work not get confused by that - # when it alters the list of dependencies... if isdelete: before_delete = unitofwork.ProcessState(uow, self, True, state) if parent_in_cycles: