Psycopg 2.5 released

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Psycopg 2.5 released
Date: 2013-04-07 19:16:26
Message-ID: CA+mi_8ax5ubDEmcUeeQ_+HZvS7u2Tu-JdK6DgCE2LzCsyhxjvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

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.

Responses

Browse psycopg by date

  From Date Subject
Next Message Gavin M. Roy 2013-04-07 19:19:10 Re: Psycopg 2.5 released
Previous Message Daniele Varrazzo 2013-04-05 23:47:43 Re: How to Handle ltree path Data Type