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

v3.0.0

Compare
Choose a tag to compare
@trotzig trotzig released this 07 Dec 21:30
· 139 commits to master since this release

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!