unstale

npm / @storybook/addon-docs

@storybook/addon-docs

What changed in @storybook/addon-docs 9 to 10, from its official release notes, upgrade guides and advisories. Also covers @storybook/addon-a11y, @storybook/react-webpack5, eslint-plugin-storybook. Sources checked 2026-10-18.

11 breaking3 security3 deprecations27 new APIs and options1 performance13 behavior and defaults31 tooling83 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

@storybook/addon-docs 10165 changes

Breaking changes 11

  • The tools command now defaults to attach mode.

    10.6.0release notes

  • Component manifests are disabled by default. If you use the MCP addon, upgrade it to version 0.5.0 or later to keep the docs toolset in the MCP server.

    10.3.5release notes

  • Refs are now updated sequentially in experimental_setFilter.

    10.2.15release notes

  • Websocket connections now require a token.

    10.2.10release notes

  • Browser opening now honors BROWSER shell scripts before falling back to xdg-open.

    10.2.0release notes

  • The globalTypes types are now more strict.

    10.2.0release notes

  • The zoom tool was reimplemented, adds zoom level 8, limits manual input to 800%, and supports a keyboard shortcut for the plus key.

    10.2.0release notes

  • Removes REACT_PROJECT as a CLI projectType.

    10.1.7release notes

  • The preview enforces an inert body when the manager is focus-trapped.

    10.1.6release notes

  • The dynamic-CWD globbing change was reverted, changing how Storybook resolves glob patterns.

    10.1.1release notes

  • Storybook now ships only ESM, removing CommonJS bundles; this simplifies distribution and reduces install size by 29%.

    10.0.0release notes

Security 3

  • Patches GHSA-f2ph-cmg5-wxc8 and GHSA-px85-f4q5-jh77.

    10.6.2release notes

  • Updates the default allowed hosts in host validation middleware.

    10.2.16release notes

  • Adds host and origin validation to requests and websocket connections.

    10.2.16release notes

Deprecations 3

New APIs and options 26

  • Fetches static open-service snapshots relative to the document.

    10.5.10release notes

  • An experimental React docgen service provides unified component metadata across MCP, Docs, and Controls.

    10.5.0release notes

  • Adds an experimental feature flag for Agentic Review, which provides AI-curated visual changesets and search results.

    10.5.0release notes

  • The Meta component accepts an explicit id prop for standalone MDX.

    10.5.0release notes

  • Story and meta annotations now allow partial globals overrides.

    10.4.6release notes

  • Supports resolving subcomponents attached as properties of a parent component.

    10.4.3release notes

  • Adds a feature flag for change detection.

    10.4.0release notes

  • Component manifests now include subcomponents.

    10.4.0release notes

  • The sidebar can filter stories by status, supporting review of changes and test results.

    10.4.0release notes

  • Adds status values for new, modified, and affected stories.

    10.4.0release notes

  • The Vitest addon adds a channel API for programmatically triggering test runs.

    10.3.0release notes

  • The option is renamed from experimentalComponentsManifest and defaults to true.

    10.3.0release notes

  • The Actions parameter adds expandLevel to configure the tree depth.

    10.3.0release notes

  • Canvas block parameters now support sourceState: 'none'.

    10.3.0release notes

  • Storybook MCP is available as a preview release for React, enabling agentic component development, documentation, and testing.

    10.3.0release notes

  • The ThemesGlobals interface declaration is now exported.

    10.3.0release notes

  • Adds Vike metadata frameworks.

    10.2.16release notes

  • The Checklist widget can now be disabled through feature config.

    10.2.0release notes

  • A manager API for getting story URLs was added.

    10.2.0release notes

  • A disable parameter was added for the interactions panel.

    10.2.0release notes

  • A new exported function lets developers access the preferred color scheme.

    10.1.0release notes

  • React gains experimental component manifest generation, providing component information for Storybook MCP.

    10.1.0release notes

  • React adds a components page for the experimental component manifest feature.

    10.1.0release notes

  • Adds range validation to Number Control.

    10.0.6release notes

  • Typesafe CSF factories are available as a Preview for React.

    10.0.0release notes

  • Tag filtering gains exclusion and configuration options for managing the sidebar.

    10.0.0release notes

