Skip to content

Releases: 1904labs/dom-to-image-more

v3.5.0

16 Oct 23:32
Compare
Choose a tag to compare

What's Changed

  • Now wraps the generated image in an SVG to ensure that Safari renders correctly
  • Bump cookie and socket.io by @dependabot in #193

Full Changelog: v3.4.5...v3.5.0

BETA - Wrap image in SVG

14 Oct 21:20
Compare
Choose a tag to compare
Pre-release

Attempt to fixed tainted canvas issue in Safari

v3.4.5

13 Sep 21:14
Compare
Choose a tag to compare

What's Changed

  • Attempt fixing #189 by swapping the preference from global then window to window then global in getWindow() method.
  • Fix URL regex rules, solving most font icon URL replacement issues by @SeanZhang-eaton in #188 (might fix #15 and #149)

New Contributors

Notes

Sorry for the churn lately, trying to balance two fixes that seem to be mutually exclusive, and I only have a reproduction test of one of them.

Full Changelog: v3.4.4...v3.4.5

v3.4.5-beta.0

12 Sep 20:28
Compare
Choose a tag to compare
v3.4.5-beta.0 Pre-release
Pre-release

Attempt to fix #189

v3.4.4 Browser incompatibilities

11 Sep 21:29
Compare
Choose a tag to compare

What's Changed

  • Fix browser incompatibilities introduced during the ShadowDOM changes.
  • Update README.md with adjustClonedNode and onclone options by @juliendorra in #186
  • Fix code block typo README.md by @juliendorra in #187

New Contributors

Full Changelog: v3.4.3...v3.4.4

v3.4.3

29 Aug 23:20
Compare
Choose a tag to compare

Fixed ShadowDom node rendering (again).

Fixed typo in the check for shadow DOM nodes having children and reverted to the 'cssStyles' in node of property test.

Full Changelog: v3.4.2...v3.4.3

Switch to Object.hasOwn for property checks.

26 Aug 19:50
Compare
Choose a tag to compare
Switch to Object.hasOwn for cleaner code.

Also finally remembered to update the Readme for the minimum browser/node version a give credit for the last few PRs (sorry folks)

Revert part of PR 179

26 Aug 19:10
Compare
Choose a tag to compare

Hopefully fixes #184

v3.4.0

21 Aug 23:59
68e143a
Compare
Choose a tag to compare

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

v3.3.1

29 Jul 20:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.3.0...v3.3.1

What's Changed

New Contributors

Full Changelog: v3.3.0...v3.3.1