Storybook 7.0 is in RC!! 🎉🎉🎉
Upgrade today: Migration guide
Existing projects
If you're already using Storybook, upgrade using this command:
npx storybook@next upgrade --prerelease
That will perform the following actions:
- Upgrade your project to the latest prerelease version of Storybook
- Suggest auto-migrations related to that upgrade
- One of those auto-migrations will install and configure this framework
New projects
To bootstrap a new Storybook project with 7.0, run: npx storybook@next init
Hundreds of improvements and fixes, including:
- First-class Framework integrations
- Docs overhaul
- Component Story Format v3 by default
- Improved type safety
- Design refresh
- Code coverage for testing
Track the release in the Github: Storybook 7.0 burndown 🛠
Bug Fixes
- CLI: Upgrade non-core storybook packages better #21508
- Svelte: Pass all arguments to configure through to fix StoryStoreV6 #21491
- Core: Fix project root detection in yarn PnP without git #21461
- Telemetry: Replace isomorphic-unfetch with node-fetch #21497
- Core: Fix builders/renderer PnP support #21486
- CLI: Require main.js without cache in automigrations #21498
Maintenance
- CLI: Filter out internal static dir logging #21137
- Docs: Error if you try to index an MDX file in ssv6 #21495
Build
- Build: add slash to fix windows test #21518