[Sqlalchemy-commits] commit/sqlalchemy: 3 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-04-30 22:01:25
|
3 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/2d64bd39ea2c/ Changeset: 2d64bd39ea2c Branch: None User: zzzeek Date: 2015-04-30 21:43:49+00:00 Summary: - rework this so that creator can maintain the same API as before Affected #: 3 files https://bitbucket.org/zzzeek/sqlalchemy/commits/d26c18bd9dcb/ Changeset: d26c18bd9dcb Branch: ticket_3355 User: zzzeek Date: 2015-04-30 21:43:53+00:00 Summary: - new features will be in 1.0.3 Affected #: 4 files https://bitbucket.org/zzzeek/sqlalchemy/commits/0e98795ff2c7/ Changeset: 0e98795ff2c7 Branch: None User: zzzeek Date: 2015-04-30 21:51:14+00:00 Summary: - New features added to support engine/pool plugins with advanced functionality. Added a new "soft invalidate" feature to the connection pool at the level of the checked out connection wrapper as well as the :class:`._ConnectionRecord`. This works similarly to a modern pool invalidation in that connections aren't actively closed, but are recycled only on next checkout; this is essentially a per-connection version of that feature. A new event :class:`.PoolEvents.soft_invalidate` is added to complement it. fixes #3379 - Added new flag :attr:`.ExceptionContext.invalidate_pool_on_disconnect`. Allows an error handler within :meth:`.ConnectionEvents.handle_error` to maintain a "disconnect" condition, but to handle calling invalidate on individual connections in a specific manner within the event. - Added new event :class:`.DialectEvents.do_connect`, which allows interception / replacement of when the :meth:`.Dialect.connect` hook is called to create a DBAPI connection. Also added dialect plugin hooks :meth:`.Dialect.get_dialect_cls` and :meth:`.Dialect.engine_created` which allow external plugins to add events to existing dialects using entry points. fixes #3355 Affected #: 9 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. |