Performance 1

  • Module-mocking plugins have improved performance.

    10.2.12release notes

Behavior and default changes 13

  • TypeScript's JSDoc semantics are now canonical for component docgen.

    10.6.0release notes

  • Boolean props set to false are now rendered in source snippets.

    10.5.0release notes

  • Framework detection now supports peerDependencies for component libraries.

    10.4.1release notes

  • Filter state is persisted in the URL, and the initial story selection respects active filters.

    10.4.0release notes

  • Story-level argTypes can override control: false set in meta.

    10.3.0release notes

  • Prioritizes story viewport globals and avoids user-global pollution.

    10.2.13release notes

  • Postinstall setup is skipped when configured, allowing developers to control whether the Vitest addon runs setup after installation.

    10.2.6release notes

  • Storybook invalidates its cache when the Storybook version is upgraded.

    10.2.5release notes

  • Composition handles 401 responses using loginUrl from Chromatic.

    10.2.2release notes

  • The vision simulator state is tracked through globals and its styles are applied in the preview.

    10.2.0release notes

  • Enhances getPrettier to provide a Prettier interface.

    10.1.4release notes

  • Drops some restrictions on completing the checklist.

    10.1.2release notes

  • CSF-strict ESLint rules now apply only to story files.

    10.0.7release notes

Tooling 30

  • The CLI adds the skills command for agent tools and skills workflows.

    10.6.0release notes

  • The CLI adds a public tools command derived at runtime from the OSA toolsets.

    10.6.0release notes

  • AI setup instructions now use msw-storybook-addon v3.

    10.5.5release notes

  • Storybook detects Git changes to support change-aware story review.

    10.4.0release notes

  • React component metadata extraction uses a Volar-style LanguageService, improving component documentation generation.

    10.4.0release notes

  • Adds a tsconfig fallback chain and a warning for monorepos.

    10.4.0release notes

  • The CLI prompts about init crash reports.

    10.3.4release notes

  • Addon-Vitest streamlines Vite config detection during init and postinstall.

    10.3.3release notes

  • Storybook supports ESLint 10.

    10.3.0release notes

  • React adds react-docgen-typescript to the component manifest.

    10.3.0release notes

  • Vitest setup no longer requires a dedicated setup file, simplifying configuration.

    10.3.0release notes

  • Adds support for Next.js v16.2.

    10.2.17release notes

  • The CLI sets the STORYBOOK environment variable.

    10.2.14release notes

  • The codemod now fixes cross-file story imports.

    10.2.7release notes

  • The CLI supports Vitest addon setup when installation is skipped.

    10.2.6release notes

  • The Vitest addon supports Vite or Vitest configuration with a deferred export.

    10.2.6release notes

  • The codemod now works with preview files that have no exports.

    10.2.4release notes

  • The CSF factories codemod adds non-interactive mode and a --glob flag for selecting files.

    10.2.4release notes

  • The codemod preserves leading comments when adding imports.

    10.2.4release notes

  • Addon-Vitest automigration now normalizes Windows paths.

    10.2.3release notes

  • The Vitest plugin configuration disables requireAssertions for expect.

    10.2.2release notes

  • Addon Vitest supports a simple vite.config that does not use the defineConfig helper.

    10.2.2release notes

  • Added init telemetry for CLI integrations.

    10.2.1release notes

  • Public API types now support TypeScript's exactOptionalPropertyTypes option.

    10.2.0release notes

  • The component transformer now supports wrapped components.

    10.2.0release notes

  • The CLI has a new init workflow, Clack UI, and Generator System for faster, more reliable installation.

    10.1.0release notes

  • Adds Preact support to the Vitest addon.

    10.0.6release notes

  • Module automocking is introduced to make testing easier.

    10.0.0release notes

  • Storybook adds an open-in-editor feature.

    10.0.0release notes

  • Storybook adds test syntax for Storybook v10.

    10.0.0release notes

