source: trunk/docs/changelog.txt @ 274

Last change on this file since 274 was 274, checked in by D'Arcy J.M. Cain, 14 years ago

Note OID backwards compatibility code change.

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