Psycopg 2.5 released

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: pgsql-announce(at)postgresql(dot)org
Subject: Psycopg 2.5 released
Date: 2013-04-07 19:15:40
Message-ID: CA+mi_8aC294rEqwrR57m3X+xnbqK1TP7k2BHvn2iq_fMDq8Amw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

We are happy to announce the release 2.5 of Psycopg. For a detailed list
of the release highlights please check the article at
<http://initd.org/psycopg/articles/2013/04/07/psycopg-25-released/>.

- Download: http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.tar.gz
- Signature: http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.tar.gz.asc

New features:

- Added JSON adaptation.
- Added support for PostgreSQL 9.2 range types .
- 'connection' and 'cursor' objects can be used in "with" statements
as context managers as specified by a recent DBAPI extension.
- Added 'Diagnostics' object to get extended info from a database error.
Many thanks to Matthew Woodcraft for the implementation (ticket #149).
- Added 'connection.cursor_factory' attribute to customize the default
object returned by 'cursor()'.
- Added support for backward scrollable cursors. Thanks to Jon Nelson
for the initial patch (ticket #108).
- Added a simple way to customize casting of composite types into
Python objects other than namedtuples. Many thanks to Ronan Dunklau
and Tobias Oberstein for the feature development.
- 'connection.reset()' implemented using 'DISCARD ALL' on server
versions supporting it.

Bug fixes:

- Properly cleanup memory of broken connections (ticket #148).
- Fixed bad interaction of 'setup.py' with other dependencies in
Distribute projects on Python 3 (ticket #153).

Other changes:

- Added support for Python 3.3.
- Dropped support for Python 2.4. Please use Psycopg 2.4.x if you
need it.
- 'errorcodes' map updated to PostgreSQL 9.2.
- Dropped Zope adapter from source repository. ZPsycopgDA now has its
own project at <http://github.com/psycopg/ZPsycopgDA>.

----

Psycopg is the most popular PostgreSQL adapter for the Python
programming language. At its core it fully implements the Python DB
API 2.0 specifications. Several extensions allow access to many of the
features offered by PostgreSQL.

Browse pgsql-announce by date

  From Date Subject
Next Message David Fetter 2013-04-08 07:04:09 == PostgreSQL Weekly News - April 07 2013 ==
Previous Message Dave Page 2013-04-04 13:29:55 PostgreSQL 9.2.4, 9.1.9, 9.0.13 and 8.4.17 released