Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 10.0.1

- Presets: Fix incorrect imports - [#32875](https://github.com/storybookjs/storybook/pull/32875), thanks @ndelangen!
- Upgrade: Satellite compatible with 10.1 prerelease - [#32877](https://github.com/storybookjs/storybook/pull/32877), thanks @ndelangen!

## 10.0.0

Storybook 10 contains one breaking change: it’s ESM-only. This simplifies our distribution and reduces install size by 29% while simultaneously unminifying dist code for easier debugging.
Expand Down
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "10.0.1"
}
2 changes: 1 addition & 1 deletion code/presets/create-react-app/preset.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index.js';
export * from './dist/index.js';
2 changes: 1 addition & 1 deletion code/presets/react-webpack/preset.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index.js';
export * from './dist/index.js';
2 changes: 1 addition & 1 deletion code/presets/server-webpack/preset.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './src/index.js';
export * from './dist/index.js';
4 changes: 2 additions & 2 deletions code/presets/server-webpack/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ export const webpack: StorybookConfig['webpack'] = (config) => {
{
type: 'javascript/auto',
test: /\.stories\.json$/,
use: fileURLToPath(import.meta.resolve('@storybook/preset-server-webpack/webpack-loader')),
use: fileURLToPath(import.meta.resolve('@storybook/preset-server-webpack/loader')),
},

{
type: 'javascript/auto',
test: /\.stories\.ya?ml/,
use: [
fileURLToPath(import.meta.resolve('@storybook/preset-server-webpack/webpack-loader')),
fileURLToPath(import.meta.resolve('@storybook/preset-server-webpack/loader')),
{
loader: fileURLToPath(import.meta.resolve('yaml-loader')),
options: { asJSON: true },
Expand Down
2 changes: 1 addition & 1 deletion docs/addons/addon-migration-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Here are the changes in version 10.0 that impact addon development.

### ESM-only builds

Storybook 10 requires all addons to be built as ESM-only. This change simplifies the build process and reduces maintenance overhead. You'll need to make many changes to `tsup.config.ts`, so it can be easier to copy the reference file in the [`addon-kit` repository](https://github.com/storybookjs/addon-kit/blob/esm-only/tsup.config.ts).
Storybook 10 requires all addons to be built as ESM-only. This change simplifies the build process and reduces maintenance overhead. You'll need to make many changes to `tsup.config.ts`, so it can be easier to copy the reference file in the [`addon-kit` repository](https://github.com/storybookjs/addon-kit/blob/main/tsup.config.ts).

This update brings the following changes:
* The Node target moves from Node 20.0 to Node 20.19
Expand Down
14 changes: 7 additions & 7 deletions docs/releases/migration-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ sidebar:

[full-migration-notes]: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-9x-to-1000

Storybook 10 is a breaking maintenance release focused on ESM-only package distribution. Its main features include:
Storybook 10 contains one breaking change: it’s ESM-only. This simplifies our distribution and reduces install size by 29% while simultaneously unminifying dist code for easier debugging.

- 💎 ESM-only to reduce install size
- ↗️ CSF Next preview with better typesafety and autocompletion
- 🏷 Improved tags-based filtering
It also includes features to level up your UI development, documentation, and testing workflows:

Coming soon:

- 🧪 Familiar and ergonomic CSF test functions (experimental)
- 🧩 Module automocking for easier testing
- 🏭 Typesafe CSF factories Preview for React
- 💫 UI editing and sharing optimizations
- 🏷️ Tag filtering exclusion and configuration for sidebar management
- 🔀 Svelte async component support and more

This guide is meant to help you **upgrade from Storybook 9.x to 10** successfully!

Expand Down
2 changes: 1 addition & 1 deletion docs/versions/latest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"10.0.0","info":{"plain":"Storybook 10 contains one breaking change: it's ESM-only. This simplifies our distribution and reduces install size by 29% while simultaneously unminifying dist code for easier debugging.\nIt also includes features to level up your UI development, documentation, and testing workflows:\n\n- 🧩 Module automocking for easier testing\n- 🏭 Typesafe CSF factories Preview for React\n- 💫 UI editing and sharing optimizations\n- 🏷️ Tag filtering exclusion and configuration for sidebar management\n- 🔀 Next 16, Vitest 4, Svelte async components, and more!"}}
{"version":"10.0.1","info":{"plain":"- Presets: Fix incorrect imports - [#32875](https://github.com/storybookjs/storybook/pull/32875), thanks @ndelangen!\n- Upgrade: Satellite compatible with 10.1 prerelease - [#32877](https://github.com/storybookjs/storybook/pull/32877), thanks @ndelangen!"}}
2 changes: 1 addition & 1 deletion docs/versions/next.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"10.0.0-rc.4","info":{"plain":"- Core: Add `experimental_devServer` preset - [#32862](https://github.com/storybookjs/storybook/pull/32862), thanks @yannbf!\n- Core: Fix stepping back through story interactions panel - [#32793](https://github.com/storybookjs/storybook/pull/32793), thanks @ia319!\n- Core: Join framework preset path with slash - [#32838](https://github.com/storybookjs/storybook/pull/32838), thanks @brandonroberts!\n- Telemetry: Fix preview-first-load event - [#32859](https://github.com/storybookjs/storybook/pull/32859), thanks @shilman!"}}
{"version":"10.1.0-alpha.0","info":{"plain":""}}
Loading