[Sqlalchemy-commits] commit/sqlalchemy: 4 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-09-02 22:25:44
|
4 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/108c60f460c7/ Changeset: 108c60f460c7 Branch: None User: zzzeek Date: 2015-09-02 21:55:15+00:00 Summary: - The :class:`.SessionEvents` suite now includes events to allow unambiguous tracking of all object lifecycle state transitions in terms of the :class:`.Session` itself, e.g. pending, transient, persistent, detached. The state of the object within each event is also defined. fixes #2677 - Added a new session lifecycle state :term:`deleted`. This new state represents an object that has been deleted from the :term:`persistent` state and will move to the :term:`detached` state once the transaction is committed. This resolves the long-standing issue that objects which were deleted existed in a gray area between persistent and detached. The :attr:`.InstanceState.persistent` accessor will **no longer** report on a deleted object as persistent; the :attr:`.InstanceState.deleted` accessor will instead be True for these objects, until they become detached. - The :paramref:`.Session.weak_identity_map` parameter is deprecated. See the new recipe at :ref:`session_referencing_behavior` for an event-based approach to maintaining strong identity map behavior. references #3517 Affected #: 17 files https://bitbucket.org/zzzeek/sqlalchemy/commits/606135dd989f/ Changeset: 606135dd989f Branch: None User: zzzeek Date: 2015-09-02 21:55:26+00:00 Summary: Merge branch 'ticket_2677' Affected #: 22 files https://bitbucket.org/zzzeek/sqlalchemy/commits/518438bc4c35/ Changeset: 518438bc4c35 Branch: rel_1_0 User: zzzeek Date: 2015-09-02 21:55:48+00:00 Summary: - add new documentation that applies to all modern SQLA versions, detailing ORM event recipes across the board. (cherry picked from commit 8be93c23ee566de7cefd7d1b8ef044324132a70f) Affected #: 8 files https://bitbucket.org/zzzeek/sqlalchemy/commits/d3c6f88824f0/ Changeset: d3c6f88824f0 Branch: rel_0_9 User: zzzeek Date: 2015-09-02 21:56:28+00:00 Summary: - add new documentation that applies to all modern SQLA versions, detailing ORM event recipes across the board. (cherry picked from commit 8be93c23ee566de7cefd7d1b8ef044324132a70f) Conflicts: doc/build/orm/events.rst Affected #: 8 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |