Skip to content

Commit

Permalink
Merge pull request #25436 from storybookjs/norbert/add-migration-note…
Browse files Browse the repository at this point in the history
…-about-removal-storiesof

Core: Add migration notes about storiesOf removal
  • Loading branch information
valentinpalkovic authored Jan 9, 2024
2 parents 8404f74 + d86a123 commit c6ffc8f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<h1>Migration</h1>

- [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)
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c6ffc8f

Please sign in to comment.