Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Releases: Galooshi/happo

v2.8.3

28 Sep 18:41
Compare
Choose a tag to compare
  • Improved diffing performance.
  • Improved browser compatibility of diffs page with Firefox and Safari.

v2.8.2

27 Sep 18:42
Compare
Choose a tag to compare

Image diffing is now slightly more performant and stable. We've moved away from an external dependency and moved to a more streamlined lcs diffing algorithm.

v2.8.1

23 Sep 15:53
Compare
Choose a tag to compare

Bugfixes:

  • Fix incorrect escaping of uploaded files.

v2.8.0

21 Sep 18:10
Compare
Choose a tag to compare
  • Generate LCS diff image in browser instead of during Happo run.
  • Change default view back to diffs.

v2.7.7

13 Sep 18:05
Compare
Choose a tag to compare
  • Improve screenshotting of components with sub-pixel dimensions.

v2.7.6

13 Sep 08:08
Compare
Choose a tag to compare

Fixes the issue where all snapshots would start at the top left of the screen.

v2.7.5

13 Sep 01:27
Compare
Choose a tag to compare

After making the change to include all DOM nodes in the snapshot (instead of using the returned node) led to it being a lot harder to control the width of the snapshot. If you use React, you probably use ReactDOM.render to render the happo example into the DOM. This usually involves creating an anonymous div that you append to the <body>. Without some clever css styling in order to make this anonymous div the right size, you'll end up with full-width snapshots. To fix that, we've added a getRootNodes function that you can use to control what nodes are used to compute the bounding rectangle.

Here's an example for React:

happo.getRootNodes = function() {
  return document.querySelectorAll('[data-reactroot]');
};

You can return a NodeList or an Array from this function.

v2.7.4

12 Sep 01:41
Compare
Choose a tag to compare

Make scrollbar prevention less aggressive by taking the overflow property into account.

v2.7.3

06 Sep 16:57
Compare
Choose a tag to compare
  • Add bind configuration option

v2.7.1

05 Sep 21:22
Compare
Choose a tag to compare
  • Avoid calling cleanOutElement on non-elements.