Releases: happo/happo.io
Releases · happo/happo.io
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).
v2.1.0
v2.0.0
Breaking changes:
webpack
is now a peer dependency, and we allow both webpack v3 or v4 to be used. If you're upgrading to happo.io v2 from v1, you need to make surewebpack
is in the list of dependencies for your project.
Enhancements:
- Happo plugins are born, the first one being
happo-plugin-storybook
that can be used to turn storybook examples into happo examples.
Bug fixes:
- In React projects, components are now unmounted after being rendered. This fixes memory issues we've seen in larger projects.