Skip to content

Releases: happo/happo-e2e

v4.1.0

11 Mar 16:03
Compare
Choose a tag to compare

What's Changed

  • Allow applyConstructedStylesPatch to take a window argument, expose as takeDOMSnapshot.applyConstructedStylesPatch() by @lencioni in #76

Full Changelog: v4.0.0...v4.1.0

v4.0.0

10 Mar 15:47
Compare
Choose a tag to compare

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 [email protected] 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

v3.4.1

05 Mar 19:33
Compare
Choose a tag to compare

What's Changed

  • Import postGithubComment from build, not src by @lencioni in #73

Full Changelog: v3.4.0...v3.4.1

v3.4.0

05 Mar 09:57
Compare
Choose a tag to compare

What's Changed

  • Enable HAPPO_GITHUB_USER_CREDENTIALS to post comments by @lencioni in #72

Full Changelog: v3.3.4...v3.4.0

v3.3.4

18 Feb 21:38
Compare
Choose a tag to compare

What's Changed

  • Move happo.io from devDependencies to dependencies, update for v12 by @lencioni in #65
  • Assert asset package contents in createAssetPackage test by @lencioni in #67
  • Refactor createAssetPackage to use happo.io's deterministicArchive by @lencioni in #68
  • Refactor controller to use uploadAssets from happo.io package by @lencioni in #69
  • Add engines property to package.json by @lencioni in #66
  • Add test-results to .npmignore by @lencioni in #70

Full Changelog: v3.3.3...v3.3.4

v3.3.3

03 Feb 20:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.2...v3.3.3

v3.3.2

03 Feb 16:42
Compare
Choose a tag to compare

This release fixes a bug with certain styles being missing from the Happo screenshot.

What's Changed

  • Remove mkdirp dependency by @lencioni in #57
  • Remove string.prototype.replaceall dependency by @lencioni in #56
  • Improve warning message when failing to fetch CSS by @lencioni in #60
  • Use node's built-in test runner by @lencioni in #59
  • Use textContent of stylesheet if available by @trotzig in #61

Full Changelog: v3.3.1...v3.3.2

v3.3.1

21 Jan 16:37
Compare
Choose a tag to compare

What's Changed

  • Add playwright-tests and playwright.config.js to .npmignore by @lencioni in #55

Full Changelog: v3.3.0...v3.3.1

v3.3.0

21 Jan 16:35
Compare
Choose a tag to compare

What's Changed

  • Add support for strategy: 'clip' for takeDOMSnapshot by @trotzig in #54

Full Changelog: v3.2.2...v3.3.0

v3.2.2

13 Jan 18:17
Compare
Choose a tag to compare

What's Changed

  • Improve error message when unable to resolve GITHUB_EVENT_PATH by @lencioni in #51
  • Include dynamically created stylesheets in DOM snapshot by @trotzig in #53

Full Changelog: v3.2.1...v3.2.2