Skip to content

Releases: happo/happo.io

v3.1.1

11 Oct 08:27
Compare
Choose a tag to compare

Fixes an issue where build errors in typescript projects wouldn't be logged.

v.3.1.0

08 Oct 12:19
Compare
Choose a tag to compare

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

08 Oct 09:18
Compare
Choose a tag to compare

This version makes it possible to use dynamic imports. E.g.

await foo = import('foo');

v3.0.0

01 Oct 12:19
Compare
Choose a tag to compare

Breaking changes:

  • The getRootElement has been changed to rootElementSelector, 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 the happo binary (which didn't work in some scenarios).

v2.2.4

25 Sep 18:51
Compare
Choose a tag to compare

This version fixes a bug causing projects using Typescript to have very long component names.

v2.2.2

14 Sep 09:22
Compare
Choose a tag to compare

Fixes a bug where lockfiles might get modified during a happo run in CI.

v2.2.1

11 Sep 12:52
Compare
Choose a tag to compare

Fixes preloading images found in srcset attributes.

v2.2.0

10 Sep 09:55
Compare
Choose a tag to compare

New in this release:

  • customizeWebpackConfig can now return a promise, to allow for asynchronously constructing the result.
  • new jsdomOptions config, to allow for configuring the underlying JSDOM instance.
  • plugins can now specify their own publicFolders

v2.1.1

28 Aug 11:17
Compare
Choose a tag to compare

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

04 Aug 08:24
Compare
Choose a tag to compare

Changes:

  • New configuration option, tmpdir, allows you to control where happo creates its webpack bundles. This can be useful when debugging things.