Releases: happo/happo.io
Releases · happo/happo.io
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.
v1.5.1
v1.5.0
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
v1.3.0
v1.2.1
v1.2.0
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.