Psycopg 3.2 released

From: Psycopg Development Team via PostgreSQL Announce <announce-noreply(at)postgresql(dot)org>
To: PostgreSQL Announce <pgsql-announce(at)lists(dot)postgresql(dot)org>
Subject: Psycopg 3.2 released
Date: 2024-07-01 14:28:01
Message-ID: 171984408163.699.14556402475906295559@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

After 846 commits and close to two years in the making, we are very happy to announce the release of [Psycopg 3.2](https://www.psycopg.org/psycopg3/docs/)!

This release adds several new features to the Psycopg 3 line, some of which are:

- support for Numpy scalar types
- easier to use notifications reception
- the possibility to run queries with PostgreSQL-format parameters
- a row factory to return a scalar from a query
- asynchronous, encrypted cancellations
- support for the many new features added in the upcoming PostgreSQL v17
- OpenSSL 3.x bundled with binary packages

A few bug bug fixes are included too, which have also been independently released in the 3.1.20 package. Given the high level of compatibility between 3.1 and 3.2, this could be the last release of the 3.1 line.

For further details please check out:

- [release notes](https://www.psycopg.org/psycopg3/docs/news.html#psycopg-3-2)
- [news entry](https://www.psycopg.org/articles/2024/06/30/psycopg-32-released/)

Please note that several new features in the 3.2 release require libpq v17, but, because PostgreSQL version 17 has not been released yet, they are not immediately available in the binary packages. In order to use these features you will need a development version of libpq 17 on your system and to use the Python or C source distribution. New packages bundling libpq v17 will be released as soon as the official PostgreSQL 17 has been released.

Thank you very much to everyone who contributed to the project, especially to Denis Laxalde from [Dalibo](https://www.dalibo.com/), indefatigable libpq explorer and always available to solve challenging problems!

---
Psycopg, first v2, now v3, is the de-facto standard for the communication between Python and PostgreSQL, two major components of innumerable businesses and mission-critical infrastructures. Maintaining such a critical library to the highest standard of reliability, completeness, performance requires a lot of care and work.

If you are a Python and PostgreSQL user and would like to make sure that the interface between the two is well maintained and continuously improved, please consider [supporting the project](https://github.com/sponsors/dvarrazzo) and to be [one of our sponsors](https://www.psycopg.org/sponsors/) 💜

Happy hacking!

-- Daniele

Browse pgsql-announce by date

  From Date Subject
Next Message PgBouncer via PostgreSQL Announce 2024-07-03 12:32:17 PgBouncer 1.23.0 released
Previous Message pgAdmin Development Team via PostgreSQL Announce 2024-07-01 07:24:05 pgAdmin 4 v8.9 Released