Skip to content

Release v1.15.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 21:12
· 3 commits to master since this release

This release adds single-file WebAssembly builds and updates SQLite from 3.49.1 to 3.54.0.

  • Add sql-wasm-inline.js and worker.sql-wasm-inline.js, with debug variants. These embed the WebAssembly binary and need no companion .wasm file or locateFile configuration.
  • 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.run and Database.prepare, fixing failures with SQL larger than the WebAssembly stack (#482, #639).
  • Free statement iterator resources when a for...of loop 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