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
Line 
1==================
2PyGreSQL ChangeLog
3==================
4
5Version 4.0 (?)
6---------------
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.
19
20Version 3.8.1 (2006-06-05)
21--------------------------
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.
30
31Version 3.8 (2006-02-17)
32------------------------
33- Installed new favicon.ico from Matthew Sporleder <mspo@mspo.com>
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
49
50Version 3.7 (2005-09-07)
51------------------------
52Improvement of pgdb module:
53
54- Use Python standard `datetime` if `mxDateTime` is not available
55
56Major improvements and clean-up in classic pg module:
57
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
64
65Version 3.6.2 (2005-02-23)
66--------------------------
67- Further fixes to namespace handling
68
69Version 3.6.1 (2005-01-11)
70--------------------------
71- Fixes to namespace handling
72
73Version 3.6 (2004-12-17)
74------------------------
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
83
84Version 3.5 (2004-08-29)
85------------------------
86Fixes and enhancements:
87
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
95
96Version 3.4 (2004-06-02)
97------------------------
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.
102
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
111
112Version 3.3 (2001-12-03)
113------------------------
114A few cleanups.  Mostly there was some confusion about the latest version
115and so I am bumping the number to keep it straight.
116
117- Added NUMERICOID to list of returned types. This fixes a bug when
118  returning aggregates in the latest version of PostgreSQL.
119
120Version 3.2 (2001-06-20)
121------------------------
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.
125
126- Add Win32 support (gerhard@bigfoot.de)
127- Fix some DB-API quoting problems (niall.smart@ebeon.com)
128- Moved development into PostgreSQL development tree.
129
130Version 3.1 (2000-11-06)
131------------------------
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 pg.py) 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  (tv@beamnet.de)
141- Fix pgdb.py to send port as integer to lower level function
142  (dildog@l0pht.com)
143- Change pg.py to speed up some operations
144- Allow updates on tables with no primary keys
145
146Version 3.0 (2000-05-30)
147------------------------
148- Remove strlen() call from pglarge_write() and get size from object
149  (Richard@Bouska.cz)
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 pg.py for debugging
153- Add DB-API 2.0 support to pgmodule.c (andre@via.ecp.fr)
154- Add DB-API 2.0 wrapper pgdb.py (andre@via.ecp.fr)
155- Correct keyword clash (temp) in tutorial
156- Clean up layout of tutorial
157- Return NULL values as None (rlawrence@lastfoot.com)
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 (tbryan@starship.python.net)
164- Make code thread safe (Jerome.Alet@unice.fr)
165- Add README.distutils (mwa@gate.net & jeremy@cnri.reston.va.us)
166- Many fixes and increased DB-API compliance by chifungfan@yahoo.com,
167  tony@printra.net, jeremy@alum.mit.edu and others to get the final
168  version ready to release.
169
170Version 2.4 (1999-06-15)
171------------------------
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 (brit@druid.net)
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 (andre@via.ecp.fr)
181- Get method works with views if key specified
182
183Version 2.3 (1999-04-17)
184------------------------
185- connect.host returns "localhost" when connected to Unix socket
186  (torppa@tuhnu.cutery.fi)
187- Use `PyArg_ParseTupleAndKeywords` in connect() (torppa@tuhnu.cutery.fi)
188- fixes and cleanups (torppa@tuhnu.cutery.fi)
189- Fixed memory leak in dictresult() (terekhov@emc.com)
190- Deprecated pgext.py - functionality now in pg.py
191- More cleanups to the tutorial
192- Added fileno() method - terekhov@emc.com (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
199
200Version 2.2 (1998-12-21)
201------------------------
202- Added user and password support thanks to Ng Pheng Siong (ngps@post1.com)
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 thilo@eevolute.com for the suggestion.
209
210Version 2.1 (1998-03-07)
211------------------------
212- return fields as proper Python objects for field type
213- Cleaned up pgext.py
214- Added dictresult method
215
216Version 2.0  (1997-12-23)
217-------------------------
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
225
226Version 1.0b (1995-11-04)
227-------------------------
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
233
234Version 1.0a (1995-10-30)
235-------------------------
236A limited release.
237
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
243
244Version 0.9b (1995-10-10)
245-------------------------
246The first public release.
247
248- Large objects implementation
249- Many bug fixes, enhancements, ...
250
251Version 0.1a (1995-10-07)
252-------------------------
253- Basic libpq functions (SQL access)
Note: See TracBrowser for help on using the repository browser.