Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

v4.0.0

Choose a tag to compare

@lencioni lencioni released this 10 Mar 15:47
· 156 commits to main since this release

This release adds some code to CSSStyleSheet.prototype that aims to capture constructed styles correctly for screenshotting. We are considering it a potentially breaking change because if your code is calling CSSStyleSheet.prototype.replace or CSSStyleSheet.prototype.replaceSync followed by a call to CSSStyleSheet.prototype.insertRule with an index or CSSStyleSheet.prototype.deleteRule, we will show an error message. We believe this scenario is uncommon and this allows us to keep our implementation simpler.

If you encounter this, please reach out to support@happo.io or open an issue.

What's Changed

  • Add monkey-patch for constructed styles by @trotzig in #75

Full Changelog: v3.4.1...v4.0.0