SQLite: Timeline

8 min read Original article ↗

2026-11-29

22:53 Disallow leading zeros on JSON5 floating-point literals in JSONB. SQLite never generated such, but constructed JSONB blobs might have tried to insert them. Bug 2026-11-29T00:31:53Z (leaf check-in: a0398ef6ae ... user: drh tags: trunk) 17:52 Ensure the UPSERT works correctly in cases where there are a ridiculous number of terms in the UNIQUE or PRIMARY KEY constraint. Bug 2026-11-29T00:20:32Z (check-in: 8ab06412a8 ... user: drh tags: trunk) 17:46 Fix a harmless compiler warning. (check-in: 182c263f5f ... user: drh tags: trunk) 16:52 Apply the COLLATE-on-ORDER-BY compound conversion inside recursive CTEs. Bug 2026-11-29T00:09:37Z (check-in: bdfb057710 ... user: drh tags: trunk) 16:22 Ensure that even a compound subquery does not return a subtype. Bug 2026-11-29T00:13:40Z (check-in: b078877baf ... user: drh tags: trunk) 11:06 Remove incorrect ALWAYS() and NEVER() macros. (check-in: ebdf697337 ... user: drh tags: trunk) 00:37 JS: in non-ESM builds extend validation of the sqlite3.dir URL argument to reject any values which backslashes. Bug report 2026-11-29T00:17:11Z. (check-in: 2b6b1c2b36 ... user: stephan tags: trunk)

2026-11-28

22:58 The sqlite3_incomplete symbol is not available with SQLITE_OMIT_COMPLETE. Bug 2026-11-28T21:44:46Z (check-in: fa8c136047 ... user: drh tags: trunk) 22:42 QRF cosmetic tweak: relocate a C-style comment. Addresses (non-)bug report 2026-11-28T10:36:34Z. (check-in: a95656416b ... user: stephan tags: trunk) 20:40 Enhance QRF so that in Jatom and Insert modes, the default floating point format includes the zero-padding flag so that infinity is rendered as 9.0e999 and so that NaN is rendered as "null". Bug 2026-11-28T10:53:00Z (check-in: 8c9c8797bd ... user: drh tags: trunk) 20:13 Perform (only) rudimentary validation of .mode --tag TAG names to minimally address ticket 2026-11-28T10:49:15Z. (check-in: 1beb458f5d ... user: stephan tags: trunk) 19:59 QRF: change an i32 to an i64 to address bug report 2026-11-28T10:40:05Z. Remove some nearby stray EOL spaces. (check-in: 01e9f84dc9 ... user: stephan tags: trunk) 19:58 Fix an fts3 problem involving a NOT query, the offsets() function, and a row with docid=0. Report 2026-11-27T12:35:29Z. (check-in: 80a5756b5d ... user: dan tags: trunk) 19:18 Ensure that the fts5 configuration cookie is updated whenever a 'rebuild' or 'delete-all' command is run. Report 2026-11-27T17:59:21Z. (check-in: af39f4d47b ... user: dan tags: trunk) 18:10 In fts5, avoid running an UPDATE statement that uses a savepoint when flushing a hash table to disk. Report 2026-11-27T17:47:15Z. (check-in: 96a2f5da96 ... user: dan tags: trunk) 17:25 Fix a problem in fts5 secure-delete mode triggered by deleting all entries for a term with a doclist-index when that term is not the first term on its leaf page. Report 2026-11-27T17:50:30Z. (check-in: bb458794a2 ... user: dan tags: trunk) 16:41 Fix UPDATE FROM so that it reads the correct column for the rowid when operating on a VIEW with an INSTEAD OF trigger. Bug 2026-11-27T14:35:03Z. (check-in: ce06fb61f1 ... user: drh tags: trunk) 15:32 Several unrelated code-adjacent cleanups in the CLI shell: fix .mode --once, as per bug report 2026-11-28T10:23:45Z, and a similar nearby issue for a failed .read FILE. Fix UB for a malloc(0) case. Add a missing OOM check. Pop .mode --once and .once redirect after a -cmd. --tag limit is now 25 instead of 26 (to match the internal docs). New tests. (check-in: 5637ebea85 ... user: stephan tags: trunk) 15:22 Ensure that persistent fts5 options 'rank', 'secure-delete' and 'insttoken' are all correctly reverted by ROLLBACK and ROLLBACK TO commands. Report 2026-11-27T12:48:51Z. (check-in: 4ffa3b89e5 ... user: dan tags: trunk) 14:54 CLI shell: do not emit the current mode after (.mode --reset) to avoid polluting client output in -batch. Bug report 2026-11-28T10:32:44Z. (check-in: 7b7e503e1f ... user: stephan tags: trunk) 14:44 CLI shell: propagate errors in two cases where that was missing. Bug report 2026-11-28T10:12:22Z, noting that one of the three places that reports is not changed because it's a deliberate warning and fallback rather than an error. (check-in: d2ad6f7b68 ... user: stephan tags: trunk) 14:39 Enhance json_each() and json_tree() so that they render the key better when given a ROOT argument that lands on an array element. Bug 2026-11-27T14:46:31Z (check-in: ac3acea3d1 ... user: drh tags: trunk) 14:35 Improve the CLI .sha3sum's handling of empty and view-only databases. Bug report 2026-11-28T10:04:57Z. (check-in: 366b1c7c5d ... user: stephan tags: trunk) 14:31 Add tests to verify that the maximum acceptable value for fts5 paramter 'automerge' is 64, not 16. Report 2026-11-27T11:20:26Z. (check-in: ff6c7ed32e ... user: dan tags: trunk) 14:04 CLI shell: have -deserialize honor the -readonly flag. Bug report 2026-11-28T09:42:17Z. (check-in: 5d9393a069 ... user: stephan tags: trunk) 12:47 Enhance the strfime() SQL function to work better with years before 1AD. Bug 2026-11-27T14:33:07Z (check-in: f0c50b972e ... user: drh tags: trunk) 12:20 Fix a test case associated with checkin [068a53865a17d4c2] so that it works on Windows. (check-in: f428112689 ... user: drh tags: trunk) 12:07 Fix a test case associated with check-in [3e54fa96ab6c5925] so that it works on Windows. (check-in: 908cd82d11 ... user: drh tags: trunk) 11:59 Use 64-bit doubles to improve accuracy of some floating point computations in the geopoly extension. Bug 2026-11-27T14:08:29Z. (check-in: ed76cc0c2e ... user: drh tags: trunk) 11:46 Do not allow an ALTER TABLE DROP CONSTRAINT on a constraint that has pending unresolved conflicts. Bug 2026-11-27T13:03:22Z (check-in: 58e8515bc8 ... user: drh tags: trunk) 11:23 Correctly identify correlated subqueries that are deeply nexted in RETURNING. Bug 2026-11-27T11:38:58Z (check-in: ee91635195 ... user: drh tags: trunk) 00:36 CLI shell: fix .archive --remove to work on both archives named with --file or opened as the main db. Bug report 2026-11-27T16:46:28Z. (check-in: 58ec4f1b48 ... user: stephan tags: trunk) 00:34 Use get2byteNotZero() instead of get2byte() at strategic places in btree.c in order to handle empty content on page 1 correctly. Bug 2026-11-27T18:01:07Z (check-in: 1ad573a40b ... user: drh tags: trunk) 00:21 Remove mentions of the unimplemented .dump --newlines flag from the shell. (check-in: 099e30baef ... user: stephan tags: trunk) 00:20 CLI shell: fix .import --esc behavior when an escape appears at EOF. Bug report 2026-11-27T16:22:11Z. (check-in: 222f5bab25 ... user: stephan tags: trunk)

