Skip to content

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

v3.7.1 Responsive image, sizing, and fetching enhancements

20 Aug 07:03
ca6ff28
Compare
Choose a tag to compare

What's Changed

  • Now strips srcset, sizes, and loading attributes from the clone and sets the src from the original's currentSrc so we get the image the browser chose to display (fixes #212)
  • Calculates the size in toSVG correctly based on the original node being cloned (fixes #207)
  • Handle response status code 0 by @kasimtan in #211 (fixes #196)
  • Fixed #162

New Contributors

Full Changelog: v3.6.3...v3.7.1

v3.6.3

08 Aug 23:25
Compare
Choose a tag to compare
  • Added support for whitespace inside css url() references in inliner
  • Addressed the CodeQL performance complaint on that regex

Full Changelog: v3.6.1...v3.6.3

v3.6.0 - Adding style property filtering and fix url inlining

08 May 01:43
76ab679
Compare
Choose a tag to compare

What's Changed

  • Add option to filter style properties
  • Corrects problems with css url() inlining base
  • Bump prettier to 3.5.3
  • Bump semver to 7.7.1
  • Lint cleaning
  • Refreshed control images for unit tests

New Contributors

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

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)