Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

v3.5.0

Choose a tag to compare

@trotzig trotzig released this 03 Jan 14:30

New features

  • The .happo.js file is no longer strictly needed. In case it's missing, we'll default to screenshots in Chrome and grabbing api tokens from env variables HAPPO_API_KEY and HAPPO_API_SECRET. This is in preparation of creating a Happo Orb for Circle CI.

Bugfixes

  • If an example renders nothing (null in a react component, empty html string in other cases) we now wait a short while for content. This should help resolve issues with empty screenshots coming from some happo examples. The default max wait time is 200ms, but you can override that with the asyncWait configuration option.
  • Certain css-in-js frameworks (like emotion) inject styles using elem.sheet.insertRule. Previous versions of this library didn't handle these styles correctly.