Packages

@storybook/addon-docs

10.6.5 · 27 Oct 2026MIT17.2M / weekRepositoryHomepagenpmAtom feed

Your version

10.0.0

major28 Oct 2025Where it was published

10.6.5 is the newest release of 10.x.

In short

1 breaking1 removed1 deprecated12 new1 faster29 fixed50 changed2 internal

  • breaking

    Storybook 10 contains one breaking change: it’s ESM-only.

  • removed

    Maintenance: Remove globalization for dropped entrypoints

  • deprecated

    Core: Mark pnp support as deprecated

Release note

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.
It also includes features to level up your UI development, documentation, and testing workflows:

  • 🧩 Module automocking for easier testing

  • 🏭 Typesafe CSF factories Preview for React

  • 💫 UI editing and sharing optimizations

  • 🏷️ Tag filtering exclusion and configuration for sidebar management

  • 🔀 Next 16, Vitest 4, Svelte async components, and more!

List of all updates

  • A11Y: Bugfix missing manager.js entry-file

  • A11y: Persist tab/highlight across docs navigation

  • Addon A11y: Prevent setting highlights for old results

  • Addon Docs: Fix Symbol conversion issue in docs page and controls panel

  • Addon Vitest: Fix incorrect file modifications during setup

  • Addon Vitest: Support modifying mergeConfig on addon setup

  • Addon-docs: Add eject button to canvas toolbar

  • AddonA11Y: Fix postinstall

  • AddonViewport: Stricter types

  • Angular: Add fileURLToPath for preview annotation paths

  • Angular: Fix entry.polyfills undefined error

  • Angular: Inherit options from browserTarget

  • AutoMigration: Fix sb10 migration when main config contains require

  • Cleanup: Remove duplicated entrypoints in core

  • CLI: Add addon-console automigration

  • CLI: Avoid mixed CSF in files with unconventional stories

  • CLI: Change message in downgrade-blocker

  • CLI: CSF factories codemod - support annotations in npx context

  • CLI: Fix CSF factories addon syncing in storybook add command

  • CLI: Fix throwing in readonly environments

  • CLI: Init not running dev when it should fixed

  • CLI: Make relative imports default in csf-factories codemod

  • CLI: Switch over to modern-tar

  • Codemod: Replace globby with tinyglobby

  • Controls: Allow primitive values of ReactNode argType

  • Controls: Fix adding new values to arrays

  • Core: Add "open in editor" feature

  • Core: Add parameter typings for addon-pseudo-state

  • Core: Dedupe aria-query and @testing-library/dom packages

  • Core: Enhance warning for Testing Library's screen usage in docs mode

  • Core: Ensure valid QR code URL

  • Core: Fix external-globals-plugin handle undefined cache dir

  • Core: Fix Node 24 deprecation warning

  • Core: Fix staticCopy not copying index.html to sub directory

  • Core: Fix stepping back through story interactions panel

  • Core: Improve addon detection in automigrations on windows

  • Core: Improve es-toolkit usage for better tree-shaking

  • Core: Join framework preset path with slash

  • Core: Make subtype an optional property on an index input

  • deprecated

    Core: Mark pnp support as deprecated

  • Core: Prevent BAIL state from showing in interactions panel when switching stories

  • Core: Prevent navigating to hidden (filtered) item

  • Core: Remove CJS bundles, only ship ESM

  • Core: Replace es-toolkit compat imports with non-compat

  • Core: Switch from mlly to exsolve

  • Core: Update tags filter UI

  • Core: Use exsolve resolveModulePath for safeResolveModule

  • Core: Various QA fixes

  • CoreServer: Fix Arc can't get every window

  • CSF: Add Storybook test syntax (Storybook v10)

  • CSF: Enhance config-to-csf-factory to support type wrappers

  • Dts: Ensure .tsx files emit .d.ts type files

  • Allow proceeding without selecting automigrations in upgrade command

  • ESLint plugin homepage URL updates

  • Incorrect URLS for the upgrade command

  • Maintenance: Fix bundle size bloat caused by SyntaxHighlighter (createElement)

  • Maintenance: Hotfix for missing nextjs dts files, thanks @ndelangen!

  • removed

    Maintenance: Remove globalization for dropped entrypoints

  • Mock: Catch errors when transforming preview files

  • Modernize: Replace fs-extra with native APIs

  • Move: Addon jest into it's own repository

  • Next.js-vite: Use fileURLToPath for module resolution in preset

  • Next.js: Avoid multiple webpack versions at runtime

  • Next.js: Remove next/config usage in Next.js >=v16 projects

  • Next.js: Return mocked router instead of actual router in useRouter

  • Nextjs: Fix config access for Vite

  • Nextjs: Fix Nextjs version detection with prereleases

  • Onboarding: Prevent confetti overlay from intercepting pointer events

  • Onboarding: Tweak referral wording in survey

  • PreactVite: Add node entry point

  • Presets: Support extensionless imports in TS-based presets

  • React Native: Fix document reference error in open-in-editor

  • React: Simplify version detection

  • Replace: Use empathic over find-up

  • Svelte: Improve support for async components

  • Svelte: Simplify public types - use modern Component

  • SvelteKit: Add support for mocking $app/state

  • SvelteKit: Fix set_context_after_init error when experimental async is enabled

  • Tags: Remove undocumented x-only tags

  • Telemetry: Improve dev cancellation handling

  • Telemetry: Send index stats on dev exit

  • UI: Allow showing or hiding the addon panel

  • UI: Improve sidebar empty state

  • UI: Improve syntax-highlighter bundling

  • Update: Satellite repos after major version bump

  • Upgrade: Enhance ESM compatibility checks and banner generation

  • Upgrade: Packages open

  • Upgrades: Packages boxen commander giget

  • Vite: Optimize @storybook/addon-docs/blocks dependency