Skip to content

v2.0.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 12:18
· 258 commits to main since this release

resvg-js now supports WebAssembly. 🎉 What can I do now?

With WebAssembly, resvg-js gains broader cross-platform compatibility, all by loading only about 2MB of WASM files. And, the API is consistent with the Node.js side.

The current version of WASM does not support loading fonts, so please submit an issue if you have a request.

What's Changed

  • feat: support wasm32 target via wasm-bindgen by @zimond in #51
  • feat: build wasm package by @yisibl in #62
  • feat: playground can now run in browsers that do not support top await by @yisibl in #57
  • feat: upgrade resvg to 0.21.0 by @yisibl in #59
  • feat: upgrade to napi-rs 2.1.0 by @yisibl in #60
  • chore: improved error message when output PNG size is 0 by @yisibl in #58
  • doc: add wasm usage documentation by @yisibl in #63

New Contributors

Full Changelog: v1.4.0...v2.0.0-alpha.0