Skip to content

WASM v0.9.0

Choose a tag to compare

@github-actions github-actions released this 08 May 14:26
· 56 commits to main since this release
35f9c12

Published to npm: https://www.npmjs.com/package/@joaoh82/sqlrite-wasm/v/0.9.0

npm install @joaoh82/sqlrite-wasm@0.9.0
// Bundler target — works with webpack, vite, rollup, parcel
import init, { Database } from '@joaoh82/sqlrite-wasm';

await init();
const db = new Database();
db.exec("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)");
db.exec("INSERT INTO users (name) VALUES ('alice')");
const rows = db.query("SELECT id, name FROM users");
// → [{ id: 1, name: 'alice' }]

What's in the package:

  • sqlrite_wasm_bg.wasm — the WebAssembly engine binary
  • sqlrite_wasm.js — auto-generated JS glue (wasm-bindgen)
  • sqlrite_wasm.d.ts — TypeScript types
  • package.json — bundler-target metadata

Build target: bundler (webpack/vite/rollup-friendly).
For web / nodejs / deno targets, build from source via wasm-pack build sdk/wasm --target <target>.

Verify package provenance:

npm audit signatures

See the umbrella release v0.9.0 for the full changelog.

What's Changed

  • docs(bench): design plan for SQLRite vs SQLite benchmark suite (SQLR-4) by @joaoh82 in #101
  • feat(bench): harness scaffolding + W1 read-by-PK (sub-phase 9.1) by @joaoh82 in #102
  • feat(bench): Group A workloads — W2..W6 (sub-phase 9.2) by @joaoh82 in #103
  • feat(bench): Group B workloads — W7..W9 (sub-phase 9.3) by @joaoh82 in #104
  • feat(bench): Group C differentiators — W10..W12 (sub-phase 9.4) by @joaoh82 in #105
  • feat(bench): DuckDB driver, Group B only (sub-phase 9.5) by @joaoh82 in #106
  • feat(bench): publication — first pinned-host run + canonical docs (sub-phase 9.6) by @joaoh82 in #107
  • docs(mvcc): proposal for concurrent writes via MVCC + BEGIN CONCURRENT by @joaoh82 in #109
  • feat(engine): prepared-statement plan cache + parameter binding (SQLR… by @joaoh82 in #110
  • fix(release): teach bump-version.sh about benchmarks/Cargo.toml's pin by @joaoh82 in #111
  • Release v0.9.0 by @github-actions[bot] in #112

Full Changelog: sdk/go/v0.8.0...sqlrite-wasm-v0.9.0