Skip to content

Releases: happo/happo.io

v5.2.0

23 Mar 13:30
Compare
Choose a tag to compare

This minor release adds support for running reports and comparisons asynchronously. By default, the happo-ci command will wait for all screenshots to be done before it finishes. By using a HAPPO_IS_ASYNC=true environment variable you can change the behavior to instead finish as soon as possible.

Using HAPPO_IS_ASYNC is only possible if you have a working GitHub integration configured. Since CI jobs finish early, you'll have to rely on statuses posted from the Happo server to your GitHub pull requests.

v5.1.5

28 Feb 14:04
Compare
Choose a tag to compare

If we fail to read a PNG via a stream, we now fall back to reading the image data into memory, then parsing it as a PNG.

v5.1.4

27 Feb 12:41
Compare
Choose a tag to compare
  • Include more information when failing to fetch png image in deep-comparison mode
  • Batch logs even further when deep-comparing

v5.1.3

14 Jan 11:08
Compare
Choose a tag to compare

Two bug fixes in this release to hopefully help resolve issues with large diffs being compared using the compareThreshold value/

  • Re-throw error instead of exiting on unhandledRejection events. The process will most likely exit anyway but in a more graceful way.
  • Log less when comparing diffs.

v5.1.2

13 Jan 16:22
Compare
Choose a tag to compare

This release contains a small change in how we transpile the source code. Before, we were using Node v6 as a target, now we target Node 8 (we dropped Node v6 support a while back, this was just a leftover).

v5.1.1

08 Jan 18:44
Compare
Choose a tag to compare

This release fixes some stability issues when using the compareThreshold configuration option. Image fetching is retried up to 5 times instead of failing immediately on error. In addition, diffs are processed in batches instead of all in one go.

v5.1.0

07 Jan 12:24
Compare
Choose a tag to compare

Changes in this release:

  • Improved static files handling when using prerender: false
  • Handle invalid CLI invocations better by printing the help section and exiting with a non-zero exit code. (thanks @jamesgeorge007!)

v5.0.2

12 Dec 23:13
Compare
Choose a tag to compare

This version contains a bugfix for the happo-ci-travis script. When running builds on the default branch (usually master), happo would run a comparison between the HEAD commit and a previous one (as decided by Travis). The fix here involves disabling the comparison on master builds.

v5.0.1

15 Nov 19:30
Compare
Choose a tag to compare

Downgrades jsdom v15 back down to v12, which is the same version happo.io v4 used.

v5.0.0

15 Nov 17:39
Compare
Choose a tag to compare

The breaking change in this release is we have changed the function used to determine color distance from euclidean distance to YIQ color delta in an effort to align the differences more closely with human perception. This only affects projects that are using the compareThreshold option. If you are using compareThreshold you might want to adjust the threshold when updating to this version.

Other changes in this release include updating dependencies, adding some documentation, and adding an integration test.