Skip to content

v3.0.0

Compare
Choose a tag to compare
@timhaines timhaines released this 04 Apr 23:13
· 477 commits to master since this release

Changes:

  • Requires Storybook v5 or newer.
  • Changes package name to @percy/storybook from @percy-io/percy-storybook.
  • Significantly simplifies setup. Changes to Storybook's config.js are no longer required.
  • Switch to using Storybook's new story parameters (#64). This removes addWithPercyOptions in favor of using Storybook's new options parameter.

How to upgrade from v2:

  • Ensure you're using Storybook v5 or newer.
  • Update your package.json to remove @percy-io/percy-storybook and run npm i --save-dev @percy/storybook.
  • Update your storybook's config.js file to remove any mentions of percy-storybook and methods imported from it. This includes any lines referencing createPercyAddon, percyAddon, and serializeStories.
  • Update any use of addWithPercyOptions, with the new per-story options.
  • Feel welcome to contact us via support@percy.io if you need assistance.