v2.24.0

huggingface/smolagentsv2.24.0Aug 10, 2026by tinchox5

AI Summary

A release focused on fixing rendering issues, exposing capture geometry, and improving CSS style cloning.

Key Highlights

  • Exposure of capture geometry and exact export options
  • Fix for stripe height
  • Reproduction of visibility and content-visibility styles
  • Fix for font-face descriptor emission
  • Fix for WebGL canvas pre-toDataURL frame cloning

New Features

  • Exposed capture geometry and canvas cropping options
  • Fixed stripe height rendering issue
  • Fixed styles to match browser behavior for visibility and content-visibility
  • Fixed font-face descriptors to match source declaration
  • Fixed WebGL canvas clone to keep pre-toDataURL frame

Full Release Notes

- fix: stripe height [`df94e3e`](https://github.com/zumerlab/snapdom/commit/df94e3ee361679c83224c4e989529dfb761ec93e)
- feat(plugins): expose capture geometry, exact export options and canvas cropping [`7abb29a`](https://github.com/zumerlab/snapdom/commit/7abb29a40ebb2b8159cc539dfb94254e675fac46)
- fix(styles): reproduce visibility and content-visibility the way browsers do [`21251f7`](https://github.com/zumerlab/snapdom/commit/21251f70ea6153b73541fcf6eed20d766d283c0c)
- update [`1c8e12f`](https://github.com/zumerlab/snapdom/commit/1c8e12fce6028060b74836bbc0794a154acd3934)
- fix(fonts): emit only the @font-face descriptors the source declared [`8d0345a`](https://github.com/zumerlab/snapdom/commit/8d0345a4843dd255e293f67f45a5ad13ba0c6ed2)
- fix(clone): keep the pre-toDataURL frame for WebGL canvases [`1c44d1d`](https://github.com/zumerlab/snapdom/commit/1c44d1d468f8fb40a44a4fbaa7fad1fbeb9fad91)
- test: pin devicePixelRatio in DPR-dependent tests [`fb7311a`](https://github.com/zumerlab/snapdom/commit/fb7311ab34de7db28fb29abf352ee03d73a36d7a)
- fix(clone): clone slotted light DOM only once [`f4b1859`](https://github.com/zumerlab/snapdom/commit/f4b18590445a2bb1eff980f0b27948dbdf637abb)
- chore: bump version to 2.24.0 [`4a2ced5`](https://github.com/zumerlab/snapdom/commit/4a2ced52a60a93b3ed912b18a71ff771709ded0d)

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