Releases: tegmentum/wasi-polyfill
Releases · tegmentum/wasi-polyfill
Release list
v0.1.0
Initial release of @tegmentum/wasi-polyfill — a multi-version WASI polyfill for browser and JavaScript environments.
Subsystems
- wasip1 — standalone WASI Preview 1 implementation for core modules (
/wasip1) - wasip2 — capability-based plugin framework for WASI Preview 2 components (
/wasip2) - wasip3 — async-native primitives (streams, futures, tasks) targeting WASI Preview 3 (
/wasip3) - browser — host imports exposing Web Platform APIs (DOM, canvas, fetch, WebGPU, …) to guests (
/browser)
Notable in this build
- ws-gateway sockets interface aligned to the 0.2.6 bump (
test(ws-gateway)). createJcoPolyfillaccepts a caller-supplied policy (feat(jco)).- Component imports parsed against section 10 with the discriminator byte (
fix(runtime)). - Closed
wasi:cli/exitandwasi:io/pollmethod gaps for the 0.2.6 surface (feat(plugins)). - Upstream-patch register established (
docs/upstream-patches.md,patches/jco/). The jco #1574 browser file-read BigInt patch is carrying-record-only — the Fiji browser path no longer loadspreview2-shim, so it applies only to downstream consumers still usingpreview2-shimdirectly.
Notes
- The bare
@tegmentum/wasi-polyfillimport re-exportswasip2as a back-compat alias and is deprecated — prefer the explicit/wasip2subpath. - Licensed under MIT.