unstale

npm / msw-storybook-addon

msw-storybook-addon

What changed in msw-storybook-addon 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking2 deprecations3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

msw-storybook-addon 33 changes

Breaking changes 1

  • The addon has a new architecture; see MIGRATION.md for migration instructions and codemods.

    3.0.0release notes

Fixes and other changes 2

  • Adds support for Storybook 10 and 11.

    3.0.3release notes

  • The story context is augmented from every entrypoint, fixing type availability across entrypoints.

    3.0.1release notes

msw-storybook-addon 24 changes

Breaking changes 1

  • The addon now requires MSW 2.0.0 or higher, so developers must update their MSW version and handler format.

    2.0.0release notes

Deprecations 2

  • Use mswLoader instead; loaders run before a story renders, avoiding the chance that requests reach real data before the service worker registers.

    2.0.0release notes

  • The Array notation is deprecated in favor of the Object notation using handlers; the previous format will be removed in the next major release.

    2.0.0release notes

Fixes and other changes 1

  • The addon stops relying on worker.context, avoiding issues caused by that dependency.

    2.0.7release notes