[oslo] oslo.db 4.26.0 (queens)
We are stoked to announce the release of: oslo.db 4.26.0: Oslo Database library This release is part of the queens release series. The source is available from: https://git.openstack.org/cgit/openstack/oslo.db Download the package from: https://pypi.python.org/pypi/oslo.db Please report issues through launchpad: https://bugs.launchpad.net/oslo.db For more details, please see below. 4.26.0 ^^^^^^ Deprecation Notes * The configuration option "idle_timeout" is now deprecated and has been renamed to "connection_recycle_time", including within the main oslo.db options, as well as in the keyword arguments to "engines.create_engine()", "enginefacade.configure()" and "enginefacade.configure_defaults()". The new name more accurately describes what this option does, in that it is not directly related to the "idle" time of the connection itself, nor is the connection disconnected at any specific time. It refers to a rule stating that any connection which has been present more than N seconds as a member of the connection pool will be automatically discarded and replaced the next time it is checked out from the pool. Changes in oslo.db 4.25.0..4.26.0 --------------------------------- 338b39d Updated from global requirements 6634218 Rename idle_timeout to connection_recycle_time c4843bc Workaround non-compatible type.adapt() for SQLAlchemy < 1.1 d77af64 Let others listen to SQLAlchemy errors 10d17ea Update reno for stable/pike 41174be Replace ndb "auto" types with unified String 6814281 Updated from global requirements 24f0402 Remove deprecation warning when loading tests/sqlalchemy 3ef34da Replace six.iteritems() with .items() 83563e0 Log an exception when reconnect-to-disconnected occurs Diffstat (except docs and test files) ------------------------------------- oslo_db/options.py | 28 +++++--- oslo_db/sqlalchemy/compat/utils.py | 24 +++++++ oslo_db/sqlalchemy/enginefacade.py | 18 +++-- oslo_db/sqlalchemy/engines.py | 9 ++- oslo_db/sqlalchemy/exc_filters.py | 4 +- oslo_db/sqlalchemy/models.py | 6 +- oslo_db/sqlalchemy/ndb.py | 84 ++++++++++------------ oslo_db/sqlalchemy/types.py | 27 ++++++- .../deprecate_idle_timeout-029d9f2cb7184b28.yaml | 15 ++++ releasenotes/source/index.rst | 1 + releasenotes/source/pike.rst | 6 ++ setup.cfg | 6 +- 19 files changed, 256 insertions(+), 94 deletions(-)
participants (1)
-
no-reply@openstack.org