2026-11-27

23:59 Fix obscure data leaks in PRAGMA secure_delete=on. Bugs 2026-11-27T19:39:50Z and 2026-11-27T19:42:27Z. (check-in: 62f79adaa8 ... user: drh tags: trunk) 23:55 CLI shell: in .selftest do not clobber the outer result code with an inner-loop one. Bug report 2026-11-27T15:44:08Z. Wrap some nearby overlong lines and remove nearby stray EOL spaces. (check-in: 1b3c4b5393 ... user: stephan tags: trunk) 23:46 CLI shell: correct the -bail handling in combination with -cmd. Bug report 2026-11-27T14:59:07Z. (check-in: d145088ee6 ... user: stephan tags: trunk) 22:10 sqldiff: more consistently apply IS NOT NULL to columns which exist only in the destination db. Bug report 2026-11-27T11:46:34Z. (check-in: 657ed7bc9c ... user: stephan tags: trunk) 21:45 Avoid infinite recursion in the vfslog extension when it's registered multiple times. Bug report 2026-11-27T11:34:52Z. (check-in: 0549072bab ... user: stephan tags: trunk) 21:16 When writing to a virtual table in a shared-cache database, lock all shadow tables before proceeding with the write. Also, have fts5 refuse to commit a transaction if a tokenizer error occurred while writing to the table within the transaction. Such an error may leave the in-memory token hash table in an inconsistent state. Report 2026-11-03T23:58:55Z. (check-in: 3f501854c6 ... user: dan tags: trunk) 21:10 Use consistent collations for comparing table names in sqldiff so that it does not multiply-process tables with names differing only in their case. Bug report 2026-11-27T11:43:00Z. (check-in: 07a486b9d2 ... user: stephan tags: trunk) 20:59 Have fts5 refuse to commit a transaction if a tokenizer error occurred while writing to the table within the transaction. Such an error may leave the in-memory token hash table in an inconsistent state. Report 2026-11-03T23:58:55Z. (closed check-in: c3b9997eee ... user: dan tags: report-6b41f8e351) 20:57 Do not allow "PRAGMA mmap_size=0" while still in use. Bug 2026-11-27T17:53:16Z. (check-in: 3e54fa96ab ... user: drh tags: trunk) 17:56 New conditional in the page cache with SQLITE_ENABLE_MEMORY_MANAGEMENT as discussed at bug 2026-11-18T20:57:17Z. No regression tests as I don't see a way to do that reliably. (check-in: f3d94ddc6c ... user: drh tags: trunk) 17:06 When writing to a virtual table in a shared-cache database, lock all shadow tables before proceeding with the write. Partial fix for 2026-11-03T23:58:55Z. (check-in: 6687170b82 ... user: dan tags: report-6b41f8e351) 15:21 Make the median() family of functions more resistant to floating-point overflow. Bug 2026-11-27T14:15:41Z (check-in: c9c13cb013 ... user: drh tags: trunk) 14:15 Geopoly_json() enhanced to always emit valid JSON even if the shape contains infinities or NaNs. Bug 2026-11-27T13:26:18Z. Separately, the documentation is updated to state clearly that no errors are raised by geopoly_xform() in the event of an overflow. (check-in: 6bf72f2ee6 ... user: drh tags: trunk) 13:19 Do not let the numeric argument to the reserve= query parameter on a VACUUM uri wrap. Bug 2026-11-27T11:17:09Z. (check-in: 3203b0e568 ... user: drh tags: trunk) 12:41 Use the new sqlite3_result_str() interface to return values in the (debugging-use-only) rtreenode() SQL function. Bug 2026-11-27T11:27:46Z. (check-in: 41f8c00439 ... user: drh tags: trunk)