Skip to content

Releases: oblador/loki

0.30.3

09 Jun 09:55
Compare
Choose a tag to compare

Bugfixes

  • Fix parameters argument not passed to file name formatter for batches

0.30.1

16 May 13:55
Compare
Choose a tag to compare

Bug fixes

  • Fix crash when having circular references in story parameters.

0.30.0

12 May 13:57
Compare
Choose a tag to compare

New functionality

  • Apple Silicon support for Chrome Docker target.
  • New media option that enables emulating dark mode on Chrome targets.
  • fileNameFormatter now receives story parameters.

0.29.0

26 Mar 11:28
Compare
Choose a tag to compare
  • Fix error message detection from waitOn
  • Remove deprecated setAddon API
  • Upgrade ink dependency to use React 17

0.28.1

12 Feb 11:10
Compare
Choose a tag to compare

Fixes

  • Fixed exit code check when running docker in docker.

0.28.0

09 Feb 09:33
Compare
Choose a tag to compare

New functionality

  • Breaking change: New default image differ called pixelmatch. You can revert to old behavior by setting the diffingEngine option to gm or looks-same
  • Breaking change: Updated chrome version to 90 in the default docker image. You can revert to old behavior by setting the chromeDockerImage option to yukinying/chrome-headless-browser:85.0.4181.8
  • New dockerNet option

Fixes

  • Fixed peerDependency warnings when using Storybook 6.
  • Clamp screenshot dimensions to fit in viewport, when disableAutomaticViewportHeight = true.

0.24.0

25 Jul 10:31
Compare
Choose a tag to compare

New functionality

  • Async CSF stories are now supported via the @loki/create-async-callback package.
  • chromeSelector option can now be passed on a per story basis via the loki parameter.

Fixes

  • Better support for chromeSelector option not ending with > * .

0.23.0

02 Jul 22:19
Compare
Choose a tag to compare

Breaking changes

  • Support skip via story parameters. This deprecates support for SB < 5.
  • Bump default chrome docker version to 85. This will change how the default font renders, if you want to keep the old version, use --chromeDockerImage yukinying/chrome-headless:63.0.3230.2.

0.22.1

22 Jun 08:27
Compare
Choose a tag to compare

Bug fixes

  • Fix loki global check for React Native

0.22.0

16 Jun 15:04
Compare
Choose a tag to compare

New functionality

  • isLokiRunning function in the @loki/is-loki-running package that will return true during a test run. This is useful to disable things causing flakiness, such as JavaScript animations or GIFs that aren't automatically disabled by loki.