blob: 17e373b211c769412be75c7267f3dc4b2fed77d0 [file] [log] [blame]
drhdce2cbe2000-05-31 02:27:49 +00001#
2# Run this script to generated a changes.html output file
3#
4puts {<html>
5<head>
6 <title>SQLite Change Log</title>
7</head>
8<body bgcolor="white">
9<h1 align="center">Recent Changes To SQLite</h1>
10
11<DL>
12}
13
14
15proc chng {date desc} {
16 puts "<DT><B>$date</B></DT>"
17 puts "<DD><P><UL>$desc</UL></P></DD>"
18}
19
drh87c40e82001-07-23 14:33:02 +000020chng {2001 Jul 23 (1.0.32)} {
21<li>Pager and btree subsystems removed. These will be used in a follow-on
22 SQL server library named "SQLus".</li>
23<li>Add the ability to use quoted strings as table and column names in
24 expressions.</li>
25}
26
drhd9b02572001-04-15 00:37:09 +000027chng {2001 Apr 14 (1.0.31)} {
28<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +000029<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +000030<li>New tests added to the test suite.</li>
31}
32
drh818041a2001-04-06 16:15:27 +000033chng {2001 Apr 6 (1.0.30)} {
34<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
35 in the previous version.</li>
36<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
37 <b>sqlite</b> TCL command.</li>
38<li>Add tests to make sure that tclsqlite was compiled using Tcl header
39 files and libraries that match.</li>
40}
41
drhe17a7e32001-04-04 21:10:18 +000042chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +000043<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
44 option is given to configure. The default behavior is to assume
45 iso8859-x, as it has always done. This only makes a difference for
46 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
47<li>If the library is not configured for UTF-8 and the Tcl library
48 is one of the newer ones that uses UTF-8 internally,
49 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +000050 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +000051}
52
drhc4a3c772001-04-04 11:48:57 +000053chng {2001 Apr 4 (1.0.28)} {
54<li>Added limited support for transactions. At this point, transactions
55 will do table locking on the GDBM backend. There is no support (yet)
56 for rollback or atomic commit.</li>
57<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
58 unique random integer key associated with every row of every table.</li>
59<li>Additional tests added to the regression suite to cover the new ROWID
60 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +000061<li>Changes to the "lemon" parser generator to help it work better when
62 compiled using MSVC.</li>
63<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
64}
65
drh0353ced2001-03-20 22:05:00 +000066chng {2001 Mar 20 (1.0.27)} {
67<li>When doing DELETE and UPDATE, the library used to write the record
68 numbers of records to be deleted or updated into a temporary file.
69 This is changed so that the record numbers are held in memory.</li>
70<li>The DELETE command without a WHILE clause just removes the database
71 files from the disk, rather than going through and deleting record
72 by record.</li>
73}
74
drh3494ffe2001-03-20 12:55:13 +000075chng {2001 Mar 20 (1.0.26)} {
76<li>A serious bug fixed on Windows. Windows users should upgrade.
77 No impact to Unix.</li>
78}
79
drhdb25e382001-03-15 18:21:22 +000080chng {2001 Mar 15 (1.0.25)} {
81<li>Modify the test scripts to identify tests that depend on system
82 load and processor speed and
83 to warn the user that a failure of one of those (rare) tests does
84 not necessarily mean the library is malfunctioning. No changes to
85 code.
86 </li>
87}
88
89chng {2001 Mar 14 (1.0.24)} {
90<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +000091 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +000092 NULL. The problem does not appear Windows, Linux, or HPUX but does
93 cause the library to fail on QNX.
94 </li>
95}
96
drhe53dea12001-02-19 23:48:16 +000097chng {2001 Feb 19 (1.0.23)} {
98<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
99 for figuring out where to put temporary files for a "memory:" database
100 was not working quite right.
101 </li>
102}
103
drh573bd272001-02-19 23:23:38 +0000104chng {2001 Feb 19 (1.0.22)} {
105<li>The previous fix was not quite right. This one seems to work better.
106 </li>
107}
108
drh4f3c63e2001-02-19 18:24:21 +0000109chng {2001 Feb 19 (1.0.21)} {
110<li>The UPDATE statement was not working when the WHERE clause contained
111 some terms that could be satisfied using indices and other terms that
112 could not. Fixed.</li>
113}
114
drh338ea132001-02-11 16:56:24 +0000115chng {2001 Feb 11 (1.0.20)} {
116<li>Merge development changes into the main trunk. Future work toward
117 using a BTree file structure will use a separate CVS source tree. This
118 CVS tree will continue to support the GDBM version of SQLite only.</li>
119}
120
121chng {2001 Feb 6 (1.0.19)} {
122<li>Fix a strange (but valid) C declaration that was causing problems
123 for QNX. No logical changes.</li>
124}
125
drha2e1bb52001-01-04 14:20:18 +0000126chng {2001 Jan 4 (1.0.18)} {
127<li>Print the offending SQL statement when an error occurs.</li>
128<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000129<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000130<li>Changes to comments.</li>
131}
132
drh8c82b352000-12-10 18:23:50 +0000133chng {2000 Dec 10 (1.0.17)} {
134<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
135<li>Minor tweaks to other code to make it run a little faster.</li>
136<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
137}
138
139chng {2000 Dec 4 (1.0.16)} {
140<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
141}
142
drh8c3052c2000-10-23 13:16:31 +0000143chng {2000 Oct 23 (1.0.15)} {
144<li>Documentation updates</li>
145<li>Some sanity checking code was removed from the inner loop of vdbe.c
146 to help the library to run a little faster. The code is only
147 removed if you compile with -DNDEBUG.</li>
148}
149
drh767c2002000-10-19 14:10:08 +0000150chng {2000 Oct 19 (1.0.14)} {
151<li>Added a "memory:" backend driver that stores its database in an
152 in-memory hash table.</li>
153}
154
drhbb0b6792000-10-19 01:49:02 +0000155chng {2000 Oct 18 (1.0.13)} {
156<li>Break out the GDBM driver into a separate file in anticipation
157 to added new drivers.</li>
158<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000159 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000160}
161
drh9b1eb482000-10-17 01:31:22 +0000162chng {2000 Oct 16 (1.0.12)} {
163<li>Fixed an off-by-one error that was causing a coredump in
164 the '%q' format directive of the new
165 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000166<li>Added the <b>sqlite_interrupt()</b> interface.</li>
167<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
168 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000169<li>Fixed some instances where <b>sqlite_exec()</b> was
170 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000171}
172
drh611ad212000-10-16 22:09:38 +0000173chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000174<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000175<li>Removed a few variables that were not being used. Etc.</li>
176}
177
drha18c5682000-10-08 22:20:57 +0000178chng {2000 Oct 8 (1.0.9)} {
179<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
180<li>Modified the <b>sqlite</b> shell program to use the new interface
181 routines.</li>
182<li>Modified the <b>sqlite</b> shell program to print the schema for
183 the built-in SQLITE_MASTER table, if explicitly requested.</li>
184}
185
drh9b0d0a82000-09-30 22:46:05 +0000186chng {2000 Sep 30 (1.0.8)} {
187<li>Begin writing documentation on the TCL interface.</li>
188}
189
drhe3710332000-09-29 13:30:53 +0000190chng {2000 Sep 29 (Not Released)} {
191<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000192<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000193<li>Modified the <b>sqlite</b> shell to make use of the new
194 sqlite_get_table() API in order to print a list of tables
195 in multiple columns, similar to the way "ls" prints filenames.</li>
196<li>Modified the <b>sqlite</b> shell to print a semicolon at the
197 end of each CREATE statement in the output of the ".schema" command.</li>
198}
199
drh6d313162000-09-21 13:01:35 +0000200chng {2000 Sep 21 (Not Released)} {
201<li>Change the tclsqlite "eval" method to return a list of results if
202 no callback script is specified.</li>
203<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
204<li>Add tclsqlite.c to the libsqlite.a library</li>
205}
206
drha5c2ad02000-09-14 01:21:10 +0000207chng {2000 Sep 13 (Version 1.0.5)} {
208<li>Changed the print format for floating point values from "%g" to "%.15g".
209 </li>
210<li>Changed the comparison function so that numbers in exponential notation
211 (ex: 1.234e+05) sort in numerical order.</li>
212}
213
drhff6e9112000-08-28 16:21:58 +0000214chng {2000 Aug 28 (Version 1.0.4)} {
215<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
216<li>Fix a bug in the <b>sqlite</b> shell program that was causing
217 a coredump when the output mode was "column" and the first row
218 of data contained a NULL.</li>
219}
220
drh63e27412000-08-22 18:29:33 +0000221chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000222<li>In the sqlite shell, print the "Database opened READ ONLY" message
223 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000224<li>In the sqlite shell, now print the version number on initial startup.</li>
225<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000226<li>Makefile updates</li>
227<li>Bug fix: incorrect VDBE code was being generated for the following
228 circumstance: a query on an indexed table containing a WHERE clause with
229 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000230}
231
drhbbd4a752000-08-18 09:33:39 +0000232chng {2000 Aug 18 (Version 1.0.1)} {
233<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000234<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000235}
236
drh303aaa72000-08-17 10:22:34 +0000237chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000238<li>Change the <b>sqlite</b> program so that it can read
239 databases for which it lacks write permission. (It used to
240 refuse all access if it could not write.)</li>
241}
242
drh30cab802000-08-09 17:17:25 +0000243chng {2000 Aug 9} {
244<li>Treat carriage returns as white space.</li>
245}
246
drha50da102000-08-08 20:19:09 +0000247chng {2000 Aug 8} {
248<li>Added pattern matching to the ".table" command in the "sqlite"
249command shell.</li>
250}
251
drh2758db22000-08-04 13:52:30 +0000252chng {2000 Aug 4} {
253<li>Documentation updates</li>
254<li>Added "busy" and "timeout" methods to the Tcl interface</li>
255}
256
drhb97bedb2000-08-03 15:09:19 +0000257chng {2000 Aug 3} {
258<li>File format version number was being stored in sqlite_master.tcl
259 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
260}
261
drh353f57e2000-08-02 12:26:28 +0000262chng {2000 Aug 2} {
263<li>The file format for indices was changed slightly in order to work
264 around an inefficiency that can sometimes come up with GDBM when
265 there are large indices having many entries with the same key.
266 <font color="red">** Incompatible Change **</font></li>
267}
268
drhed380d82000-08-01 09:56:27 +0000269chng {2000 Aug 1} {
270<li>The parser's stack was overflowing on a very long UPDATE statement.
271 This is now fixed.</li>
272}
273
drh1050f982000-07-31 11:59:02 +0000274chng {2000 July 31} {
275<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000276<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000277<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000278<li>Fix a configuration problem for HPUX.</li>
279}
280
drhe1b6a5b2000-07-29 13:06:59 +0000281chng {2000 July 29} {
282<li>Better labels on column names of the result.</li>
283}
284
drh2dfbbca2000-07-28 14:32:48 +0000285chng {2000 July 28} {
286<li>Added the <b>sqlite_busy_handler()</b>
287 and <b>sqlite_busy_timeout()</b> interface.</li>
288}
289
drh74c360e2000-06-23 19:16:23 +0000290chng {2000 June 23} {
291<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
292}
293
drh1fd14a72000-06-21 14:00:39 +0000294chng {2000 June 21} {
295<li>Clean up comments and variable names. Changes to documentation.
296 No functional changes to the code.</li>
297}
298
drh6206d502000-06-19 19:09:08 +0000299chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000300<li>Column names in UPDATE statements were case sensitive.
301 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000302}
303
drh00400772000-06-16 20:51:26 +0000304chng {2000 June 16} {
305<li>Added the concatenate string operator (||)</li>
306}
307
drh61fc2c62000-06-12 12:29:25 +0000308chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000309<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
310 returns the number of database "Fetch" operations that have occurred.
311 This function is designed for use in test scripts to verify that
312 queries are efficient and appropriately optimized. Fcnt() has no other
313 useful purpose, as far as I know.</li>
314<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000315 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000316}
317
drhdcc7c742000-06-09 03:51:26 +0000318chng {2000 June 8} {
319<li>Added lots of new test cases</li>
320<li>Fix a few bugs discovered while adding test cases</li>
321<li>Begin adding lots of new documentation</li>
322}
323
drh49c87802000-06-06 18:24:42 +0000324chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000325<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000326<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000327<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
328<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
329<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000330<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000331 rather than an empty string.</li>
332}
333
drh32aa77e2000-06-03 19:28:48 +0000334chng {2000 June 3} {
335<li>Added support for default values on columns of a table.</li>
336<li>Improved test coverage. Fixed a few obscure bugs found by the
337improved tests.</li>
338}
339
drhbed86902000-06-02 13:27:59 +0000340chng {2000 June 2} {
341<li>All database files to be modified by an UPDATE, INSERT or DELETE are
342now locked before any changes are made to any files.
343This makes it safe (I think) to access
344the same database simultaneously from multiple processes.</li>
345<li>The code appears stable so we are now calling it "beta".</li>
346}
347
348chng {2000 June 1} {
349<li>Better support for file locking so that two or more processes
350(or threads)
351can access the same database simultaneously. More work needed in
352this area, though.</li>
353}
354
drh7203e282000-05-31 15:35:42 +0000355chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000356<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000357to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000358<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000359}
360
drhdce2cbe2000-05-31 02:27:49 +0000361chng {2000 May 30} {
362<li>Added the <b>LIKE</b> operator.</li>
363<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
364but it uses Unix shell globbing wildcards instead of the '%'
365and '_' wildcards of SQL.</li>
366<li>Added the <B>COPY</b> command patterned after
367<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
368can now read the output of the <b>pg_dump</b> database dump utility
369of PostgreSQL.</li>
370<li>Added a <B>VACUUM</B> command that that calls the
371<b>gdbm_reorganize()</b> function on the underlying database
372files.</li>
373<li>And many, many bug fixes...</li>
374}
375
376chng {2000 May 29} {
377<li>Initial Public Release of Alpha code</li>
378}
379
380puts {
381</DL>
382<p><hr /></p>
383<p><a href="index.html"><img src="/goback.jpg" border=0 />
384Back to the SQLite Home Page</a>
385</p>
386
387</body></html>}