docs/news_pool.rst
.. currentmodule:: psycopg_pool
.. index:: single: Release notes single: News
psycopg_pool release notespsycopg_pool 3.3.1 ^^^^^^^^^^^^^^^^^^
~asyncio.CancelledError on connection
(:ticket:#1275).~ConnectionPool.open() thread-safe (:ticket:#1300).~ConnectionPool.drain() method (:ticket:#1215).!conninfo and !kwargs ConnectionPool parameters to be callable
to allow connection parameters update (:ticket:#851).!close_returns ConnectionPool parameter for :ref:integration with SQLAlchemy <pool-sqlalchemy> (:ticket:#1046).psycopg_pool 3.2.8 ^^^^^^^^^^^^^^^^^^
~asyncio.CancelledError is raised on check,
rollback, or other events (:tickets:#1123, #1208).psycopg_pool 3.2.7 ^^^^^^^^^^^^^^^^^^
#1124).#1176).psycopg_pool 3.2.6 ^^^^^^^^^^^^^^^^^^
#1014).psycopg_pool 3.2.5 ^^^^^^^^^^^^^^^^^^
#1001).psycopg_pool 3.2.4 ^^^^^^^^^^^^^^^^^^
__del__, which has been reported happening during interpreter shutdown
on Python 3.13 (see :ticket:#954).psycopg_pool 3.2.3 ^^^^^^^^^^^^^^^^^^
psycopg_pool 3.2.2 ^^^^^^^^^^^^^^^^^^
RuntimeWarning instead of a DeprecationWarning if an async pool
is open in the constructor.#784).SELECT 1 to check connections
(:ticket:#790).psycopg_pool 3.2.1 ^^^^^^^^^^^^^^^^^^
!timeout parameter on ~ConnectionPool.connection() when
!check fails. Also avoid a busy-loop of checking; separate check attempts
using an exponential backoff (:ticket:#709).typing.Self as a more correct return value annotation of context
managers and other self-returning methods (see :ticket:708).!reconnect_failed callbacks in AsyncConnectionPool
(:ticket:#520).!check parameter to the pool constructor and
~ConnectionPool.check_connection() method. (:ticket:#656).#559).!open=True and the
pool context is not used. In the future the default will become !False
(:ticket:#659).#659).psycopg_pool 3.1.9 ^^^^^^^^^^^^^^^^^^
!NullConnectionPool.__enter__()
(:ticket:#540).psycopg_pool 3.1.8 ^^^^^^^^^^^^^^^^^^
max_lifetime on ~ConnectionPool.check()
(:ticket:#482).psycopg_pool 3.1.7 ^^^^^^^^^^^^^^^^^^
#503).psycopg_pool 3.1.6 ^^^^^^^^^^^^^^^^^^
!**kwargs
(:ticket:#493).psycopg_pool 3.1.5 ^^^^^^^^^^^^^^^^^^
!ConnectionPool.check() refills an empty pool
(:ticket:#438).!TypeAlias (:ticket:#439).psycopg_pool 3.1.4 ^^^^^^^^^^^^^^^^^^
#219).psycopg_pool 3.1.3 ^^^^^^^^^^^^^^^^^^
#305).psycopg_pool 3.1.2 ^^^^^^^^^^^^^^^^^^
#370).psycopg_pool 3.1.1 ^^^^^^^^^^^^^^^^^^
#230).null-pool (:ticket:#148).ConnectionPool.open() and !open parameter to the pool constructor
(:ticket:#151).psycopg_pool 3.0.3 ^^^^^^^^^^^^^^^^^^
!ValueError if ConnectionPool !min_size and !max_size are both
set to 0 (instead of hanging).PoolClosed calling ~ConnectionPool.wait() on a closed pool.psycopg_pool 3.0.2 ^^^^^^^^^^^^^^^^^^
!psycopg._compat module.psycopg_pool 3.0.1 ^^^^^^^^^^^^^^^^^^
~ConnectionPool.check() (:ticket:#144).