Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
20362cf
Convert projects to storybook v9
Mar 6, 2026
f7413cf
Add migration guide for Storybook 9 and update docs
Mar 9, 2026
5df8cd5
Add carret version to storybook packages
Mar 9, 2026
078c78a
Merge remote-tracking branch 'origin/master' into gui-storybook-9-sup…
Mar 10, 2026
eb9723f
Fix migration links
Mar 10, 2026
81cb54f
Removed unnecessary dependency to storybook in the dev-server-storybook
Mar 10, 2026
64dec58
Update Storybook imports to use the public, not internal, preview-api
Mar 10, 2026
58c17bf
Update import to use storybook/manager-api
Mar 10, 2026
80306fe
Remove Storybook dependencies from the root package file
Mar 10, 2026
7257336
Added caret to versions
Mar 11, 2026
1d184cf
Reorder addons
Mar 11, 2026
00724db
Revert changes to packages/mock and introduce
Mar 11, 2026
bfc4eb8
Add deprecation notice for Storybook 9 compatibility
Mar 11, 2026
e35c819
Add deprecation notice for Storybook 9 in @web/mocks
Mar 11, 2026
192b2d9
Update repository and homepage paths in package.json
Mar 11, 2026
8598d09
Merge remote-tracking branch 'GuiAmPm/gui-storybook-9-support' into f…
bashmish Mar 26, 2026
25f0b3a
Merge branch 'master' into feat/storybook9
bashmish Mar 27, 2026
1bd49b5
remove storybook-addon-mock to start over
bashmish Mar 27, 2026
83771e6
create and move addon from , clean up SB6
bashmish Mar 27, 2026
1802b83
fix registry
bashmish Mar 27, 2026
c3056aa
update storybook, deps of msw and all integrity to sha512
bashmish Mar 27, 2026
47966e8
add missing dependency
bashmish Mar 27, 2026
61ae871
update check for unexpected and expected warnings
bashmish Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/shiny-sloths-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@web/storybook-addon-mocks': major
'@web/storybook-builder': minor
'@web/storybook-framework-web-components': minor
'@web/storybook-utils': major
---

Migrate projects to Storybook 9
6 changes: 6 additions & 0 deletions docs/docs/mocks/migration-to-storybook-9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Storybook Builder >> Migration from Storybook 8 to 9

## General migration guide

Storybook 9 introduced changes which consolidated external packages into the main Storybook packages. To avoid compatibility issues, `@web/mocks` won't be migrated and will keep support for Storybook 8, instead, we recommend using `@web/storybook-addons-mocks` which is compatible with Storybook 9.
This is a drop-in replacement, so you can just change the import from `@web/mocks` to `@web/storybook-addons-mocks` and it should work without any issues while on version 9.
2 changes: 1 addition & 1 deletion docs/docs/storybook-builder/migration-to-storybook-7.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Storybook Builder >> Migration to Storybook 7 ||5
# Storybook Builder >> Migration to Storybook 7 ||6

This guide explains how to migrate from [`@web/dev-server-storybook` plugin](../dev-server/plugins/storybook.md) (that used opinionated Storybook 6 bundle `@web/storybook-prebuilt`) to Storybook 7 and new `@web/storybook-builder`.

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/storybook-builder/migration-to-storybook-8.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Storybook Builder >> Migration from Storybook 7 to 8 ||4
# Storybook Builder >> Migration from Storybook 7 to 8 ||5

## Update dependencies

Expand All @@ -11,7 +11,7 @@ You need to:

## General migration guide

Make sure to follow the [Storybook's own migration guide](https://storybook.js.org/docs/migration-guide).
Make sure to follow the [Storybook's own migration guide](https://storybook.js.org/docs/8/migration-guide).
We recommend to read it carefully, even though big part of it is not directly related to `@web/storybook-builder` or `@web/storybook-framework-web-components`, many small details are too easy to miss, so go through it step by step.

## Specific migration notes
Expand Down
25 changes: 25 additions & 0 deletions docs/docs/storybook-builder/migration-to-storybook-9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Storybook Builder >> Migration from Storybook 8 to 9 ||5

## Update dependencies

`@web/storybook-builder` for Storybook 9 is released as version `0.3.x` and expects all Storybook packages to be at least `9.1.20`.

You need to:

- update `@web/storybook-builder` and `@web/storybook-framework-web-components` to `^0.3.0`
- update dependencies under the namespace `@storybook/*` and the `storybook` itself to `^9.1.20`

## General migration guide

Make sure to follow the [Storybook's own migration guide](https://storybook.js.org/docs/releases/migration-guide-from-older-version).
We recommend to read it carefully, even though big part of it is not directly related to `@web/storybook-builder` or `@web/storybook-framework-web-components`, many small details are too easy to miss, so go through it step by step.

## Specific migration notes

Apart from Storybook's own migration steps, from the Builder API perspective the `@web/storybook-builder` is considered backwards compatible.
If you use standard Storybook addons and do not use custom WDS/rollup plugins, you shouldn't require any extra changes.

However, if you do use something custom, here is a list of some changes that might cause highly unlikely difficulties:

- Storybook 9 consolidated most packages it uses into the main storybook packages. These migrated packages and instructions are found in the [migration guide](https://storybook.js.org/docs/releases/migration-guide-from-older-version#package-structure-changes).
- CSF 3 is now the default format for stories, but CSF 2 is still supported, so if you have CSF 2 stories, they should work without any changes, but we recommend to migrate them to CSF 3 to get all the benefits of it, e.g. better support for TypeScript and better DX in general.
5 changes: 5 additions & 0 deletions docs/docs/storybook-builder/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ Then proceed to the [Configuration](./configuration.md).

## Storybook versions

Storybook 9 is supported by:

- `@web/storybook-builder@0.3.x`
- `@web/storybook-framework-web-components@0.3.x`

Storybook 8 is supported by:

- `@web/storybook-builder@0.2.x`
Expand Down
Loading
Loading