Skip to content

Releases: happo/happo-cypress

v1.17.1

04 Mar 21:35
Compare
Choose a tag to compare

Fix resolving relative assets in non-root documents

v1.17.0

11 Feb 10:41
Compare
Choose a tag to compare

This version adds built-in support for github actions. Instead of having to set HAPPO_BEFORE_SHA, HAPPO_AFTER_SHA, etc, you can now simply run the Cypress test suite and Happo will automatically pick up the variables it needs from the github actions environment.

v1.16.1

03 Feb 14:16
Compare
Choose a tag to compare

This release contains a possible bugfix for timeouts happening when the happoRegisterBase64Image task is called. Instead of sending the whole image (as a base64 encoded string), we send the full string in chunks and then on the last step everything is put together into a real png image. This approach has a smaller memory footprint than the previous approach, and should help prevent timeouts (which can be caused by processes dying).

v1.16.0

20 Jan 13:20
Compare
Choose a tag to compare

This minor release adds support for dynamic targets.

cy.get('footer').happoScreenshot({
  component: 'Footer',
  targets: [{ name: 'chrome-small', browser: 'chrome', viewport: '375x640` {],
});

See the docs for further usage instructions: https://docs.happo.io/docs/cypress#dynamic-targets

v1.15.0

19 Jan 12:44
Compare
Choose a tag to compare

Bug fixes:

  • Assets that were referenced with "./" (e.g. <img src="./logo.png">) caused the happo-cypress to crash. This has been fixed.

New features:

  • A new happoHideDynamicElements function has been added. It will find things like timestamps and hide them from the screenshot.

v1.14.0

19 Jan 10:47
Compare
Choose a tag to compare

This version adds support for a HAPPO_NOTIFY environment variable (an experimental feature to send emails to people when comparison reports are ready).

v1.13.0

15 Jan 15:05
Compare
Choose a tag to compare

Auto-compare with latest report.

Up until now, you've had to run happo-cypress in CI or do a manual effort to compare Happo reports and get diffs. From this release, the default behavior for non-CI execution has changed. We now make a comparison with the latest approved report available for the Happo account.

v1.12.2

15 Jan 15:03
Compare
Choose a tag to compare

Bugfix: When a fetch for an asset fails, we no longer halt execution.

v1.12.1

14 Jan 11:21
Compare
Choose a tag to compare

This release has a bugfix for loading assets (images, fonts) referenced in css files.

v1.12.0

14 Jan 10:25
Compare
Choose a tag to compare

This minor release changes the behavior when using cypress open or cypress run without the happo-cypress wrapper. Before, Happo screenshots would always be constructed as long as a .happo.js file with an apiKey and apiSecret was found. With this release, you have to explicitly enable Happo, in one of two ways:

Strictly speaking, this release should have been a major version bump. Releasing as a minor will help ensure that more people get the new behavior, as the old one was confusing and could lead to quota/cost issues down the road.