Major
6.0.0
Major version. Check its notes for changes you have to act on before you upgrade.
The new happo v6.0.0 package is a modern, TypeScript-first rewrite that consolidates functionality from multiple legacy packages into a single, unified package. This migration brings several benefits:
- Unified package: One package instead of multiple (
happo.io,happo-cypress,happo-playwright,happo-plugin-storybook,happo-e2e, andhappo-static) - TypeScript support: Built-in TypeScript support with full type definitions
- Uses ES modules
- Improved configuration: More flexible configuration file formats
- Simplified target configuration: Plain object syntax instead of class-based targets
To migrate from the legacy Happo packages, follow the migration guide: https://docs.happo.io/docs/migrating-from-legacy-packages
What's Changed
- Allow the async timeout duration to be configured per-example by @hassoncs in https://github.com/happo/happo/pull/228
- Replace srcset parsing regex with parse-srcset package by @lencioni in https://github.com/happo/happo/pull/229
- Replace old happo with new happo by @lencioni in https://github.com/happo/happo/pull/230
- Replace webpack with vite for Storybook build by @lencioni in https://github.com/happo/happo/pull/232
- Group Dependabot patch updates by @lencioni in https://github.com/happo/happo/pull/233
- Bump the patches-and-minors group with 8 updates by @dependabot[bot] in https://github.com/happo/happo/pull/234
- Fail orchestrate job when curl request fails by @lencioni in https://github.com/happo/happo/pull/237
- Bump @types/archiver from 6.0.3 to 7.0.0 by @dependabot[bot] in https://github.com/happo/happo/pull/235
- Bump @types/node from 22.18.6 to 24.9.1 by @dependabot[bot] in https://github.com/happo/happo/pull/236
- Update node from 22 to 24 by @lencioni in https://github.com/happo/happo/pull/238
- Bump @types/node from 24.9.1 to 24.9.2 in the patches-and-minors group by @dependabot[bot] in https://github.com/happo/happo/pull/239
- Bump eslint-plugin-unicorn from 61.0.2 to 62.0.0 by @dependabot[bot] in https://github.com/happo/happo/pull/240
- Remove min viewport 400px for edge by @trotzig in https://github.com/happo/happo/pull/242
- Add freezeAnimations, set default to "last-frame" by @trotzig in https://github.com/happo/happo/pull/241
- Fix decorator export path by @lencioni in https://github.com/happo/happo/pull/243
- Update node 24.10.0 to 24.11.0 by @lencioni in https://github.com/happo/happo/pull/245
- Add outgoingRequestHeaders by @trotzig in https://github.com/happo/happo/pull/246
- Update storybook to v10 by @lencioni in https://github.com/happo/happo/pull/244
- Handle signed URL path correctly in uploadAssets by @lencioni in https://github.com/happo/happo/pull/247
- Bump the patches-and-minors group with 3 updates by @dependabot[bot] in https://github.com/happo/happo/pull/249
- Always upload assets via signed URLs by @lencioni in https://github.com/happo/happo/pull/248
- Bump jsdom from 27.0.1 to 27.1.0 in the patches-and-minors group by @dependabot[bot] in https://github.com/happo/happo/pull/250
- Create iframe.html automatically for static integrations by @trotzig in https://github.com/happo/happo/pull/253
- Ensure static package has iframe.html by @trotzig in https://github.com/happo/happo/pull/251
- Bump the patches-and-minors group with 8 updates by @dependabot[bot] in https://github.com/happo/happo/pull/255
- Add dir and charset to iframe.html by @lencioni in https://github.com/happo/happo/pull/254
- Make README.md up-to-date by @trotzig in https://github.com/happo/happo/pull/256
- Bump the patches-and-minors group with 5 updates by @dependabot[bot] in https://github.com/happo/happo/pull/257
- Make beforeSha a non-null env attribute by @trotzig in https://github.com/happo/happo/pull/252
- Rename static integration to custom integration by @lencioni in https://github.com/happo/happo/pull/258
- Remove legacy BASE_BRANCH env var by @lencioni in https://github.com/happo/happo/pull/259
- Bump the patches-and-minors group with 4 updates by @dependabot[bot] in https://github.com/happo/happo/pull/262
- Add waitForContent to pages by @lencioni in https://github.com/happo/happo/pull/261
- Use generated afterSha when local changes are stashed by @trotzig in https://github.com/happo/happo/pull/264
- Add pages test integration by @trotzig in https://github.com/happo/happo/pull/263
- Rename browserType to type by @lencioni in https://github.com/happo/happo/pull/260
- Update happo e2e docs output by @lencioni in https://github.com/happo/happo/pull/266
- Replace HAPPO_BASE_BRANCH with --baseBranch CLI arg by @lencioni in https://github.com/happo/happo/pull/265
- Remove local snapshots from e2e by @lencioni in https://github.com/happo/happo/pull/267
- Replace HAPPO_CHANGE_URL with --link by @lencioni in https://github.com/happo/happo/pull/268
- Replace HAPPO_MESSAGE with --message by @lencioni in https://github.com/happo/happo/pull/269
- Replace HAPPO_PREVIOUS_SHA and HAPPO_CURRENT_SHA with CLI args by @lencioni in https://github.com/happo/happo/pull/270
- Replace HAPPO_GITHUB_BASE with --githubBase by @lencioni in https://github.com/happo/happo/pull/271
- Replace HAPPO_FALLBACK_SHAS and HAPPO_FALLBACK_SHAS_COUNT with CLI args by @lencioni in https://github.com/happo/happo/pull/272
- Replace HAPPO_AUTHOR with --authorEmail by @lencioni in https://github.com/happo/happo/pull/273
- Replace HAPPO_BEFORE_SHA_TAG_MATCHER with --beforeShaTagMatcher by @lencioni in https://github.com/happo/happo/pull/274
- Replace HAPPO_NOTIFY with --notify by @lencioni in https://github.com/happo/happo/pull/275
- Replace HAPPO_NONCE with --nonce by @lencioni in https://github.com/happo/happo/pull/276
- Change previousSha/currentSha to beforeSha/afterSha by @lencioni in https://github.com/happo/happo/pull/277
- Remove HAPPO_BUILD_STORYBOOK_COMMAND by @lencioni in https://github.com/happo/happo/pull/278
- Replace HAPPO_DOWNLOAD_ALL with config option by @trotzig in https://github.com/happo/happo/pull/279
- Bump the patches-and-minors group with 3 updates by @dependabot[bot] in https://github.com/happo/happo/pull/282
- Remove --githubBase CLI flag by @lencioni in https://github.com/happo/happo/pull/280
- Replace archiver and adm-zip with fflate by @lencioni in https://github.com/happo/happo/pull/281
- Handle HAPPO_GITHUB_TOKEN, HAPPO_DELETE_OLD_COMMENTS, VERBOSE env vars by @trotzig in https://github.com/happo/happo/pull/283
- Set prefersReducedMotion to true by default by @lencioni in https://github.com/happo/happo/pull/284
- Refactor Logger to use node's built-in styleText by @lencioni in https://github.com/happo/happo/pull/285
- Stop using basename when zipping in-memory content by @lencioni in https://github.com/happo/happo/pull/286
- Add error reporting by @lencioni in https://github.com/happo/happo/pull/287
- Replace p-all with limit-concur by @lencioni in https://github.com/happo/happo/pull/288
- Address code review for telemetry by @lencioni in https://github.com/happo/happo/pull/289
New Contributors
- @hassoncs made their first contribution in https://github.com/happo/happo/pull/228
Full Changelog: https://github.com/happo/happo/compare/v5.0.3...v6.0.0