Skip to content

WASM v0.12.0

Choose a tag to compare

@github-actions github-actions released this 02 Jun 07:57
· 4 commits to main since this release
cefc45f

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

npm install @joaoh82/sqlrite-wasm@0.12.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.12.0 for the full changelog.

What's Changed

  • fix(release): scope sqlrite-engine crate with include allowlist (fixes crates.io 413) by @joaoh82 in #154
  • docs(release): bump displayed version to 0.11.0 (site + install snippets) by @joaoh82 in #155
  • SQLR-12 — make release.yml publish jobs idempotent (skip-if-already-published) by @joaoh82 in #156
  • docs(release-secrets): document sqlrite-notes trusted publisher + Repository-field gotcha (SQLR-13) by @joaoh82 in #157
  • feat(sql): JOIN ... USING / NATURAL / CROSS (SQLR-5) by @joaoh82 in #158
  • release: v0.12.0 by @joaoh82 in #159

Full Changelog: sdk/go/v0.11.0...sqlrite-wasm-v0.12.0