v2.0.0-dev.2
zumerlab/snapdomv2.0.0-dev.2Nov 9, 2025by tinchox5
AI Summary
Second development pre-release for v2.0.0 with multiple improvements including CSS parsing, iOS browser detection, and text styling support.
Key Highlights
- Integrated createBackground into toCanvas
- Added XHTML sanitize support
- Added Baidu and iOS app/browser detection
- Added text-underline-offset support
- Added Chinese README translation
- Improved material icon/symbols handling
- Adjusted final dimensions for excludeMode: remove
New Features
- createBackground integration with toCanvas
- XHTML sanitization
- Baidu iOS detection
- General iOS app/browser detection
- text-underline-offset CSS support
- Chinese README translation (readme_cn.md)
- Improved material icons and symbols
- Dimension adjustments for excludeMode: remove
Full Release Notes
## What's Changed * Fix typo in the website by @mon-jai in https://github.com/zumerlab/snapdom/pull/280 * fix: improve CSS src property parsing in font faces by @Amyuan23 in https://github.com/zumerlab/snapdom/pull/293 * Modify README example to use overlayFilterPlugin by @jswhisperer in https://github.com/zumerlab/snapdom/pull/296 * Add Chinese translation of README.md (readme_cn.md) by @harshasiddartha in https://github.com/zumerlab/snapdom/pull/299 * Integrate createBackground into toCanvas. Closes #297 [`#297`](https://github.com/zumerlab/snapdom/issues/297) * Add Chinese translation of README.md (readme_cn.md) [`#298`](https://github.com/zumerlab/snapdom/issues/298) * Adjust final dimensions when excludeMode: remove. See #294 [`a860827`](https://github.com/zumerlab/snapdom/commit/a8608271ffd9b891ec815fa7e3130c0e1be45307) * Improve material icon / symbols. See #304 [`526c4c8`](https://github.com/zumerlab/snapdom/commit/526c4c8e6874b2dab6110c8ac3361a29b1dc91de) * Add XHTML sanitize. See #282 [`0039301`](https://github.com/zumerlab/snapdom/commit/003930196ed6e11c5dd54fce75d814046a36637d) * Add detection to Baidu on iOS. Also detect other apps/browsers on iOS. See #295 [`97e6dff`](https://github.com/zumerlab/snapdom/commit/97e6dffa34440d157b0b2b1afc5267d7b15c1d7b) * add support for text-underline-offset. See #303 [`fb603bc`](https://github.com/zumerlab/snapdom/commit/fb603bca971a10577215c436b73ba5468a4255ae) * add support for text-underline-offset. See#303 [`0b93c0d`](https://github.com/zumerlab/snapdom/commit/0b93c0de7a720a7c6708a50a153de86ba6f2684e) * fix: improve CSS src property parsing in font faces [`dbe52a1`](https://github.com/zumerlab/snapdom/commit/dbe52a121a7d68441570c02ae32c607907e188dc) ## New Contributors * @mon-jai made their first contribution in https://github.com/zumerlab/snapdom/pull/280 * @Amyuan23 made their first contribution in https://github.com/zumerlab/snapdom/pull/293 * @harshasiddartha made their first contribution in https://github.com/zumerlab/snapdom/pull/299 **Full Changelog**: https://github.com/zumerlab/snapdom/compare/v2.0.0-dev.1...v2.0.0-dev.2