Releases: happo/happo.io
v6.0.0
v5.7.0
This minor release changes the behavior for test suite with prerender: false
. Before, assets would be uploaded for each target. After, the assets are only uploaded once.
A bugfix for running with devtool: false
in webpack config is also included in this release.
v5.6.4
v5.6.3
v5.6.2
v5.6.1
v5.6.0
This minor release changes the behavior for React components that throw errors on render. Before, we would fail the happo run on the first error and do our best to log it. That worked okay in some cases, and not at all well in some cases, where the error details went missing along the way. To make debugging easier, errors are now caught in an error boundary. The error is console logged and sent as the output of the error boundary. This means that the error will end up showing in the screenshot.
The error handling change only applies to Happo Examples written in React.
v5.5.1
v5.5.0
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 }}