Repository navigation
Release v1.15.0
This release adds single-file WebAssembly builds and updates SQLite from 3.49.1 to 3.54.0.
- Add
sql-wasm-inline.jsandworker.sql-wasm-inline.js, with debug variants. These embed the WebAssembly binary and need no companion.wasmfile orlocateFileconfiguration. - Deprecate asm.js builds. They remain in the npm package and
sqljs-all.zip; use the inline WebAssembly builds for single-file integration. - Preserve embedded NUL characters when binding or reading TEXT and passing TEXT to or from JavaScript SQL functions (#634).
- Allocate SQL strings on the heap in
Database.runandDatabase.prepare, fixing failures with SQL larger than the WebAssembly stack (#482, #639). - Free statement iterator resources when a
for...ofloop exits early (#457, #632). - Reset the worker database after close so subsequent requests can initialize a fresh database (#638).
- Update Emscripten to 6.0.12, development tooling, CI actions, documentation, and browser dependencies (#637).
- Retain npm trusted publishing with provenance, and retry transient SQLite source download failures.
Node.js users need Node.js 18.3 or newer. WebAssembly support is required for the default and inline builds.
Full changes: v1.14.2...v1.15.0