psycopg breaking changes
Updated December 4, 2026
On this page
Latest version 3.3.9, released November 12, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
psycopg 3.3.7 breaking changes
- Signature changed
psycopg.types.array.ArrayBinaryLoader.__init__
Was def __init__(self, oid: int, context: abc.AdaptContext | None = None); now def __init__(self, oid: int, context: AdaptContext | None = None). pypi.org - Signature changed
psycopg.types.array.ArrayLoader.__init__
Was def __init__(self, oid: int, context: abc.AdaptContext | None = None); now def __init__(self, oid: int, context: AdaptContext | None = None). pypi.org
psycopg 3.3.6 breaking changes
- Signature changed
psycopg.abc.WaitFunc.__call__
Was def __call__(self, gen: PQGen[RV], fileno: int, interval: float = ...) -> RV; now def __call__(self, gen: PQGen[RV], fileno: int, interval: float = ..., timeout: float | None = ...) -> RV. pypi.org - Signature changed
psycopg.Connection.wait
Was def wait(self, gen: PQGen[RV], interval: float = _WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen[RV], interval: float = _WAIT_INTERVAL, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.crdb.CrdbConnection.wait
Was def wait(self, gen: PQGen[RV], interval: float = _WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen[RV], interval: float = _WAIT_INTERVAL, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_async
Was async def wait_async(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV; now async def wait_async(gen: PQGen[RV], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_conn
Was def wait_conn(gen: PQGenConn[RV], interval: float = 0.0) -> RV; now def wait_conn(gen: PQGenConn[RV], interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_conn_async
Was async def wait_conn_async(gen: PQGenConn[RV], interval: float = 0.0) -> RV; now async def wait_conn_async(gen: PQGenConn[RV], interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_epoll
Was def wait_epoll(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV; now def wait_epoll(gen: PQGen[RV], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_poll
Was def wait_poll(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV; now def wait_poll(gen: PQGen[RV], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_select
Was def wait_select(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV; now def wait_select(gen: PQGen[RV], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_selector
Was def wait_selector(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV; now def wait_selector(gen: PQGen[RV], fileno: int, interval: float = 0.0, timeout: float | None = None) -> RV. pypi.org
psycopg 3.3.5 breaking changes
- Signature changed
psycopg.abc.Template.__iter__
Was def __iter__(self) -> Iterator[str | Interpolation]; now def __iter__(self) -> Iterator[str | Interpolation[Any]]. pypi.org - Signature changed
psycopg.abc.Template.__new__
Was def __new__(cls, *args: str | Interpolation) -> Self; now def __new__(cls, *args: str | Interpolation[Any]) -> Self. pypi.org - Signature changed
psycopg.abc.Template.interpolations
Was interpolations: tuple[Interpolation]; now interpolations: tuple[Interpolation[Any]]. pypi.org
psycopg 3.3.4 breaking changes
- Signature changed
psycopg.types.enum.EnumInfo.__init__
Was def __init__(self, name: str, oid: int, array_oid: int, labels: Sequence[str]); now def __init__(self, name: str, oid: int, array_oid: int, labels: Sequence[str], *, regtype: str = ''). pypi.org
psycopg 3.3.0 breaking changes
- Removed
psycopg.abc.TypeAlias
psycopg.abc.TypeAlias was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.connection_async.to_thread
psycopg.connection_async.to_thread was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.errors.TypeAlias
psycopg.errors.TypeAlias was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.errors.TypeGuard
psycopg.errors.TypeGuard was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.generators.Deque
psycopg.generators.Deque was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.pq.abc.TypeAlias
psycopg.pq.abc.TypeAlias was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.pq.misc.cache
psycopg.pq.misc.cache was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.raw_cursor.Composable
psycopg.raw_cursor.Composable was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.raw_cursor.Params
psycopg.raw_cursor.Params was removed in psycopg 3.3.0 pypi.org - Removed
psycopg.raw_cursor.PostgresQuery
psycopg.raw_cursor.PostgresQuery was removed in psycopg 3.3.0 pypi.org
And 41 more in this version. Sign up to see every change
psycopg 3.2.11 breaking changes
- Signature changed
psycopg.abc.WaitFunc.__call__
Was def __call__(self, gen: PQGen[RV], fileno: int, interval: float | None = None) -> RV; now def __call__(self, gen: PQGen[RV], fileno: int, interval: float = ...) -> RV. pypi.org - Signature changed
psycopg.Connection.wait
Was def wait(self, gen: PQGen[RV], interval: float | None = _WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen[RV], interval: float = _WAIT_INTERVAL) -> RV. pypi.org - Signature changed
psycopg.crdb.CrdbConnection.wait
Was def wait(self, gen: PQGen[RV], interval: float | None = _WAIT_INTERVAL) -> RV; now def wait(self, gen: PQGen[RV], interval: float = _WAIT_INTERVAL) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_async
Was async def wait_async(gen: PQGen[RV], fileno: int, interval: float | None = None) -> RV; now async def wait_async(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_conn
Was def wait_conn(gen: PQGenConn[RV], interval: float | None = None) -> RV; now def wait_conn(gen: PQGenConn[RV], interval: float = 0.0) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_conn_async
Was async def wait_conn_async(gen: PQGenConn[RV], interval: float | None = None) -> RV; now async def wait_conn_async(gen: PQGenConn[RV], interval: float = 0.0) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_epoll
Was def wait_epoll(gen: PQGen[RV], fileno: int, interval: float | None = None) -> RV; now def wait_epoll(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_poll
Was def wait_poll(gen: PQGen[RV], fileno: int, interval: float | None = None) -> RV; now def wait_poll(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_select
Was def wait_select(gen: PQGen[RV], fileno: int, interval: float | None = None) -> RV; now def wait_select(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV. pypi.org - Signature changed
psycopg.waiting.wait_selector
Was def wait_selector(gen: PQGen[RV], fileno: int, interval: float | None = None) -> RV; now def wait_selector(gen: PQGen[RV], fileno: int, interval: float = 0.0) -> RV. pypi.org
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
psycopg 3.2.10 breaking changes
- Removed
psycopg.cursor_async.Pipeline.__enter__
Pipeline.__enter__ was removed in psycopg 3.2.10 pypi.org - Removed
psycopg.cursor_async.Pipeline.__exit__
Pipeline.__exit__ was removed in psycopg 3.2.10 pypi.org
And 22 more in this version.
psycopg 3.2.8 breaking changes
- Removed
psycopg.server_cursor
psycopg.server_cursor was removed in psycopg 3.2.8 pypi.org - Signature changed
psycopg.abc.Transformer.load_row
Was def load_row(self, row: int, make_row: RowMaker[Row]) -> Row | None; now def load_row(self, row: int, make_row: RowMaker[Row]) -> Row. pypi.org
psycopg 3.2.0 breaking changes
- Removed
psycopg.abc.BaseConnection.ConnStatus
psycopg.abc.BaseConnection.ConnStatus was removed in psycopg 3.2.0 pypi.org - Removed
psycopg.abc.BaseConnection.TransactionStatus
psycopg.abc.BaseConnection.TransactionStatus was removed in psycopg 3.2.0 pypi.org
And 338 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.