Skip to content

v0.20.0 — Phase 8.1: WebAssembly Support (2026-04-18)

Choose a tag to compare

@github-actions github-actions released this 18 Apr 13:41
757f57d

Release Notes

Added

  • Phase 8.1a — Browser WASM (wasm32-unknown-unknown + wasm-bindgen):
    • BrowserDb public API: open_in_memory(), execute(), checkpoint(), export_graph(), import_graph()
    • BrowserBufferBackend — in-memory StorageBackend over a flat page buffer, identical byte layout to the native .graph format
    • IndexedDbBackend — page-granular IndexedDB storage (one 4 KB entry per page); only dirty pages written on checkpoint
    • wasm-pack build workflow (wasm32-unknown-unknown --features browser) generating pkg/ with JS glue and TypeScript definitions
    • wasm-bindgen-test browser integration tests (Chrome + Firefox via wasm-pack test)
  • Phase 8.1b — Server-side WASM (wasm32-wasip1 / WASI):
    • FileBackend verified under WASI's capability-based filesystem (no backend changes needed)
    • CI workflow (wasm-wasi.yml) builds, unit-tests, and smoke-tests under Wasmtime and Wasmer on every push/PR
    • Thread-dependent tests gated with #[cfg(not(target_os = "wasi"))]
  • Cross-platform compatibility tests (issue #150):
    • tests/cross_platform_compat_test.rs — native round-trip (raw page byte copy) and fixture-readability tests
    • tests/fixtures/compat.graph — committed v7 binary fixture containing :alice :name "Alice" and :alice :age 30
    • examples/generate_compat_fixture.rs — reproducible fixture generator (native only; no-op on wasm32)
    • native_fixture_readable_by_browser_db wasm-bindgen-test — loads native fixture via BrowserDb::import_graph, verifies both facts
  • Release workflow: WASM artifacts (WASI binary + browser tarball) built and attached on every tag; cargo publish to crates.io on release

795 tests.

Download minigraf 0.20.0

File Platform Checksum
minigraf-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
minigraf-x86_64-apple-darwin.tar.xz Intel macOS checksum
minigraf-x86_64-pc-windows-msvc.zip x64 Windows checksum
minigraf-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
minigraf-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum