Skip to content

Commit

Permalink
Preparing release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fogzot committed May 16, 2010
1 parent 6521fb5 commit e286970
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
2010-04-05 Federico Di Gregorio <fog@initd.org>
2010-05-16 Federico Di Gregorio <fog@initd.org>

* Release 2.2.0.

2010-05-15 Federico Di Gregorio <fog@initd.org>

* typecast.c: Fixed problem related to receiving None from Python
when a string was expected.
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.
32 changes: 32 additions & 0 deletions NEWS-2.2
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 2 additions & 1 deletion psycopg2.cproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
<None Include="INSTALL" />
<None Include="LICENSE" />
<None Include="MANIFEST.in" />
<None Include="NEWS" />
<None Include="README" />
<None Include="setup.cfg" />
<None Include="setup.py" />
Expand Down Expand Up @@ -199,6 +198,8 @@
<None Include="psycopg\green.h" />
<None Include="doc\src\pool.rst" />
<None Include="sandbox\dec2float.py" />
<None Include="NEWS-2.0" />
<None Include="NEWS-2.2" />
</ItemGroup>
<ItemGroup>
<Compile Include="psycopg\adapter_asis.c" />
Expand Down

0 comments on commit e286970

Please sign in to comment.