psycopg release notes

Future releases

Psycopg 3.1 (unreleased)

  • Add Two-Phase Commit support (ticket #72).

  • Return results from all queries run through executemany(); each result set can be accessed by calling nextset() (ticket #164).

  • Add pq.PGconn.trace() and related trace functions (ticket #167).

  • Add prepare_threshold parameter to Connection init (ticket #200).

  • Drop support for Python 3.6.

Current release

Psycopg 3.0.8

  • Decode connection errors in the client_encoding specified in the connection string, if available (ticket #194).

  • Fix possible warnings in objects deletion on interpreter shutdown (ticket #198).

  • Don’t leave connections in ACTIVE state in case of error during COPY … TO STDOUT (ticket #203).

Psycopg 3.0.7

Psycopg 3.0.6

Psycopg 3.0.5

  • Fix possible “Too many open files” OS error, reported on macOS but possible on other platforms too (ticket #158).

  • Don’t clobber exceptions if a transaction block exit with error and rollback fails (ticket #165).

Psycopg 3.0.4

  • Allow to use the module with strict strings comparison (ticket #147).

  • Fix segfault on Python 3.6 running in -W error mode, related to backport.zoneinfo ticket #109.

  • Build binary package with libpq versions not affected by CVE-2021-23222 (ticket #149).

Psycopg 3.0.3

  • Release musllinux binary packages, compatible with Alpine Linux (ticket #141).

  • Reduce size of binary package by stripping debug symbols (ticket #142).

  • Include typing information in the psycopg_binary package.

Psycopg 3.0.2

Psycopg 3.0.1

  • Fix use of the wrong dumper reusing cursors with the same query but different parameter types (ticket #112).

Psycopg 3.0

First stable release. Changed from 3.0b1:

Psycopg 3.0b1

  • First public release on PyPI.