This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
v2.0.0-next.0
Pre-release
Pre-release
🎉 This release contains work from a new contributor! 🎉
Thank you, Kasper Peulen (@kasperpeulen), for all your work!
Release Notes
Support Storybook 7.0 (#120)
💥 Breaking Change
This version adds support for Storybook 7.0. It requires you to be using Storybook 7.0, as there were several internal changes required, all of which depend on new Storybook packages.
🚀 Features
In Storybook 7.0, the play function can also be defined in the Meta (default export). This is now supported in @storybook/testing-react
.
⚠️ Deprecations
The setGlobalConfig
function is now deprecated in favor of setProjectAnnotations
, which aligns better with Storybook 7.0 nomenclature.
From:
import { setGlobalConfig } from '@storybook/testing-react';
import * as globalStorybookConfig from './.storybook/preview';
setGlobalConfig(globalStorybookConfig);
To:
import { setProjectAnnotations } from '@storybook/testing-react';
import * as globalStorybookConfig from './.storybook/preview';
setProjectAnnotations(globalStorybookConfig);
💥 Breaking Change
- Support Storybook 7.0 #120 (@IanVS @yannbf @kasperpeulen)
🐛 Bug Fix
Authors: 3
- Ian VanSchooten (@IanVS)
- Kasper Peulen (@kasperpeulen)
- Yann Braga (@yannbf)