blob: aecf8b62b6f160da4f4a25ed5512aa7c1e61d957 [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
drhe21a5732001-10-13 21:56:34 +000020chng {2001 Oct 13 (2.0.4)} {
21<li>Bug fix: an abscure and relatively harmless bug was causing one of
22 the tests to fail when gcc optimizations are turned on. This release
23 fixes the problem.</li>
24}
25
drhbf4133c2001-10-13 02:59:08 +000026chng {2001 Oct 13 (2.0.3)} {
drh81a20f22001-10-12 17:30:04 +000027<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
28 times too long before failing.</li>
29<li>Bug fix: an assertion was failing if the disk holding the database
30 file became full or stopped accepting writes for some other reason.
31 New tests were added to detect similar problems in the future.</li>
drhbf4133c2001-10-13 02:59:08 +000032<li>Added new operators: <b>&amp;</b> (bitwise-and)
33 <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
34 <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
35<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
drh81a20f22001-10-12 17:30:04 +000036}
37
drh286f11a2001-10-09 04:21:50 +000038chng {2001 Oct 9 (2.0.2)} {
drhff0839c2001-10-09 12:39:24 +000039<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
drh382c0242001-10-06 16:33:02 +000040<li>Removed some unused "#include <unistd.h>" that were causing problems
41 for VC++.</li>
drhf57b3392001-10-08 13:22:32 +000042<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
drh382c0242001-10-06 16:33:02 +000043<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
44 columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
drhad75e982001-10-09 04:19:46 +000045<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
46 ODBC interface.</li>
drhf57b3392001-10-08 13:22:32 +000047<li>Added support for TEMPORARY tables and indices.</li>
drh382c0242001-10-06 16:33:02 +000048}
49
drh100569d2001-10-02 13:01:48 +000050chng {2001 Oct 2 (2.0.1)} {
51<li>Remove some C++ style comments from btree.c so that it will compile
52 using compilers other than gcc.</li>
drh33048c02001-10-01 14:29:22 +000053<li>The ".dump" output from the shell does not work if there are embedded
54 newlines anywhere in the data. This is an old bug that was carried
55 forward from version 1.0. To fix it, the ".dump" output no longer
56 uses the COPY command. It instead generates INSERT statements.</li>
57<li>Extend the expression syntax to support "expr NOT NULL" (with a
58 space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
59 (with no space).</li>
60}
61
drh90ca9752001-09-28 17:47:14 +000062chng {2001 Sep 28 (2.0.0)} {
63<li>Automatically build binaries for Linux and Windows and put them on
64 the website.</li>
65}
66
67chng {2001 Sep 28 (2.0-alpha-4)} {
68<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
69}
70
drh60c309b2001-09-27 15:13:40 +000071chng {2001 Sep 27 (2.0-alpha-3)} {
drh717e6402001-09-27 03:22:32 +000072<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
drh60c309b2001-09-27 15:13:40 +000073 keys are required to be unique.</li>
74<li>File format changed back to what it was for alpha-1</li>
drh90bfcda2001-09-23 19:46:51 +000075<li>Fixes to the rollback and locking behavior</li>
76}
77
drh4aa85c42001-09-20 12:32:53 +000078chng {2001 Sep 20 (2.0-alpha-2)} {
drhb19a2bc2001-09-16 00:13:26 +000079<li>Initial release of version 2.0. The idea of renaming the library
80 to "SQLus" was abandoned in favor of keeping the "SQLite" name and
81 bumping the major version number.</li>
82<li>The pager and btree subsystems added back. They are now the only
83 available backend.</li>
84<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
85<li>Copyright on all code was disclaimed. The library is now in the
86 public domain.</li>
87}
88
drh87c40e82001-07-23 14:33:02 +000089chng {2001 Jul 23 (1.0.32)} {
90<li>Pager and btree subsystems removed. These will be used in a follow-on
91 SQL server library named "SQLus".</li>
92<li>Add the ability to use quoted strings as table and column names in
93 expressions.</li>
94}
95
drhd9b02572001-04-15 00:37:09 +000096chng {2001 Apr 14 (1.0.31)} {
97<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +000098<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +000099<li>New tests added to the test suite.</li>
100}
101
drh818041a2001-04-06 16:15:27 +0000102chng {2001 Apr 6 (1.0.30)} {
103<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
104 in the previous version.</li>
105<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
106 <b>sqlite</b> TCL command.</li>
107<li>Add tests to make sure that tclsqlite was compiled using Tcl header
108 files and libraries that match.</li>
109}
110
drhe17a7e32001-04-04 21:10:18 +0000111chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +0000112<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
113 option is given to configure. The default behavior is to assume
114 iso8859-x, as it has always done. This only makes a difference for
115 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
116<li>If the library is not configured for UTF-8 and the Tcl library
117 is one of the newer ones that uses UTF-8 internally,
118 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +0000119 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +0000120}
121
drhc4a3c772001-04-04 11:48:57 +0000122chng {2001 Apr 4 (1.0.28)} {
123<li>Added limited support for transactions. At this point, transactions
124 will do table locking on the GDBM backend. There is no support (yet)
125 for rollback or atomic commit.</li>
126<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
127 unique random integer key associated with every row of every table.</li>
128<li>Additional tests added to the regression suite to cover the new ROWID
129 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +0000130<li>Changes to the "lemon" parser generator to help it work better when
131 compiled using MSVC.</li>
132<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
133}
134
drh0353ced2001-03-20 22:05:00 +0000135chng {2001 Mar 20 (1.0.27)} {
136<li>When doing DELETE and UPDATE, the library used to write the record
137 numbers of records to be deleted or updated into a temporary file.
138 This is changed so that the record numbers are held in memory.</li>
139<li>The DELETE command without a WHILE clause just removes the database
140 files from the disk, rather than going through and deleting record
141 by record.</li>
142}
143
drh3494ffe2001-03-20 12:55:13 +0000144chng {2001 Mar 20 (1.0.26)} {
145<li>A serious bug fixed on Windows. Windows users should upgrade.
146 No impact to Unix.</li>
147}
148
drhdb25e382001-03-15 18:21:22 +0000149chng {2001 Mar 15 (1.0.25)} {
150<li>Modify the test scripts to identify tests that depend on system
151 load and processor speed and
152 to warn the user that a failure of one of those (rare) tests does
153 not necessarily mean the library is malfunctioning. No changes to
154 code.
155 </li>
156}
157
158chng {2001 Mar 14 (1.0.24)} {
159<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +0000160 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +0000161 NULL. The problem does not appear Windows, Linux, or HPUX but does
162 cause the library to fail on QNX.
163 </li>
164}
165
drhe53dea12001-02-19 23:48:16 +0000166chng {2001 Feb 19 (1.0.23)} {
167<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
168 for figuring out where to put temporary files for a "memory:" database
169 was not working quite right.
170 </li>
171}
172
drh573bd272001-02-19 23:23:38 +0000173chng {2001 Feb 19 (1.0.22)} {
174<li>The previous fix was not quite right. This one seems to work better.
175 </li>
176}
177
drh4f3c63e2001-02-19 18:24:21 +0000178chng {2001 Feb 19 (1.0.21)} {
179<li>The UPDATE statement was not working when the WHERE clause contained
180 some terms that could be satisfied using indices and other terms that
181 could not. Fixed.</li>
182}
183
drh338ea132001-02-11 16:56:24 +0000184chng {2001 Feb 11 (1.0.20)} {
185<li>Merge development changes into the main trunk. Future work toward
186 using a BTree file structure will use a separate CVS source tree. This
187 CVS tree will continue to support the GDBM version of SQLite only.</li>
188}
189
190chng {2001 Feb 6 (1.0.19)} {
191<li>Fix a strange (but valid) C declaration that was causing problems
192 for QNX. No logical changes.</li>
193}
194
drha2e1bb52001-01-04 14:20:18 +0000195chng {2001 Jan 4 (1.0.18)} {
196<li>Print the offending SQL statement when an error occurs.</li>
197<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000198<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000199<li>Changes to comments.</li>
200}
201
drh8c82b352000-12-10 18:23:50 +0000202chng {2000 Dec 10 (1.0.17)} {
203<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
204<li>Minor tweaks to other code to make it run a little faster.</li>
205<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
206}
207
208chng {2000 Dec 4 (1.0.16)} {
209<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
210}
211
drh8c3052c2000-10-23 13:16:31 +0000212chng {2000 Oct 23 (1.0.15)} {
213<li>Documentation updates</li>
214<li>Some sanity checking code was removed from the inner loop of vdbe.c
215 to help the library to run a little faster. The code is only
216 removed if you compile with -DNDEBUG.</li>
217}
218
drh767c2002000-10-19 14:10:08 +0000219chng {2000 Oct 19 (1.0.14)} {
220<li>Added a "memory:" backend driver that stores its database in an
221 in-memory hash table.</li>
222}
223
drhbb0b6792000-10-19 01:49:02 +0000224chng {2000 Oct 18 (1.0.13)} {
225<li>Break out the GDBM driver into a separate file in anticipation
226 to added new drivers.</li>
227<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000228 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000229}
230
drh9b1eb482000-10-17 01:31:22 +0000231chng {2000 Oct 16 (1.0.12)} {
232<li>Fixed an off-by-one error that was causing a coredump in
233 the '%q' format directive of the new
234 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000235<li>Added the <b>sqlite_interrupt()</b> interface.</li>
236<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
237 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000238<li>Fixed some instances where <b>sqlite_exec()</b> was
239 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000240}
241
drh611ad212000-10-16 22:09:38 +0000242chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000243<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000244<li>Removed a few variables that were not being used. Etc.</li>
245}
246
drha18c5682000-10-08 22:20:57 +0000247chng {2000 Oct 8 (1.0.9)} {
248<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
249<li>Modified the <b>sqlite</b> shell program to use the new interface
250 routines.</li>
251<li>Modified the <b>sqlite</b> shell program to print the schema for
252 the built-in SQLITE_MASTER table, if explicitly requested.</li>
253}
254
drh9b0d0a82000-09-30 22:46:05 +0000255chng {2000 Sep 30 (1.0.8)} {
256<li>Begin writing documentation on the TCL interface.</li>
257}
258
drhe3710332000-09-29 13:30:53 +0000259chng {2000 Sep 29 (Not Released)} {
260<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000261<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000262<li>Modified the <b>sqlite</b> shell to make use of the new
263 sqlite_get_table() API in order to print a list of tables
264 in multiple columns, similar to the way "ls" prints filenames.</li>
265<li>Modified the <b>sqlite</b> shell to print a semicolon at the
266 end of each CREATE statement in the output of the ".schema" command.</li>
267}
268
drh6d313162000-09-21 13:01:35 +0000269chng {2000 Sep 21 (Not Released)} {
270<li>Change the tclsqlite "eval" method to return a list of results if
271 no callback script is specified.</li>
272<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
273<li>Add tclsqlite.c to the libsqlite.a library</li>
274}
275
drha5c2ad02000-09-14 01:21:10 +0000276chng {2000 Sep 13 (Version 1.0.5)} {
277<li>Changed the print format for floating point values from "%g" to "%.15g".
278 </li>
279<li>Changed the comparison function so that numbers in exponential notation
280 (ex: 1.234e+05) sort in numerical order.</li>
281}
282
drhff6e9112000-08-28 16:21:58 +0000283chng {2000 Aug 28 (Version 1.0.4)} {
284<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
285<li>Fix a bug in the <b>sqlite</b> shell program that was causing
286 a coredump when the output mode was "column" and the first row
287 of data contained a NULL.</li>
288}
289
drh63e27412000-08-22 18:29:33 +0000290chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000291<li>In the sqlite shell, print the "Database opened READ ONLY" message
292 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000293<li>In the sqlite shell, now print the version number on initial startup.</li>
294<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000295<li>Makefile updates</li>
296<li>Bug fix: incorrect VDBE code was being generated for the following
297 circumstance: a query on an indexed table containing a WHERE clause with
298 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000299}
300
drhbbd4a752000-08-18 09:33:39 +0000301chng {2000 Aug 18 (Version 1.0.1)} {
302<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000303<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000304}
305
drh303aaa72000-08-17 10:22:34 +0000306chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000307<li>Change the <b>sqlite</b> program so that it can read
308 databases for which it lacks write permission. (It used to
309 refuse all access if it could not write.)</li>
310}
311
drh30cab802000-08-09 17:17:25 +0000312chng {2000 Aug 9} {
313<li>Treat carriage returns as white space.</li>
314}
315
drha50da102000-08-08 20:19:09 +0000316chng {2000 Aug 8} {
317<li>Added pattern matching to the ".table" command in the "sqlite"
318command shell.</li>
319}
320
drh2758db22000-08-04 13:52:30 +0000321chng {2000 Aug 4} {
322<li>Documentation updates</li>
323<li>Added "busy" and "timeout" methods to the Tcl interface</li>
324}
325
drhb97bedb2000-08-03 15:09:19 +0000326chng {2000 Aug 3} {
327<li>File format version number was being stored in sqlite_master.tcl
328 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
329}
330
drh353f57e2000-08-02 12:26:28 +0000331chng {2000 Aug 2} {
332<li>The file format for indices was changed slightly in order to work
333 around an inefficiency that can sometimes come up with GDBM when
334 there are large indices having many entries with the same key.
335 <font color="red">** Incompatible Change **</font></li>
336}
337
drhed380d82000-08-01 09:56:27 +0000338chng {2000 Aug 1} {
339<li>The parser's stack was overflowing on a very long UPDATE statement.
340 This is now fixed.</li>
341}
342
drh1050f982000-07-31 11:59:02 +0000343chng {2000 July 31} {
344<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000345<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000346<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000347<li>Fix a configuration problem for HPUX.</li>
348}
349
drhe1b6a5b2000-07-29 13:06:59 +0000350chng {2000 July 29} {
351<li>Better labels on column names of the result.</li>
352}
353
drh2dfbbca2000-07-28 14:32:48 +0000354chng {2000 July 28} {
355<li>Added the <b>sqlite_busy_handler()</b>
356 and <b>sqlite_busy_timeout()</b> interface.</li>
357}
358
drh74c360e2000-06-23 19:16:23 +0000359chng {2000 June 23} {
360<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
361}
362
drh1fd14a72000-06-21 14:00:39 +0000363chng {2000 June 21} {
364<li>Clean up comments and variable names. Changes to documentation.
365 No functional changes to the code.</li>
366}
367
drh6206d502000-06-19 19:09:08 +0000368chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000369<li>Column names in UPDATE statements were case sensitive.
370 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000371}
372
drh00400772000-06-16 20:51:26 +0000373chng {2000 June 16} {
374<li>Added the concatenate string operator (||)</li>
375}
376
drh61fc2c62000-06-12 12:29:25 +0000377chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000378<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
379 returns the number of database "Fetch" operations that have occurred.
380 This function is designed for use in test scripts to verify that
381 queries are efficient and appropriately optimized. Fcnt() has no other
382 useful purpose, as far as I know.</li>
383<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000384 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000385}
386
drhdcc7c742000-06-09 03:51:26 +0000387chng {2000 June 8} {
388<li>Added lots of new test cases</li>
389<li>Fix a few bugs discovered while adding test cases</li>
390<li>Begin adding lots of new documentation</li>
391}
392
drh49c87802000-06-06 18:24:42 +0000393chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000394<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000395<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000396<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
397<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
398<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000399<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000400 rather than an empty string.</li>
401}
402
drh32aa77e2000-06-03 19:28:48 +0000403chng {2000 June 3} {
404<li>Added support for default values on columns of a table.</li>
405<li>Improved test coverage. Fixed a few obscure bugs found by the
406improved tests.</li>
407}
408
drhbed86902000-06-02 13:27:59 +0000409chng {2000 June 2} {
410<li>All database files to be modified by an UPDATE, INSERT or DELETE are
411now locked before any changes are made to any files.
412This makes it safe (I think) to access
413the same database simultaneously from multiple processes.</li>
414<li>The code appears stable so we are now calling it "beta".</li>
415}
416
417chng {2000 June 1} {
418<li>Better support for file locking so that two or more processes
419(or threads)
420can access the same database simultaneously. More work needed in
421this area, though.</li>
422}
423
drh7203e282000-05-31 15:35:42 +0000424chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000425<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000426to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000427<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000428}
429
drhdce2cbe2000-05-31 02:27:49 +0000430chng {2000 May 30} {
431<li>Added the <b>LIKE</b> operator.</li>
432<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
433but it uses Unix shell globbing wildcards instead of the '%'
434and '_' wildcards of SQL.</li>
435<li>Added the <B>COPY</b> command patterned after
436<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
437can now read the output of the <b>pg_dump</b> database dump utility
438of PostgreSQL.</li>
439<li>Added a <B>VACUUM</B> command that that calls the
440<b>gdbm_reorganize()</b> function on the underlying database
441files.</li>
442<li>And many, many bug fixes...</li>
443}
444
445chng {2000 May 29} {
446<li>Initial Public Release of Alpha code</li>
447}
448
449puts {
450</DL>
451<p><hr /></p>
452<p><a href="index.html"><img src="/goback.jpg" border=0 />
453Back to the SQLite Home Page</a>
454</p>
455
456</body></html>}