diff --git a/ChangeLog b/ChangeLog index 233aba33..c7234730 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2010-04-05 Federico Di Gregorio +2010-05-16 Federico Di Gregorio + + * Release 2.2.0. + +2010-05-15 Federico Di Gregorio * typecast.c: Fixed problem related to receiving None from Python when a string was expected. diff --git a/MANIFEST.in b/MANIFEST.in index fe17d8eb..c59dc95a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -12,5 +12,5 @@ recursive-include doc/html * prune doc/src/_build recursive-include scripts *.py *.sh include scripts/maketypes.sh scripts/buildtypes.py -include AUTHORS README INSTALL LICENSE ChangeLog +include AUTHORS README INSTALL LICENSE NEWS-2.0 NEWS-2.2 ChangeLog include PKG-INFO MANIFEST.in MANIFEST setup.py setup.cfg diff --git a/NEWS b/NEWS-2.0 similarity index 100% rename from NEWS rename to NEWS-2.0 diff --git a/NEWS-2.2 b/NEWS-2.2 new file mode 100644 index 00000000..123cafe1 --- /dev/null +++ b/NEWS-2.2 @@ -0,0 +1,32 @@ +What's new in psycopg 2.2.0 +--------------------------- + +This is the first release of the new 2.2 series, supporting not just one but +two different ways of executing asynchronous queries, thanks to Jan and Daniele +(with a little help from me and others, but they did 99% of the work so they +deserve their names here in the news.) + +psycopg now supports both classic select() loops and "green" coroutine +libraries. It is all in the documentation, so just point your browser to +doc/html/advanced.html. + +* Other new features: + - truncate() method for lobjects. + - COPY functions are now a little bit faster. + - All builtin PostgreSQL to Python typecasters are now available from the + psycopg2.extensions module. + - Notifications from the backend are now available right after the execute() + call (before client code needed to call isbusy() to ensure NOTIFY + reception.) + - Better timezone support. + - Lots of documentation updates. + +* Bug fixes: + - Fixed some gc/refcounting problems. + - Fixed reference leak in NOTIFY reception. + - Fixed problem with PostgreSQL not casting string literals to the correct + types in some situations: psycopg now add an explicit cast to dates, times + and bytea representations. + - Fixed TimestampFromTicks() and TimeFromTicks() for seconds >= 59.5. + - Fixed spurious exception raised when calling C typecasters from Python + ones. diff --git a/psycopg2.cproj b/psycopg2.cproj index 620858f8..2caf4211 100644 --- a/psycopg2.cproj +++ b/psycopg2.cproj @@ -44,7 +44,6 @@ - @@ -199,6 +198,8 @@ + +