Skip to content

Releases: happo/happo.io

v3.2.1

18 Oct 20:16
Compare
Choose a tag to compare

Makes it possible to make the customizeWebpackConfig function for plugins asynchronous.

v3.2.0

11 Oct 09:31
Compare
Choose a tag to compare

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

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