Skip to content

Releases: happo/happo.io

v2.0.0

04 Jul 11:52
133701f
Compare
Choose a tag to compare

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 sure webpack 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.

v1.5.1

03 Jul 06:32
Compare
Choose a tag to compare
  • Log something when fallback auth is used (to help debug authentication issues)

v1.5.0

16 Jun 17:06
e0a6a9e
Compare
Choose a tag to compare

Changes:

  • Adds ability to skip api tokens (apiKey, apiSecret) in a pull request model. This will make it possible to run Happo tests on PRs coming from forks of a repo. Requires the Happo app to be installed, and activated on the account on happo.io.

(Some pending updates to the happo.io are required for this to fully work.)

v1.4.0

18 May 08:31
Compare
Choose a tag to compare

Changes in this version:

  • Improvements to CLI logging (colors, structure)
  • All render failures are now collected before failing run

v1.3.0

08 May 08:05
Compare
Choose a tag to compare

Changes in this release:

  • babel-core and babel-loader have been made peerDependencies.

v1.2.1

03 May 11:51
Compare
Choose a tag to compare
  • Fixes issues with rendering portal components in React.
  • Updates a few dependencies

v1.2.0

27 Apr 09:11
Compare
Choose a tag to compare

The main change in 1.2.0 is that the direct dependency on React has been removed. It is still the default, but you can now also create plain js projects, so anything that can render html in javascript should now be covered.

Other changes worth mentioning:

  • Better error messages. Instead of seeing an error in an eval, you now see the component and variant where the error happened, plus a location in a js file (this is still the tmp file which isn't ideal, but better than nothing).
  • Better default webpack config. Many projects can now ditch the customizeWebpackConfig configuration option.
  • Use type: 'plain' to not use react.
  • A simple requestAnimationFrame polyfill will silence warnings from React
  • Don't fail when publicFolders is missing (and there is a resource to inline)
  • CSS url()s are now also inlined if needed. Images in html were already inlined.
  • stylesheets can now be file paths as well as urls.

v1.1.0

26 Mar 20:29
Compare
Choose a tag to compare
  • Window dimensions are now mocked when rendering examples. Before, window.innerHeight (and related properties) would be 0. Now, it will be whatever width you set in the browser target's viewport setting.
  • The POST_INSTALL_CMD environment variable is now known as INSTALL_CMD. And instead of being executed after yarn install/npm install, it replaces it. This will allow better control for certain users.

v1.0.0

18 Mar 20:26
Compare
Choose a tag to compare

No major changes since v0.6.0, but I decided it's time to take this library off of pre-v1 versioning.

v0.6.0

15 Mar 13:34
Compare
Choose a tag to compare

Added happo-ci scripts.