Fixes and other changes 78

  • Fixes hidden output from CLI commands when using Yarn 1.

    10.6.2release notes

  • The enhanceArgTypes function is now explicitly typed.

    10.6.2release notes

  • Fixes a build crash when the ref reachability check fails mid-request.

    10.6.1release notes

  • Restores the change-detection CTA in the sidebar.

    10.6.1release notes

  • Fixes Vitest ERESOLVE errors when using the CLI on fresh Next.js apps.

    10.6.1release notes

  • Webpack 5 now uses strict mtime equality when reusing the mock cache.

    10.6.0release notes

  • Null union members are included as enum options when TypeScript argTypes are converted.

    10.6.0release notes

  • Preserves discriminated union prop values during metadata extraction.

    10.5.10release notes

  • Bundles CSF helpers so the plugin loads without Storybook.

    10.5.10release notes

  • Keeps tsconfig path aliases working on solution-style tsconfigs.

    10.5.10release notes

  • Preview output filenames are prevented from becoming too long.

    10.5.9release notes

  • Pseudo-states rewriting now handles nested functional selectors correctly.

    10.5.9release notes

  • Stylesheet rewrites are now WebKit-safe.

    10.5.9release notes

  • Fixed a crash when initializing UrlStore on a docs path.

    10.5.9release notes

  • Fixed the dark mode mismatch in SyntaxHighlighter.

    10.5.4release notes

  • Measure & Outline now honors the disable parameter.

    10.5.0release notes

  • Fixes the layout.showPanel configuration.

    10.5.0release notes

  • Fixes React subcomponent prop extraction when the component is not used in JSX.

    10.5.0release notes

  • The lazy-compilation import pipeline is gated on the webpack version.

    10.5.0release notes

  • Prevents core annotations from being injected twice into mixed CSF3+4 stories.

    10.4.5release notes

  • Telemetry event-log POST requests now have a timeout to prevent builds from hanging.

    10.4.4release notes

  • The sidebar now respects the !dev tag on MDX docs.

    10.4.3release notes

  • Docs pages no longer reset scroll position on HMR re-render.

    10.4.3release notes

  • Primary and Controls blocks now render in custom MDX pages.

    10.4.3release notes

  • Fixed CSF parsing of string literal export names.

    10.4.2release notes

  • Fixed command resolution on Windows when using non-Node package managers.

    10.4.2release notes

  • Fixed global background and color styles affecting stories.

    10.3.6release notes

  • Packages that publish React-based declarations now add optional React type peers.

    10.3.6release notes

  • Already transformed config files are no longer re-processed for CSF factories.

    10.3.4release notes

  • Fixes duplicate preview loading in Vitest.

    10.3.4release notes

  • React-docgen tries a .tsx fallback when resolving .js ESM imports.

    10.3.4release notes

  • Fixes the WebSocket connection for StackBlitz/WebContainers.

    10.3.4release notes

  • A story-local viewport no longer persists in the URL.

    10.3.1release notes

  • Overrides of docs.components are restored for doc blocks.

    10.3.0release notes

  • Fixes error reporting in ManagerErrorBoundary.

    10.2.18release notes

  • Storybook correctly falls back to the first detected Vitest config file.

    10.2.18release notes

  • Resolves the builder preset path correctly in pnpm strict mode.

    10.2.16release notes

  • Fixes a false ConfigFile parser warning for a definePreview({...}).type<T>() export default.

    10.2.16release notes

  • Fixed Storybook failing to load iframe.html when publishing.

    10.2.15release notes

  • Manifest snippet generation now handles the render identifier.

    10.2.15release notes

  • Prevented crashes when tag filters contain undefined entries.

    10.2.14release notes

  • Avoids hanging when inferring args for recursive calls on DOM elements.

    10.2.13release notes

  • Addon Pseudo-states now processes all nested CSS rules.

    10.2.13release notes

  • Inputs are sanitized when saving from controls.

    10.2.12release notes

  • Fixes empty manifest stories when a React meta has no explicit title.

    10.2.11release notes

  • Manifests now use the correct story name.

    10.2.11release notes

  • The dynamicTitle: false setting now works for user-defined tools.

    10.2.7release notes

  • npmlog output now honors the --loglevel setting.

    10.2.7release notes

  • Rendering of View Transitions is fixed in Firefox.

    10.2.7release notes

  • Glob pattern handling is fixed on Windows.

    10.2.4release notes

  • The CSF factory detection no longer falsely identifies Zod v4 .meta() as a CSF Factory.

    10.2.4release notes

  • The codemod no longer fails when filenames are quoted.

    10.2.4release notes

  • Aliasing AppRouterContext to the shared runtime fixes Link navigation.

    10.2.4release notes

  • Fixes previewHref when the current path does not end with a slash.

    10.2.3release notes

  • The Storybook project is appended to an existing test.projects array without double nesting.

    10.2.2release notes

  • Fixed a resolution issue for @vitest/mocker in Builder-Webpack5.

    10.2.1release notes

  • React docgen extraction and story creation support were fixed.

    10.2.0release notes

  • The Viewports tool was redesigned, with viewport UX fixes and handling fixes for viewport args and their reset option.

    10.2.0release notes

  • Fixes several CSF factory bugs.

    10.1.11release notes

  • Fixes React error 300 on some addons.

    10.1.11release notes

  • Fixes parsing of .env files.

    10.1.10release notes

  • Fixes a missing await in automigration.

    10.1.7release notes

  • Excludes open from pre-bundling so local xdg-open can be reached.

    10.1.7release notes

  • The settings page no longer displays shortcuts that do not exist.

    10.1.6release notes

  • Fixes a keyboard navigation bug for the reset option in Select.

    10.1.6release notes

  • Fixes how checklist state changes are reported.

    10.1.2release notes

  • React adds experimental code examples with improved JSX snippets.

    10.1.0release notes

  • Storybook’s UI received accessibility improvements, including fixes for hundreds of accessibility issues.

    10.1.0release notes

  • Fixes the CSF export interface declaration for NextPreview.

    10.0.6release notes

  • Fixes the export interface declaration for ReactMeta.

    10.0.6release notes

  • Added a reentry guard to the focus patch.

    10.0.5release notes

  • Fixes module being undefined in ESM when using CRA.

    10.0.4release notes

  • Fixes an issue with running Storybook after it has been initialized.

    10.0.4release notes

  • Core handles TypeScript satisfies/as syntaxes better.

    10.0.3release notes

  • A wrong import was fixed to support Yarn PnP.

    10.0.3release notes

  • Fixes glob string formatting in the codemod.

    10.0.2release notes

  • Improves file path resolution on Windows.

    10.0.2release notes

  • Incorrect imports in presets were fixed.

    10.0.1release notes

@storybook/addon-docs 97 changes

New APIs and options 1

Tooling 1

  • Improves the automigration for viewport and backgrounds.

    9.1.11release notes

Fixes and other changes 5

  • Fixes Next.js project creation in empty directories.

    9.1.16release notes

  • Adds telemetry for the first preview load.

    9.1.15release notes

  • Fixed the play-fn tag for methods.

    9.1.14release notes

  • Fixes missing Next.js declaration files, which could affect TypeScript users of the package.

    9.1.12release notes

  • Fixes sb.mock usage in deployed Storybooks served from subpaths.

    9.1.11release notes