Skip to content

Releases: happo/happo-e2e

v5.0.0

13 Aug 13:43

Choose a tag to compare

This major release has a breaking change in how snapshots are deduped when a snapshot is recreated. This usually happens because of an automated retry where a test case with a Happo snapshot fails after the Happo snapshot has been made, and then the Happo snapshot is created once more. Before this release, the retried snapshot would get a -2 suffix. With this release, the previous snapshot will be overwritten instead.

List of changes

Full Changelog: v4.1.2...v5.0.0

v4.1.2

23 Jul 16:29

Choose a tag to compare

What's Changed

  • Strip UTF-8 BOM when downloading CSS files by @lencioni in #80

Dependency updates

New Contributors

Full Changelog: v4.1.1...v4.1.2

v4.1.1

09 Apr 15:42

Choose a tag to compare

What's Changed

  • Avoid using optional chaining operators by @trotzig in #77

Full Changelog: v4.1.0...v4.1.1

v4.1.0

11 Mar 16:03

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

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 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

v3.4.1

05 Mar 19:33

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

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

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

Choose a tag to compare

What's Changed

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

v3.3.2

03 Feb 16:42

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