Skip to content

Releases: happo/happo.io

v3.23.1

29 Aug 18:22
Compare
Choose a tag to compare

Now that the happo-ci script runs the "before" report last, we ended up being git-checked out on the previous sha. This made cleanup tasks running in CI fail when they were expecting to be in a different place in git history. This patch version fixes the issue by checking out the right commit right before we exit the script.

v3.23.0

28 Aug 14:35
Compare
Choose a tag to compare

This version has a change to make the happo-ci script a little faster. Instead of running happo run for the baseline commit first, it runs for the current/HEAD commit. In many cases, this will save one npm install from running. Plus it might give enough time for a potential single happo run on the master branch to finish before we get to generating the baseline report.

v3.22.2

26 Aug 10:45
Compare
Choose a tag to compare

This release contains two fixes related to finding image assets:

  • Fix finding images in style attributes
  • Fix finding some images in srcset attributes (replaces regexp-finding with parse-srcset package)

Thanks to @lencioni for the help getting this release shipped!

v3.22.1

21 Aug 18:08
Compare
Choose a tag to compare

This release fixes an issue where empty image src attributes (<img src="">) would cause happo runs to error out.

v3.22.0

20 Aug 18:36
Compare
Choose a tag to compare
  • Make "Reading files.." log more specific: "Searching for happo test files..."
  • Improve finding the root DOM node in scenarios where components have multiple root nodes added to the DOM.
  • Fix bug with logging certain errors from jsdom.

Thanks to @lencioni for contributing to this release!

v3.21.2

14 Aug 18:15
Compare
Choose a tag to compare

This version adds a call to exit the process when happo run is done. We believe this can help resolve issues with indefinitely hanging happo runs.

v3.21.1

08 Aug 17:45
Compare
Choose a tag to compare
  • Make window.cancelAnimationFrame actually cancel things
  • Log request method in makeRequest.js, to help debug better (thanks to @lencioni!)

v3.21.0

07 Aug 19:48
Compare
Choose a tag to compare

This release has a fix that makes it possible to run new happo (this repo/library) with legacy happo (https://github.com/Galooshi/happo). Since they both use the same name for the main binary (happo) it's impossible to run both side-by-side. This release contains a fix that makes the happo-ci script use the build/cli.js script directly, instead of invoking it via $(npm bin)/happo.

v3.20.0

01 Jul 14:18
Compare
Choose a tag to compare

This release adds support for asynchronous .happo.js config files. Instead of exporting an object you can export a function that resolves with an object. Thanks to @AllenWilliamson for the work done in this release!

v3.19.0

19 Jun 21:41
Compare
Choose a tag to compare

This version adds support for the HAPPO_CONFIG_FILE environment variable, which can be used to tell happo-ci to look for config in a different place than ./.happo.js.