source: trunk/docs/changelog.txt @ 338

Last change on this file since 338 was 338, checked in by darcy, 11 years ago

Use flag file to designate BETA.
Start preparing for version 4.0.

File size: 9.6 KB
2PyGreSQL ChangeLog
5Version 4.0 (?)
7- Dropped support for Python below 2.3 and PostgreSQL below 7.2
8- Added new method to get parameter settings.
9- Added row_factory as suggested by Simon Pamies.
10- Separated between mandatory and additional type objects.
11- Added keyword args to insert, update and delete methods.
12- Added exception handling for direct copy.
13- Release the GIL while making a connection
14  (as suggested by Peter Schuller).
15- If available, use decimal.Decimal for numeric types.
16- Allow DB wrapper to be used with DB-API 2 connections
17  (as suggested by Chris Hilton).
18- Made private attributes of DB wrapper accessible.
20Version 3.8.1 (2006-06-05)
22- Use string methods instead of deprecated string functions.
23- Only use SQL-standard way of escaping quotes.
24- Added the functions escape_string() and escape/unescape_bytea()
25  (as suggested by Charlie Dyson and Kavous Bojnourdi a long time ago).
26- Reverted code in clear() method that set date to current.
27- Added code for backwards compatibility in OID munging code.
28- Reorder attnames tests so that "interval" is checked for before "int."
29- If caller supplies key dictionary, make sure that all has a namespace.
31Version 3.8 (2006-02-17)
33- Installed new favicon.ico from Matthew Sporleder <>
34- Replaced snprintf by PyOS_snprintf.
35- Removed NO_SNPRINTF switch which is not needed any longer
36- Clean up some variable names and namespace
37- Add get_relations() method to get any type of relation
38- Rewrite get_tables() to use get_relations()
39- Use new method in get_attnames method to get attributes of views as well
40- Add Binary type
41- Number of rows is now -1 after executing no-result statements
42- Fix some number handling
43- Non-simple types do not raise an error any more
44- Improvements to documentation framework
45- Take into account that nowadays not every table must have an oid column
46- Simplification and improvement of the inserttable() function
47- Fix up unit tests
48- The usual assortment of minor fixes and enhancements
50Version 3.7 (2005-09-07)
52Improvement of pgdb module:
54- Use Python standard `datetime` if `mxDateTime` is not available
56Major improvements and clean-up in classic pg module:
58- All members of the underlying connection directly available in `DB`
59- Fixes to quoting function
60- Add checks for valid database connection to methods
61- Improved namespace support, handle `search_path` correctly
62- Removed old dust and unnessesary imports, added docstrings
63- Internal sql statements as one-liners, smoothed out ugly code
65Version 3.6.2 (2005-02-23)
67- Further fixes to namespace handling
69Version 3.6.1 (2005-01-11)
71- Fixes to namespace handling
73Version 3.6 (2004-12-17)
75- Better DB-API 2.0 compliance
76- Exception hierarchy moved into C module and made available to both APIs
77- Fix error in update method that caused false exceptions
78- Moved to standard exception hierarchy in classic API
79- Added new method to get transaction state
80- Use proper Python constants where appropriate
81- Use Python versions of strtol, etc. Allows Win32 build.
82- Bug fixes and cleanups
84Version 3.5 (2004-08-29)
86Fixes and enhancements:
88- Add interval to list of data types
89- fix up method wrapping especially close()
90- retry pkeys once if table missing in case it was just added
91- wrap query method separately to handle debug better
92- use isinstance instead of type
93- fix free/PQfreemem issue - finally
94- miscellaneous cleanups and formatting
96Version 3.4 (2004-06-02)
98Some cleanups and fixes.
99This is the first version where PyGreSQL is moved back out of the
100PostgreSQL tree. A lot of the changes mentioned below were actually
101made while in the PostgreSQL tree since their last release.
103- Allow for larger integer returns
104- Return proper strings for true and false
105- Cleanup convenience method creation
106- Enhance debugging method
107- Add reopen method
108- Allow programs to preload field names for speedup
109- Move OID handling so that it returns long instead of int
110- Miscellaneous cleanups and formatting
112Version 3.3 (2001-12-03)
114A few cleanups.  Mostly there was some confusion about the latest version
115and so I am bumping the number to keep it straight.
117- Added NUMERICOID to list of returned types. This fixes a bug when
118  returning aggregates in the latest version of PostgreSQL.
120Version 3.2 (2001-06-20)
122Note that there are very few changes to PyGreSQL between 3.1 and 3.2.
123The main reason for the release is the move into the PostgreSQL
124development tree.  Even the WIN32 changes are pretty minor.
126- Add Win32 support (
127- Fix some DB-API quoting problems (
128- Moved development into PostgreSQL development tree.
130Version 3.1 (2000-11-06)
132- Fix some quoting functions.  In particular handle NULLs better.
133- Use a method to add primary key information rather than direct
134  manipulation of the class structures
135- Break decimal out in `_quote` (in and treat it as float
136- Treat timestamp like date for quoting purposes
137- Remove a redundant SELECT from the `get` method speeding it,
138  and `insert` (since it calls `get`) up a little.
139- Add test for BOOL type in typecast method to `pgdbTypeCache` class
140  (
141- Fix to send port as integer to lower level function
142  (
143- Change to speed up some operations
144- Allow updates on tables with no primary keys
146Version 3.0 (2000-05-30)
148- Remove strlen() call from pglarge_write() and get size from object
149  (
150- Add a little more error checking to the quote function in the wrapper
151- Add extra checking in `_quote` function
152- Wrap query in for debugging
153- Add DB-API 2.0 support to pgmodule.c (
154- Add DB-API 2.0 wrapper (
155- Correct keyword clash (temp) in tutorial
156- Clean up layout of tutorial
157- Return NULL values as None (
158  (WARNING: This will cause backwards compatibility issues)
159- Change None to NULL in insert and update
160- Change hash-bang lines to use /usr/bin/env
161- Clearing date should be blank (NULL) not TODAY
162- Quote backslashes in strings in `_quote` (brian@CSUA.Berkeley.EDU)
163- Expanded and clarified build instructions (
164- Make code thread safe (
165- Add README.distutils ( &
166- Many fixes and increased DB-API compliance by,
167, and others to get the final
168  version ready to release.
170Version 2.4 (1999-06-15)
172- Insert returns None if the user doesn't have select permissions
173  on the table.  It can (and does) happen that one has insert but
174  not select permissions on a table.
175- Added ntuples() method to query object (
176- Corrected a bug related to getresult() and the money type
177- Corrected a bug related to negative money amounts
178- Allow update based on primary key if munged oid not available and
179  table has a primary key
180- Add many __doc__ strings (
181- Get method works with views if key specified
183Version 2.3 (1999-04-17)
185- returns "localhost" when connected to Unix socket
186  (
187- Use `PyArg_ParseTupleAndKeywords` in connect() (
188- fixes and cleanups (
189- Fixed memory leak in dictresult() (
190- Deprecated - functionality now in
191- More cleanups to the tutorial
192- Added fileno() method - (Mikhail Terekhov)
193- added money type to quoting function
194- Compiles cleanly with more warnings turned on
195- Returns PostgreSQL error message on error
196- Init accepts keywords (Jarkko Torppa)
197- Convenience functions can be overridden (Jarkko Torppa)
198- added close() method
200Version 2.2 (1998-12-21)
202- Added user and password support thanks to Ng Pheng Siong (
203- Insert queries return the inserted oid
204- Add new `pg` wrapper (C module renamed to _pg)
205- Wrapped database connection in a class
206- Cleaned up some of the tutorial.  (More work needed.)
207- Added `version` and `__version__`.
208  Thanks to for the suggestion.
210Version 2.1 (1998-03-07)
212- return fields as proper Python objects for field type
213- Cleaned up
214- Added dictresult method
216Version 2.0  (1997-12-23)
218- Updated code for PostgreSQL 6.2.1 and Python 1.5
219- Reformatted code and converted to use full ANSI style prototypes
220- Changed name to PyGreSQL (from PyGres95)
221- Changed order of arguments to connect function
222- Created new type `pgqueryobject` and moved certain methods to it
223- Added a print function for pgqueryobject
224- Various code changes - mostly stylistic
226Version 1.0b (1995-11-04)
228- Keyword support for connect function moved from library file to C code
229  and taken away from library
230- Rewrote documentation
231- Bug fix in connect function
232- Enhancements in large objects interface methods
234Version 1.0a (1995-10-30)
236A limited release.
238- Module adapted to standard Python syntax
239- Keyword support for connect function in library file
240- Rewrote default parameters interface (internal use of strings)
241- Fixed minor bugs in module interface
242- Redefinition of error messages
244Version 0.9b (1995-10-10)
246The first public release.
248- Large objects implementation
249- Many bug fixes, enhancements, ...
251Version 0.1a (1995-10-07)
253- Basic libpq functions (SQL access)
Note: See TracBrowser for help on using the repository browser.