Skip to content

v2.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Apr 07:07
· 215 commits to main since this release

What's Changed

The resvg-js API is now largely stable.

render() now no longer returns the Buffer directly, you need to get the buffer via the new render().asPng(), also added render().width and render().height to return the size of the PNG.

  • feat: render result as a new class by @zimond in #94
  • test: add render().width/height test by @yisibl in #96
  • chore(deps): update dependency eslint-plugin-sonarjs to ^0.13.0 by @renovate in #92
  • chore(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #93

Full Changelog: v2.0.0-alpha.6...v2.0.0-beta.0