v1.9.6
zumerlab/snapdomv1.9.6Jul 20, 2025by tinchox5
AI Summary
Adds options for `toBlob`, improves caching performance, and adds basic support for CSS counters.
Key Highlights
- Added options argument to `toBlob`
- Improved cache handling
- Added primitive support to CSS counters
- Improved webcomponent clone
New Features
- Options argument for `toBlob`
- CSS counter support
Full Release Notes
- Add options argument to toBlob function. Thanks @rbbydotdev https://github.com/zumerlab/snapdom/pull/118 - Keep canvas CSS style. Fixes #121. https://github.com/zumerlab/snapdom/issues/121 - Improve: handles local() source font. See #114 [c088aa0](https://github.com/zumerlab/snapdom/commit/c088aa01422bf6ea6c1be70a88d09d540eae5038) - Improve webcomponent clone [a0f37a5](https://github.com/zumerlab/snapdom/commit/a0f37a57079057548e97a973bc6c734b4141769d) - Perf: unifies cache [fe3a368](https://github.com/zumerlab/snapdom/commit/fe3a3680ddef2736fc0176dcbc210fc760149038) - Improve cache handling. [183ae2f](https://github.com/zumerlab/snapdom/commit/183ae2f90debfb472164df01616f2558136a9f8f) - Adjust cache reset [ff33ed3](https://github.com/zumerlab/snapdom/commit/ff33ed374dcc02272225ca0154a84c304e6fc19a) - Improve regex [1b4d5ad](https://github.com/zumerlab/snapdom/commit/1b4d5ada356bce55caecd008df746f891d379c48) - Add primitive support to css counter. See #120 [160bc2e](https://github.com/zumerlab/snapdom/commit/160bc2eaf984051e23031664040ea91166bca061) - Fix bug background-color on export formats. See #90 [47a34a9](https://github.com/zumerlab/snapdom/commit/47a34a971cc875ec4d9eab772266df81a94438e7) - Fix regression textArea duplication [1759fd0](https://github.com/zumerlab/snapdom/commit/1759fd0ae1681e17df946d507ae4d704efff1b18) - Prevent process local ids. See #128 [659e862](https://github.com/zumerlab/snapdom/commit/659e8627bb6545f7843de1bcf808dc6bfb4dff3e) - Add node version and improve docs. See #123. Thanks @miusuncle [e457bf6](https://github.com/zumerlab/snapdom/commit/e457bf64ca2b4294aaf237c165f865ea50cc0c14) **Full Changelog**: https://github.com/zumerlab/snapdom/compare/v1.9.5...v1.9.6