Skip to content

Releases: happo/happo.io

v5.5.0

08 Jun 10:33
Compare
Choose a tag to compare

This minor release adds a new CI script: happo-ci-github-actions. This script will simplify setting up a Happo test suite when using GitHub Actions. Here's how to use it:

First, add a happo-ci-github-actions entry in your package.json:

{
  "scripts": {
    "happo-ci-github-actions": "happo-ci-github-actions"
  }
}

Then modify your .github workflow config to use the new script (this is an example of a full workflow file, you'll have to adjust to match your setup):

name: Happo CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
      - name: install modules
        run: yarn install
      - name: happo
        run: yarn happo-ci-github-actions
        env:
          HAPPO_API_KEY: ${{ secrets.HAPPO_API_KEY }}
          HAPPO_API_SECRET: ${{ secrets.HAPPO_API_SECRET }}

v5.4.2

03 Jun 12:16
Compare
Choose a tag to compare

This patch release contains a fix for people using compareThreshold with non-public image access on their Happo accounts.

v5.4.1

03 Jun 09:30
Compare
Choose a tag to compare

This patch release fixes resolving component names for files that end in *.happo.suffix, e.g ./src/components/Button.happo.tsx. This fix applies to Happo Examples integrations only.

v5.4.0

27 Apr 08:13
Compare
Choose a tag to compare

This minor release introduces a small but important change in how we pre-render Happo Examples. Before, we would pre-render all targets at the same time. With this release, we're pre-rendering serially. This may sound like it would be less performant, but pre-rendering is mostly cpu-bound which means things were happening serially anyway. By making it explicitly serial, we should theoretically use less memory in the pre-rendering phase which will lead to better performance in large happo installments.

v5.3.1

16 Apr 09:44
Compare
Choose a tag to compare

This patch release has a fix to make full-page integrations simpler by loosening the dependency on webpack.

v5.3.0

16 Apr 07:42
Compare
Choose a tag to compare

This minor release introduces a change in behavior when you have no examples for a target. Before, we would throw an error and essentially cancel the happo run. After this change, the command won't fail. Instead, there will be a warning logged to the console. This change only affects people using the Happo Examples integration.

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.