Releases: happo/happo.io
Releases · happo/happo.io
v3.2.1
v3.2.0
Updates a few defaults that make it easier to use Happo with typescript. With happo.io@>=3.2.0
and the happo-plugin-typescript
plugin, all you have to do to get happo working with typescript is to add this to your .happo.js
config:
const happoPluginTypescript = require('happo-plugin-typescript');
module.exports = {
// ...
plugins: [happoPluginTypescript()],
};
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).