Releases: happo/happo.io
Releases · happo/happo.io
v3.1.1
v.3.1.0
This version adds a newrenderWrapperModule
configuration option. Use this to wrap all your components in things like theme providers, store providers, etc. See https://github.com/happo/happo.io#renderwrappermodule
v3.0.1
v3.0.0
Breaking changes:
- The
getRootElement
has been changed torootElementSelector
, and accepts a string instead of a function. To migrate, change
getRootElement(document) {
return document.querySelector('.react-live-preview');
},
to
{
rootElementSelector: '.react-live-preview',
}
New features:
- Added ability to replace JSDOM to prerender examples. The first one to make use of this is happo-plugin-puppeteer.
Bugfixes:
- Add
happo empty
call to support uploading an empty report for a specific sha. This is used when happo-ci is run on a project the first time, to make sure that there's a baseline (empty) report to compare with. - The check to see if happo is run for the first time has been updated to use
npm ls
/yarn list
instead of checking for thehappo
binary (which didn't work in some scenarios).
v2.2.4
v2.2.2
v2.2.1
v2.2.0
v2.1.1
Fixes a bug where certain webpack build errors would be swallowed and surfaced as "Could not load script" instead of showing the build failure.
Also makes it possible to use happo.io with @babel/preset-react
for Babel 7. Before, happo would fail trying to use babel-preset-react (which is only compatible with babel <6).