zumerlab/snapdom
 Watch   
 Star   
 Fork   
1 days ago
snapdom

v2.24.10

  • fix: transformed reconciliation. Ref #489 9b28ab4
  • fix: offscreen captures. Ref #488 460b75e
  • fix(iframe): stop suggesting an option that is already on 98de375
  • add funding e839ec0

Full Changelog: https://github.com/zumerlab/snapdom/compare/v2.24.7...v2.24.10

15 days ago
snapdom

v2.24.0

  • fix: stripe height df94e3e
  • feat(plugins): expose capture geometry, exact export options and canvas cropping 7abb29a
  • fix(styles): reproduce visibility and content-visibility the way browsers do 21251f7
  • update 1c8e12f
  • fix(fonts): emit only the @font-face descriptors the source declared 8d0345a
  • fix(clone): keep the pre-toDataURL frame for WebGL canvases 1c44d1d
  • test: pin devicePixelRatio in DPR-dependent tests fb7311a
  • fix(clone): clone slotted light DOM only once f4b1859
  • chore: bump version to 2.24.0 4a2ced5

Full Changelog: https://github.com/zumerlab/snapdom/compare/v2.23.2...v2.24.0

2026-07-27 23:23:26
snapdom

v2.23.0

What's Changed

⚡ perf

  • perf: replace Safari's 3x pre-capture warmup with a verified draw at raster time 6ee4680

🛠 fix

  • fix: keep Safari toSvg/toImg vector at scale instead of rasterizing to PNG dbbff09
  • fix(styles): disable animations on clones so entry keyframes don't blank the capture #476
  • fix: I freeze nowrap box widths and isolate measure mounts in shadow DOM #474
  • fix: freeze the image the browser actually shows (srcset descriptors, type filters, content:url) 6ac87ef
  • fix: parse final font-face declarations without semicolons #475
  • fix: stop concurrent captures from sharing session maps and counter state d1379a6
  • fix: realm-safe element guards — pseudos and per-node handlers now survive iframe-content captures 5e9d8e1
  • fix: collect svg defs referenced from the root svg's own attributes 441e3cf
  • fix: prefetch mask and border-image URLs in preCache, drop the dead warm call 423acd5
  • fix: first-letter materialization no longer false-positives on margined elements 52a6fff

New Contributors

Full Changelog: https://github.com/zumerlab/snapdom/compare/v2.22.0...v2.23.0

2026-07-26 03:16:00
snapdom

v2.22.0

This is an important version, lot of improvements.

Full Changelog: https://github.com/zumerlab/snapdom/compare/v2.18.0...v2.22.0

New Contributors

2026-07-21 22:07:26
snapdom

v2.18.0

What's Changed

Lots of changes and improvements in this release: new capabilities, fidelity fixes, and cross-browser support.

feat

  • feat: emulate backdrop-filter at capture time #457
  • feat: clip option + snapdom.viewport() — region capture with offscreen culling 328226b

fix

  • fix: shadow fidelity in WebKit's SVG rasterization b7e9af2
  • Fix rotated-root captures clipped at edges (d31) 64c5a8f
  • fix: key the embedded-fonts cache by document identity 05ef9a9
  • fix: guard content-sized boxes against sub-pixel width truncation (text re-wrap) 4b92392
  • Fix type definitions drift: compress default, quality default, missing options (excludeStyleProps, fontStylesheetDomains, safariWarmupAttempts, debug, filename), toRaw/to on result, LocalFont.stretchPct 7a473c4
  • fix: keep root filter blur() and always expand bbox for its bleed 3f6e6e7
  • fix: stop compensating the root's stripped translation in the viewBox bbox 3241481
  • fix: repair the broken htmlInCanvas re-export in the plugins barrel 1b74a1a
  • fix: stop stabilizeLayout from leaving a permanent border on the source element cf3da9b
  • fix: guard the container padding offset against Chromium 140 all:initial expansion 0b24929

other (docs)

  • FEATURES_CN.md: '按设计跳过' → '有意跳过'. The phrasing fix was independently #453
  • docs: refine Chinese documentation dce83ab
  • docs: add Chinese translation maintenance guide 4e53063
  • Update FEATURES_CN.md to change '按设计跳过' to '有意跳过' 56ff167

other (test)

  • Make the test suite pass on Firefox and WebKit 74de348
  • Add cross-browser test runs (BROWSER=firefox|webkit|all) with per-engine visual baselines f2b72d8
  • test: wait for KaTeX CDN + fonts in the d454 visual demo 8205e1b

other (chore/refactor/merge)

  • chore: add cross-engine visual report (npm run report:cross) 5b6e8cd
  • chore: update snapdom plugins version ed984ff
  • refactor(api): drop snapdom.viewport() — clip: 'viewport' is the one spelling 4a0f301
  • Merge pull request #455 from mosuzi/codex/discussion-450-chinese-docs-review 5b0d149

New Contributors

Full Changelog: https://github.com/zumerlab/snapdom/compare/v2.16.0...v2.18.0