Skip to content

v3.4.0

Compare
Choose a tag to compare
@IDisposable IDisposable released this 21 Aug 23:59
· 16 commits to main since this release
68e143a

What's Changed

Fixes

  • Fix for ShadowSlotElement nodes with no assignedNodes to fall back to childNodes. Also fixed some more node.js compatibility (fixes #178 thanks @cWenyu).

New feature

Passing disableEmbedFonts: true in the options to any top-level call will make the generated (and intermediate) SVG not copy in the web font, greatly reducing the size and increasing the speed of the generation. Note, for toSVG outputs, you will have to still have the ability to reference the fonts.

Housekeeping

  • Updated spec images to match current Chrome output.
  • Added code to unit-test so emitted debug string when there's a SVG output it is properly escaped.
  • Bumped dev dependencies for mocha 10.7.3 and eslint 9.9.0.

New Contributors

@cWenyu @davidburns573 @YujiaCheng1996

Full Changelog: v3.3.1...v3.4.0