Skip to content

v2.12.0

Choose a tag to compare

@Goldziher Goldziher released this 08 Dec 20:20
· 2643 commits to main since this release

Added

  • WebAssembly bundler target now supports Cloudflare Workers, Wrangler, and modern bundlers that provide WebAssembly.Module instead of WebAssembly.Instance.
  • Three new WASM usage examples demonstrating different deployment targets:
    • examples/wasm-node: Node.js example using dist-node target
    • examples/wasm-rollup: Browser example using dist-web target with Rollup
    • examples/wasm-cloudflare: Cloudflare Workers example using bundler target with Wrangler

Changed

  • WASM bundler entry point now detects and handles WebAssembly.Module instances, building the proper import namespace for wasm-bindgen glue functions.