Skip to content

Releases: oblador/loki

0.16.0

28 May 16:07
2e858b9
Compare
Choose a tag to compare
  • Add --dockerWithSudo option to run docker commands with sudo
  • Add retries when fetching chrome storybook

0.15.1

27 May 17:18
6a2d203
Compare
Choose a tag to compare
  • Fix "Reduce of empty array with no initial value" error when elements are invisible

0.15.0

27 Mar 21:22
f0918ef
Compare
Choose a tag to compare
  • Allow configuration of diffing libraries directly from JSON.
  • Disable CSS animations/transitions also on pseudo elements.
  • Add loki-test attribute on root node on web.

0.14.2

02 Jan 22:16
c48c6b3
Compare
Choose a tag to compare
  • Fix Image.resolveAssetSource not accessible in react-native

0.14.1

02 Dec 13:24
d23740b
Compare
Choose a tag to compare

Dependency updates.

0.14.0

09 Nov 16:36
1dbbcb0
Compare
Choose a tag to compare

General

  • Breaking change: Auto update missing references when running locally

Chrome targets

  • Disable will-change CSS property when disabling animations
  • Add support for emulating media to test print styles and more
  • Fix timeouts when selector has zero dimensions
  • Exclude invisible elements from the target selector dimensions calculation

0.13.0

19 Jul 19:20
3871798
Compare
Choose a tag to compare
  • Fix Storybook 4.0 support by deprecating skip/async monkey patching and adding lokiSkip/lokiAsync addon instead. (#79 by @nowells)
  • Make docker download a separate step (#83 by @oblador)
  • Fix relative URLs not being resolved for chrome.app (#81 by @oblador)
  • Fix final output of failed url loading errors (#82 by @oblador)

0.12.0

09 Jul 15:08
da41d33
Compare
Choose a tag to compare
  • Potentially breaking: Add support to getSelectorBoxSize for complex layouts (#78 by @techeverri)

0.11.0

04 Jul 10:36
67d4a3e
Compare
Choose a tag to compare
  • Breaking change: chromeTolerance setting now defaults to 0.
  • Breaking change: requireReference and verboseRenderer are now true by default on CI
  • Improve pending request detection for chrome (esp helpful for webfonts).
  • Support skip/async helpers in newer versions of storybook
  • Allow docker to run from sibling container

0.10.0

15 Jun 14:22
1739b1c
Compare
Choose a tag to compare
  • Removed JSDOM and now using Chrome to fetch stories on web. This fixes issues with some APIs not being properly polyfilled.
  • Added new --verboseRenderer option that outputs progress in a way more suitable for CI environments.
  • Added new --chromeRetries option to optionally retry when taking a screenshot fails.
  • Fixed gm errors not being outputted properly
  • Fixed react-native dependency check when there's no dependencies field in package.json
  • Increased docker shared memory to 1gb which fixes some timeouts in Chrome.