diff --git a/MIGRATION.md b/MIGRATION.md index d054a003c491..cfa9e8a610f8 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,6 +1,7 @@

Migration

- [From version 7.x to 8.0.0](#from-version-7x-to-800) + - [Removal of `storiesOf`-API](#removal-of-storiesof-api) - [Removed deprecated shim packages](#removed-deprecated-shim-packages) - [Framework-specific Vite plugins have to be explicitly added](#framework-specific-vite-plugins-have-to-be-explicitly-added) - [Implicit actions can not be used during rendering (for example in the play function)](#implicit-actions-can-not-be-used-during-rendering-for-example-in-the-play-function) @@ -356,6 +357,14 @@ ## From version 7.x to 8.0.0 +### Removal of `storiesOf`-API + +The `storiesOf` API has been removed in Storybook 8.0. + +If you need to dynamically create stories, you will need to implement this via the experimental `experimental_indexers` [API](#storyindexers-is-replaced-with-experimental_indexers). + +For migrating to CSF, see: [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated) + ### Removed deprecated shim packages In Storybook 7, these packages existed for backwards compatibility, but were marked as deprecated: