blob: 3945d96b1ca63f8eac2a8d45ade458c619c4b283 [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
drh9b1eb482000-10-17 01:31:22 +000020chng {2000 Oct 16 (1.0.12)} {
21<li>Fixed an off-by-one error that was causing a coredump in
22 the '%q' format directive of the new
23 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +000024<li>Added the <b>sqlite_interrupt()</b> interface.</li>
25<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
26 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +000027<li>Fixed some instances where <b>sqlite_exec()</b> was
28 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +000029}
30
drh611ad212000-10-16 22:09:38 +000031chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +000032<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +000033<li>Removed a few variables that were not being used. Etc.</li>
34}
35
drha18c5682000-10-08 22:20:57 +000036chng {2000 Oct 8 (1.0.9)} {
37<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
38<li>Modified the <b>sqlite</b> shell program to use the new interface
39 routines.</li>
40<li>Modified the <b>sqlite</b> shell program to print the schema for
41 the built-in SQLITE_MASTER table, if explicitly requested.</li>
42}
43
drh9b0d0a82000-09-30 22:46:05 +000044chng {2000 Sep 30 (1.0.8)} {
45<li>Begin writing documentation on the TCL interface.</li>
46}
47
drhe3710332000-09-29 13:30:53 +000048chng {2000 Sep 29 (Not Released)} {
49<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +000050<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +000051<li>Modified the <b>sqlite</b> shell to make use of the new
52 sqlite_get_table() API in order to print a list of tables
53 in multiple columns, similar to the way "ls" prints filenames.</li>
54<li>Modified the <b>sqlite</b> shell to print a semicolon at the
55 end of each CREATE statement in the output of the ".schema" command.</li>
56}
57
drh6d313162000-09-21 13:01:35 +000058chng {2000 Sep 21 (Not Released)} {
59<li>Change the tclsqlite "eval" method to return a list of results if
60 no callback script is specified.</li>
61<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
62<li>Add tclsqlite.c to the libsqlite.a library</li>
63}
64
drha5c2ad02000-09-14 01:21:10 +000065chng {2000 Sep 13 (Version 1.0.5)} {
66<li>Changed the print format for floating point values from "%g" to "%.15g".
67 </li>
68<li>Changed the comparison function so that numbers in exponential notation
69 (ex: 1.234e+05) sort in numerical order.</li>
70}
71
drhff6e9112000-08-28 16:21:58 +000072chng {2000 Aug 28 (Version 1.0.4)} {
73<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
74<li>Fix a bug in the <b>sqlite</b> shell program that was causing
75 a coredump when the output mode was "column" and the first row
76 of data contained a NULL.</li>
77}
78
drh63e27412000-08-22 18:29:33 +000079chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +000080<li>In the sqlite shell, print the "Database opened READ ONLY" message
81 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +000082<li>In the sqlite shell, now print the version number on initial startup.</li>
83<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +000084<li>Makefile updates</li>
85<li>Bug fix: incorrect VDBE code was being generated for the following
86 circumstance: a query on an indexed table containing a WHERE clause with
87 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +000088}
89
drhbbd4a752000-08-18 09:33:39 +000090chng {2000 Aug 18 (Version 1.0.1)} {
91<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +000092<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +000093}
94
drh303aaa72000-08-17 10:22:34 +000095chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +000096<li>Change the <b>sqlite</b> program so that it can read
97 databases for which it lacks write permission. (It used to
98 refuse all access if it could not write.)</li>
99}
100
drh30cab802000-08-09 17:17:25 +0000101chng {2000 Aug 9} {
102<li>Treat carriage returns as white space.</li>
103}
104
drha50da102000-08-08 20:19:09 +0000105chng {2000 Aug 8} {
106<li>Added pattern matching to the ".table" command in the "sqlite"
107command shell.</li>
108}
109
drh2758db22000-08-04 13:52:30 +0000110chng {2000 Aug 4} {
111<li>Documentation updates</li>
112<li>Added "busy" and "timeout" methods to the Tcl interface</li>
113}
114
drhb97bedb2000-08-03 15:09:19 +0000115chng {2000 Aug 3} {
116<li>File format version number was being stored in sqlite_master.tcl
117 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
118}
119
drh353f57e2000-08-02 12:26:28 +0000120chng {2000 Aug 2} {
121<li>The file format for indices was changed slightly in order to work
122 around an inefficiency that can sometimes come up with GDBM when
123 there are large indices having many entries with the same key.
124 <font color="red">** Incompatible Change **</font></li>
125}
126
drhed380d82000-08-01 09:56:27 +0000127chng {2000 Aug 1} {
128<li>The parser's stack was overflowing on a very long UPDATE statement.
129 This is now fixed.</li>
130}
131
drh1050f982000-07-31 11:59:02 +0000132chng {2000 July 31} {
133<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000134<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000135<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000136<li>Fix a configuration problem for HPUX.</li>
137}
138
drhe1b6a5b2000-07-29 13:06:59 +0000139chng {2000 July 29} {
140<li>Better labels on column names of the result.</li>
141}
142
drh2dfbbca2000-07-28 14:32:48 +0000143chng {2000 July 28} {
144<li>Added the <b>sqlite_busy_handler()</b>
145 and <b>sqlite_busy_timeout()</b> interface.</li>
146}
147
drh74c360e2000-06-23 19:16:23 +0000148chng {2000 June 23} {
149<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
150}
151
drh1fd14a72000-06-21 14:00:39 +0000152chng {2000 June 21} {
153<li>Clean up comments and variable names. Changes to documentation.
154 No functional changes to the code.</li>
155}
156
drh6206d502000-06-19 19:09:08 +0000157chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000158<li>Column names in UPDATE statements were case sensitive.
159 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000160}
161
drh00400772000-06-16 20:51:26 +0000162chng {2000 June 16} {
163<li>Added the concatenate string operator (||)</li>
164}
165
drh61fc2c62000-06-12 12:29:25 +0000166chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000167<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
168 returns the number of database "Fetch" operations that have occurred.
169 This function is designed for use in test scripts to verify that
170 queries are efficient and appropriately optimized. Fcnt() has no other
171 useful purpose, as far as I know.</li>
172<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000173 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000174}
175
drhdcc7c742000-06-09 03:51:26 +0000176chng {2000 June 8} {
177<li>Added lots of new test cases</li>
178<li>Fix a few bugs discovered while adding test cases</li>
179<li>Begin adding lots of new documentation</li>
180}
181
drh49c87802000-06-06 18:24:42 +0000182chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000183<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000184<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000185<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
186<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
187<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
188<li>NULL values are now reported ot the callback as a NULL pointer
189 rather than an empty string.</li>
190}
191
drh32aa77e2000-06-03 19:28:48 +0000192chng {2000 June 3} {
193<li>Added support for default values on columns of a table.</li>
194<li>Improved test coverage. Fixed a few obscure bugs found by the
195improved tests.</li>
196}
197
drhbed86902000-06-02 13:27:59 +0000198chng {2000 June 2} {
199<li>All database files to be modified by an UPDATE, INSERT or DELETE are
200now locked before any changes are made to any files.
201This makes it safe (I think) to access
202the same database simultaneously from multiple processes.</li>
203<li>The code appears stable so we are now calling it "beta".</li>
204}
205
206chng {2000 June 1} {
207<li>Better support for file locking so that two or more processes
208(or threads)
209can access the same database simultaneously. More work needed in
210this area, though.</li>
211}
212
drh7203e282000-05-31 15:35:42 +0000213chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000214<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000215to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000216<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000217}
218
drhdce2cbe2000-05-31 02:27:49 +0000219chng {2000 May 30} {
220<li>Added the <b>LIKE</b> operator.</li>
221<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
222but it uses Unix shell globbing wildcards instead of the '%'
223and '_' wildcards of SQL.</li>
224<li>Added the <B>COPY</b> command patterned after
225<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
226can now read the output of the <b>pg_dump</b> database dump utility
227of PostgreSQL.</li>
228<li>Added a <B>VACUUM</B> command that that calls the
229<b>gdbm_reorganize()</b> function on the underlying database
230files.</li>
231<li>And many, many bug fixes...</li>
232}
233
234chng {2000 May 29} {
235<li>Initial Public Release of Alpha code</li>
236}
237
238puts {
239</DL>
240<p><hr /></p>
241<p><a href="index.html"><img src="/goback.jpg" border=0 />
242Back to the SQLite Home Page</a>
243</p>
244
245</body></html>}