Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Releases: Galooshi/happo

[email protected]

07 May 13:36
Compare
Choose a tag to compare

Allow examples to have their own async timeout.

v5.0.3

25 Oct 14:16
Compare
Choose a tag to compare

Fixes a bug where <img> tags with crossorigin attributes would cause spurious diffs.

v5.0.2

10 Jun 20:33
Compare
Choose a tag to compare
  • Fixes a bug with not handling URLs with commas in them when grabbing from srcset attributes.

v5.0.1

08 Jun 11:40
Compare
Choose a tag to compare

This version fixes spurious diffs caused by images using the srcset attribute.

v4.0.0

09 Jan 09:46
Compare
Choose a tag to compare

With this version, we're using geckodriver to control Firefox. This means that you need to run Firefox v50 or newer. The main rationale for making the switch is that we now can screenshot only the rendered component. Previously, we've been screenshotting the entire page, then cropping to only include the component. Pre-cropped screenshots bring a significant performance improvement.

v3.0.2

25 Dec 15:18
Compare
Choose a tag to compare
  • Happo will now more explicitly wait for background images to be ready before taking the snapshot.

v3.0.1

21 Dec 18:35
Compare
Choose a tag to compare
  • Assume 403 errors when verifying S3 bucket existence is okay and proceed blindly.

v3.0.0

07 Dec 21:30
Compare
Choose a tag to compare

In version 3, we've moved happo over to be a tool purely written in JavaScript. Previously, the main happo execution was handled by Ruby. We believe that this will make it easier for JavaScript developers to adopt happo, because instead of having to install as a Ruby gem, it's as simple as

npm install happo

Along the conversion process, we've made a few smaller adjustments. We've done our best not to completely change the structure of the tool however, so commands should mostly be the same. There are some differences however:

  • If you run happo without any argument, we won't default to run. You have to specify that specifically: happo run.
  • happo upload_diffs is now happo upload to better reflect the fact that we're not only uploading the diffs. Also, snake_case doesn't rhyme with us anymore and we've added happo upload-test to help you test uploading and diagnose issues.
  • We've dropped support for happo clean. Use rm -rf <pathToSnapshotsFolder> instead.
  • The console output from running happo run has been made more compact.

Performance has been a focus throughout the transition. On our own projects, we've seen happo run a little bit faster, but it's probably not that significant. We have some exciting performance improvements coming up however, so stay tuned!

v2.8.5

19 Oct 19:44
Compare
Choose a tag to compare

Changes:

  • Happo will now wait for images to render before taking a snapshot. This should prevent spurious diffs where only half images are visible, or ones where the size of the snapshot diffs because an image wasn't loaded when calculating the bounding box.

v2.8.4

29 Sep 14:54
Compare
Choose a tag to compare
  • Disable animations via animation-play-state.