| tag name | 2_5 (d6bad81bfd6d631933df25f8680caef8bc9ddc96) |
| tag date | 2013-04-07 17:44:04 +0100 |
| tagged by | Daniele Varrazzo <daniele.varrazzo@gmail.com> |
| tagged object | commit 80e105c74d... |
| download | psycopg2-2_5.tar.gz |
|---|
Psycopg 2.5 released
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>.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAABAgAGBQJRYaKFAAoJEGATvTr8+Vfe4eQIAI4J3SL/eJ4zS9eXLNgLc9Kt
uhgIXMN4MCHc8n1VjZJ3pvqUAKzIfJyS/cYQEynjywVkELdT2IlDb84UiHj+jhoM
y70CLDRP5G4QZsdWgfoqWpzOeFpbQU7t6mdz+4A5g2huhaF7oOt9miymnnO7ulsd
HD+AQAdJevXyAmA9zxKzlADfoTJ8Q/Xm6kZFZJGfM7w2dOcs9N0iWmjnvHzTsGAu
D5LIYOTurxHT7fWmn+thiy6Hb88p4SymyNYsdNr9dzdJyr2H7+o3KoCvzFAXzIsv
7NStx3WUbeLyU0nMF6Cyj5B5gKSXMWE48FaQ3en0JWc1j5OC5CIA+8jlIwU4dt4=
=WwFF
-----END PGP SIGNATURE-----
