191 Commits
Author SHA1 Message Date
hanzo-devandClaude Opus 4.8 764539773a feat: canonical Hanzo SQLite — rename module + native encrypted hanzovfs
Fork of ncruces/go-sqlite3 (MIT, retained). Renames module to
github.com/hanzoai/sqlite3 (wasm blob stays upstream ncruces/go-sqlite3-wasm)
and adds the hanzovfs package: a pure-Go, no-FUSE SQLite VFS that seals pages
with ChaCha20-Poly1305 (per-tenant DEK, HIP-0302) for per-tenant SQLite ⇒
hanzoai/vfs ⇒ S3.

Deprecates modernc.org/sqlite (no custom-VFS hook) and direct ncruces use.
Benchmarked 3.6x faster writes / ~92x faster point-reads than FUSE; encryption ~free.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 20:32:43 +00:00
Nuno Cruces f063720e7f Memory size. 2026-06-11 17:13:10 +01:00
Nuno Cruces 25266ab966 Pre-update hook. 2026-06-08 12:59:01 +01:00
Nuno CrucesandGitHub 89efb65dbb Driver scanning API (#377) 2026-05-21 11:55:29 +01:00
Nuno Cruces ce78ca9e71 Cleanup. 2026-05-20 14:59:47 +01:00
Nuno Cruces 064bd0131f Base64. 2026-04-16 12:41:52 +01:00
Nuno Cruces 61d2c859c5 CI. 2026-04-02 19:56:49 +01:00
Nuno Cruces 361fdc52fa SQLite 3.51.3. 2026-03-18 17:56:27 +00:00
Nuno CrucesandGitHub 1165211c3a Switch from wazero to wasm2go (#362) 2026-03-12 20:53:33 +00:00
Nuno CrucesandGitHub d29aacb0b2 Compile SQLite with nostdlib. (#351) 2026-03-09 16:15:28 +00:00
Nuno Cruces e7f5604199 Stricter vtabs, get VFS name. 2026-01-13 11:25:25 +00:00
Nuno Cruces 1db4366226 VFS error handling. 2025-10-16 15:18:40 +01:00
Nuno Cruces 23aad5f62f MVCC API. 2025-09-29 12:52:01 +01:00
Nuno Cruces e5bd10a1ff Fix TestDB. 2025-09-29 12:44:09 +01:00
Nuno Cruces 08f9fc758a JSON experiment. 2025-09-24 18:13:21 +01:00
Nuno Cruces b588d5f991 Error messages, test contexts. 2025-09-23 12:51:36 +01:00
Nuno Cruces c3ebb04045 Use crypto/pbkdf2. 2025-09-18 18:41:10 +01:00
Nuno CrucesandGitHub 0026bc91aa MVCC memory VFS. (#309) 2025-08-21 18:44:40 +01:00
Nuno Cruces d8880e4cee Fixes. 2025-08-13 03:34:21 +01:00
Nuno Cruces 754e806164 Tests. 2025-07-22 10:34:30 +01:00
Nuno Cruces 9719d4b0e3 Better tests. 2025-07-17 01:11:16 +01:00
Nuno Cruces b46f480d79 FCNTL_NULL_IO. 2025-05-26 16:32:52 +01:00
Nuno Cruces c1bed07e3a Issue #276. 2025-05-13 14:27:04 +01:00
Nuno Cruces 1b0bf3495e Fix flake. 2025-04-09 10:21:54 +01:00
Nuno Cruces e6c9f18934 Benchmark libc. 2025-04-04 10:56:12 +01:00
Nuno Cruces 9f626b2f52 Fix #255. 2025-03-31 16:33:31 +01:00
Nuno CrucesandGitHub 1f5d8bf7df Avoid escaping times (#256) 2025-03-31 13:02:41 +01:00
Nuno Cruces e5c285b783 Discussion #250. 2025-03-28 11:30:47 +00:00
Nuno Cruces 25557244cc Global ConfigLog. 2025-03-11 17:07:56 +00:00
Nuno Cruces c2d3bf0cfc Reduce flakyness. 2025-03-11 14:57:48 +00:00
Nuno Cruces 1d951ecd18 Go 1.22. 2025-01-24 10:46:05 +00:00
Nuno CrucesandGitHub 0c09dd89c2 Add wasmtime to CI. (#212) 2025-01-07 16:31:12 +00:00
Nuno Cruces f2d894194d Avoid syscall. 2024-12-21 10:16:23 +00:00
Nuno Cruces 2e3ba3949e Remove sqlite3_nosys. 2024-11-29 15:51:51 +00:00
Nuno Cruces 23737a61ba Log. 2024-11-06 12:10:47 +00:00
Nuno CrucesandGitHub 17f7840a83 Share memory by copying. (#180) 2024-10-31 15:21:15 +00:00
Nuno CrucesandGitHub 69e5cf706b Checksums in default VFS. (#177) 2024-10-25 13:49:06 +01:00
Nuno CrucesandGitHub 75c1dbb052 Checksum VFS. (#176) 2024-10-25 00:12:29 +01:00
Nuno Cruces 0cd0f48365 Rename WAL, fixes. 2024-10-24 00:23:13 +01:00
Nuno Cruces c69ee0fe8d Rename sql3util. 2024-10-22 23:36:38 +01:00
Nuno Cruces b9b489aae9 Fixes, internal docs. 2024-10-22 13:08:31 +01:00
Nuno Cruces 9eec439d35 More tests. 2024-10-19 08:58:55 +01:00
Nuno Cruces f18561ee11 Lerp. 2024-10-18 13:07:39 +01:00
Nuno Cruces ace01b2927 Split local imports. 2024-10-18 12:20:32 +01:00
Nuno CrucesandGitHub c900889848 Configure memory, 32-bit WAL. (#170) 2024-10-17 13:04:23 +01:00
Nuno Cruces e524fb185d More consistent interrupts. 2024-10-08 16:38:57 +01:00
Nuno Cruces 911e497891 Improved quoting. 2024-10-07 14:42:09 +01:00
Nuno Cruces f9e867be60 Time fix. 2024-10-04 18:29:35 +01:00
Nuno Cruces 96c61a2f55 Improved interrupts. 2024-10-04 16:18:24 +01:00
Nuno Cruces 25fc5a606a Delete functions, modules, hooks. 2024-09-30 13:11:04 +01:00