summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2010-05-16 12:55:59 +0200
committerFederico Di Gregorio <fog@initd.org>2010-05-16 12:55:59 +0200
commite286970b625095334ce14a8c0a8a857f914ab53d (patch)
treea12fe13b62bb69af93b742df33ec1958f471f55e
parent6521fb5a445ff5bc32516b970297f9dad32a1c18 (diff)
downloadpsycopg2-e286970b625095334ce14a8c0a8a857f914ab53d.tar.gz
Preparing release 2.2.02_2_0
-rw-r--r--ChangeLog6
-rw-r--r--MANIFEST.in2
-rw-r--r--NEWS-2.0 (renamed from NEWS)0
-rw-r--r--NEWS-2.232
-rw-r--r--psycopg2.cproj3
5 files changed, 40 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 233aba3..c723473 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/MANIFEST.in b/MANIFEST.in
index fe17d8e..c59dc95 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
index 6f32ee7..6f32ee7 100644
--- a/NEWS
+++ b/NEWS-2.0
diff --git a/NEWS-2.2 b/NEWS-2.2
new file mode 100644
index 0000000..123cafe
--- /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 620858f..2caf421 100644
--- a/psycopg2.cproj
+++ b/psycopg2.cproj
@@ -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" />
@@ -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" />