Articles tagged news

Psycopg 2.8.1, 2.8.2 released

Posted by Daniele Varrazzo on April 14, 2019
Tagged as news, release

Hello,

We have just released Psycopg 2.8.2; a few days ago Psycopg 2.8.1 was released.

Some of the bugs addressed are ordinary teething problem with the 2.8 release, but an important change landed with 2.8.2: binary packages now ship with OpenSSL 1.1 instead of 1.0. This should fix concurrency problems on connection experienced both on Windows and Linux. Many thanks to Matthew Brett and Jason Erickson for this improvement!

Read more...

Psycopg 2.8 released

Posted by Daniele Varrazzo on April 4, 2019
Tagged as news, release

After about two years from the previous major release, psycopg 2.8 is finally here!

Among the highlights, PostgreSQL errors are now mapped to Python exceptions for a more idiomatic way to handle them. Several additions allow a better insight of the connection status and query results.

Behind the scene, asynchronous communication and concurrency received several improvements, and dropping support for older versions of Python gave the chance to refactor and modernise the codebase (with the especial help from Jon Dufresne who ruthlessly butchered our code into a streamlined pulp).

Thank you very much to everyone contributing so far. Happy hacking!

Read more...

Psycopg 2.7.5 released

Posted by Daniele Varrazzo on June 17, 2018
Tagged as news, release

psycopg2 version 2.7.5 has been released, fixing a few bugs found in the last months:

Read more...

Psycopg 2.7.4 released

Posted by Daniele Varrazzo on February 8, 2018
Tagged as news, release

We have released Psycopg version 2.7.4, bringing a few bug fixes... and working out the problem with Wheel packages.

Read more...

Psycopg 2.7.3.2 released

Posted by Daniele Varrazzo on October 24, 2017
Tagged as news, release

Following the release of PostgreSQL 10 we have released new binary packages as Psycopg 2.7.3.2. There are no code changes from Psycopg 2.7.3, but the new binary packages ship with the PostgreSQL 10 client library, enabling the use of new features such as multiple hosts in connection string, read-only mode, SCRAM-SHA-256 authentication.

Read more...

Psycopg 2.7.3 released

Posted by Daniele Varrazzo on July 24, 2017
Tagged as news, release

A quick release to fix a regression found in psycopg 2.7.2:

  • Restored default timestamptz[] typecasting to Python datetime. Regression introduced in Psycopg 2.7.2 (ticket #578).

Read more...

Psycopg 2.7.2 released

Posted by Daniele Varrazzo on July 22, 2017
Tagged as news, release

Releasing psycopg2 version 2.7.2: a release fixing a host of bugs found in the last 3-4 months.

Read more...

Psycopg 2.7.1 released

Posted by Daniele Varrazzo on March 13, 2017
Tagged as news, release

A quick bugfix release to solve some teething problems with some of the changes introduced in 2.7:

  • Ignore None arguments passed to connect() and make_dsn() (ticket #517).
  • OpenSSL upgraded from major version 0.9.8 to 1.0.2 in the Linux wheel packages (ticket #518).
  • Fixed build with libpq versions < 9.3 (ticket #520).

Read more...

Psycopg 2.7 released

Posted by Daniele Varrazzo on March 1, 2017
Tagged as news, release

Finally here! Thank you very much for waiting so long: we have finally released Psycopg 2.7!

Buzzwords:

  • Faster! Helps generating SQL for repeatedly executed statements and faster Unicode decoding.
  • Safer! Helps generating dynamic SQL statements with variable table and field names.
  • Easier! Use the binary package to avoid the need of C compiler, pg_config, libpq required on the clients.
  • Replication! Support for PostgreSQL physical and logical replication.
  • Plays-better-with-pgbouncer-at-transaction-pooling-level! This.

Read more...

Psycopg 2.7 beta 2 released

Posted by Daniele Varrazzo on February 17, 2017
Tagged as news, release

Hello,

we have released psycopg2 version 2.7 beta 2. This version comes two years after the previous major release so it is packed with new features and improvements; among the main points:

  • support for replication protocol
  • helpers to build dynamically SQL statements and manipulate connection strings
  • speedups in multiple execution and Unicode decoding
  • better transactions characteristics support

A more complete list of changes is available at http://initd.org/psycopg/docs/news.html#what-s-new-in-psycopg-2-7

On top of the changes in the code we have addressed the deployment problems found my many inexperienced users, especially on Windows and OSX: psycopg is now distributed as a self-contained wheel package on PyPI, so that:

pip install psycopg2

will not require the presence of C compiler, headers, pg_config, libpq.

Because of all these changes, we ask you kindly to test this psycopg beta release, both its installation and its usage, before we release the stable version, which should happen next week if we don't find any problem. The binary packages of the beta release are on the PyPI testing site: you can install it using:

pip install -U pip # make sure to have an up-to-date pip
pip install -i https://testpypi.python.org/pypi psycopg2==2.7b2

Thank you very much everyone, and I wish to thank especially Oleksandr Shulgin and Craig Ringer for the development of the replication protocol support (the development of which brought along several other features and improvement) and Jason Erickson for the invaluable help with the Windows packages.

Happy testing!