unstale

npm / storybook

storybook

What changed in storybook 8 to 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.

20 breaking11 security3 deprecations49 new APIs and options1 performance30 behavior and defaults49 tooling130 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

storybook 10267 changes

Breaking changes 16

  • Angular-Vite now requires @analogjs/vite-plugin-angular 2.7.3 or later.

    10.6.2release notes

  • Replaces the skills get and skills list subcommands with the --all option.

    10.6.0release notes

  • Defaults tools to attach mode and removes the MCP proxy.

    10.6.0release notes

  • Removes @cloudflare/vite-plugin from the inherited Vite config for Tanstack React.

    10.5.8release notes

  • Angular-Vite no longer requires @angular/platform-browser-dynamic as a peer dependency.

    10.5.1release notesrelease notes

  • React Native on-device addons are moved to the deviceAddons configuration.

    10.4.0release notes

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

    10.3.0release notes

  • Next.js image configuration moves from FrameworkOptions to parameters.

    10.3.0release notes

  • Websocket connections now require a token.

    10.2.10release notes

  • TypeScript types for globalTypes are stricter.

    10.2.0release notes

  • The manifests preset property provides an extensible replacement for componentManifestGenerator.

    10.2.0release notes

  • Removes REACT_PROJECT as a CLI projectType.

    10.1.7release notes

  • Globbing using the dynamic current working directory was reverted, changing how Storybook resolves glob patterns.

    10.1.1release notes

  • Storybook is ESM-only and no longer ships CJS bundles, simplifying distribution and reducing install size by 29%.

    10.0.0release notes

  • Next.js projects at version 16 or later no longer use next/config.

    10.0.0release notes

  • useRouter returns a mocked router instead of the actual router.

    10.0.0release notes

Security 6

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

    10.6.2release notes

  • Upgraded ws to address security advisories.

    10.5.5release notes

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

    10.2.16release notes

  • Inputs from controls are sanitized when saved.

    10.2.12release notes

  • Storybook Dev Server is Vulnerable to WebSocket Hijacking

    8.6.17, 9.1.19, 10.2.10security advisory

  • Storybook manager bundle may expose environment variables during build

    7.6.21 … 10.1.10security advisory

Deprecations 3

New APIs and options 46

  • Adds support for Preact 11.

    10.6.2release notes

  • Accepts a story ID as an alternative to componentId plus storyName.

    10.6.0release notes

  • Adds a batch API for setting manager filters.

    10.6.0release notes

  • Adds port-based target selection when attaching to a Storybook instance.

    10.6.0release notes

  • Adds a CLI command for agent skills, with its interface aligned to storybook tools.

    10.6.0release notes

  • The ESLint plugin now includes plugin metadata.

    10.5.6release notes

  • Adds ariaLabel support to the ActionItem interface.

    10.5.0release notes

  • Adds support for configuring configLoader through builder options.

    10.5.0release notes

  • Adds an experimental feature flag for Review; it is left unset by default so AI CLI plugins can enable it.

    10.5.0release notes

  • Adds an Addon Vitest option to pin a project's globals, enabling tests across themes, viewports, and locales.

    10.5.0release notes

  • Adds support for an explicit id prop on Meta for standalone MDX.

    10.5.0release notes

  • Adds an AI command with MCP passthrough, gated by STORYBOOK_FEATURE_AI_CLI.

    10.5.0release notes

  • Introduces a preview Angular-Vite framework for development, documentation, and testing.

    10.5.0release notes

  • Gates the new storybook ai MCP passthrough.

    10.5.0release notes

  • Exports TanStackPreview to unblock CSF Next typing.

    10.5.0release notes

  • The next/link export mock now includes useLinkStatus.

    10.4.1release notes

  • A feature flag enables change detection.

    10.4.0release notes

  • Storybook detects Git changes to support reviewing new, modified, and related stories.

    10.4.0release notes

  • ColorControl accepts maxPresetColors to limit preset colors.

    10.4.0release notes

  • Builder-Vite adds an onModuleGraphChange method.

    10.4.0release notes

  • The docs UI adds a Reset story button to re-render stories.

    10.4.0release notes

  • The sidebar can filter stories by status, with filter state persisted in the URL.

    10.4.0release notes

  • Status values new, modified, and affected are available for filtering.

    10.4.0release notes

  • A TanStack React framework package is available, with routing and server function support.

    10.4.0release notes

  • Addon-Vitest adds a channel API for programmatically triggering test runs.

    10.3.0release notes

  • Preact adds support for inferring props from component types.

    10.3.0release notes

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

    10.3.0release notes

  • Adds a ScrollArea prop to make the area focusable when it has static children.

    10.3.0release notes

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

    10.3.0release notes

  • Preview release for React enables 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

  • Adds a --glob flag to CSFFactories.

    10.2.4release notes

  • Adds a non-interactive mode to CSFFactories.

    10.2.4release notes

  • A manager API provides story hrefs.

    10.2.0release notes

  • Preview files can use the !manifest tag.

    10.2.0release notes

  • Storybook MCP gains experimental MDX support.

    10.2.0release notes

  • A disable parameter lets projects turn off the interactions panel.

    10.2.0release notes

  • CSF factories are available for Vue, Angular, and Web Components, with Web Components support marked preview.

    10.2.0release notes

  • An experimental React component manifest is available for Storybook MCP.

    10.1.0release notes

  • Exports getPreferredColorScheme to read the user's preferred color scheme.

    10.1.0release notes

  • A components page is added for the experimental React component manifest.

    10.1.0release notes

  • A guided, checklist-based onboarding experience is available for new users.

    10.1.0release notes

  • Typesafe CSF factories are available as a React preview.

    10.0.0release notes

  • Module automocking is included to make testing easier.

    10.0.0release notes

  • Tag filtering supports exclusion and configuration for sidebar management.

    10.0.0release notes

Performance 1

  • Webpack module-mocking plugins perform better.

    10.2.12release notes

Behavior and default changes 30

  • Makes the experimental docgen server the default in angular-vite.

    10.6.0release notes

  • Migration now supports Analog projects by moving them to angular-vite instead of refusing them.

    10.6.0release notes

  • The ESLint plugin bundles CSF helpers, allowing it to load without Storybook installed.

    10.5.10release notes

  • Story routing supports pathless layout routes that have an ID only.

    10.5.2release notes

  • The CLI exits the process after a successful build.

    10.5.0release notes

  • CSF story and meta annotations now allow partial globals overrides.

    10.4.6release notes

  • React support now resolves subcomponents attached as properties of a parent component.

    10.4.3release notes

  • Angular renderer IDs use the Story ID, including for standalone stories.

    10.4.0release notes

  • The component manifest is disabled by default. Users upgrading Storybook with the MCP addon should also upgrade @storybook/addon-mcp to keep the docs toolset in the MCP server.

    10.3.5release notes

  • The CLI prompts for crash reports during initialization.

    10.3.4release notes

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

    10.3.0release notes

  • Vue3-Vite allows paths in the docgen tsconfig option.

    10.3.0release notes

  • Addon Pseudo-States adds support for Tailwind v4.

    10.3.0release notes

  • Updates the default allowed hosts in host validation middleware.

    10.2.16release notes

  • The cache is invalidated when the Storybook version is upgraded.

    10.2.5release notes

  • Addon Vitest supports a simple vite.config without the defineConfig helper.

    10.2.2release notes

  • Storybook honors BROWSER shell scripts before falling back to xdg-open.

    10.2.0release notes

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

    10.2.0release notes

  • Top-level weight and style are supported when next/font/local uses a string src.

    10.2.0release notes

  • The Select control can now be reset.

    10.2.0release notes

  • The Viewports and Zoom UI is improved, with zoom level 8 added and manual input limited to 800%.

    10.2.0release notes

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

    10.2.0release notes

  • The getPrettier function now provides a Prettier interface, giving callers a richer interface to Prettier.

    10.1.4release notes

  • Some restrictions on completing checklist items are dropped.

    10.1.2release notes

  • Experimental React code examples improve the JSX snippets Storybook produces.

    10.1.0release notes

  • Checklist items are collapsed by default, and items for disabled features are hidden.

    10.1.0release notes

  • The normal theme is set according to the user's preference.

    10.1.0release notes

  • Adds range validation in Number Control.

    10.0.6release notes

  • The addon panel can be shown or hidden.

    10.0.0release notes

  • The subtype property on an index input is optional.

    10.0.0release notes

Tooling 46

  • Explicitly types enhanceArgTypes.

    10.6.2release notes

  • Supports Vitest browser tests.

    10.6.1release notes

  • Adds a public CLI command that derives its tools at runtime from the OSA toolsets.

    10.6.0release notes

  • The Angular-Vite peer dependency range now supports TypeScript 6.

    10.5.1release notesrelease notes

  • Introduces experimental AI-curated visual changesets and search results.

    10.5.0release notes

  • Angular model() signal outputs are detected for type inference, Compodoc autodocs, and runtime binding.

    10.4.1release notes

  • The CLI runs this command after initialization for Expo projects.

    10.4.1release notes

  • Framework detection now supports peerDependencies for component libraries.

    10.4.1release notes

  • A new CLI workflow provides AI-assisted Storybook setup and onboarding.

    10.4.0release notes

  • The Vitest addon uses Vitest's provide API to inject values.

    10.4.0release notes

  • Component metadata extraction uses a LanguageService approach, improving component docgen.

    10.4.0release notes

  • React Native projects can use a new initialization setup with zero-config project initialization.

    10.4.0release notes

  • A sharing tool lets developers publish and share a local Storybook with teammates, powered by Chromatic.

    10.4.0release notes

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

    10.3.6release notes

  • ESLint references now use storybook/test instead of the deprecated @storybook/test reference.

    10.3.6release notes

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

    10.3.3release notes

  • Shortens CTA link messages in the CLI.

    10.3.2release notes

  • The repro command uses npm info to fetch versions.

    10.3.1release notes

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

    10.3.0release notes

  • Storybook adds support for ESLint 10.

    10.3.0release notes

  • Addon-Vitest adds support for Vitest canaries.

    10.3.0release notes

  • Storybook adds support for Vite 8.

    10.2.19release notesrelease notes

  • Storybook supports vite-plugin-svelte 7, which supports Vite 8.

    10.2.19release notes

  • Storybook adds support for Next.js 16.2.

    10.2.17release notesrelease notes

  • The CLI sets the STORYBOOK environment variable.

    10.2.14release notes

  • Addon-Vitest supports vite/vitest configuration with deferred exports.

    10.2.6release notes

  • Addon-Vitest setup is supported when this CLI option is passed.

    10.2.6release notes

  • A plugin enforces Storybook's output directory in Vite build configuration.

    10.2.5release notes

  • The Addon-Vitest plugin configuration disables requireAssertions for expect.

    10.2.2release notes

  • Adds init telemetry for CLI integrations.

    10.2.1release notes

  • The CLI detects a free port when starting the development server during initiation.

    10.2.0release notes

  • Nextjs-Vite migration installs vite if it is not already installed.

    10.1.7release notes

  • Docs now support Rolldown bundler module namespace objects.

    10.1.5release notes

  • Solid is now supported by addon-vitest, so developers can use the addon with Solid projects.

    10.1.1release notes

  • Storybook adds support for Angular 21.

    10.1.0release notes

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

    10.1.0release notes

  • The CLI supports installing Storybook with RSbuild.

    10.1.0release notes

  • Updates vite-plugin-rnw for overall improvements.

    10.0.8release notes

  • The Next.js SWC loader supports new wasm detection.

    10.0.7release notes

  • The Vitest addon adds support for Preact.

    10.0.6release notesrelease notes

  • The Next.js Vite internal plugin now supports svgr use cases.

    10.0.5release notes

  • Updates optimizeViteDeps for addon-docs and addon-vitest.

    10.0.2release notes

  • The CLI adds an automigration for addon-console.

    10.0.0release notes

  • SvelteKit supports mocking $app/state.

    10.0.0release notes

  • An open-in-editor feature is available.

    10.0.0release notes

  • Storybook test syntax is added.

    10.0.0release notes

Fixes and other changes 119

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

    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

  • Supports both interpolatePath signatures in the TanStack integration.

    10.6.1release notes

  • Fixes vision simulator color filters in Firefox.

    10.6.1release notes

  • Fixes vitest ERESOLVE errors in fresh Next.js apps.

    10.6.1release notes

  • Stops silently dropping composed refs from MCP composition.

    10.6.0release notes

  • Metadata extraction preserves discriminated union prop values.

    10.5.10release notes

  • Static open-service snapshots are fetched relative to the document.

    10.5.10release notes

  • Preserves the layout id when cloning a standalone index file route.

    10.5.9release notes

  • Renders real link hrefs in the Link mock.

    10.5.9release notes

  • Prevents preview output filenames from becoming too long.

    10.5.9release notes

  • Fixes pseudo-state rewriting for nested functional selectors.

    10.5.9release notes

  • Makes pseudo-state stylesheet rewrites safe for WebKit.

    10.5.9release notes

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

    10.5.9release notes

  • Fixes an Illegal invocation when reading prototype.focus.

    10.5.8release notes

  • Tanstack waits for the router to load before rendering.

    10.5.8release notes

  • Fixes tsconfig selection for React Docgen TypeScript in Vite projects that use project references.

    10.5.8release notes

  • In Angular browser mode, ancestor node_modules are served for addon-vitest.

    10.5.7release notes

  • Docgen is skipped for module IDs carrying a query.

    10.5.6release notes

  • Mock redirects are resolved through Vite's resolver.

    10.5.5release notes

  • Pathful clones now preserve explicit route ids.

    10.5.5release notes

  • Stories now respect component overrides supplied through routeOverrides.

    10.5.5release notes

  • Fixed framework detection for React Native telemetry.

    10.5.5release notes

  • Fixed the dark mode mismatch in the syntax highlighter.

    10.5.4release notesrelease notes

  • Fixes a crash when toggling coverage with Vite 6 by clearing the closed Vitest instance on restart.

    10.5.2release notes

  • Fixes the validator mock for createServerFn in TanStack.

    10.5.2release notes

  • Tanstack-react adds the missing Hydrate export.

    10.5.2release notes

  • Tanstack-react preserves JSX-only component references during dead-code elimination.

    10.5.2release notes

  • Mixed CSF3+4 stories no longer get core annotations injected twice.

    10.4.5release notes

  • Adds a timeout to telemetry event-log POST requests to prevent builds from hanging.

    10.4.4release notes

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

    10.4.3release notes

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

    10.4.3release notes

  • Docs pages no longer reset their scroll position when re-rendered by HMR.

    10.4.3release notes

  • Fixes CSF parsing of string literal export names.

    10.4.2release notes

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

    10.4.2release notes

  • Vue 3 clears stale args and globals when nextArgs is empty.

    10.4.0release notes

  • Global background and color styles no longer affect stories incorrectly.

    10.3.6release notes

  • Already transformed config files are skipped during CSF factory processing.

    10.3.4release notes

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

    10.3.4release notes

  • Fixes duplicate preview loading in Vitest for CSF4.

    10.3.4release notes

  • The addon-a11y status transition timer is cleared on unmount to prevent test flake.

    10.3.4release notes

  • Builder-Vite uses a djb2 hash to prevent variable name collisions.

    10.3.4release notes

  • Fixes the WebSocket connection for StackBlitz and WebContainers.

    10.3.4release notes

  • Fixes Vite 8 support for React Native Web.

    10.3.2release notes

  • Prevents a story-local viewport from persisting in the URL.

    10.3.1release notes

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

    10.3.0release notes

  • Fixes error reporting in the Storybook manager error boundary.

    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 ConfigFile parser false warning for a definePreview({...}).type<T>() export default.

    10.2.16release notes

  • Updates refs sequentially in experimental_setFilter.

    10.2.15release notes

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

    10.2.15release notes

  • React manifest snippet generation now handles the render identifier.

    10.2.15release notes

  • The UI no longer crashes when tag filters contain undefined entries.

    10.2.14release notes

  • Fixes ESLint 10 compatibility in the plugin's rules.

    10.2.13release notes

  • Addon pseudo-states now process nested CSS rules.

    10.2.13release notes

  • Fixes accessibility issues involving React Native Web in the CLI.

    10.2.13release notes

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

    10.2.13release notes

  • Story viewport globals are prioritized without polluting user globals.

    10.2.13release notes

  • The Vite builder prevents configuration duplication.

    10.2.13release notes

  • Fixes the Addon-Vitest postinstall a11y installation.

    10.2.11release notes

  • The Next.js Link mock component now handles the legacyBehavior prop.

    10.2.11release notes

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

    10.2.11release notes

  • Manifests now use the correct story name.

    10.2.11release notes

  • Fixes the Next.js Link component override when using appDirectory configuration.

    10.2.9release notes

  • Addon-Vitest improves config file detection in monorepos, helping Storybook find the appropriate configuration.

    10.2.9release notes

  • Builder-Vite uses a relative path for the mocker entry in production builds.

    10.2.9release notes

  • The codemod now handles cross-file story imports.

    10.2.7release notes

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

    10.2.7release notes

  • The --loglevel setting is now honored for npmlog output.

    10.2.7release notes

  • Rendering of View Transitions is fixed in Firefox.

    10.2.7release notes

  • Postinstall setup is skipped when configured.

    10.2.6release notes

  • Manager logic uses the base path instead of the full pathname.

    10.2.6release notes

  • Fixes the codemod failing when filenames are quoted.

    10.2.4release notes

  • Fixes glob pattern handling in codemods on Windows.

    10.2.4release notes

  • The CSFFactories codemod preserves leading comments when adding imports.

    10.2.4release notes

  • Fixes Link navigation in Next.js by aliasing AppRouterContext to the shared runtime.

    10.2.4release notes

  • Fixes the CSF-Factories codemod for preview files that have no exports.

    10.2.4release notes

  • Prevents Zod v4 .meta() from being falsely detected as a CSF Factory.

    10.2.4release notes

  • Removes the deprecated active prop warning in ZoomButton.

    10.2.4release notes

  • The addon-vitest automigration normalizes Windows paths.

    10.2.3release notes

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

    10.2.3release notes

  • Composition handles 401 responses using the loginUrl from Chromatic.

    10.2.2release notes

  • Addon Vitest appends the Storybook project to an existing test.projects array without double nesting.

    10.2.2release notes

  • Fixes @vitest/mocker resolution with Builder-Webpack5.

    10.2.1release notes

  • Optional union types are displayed as Select controls rather than objects.

    10.2.0release notes

  • Mount detection works when mount is destructured in the play function body.

    10.2.0release notes

  • Support for react-docgen-typescript in story creation is fixed.

    10.2.0release notes

  • Fixes several CSF factory bugs in React.

    10.1.11release notes

  • Fixes React error 300 on some addons.

    10.1.11release notes

  • Handled v14 compatibility for the draftMode import in Next.js.

    10.1.10release notes

  • Fixed .env-file parsing.

    7.6.21 … 10.1.10release notesrelease notesrelease notesrelease notes

  • Fixes a missing await in automigration.

    10.1.7release notes

  • Excludes open from pre-bundling so local xdg-open is reachable.

    10.1.7release notes

  • The body is made inert when the manager is focus-trapped.

    10.1.6release notes

  • Fixes a keyboard navigation bug for the reset option.

    10.1.6release notes

  • Non-existing shortcuts are no longer displayed on the settings page.

    10.1.6release notes

  • Addon-Vitest isolates error reasons during postinstall, so installation errors are isolated.

    10.1.5release notes

  • Fixes React Native template copying during init.

    10.1.5release notes

  • The image alias now uses fileURLToPath for better resolution.

    10.1.4release notes

  • Angular dev and build commands now honor --logfile.

    10.1.3release notes

  • Angular dev and build commands now honor --loglevel.

    10.1.3release notes

  • Checklist state changes are reported differently, making their state updates work correctly.

    10.1.2release notes

  • The UI was overhauled to fix hundreds of accessibility issues, including keyboard access for the search clear button and ARIA fixes.

    10.1.0release notes

  • Fixes custom-elements.json not being loaded for WebComponents.

    10.0.8release notes

  • Fixes React Native Reusables and NativeWind support in React Native Web.

    10.0.8release notes

  • ESLint applies csf-strict rules only to stories files.

    10.0.7release notes

  • Fixes the CSF export interface declaration for NextPreview.

    10.0.6release notes

  • Fixes the export interface declaration for ReactMeta.

    10.0.6release 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

  • Updates the rule to account for @storybook/experimental-nextjs-vite.

    10.0.3release notes

  • Improves handling of TypeScript satisfies/as syntaxes.

    10.0.3release notes

  • Fixes an incorrect import to support Yarn PnP.

    10.0.3release notes

  • Fixes glob string formatting in the csf-factories 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

  • Support for Svelte async components is improved.

    10.0.0release notes

storybook 922 changes

Breaking changes 4

Security 3

New APIs and options 3

Tooling 3

Fixes and other changes 9

  • The component export name is validated when creating a story.

    8.6.19, 9.1.21release notesrelease notes

  • Save story names and arg keys are validated as identifiers.

    9.1.21release notes

  • Saving a story is contained to the project root.

    8.6.19, 9.1.21release notesrelease notes

  • Fixes Storybook CLI project creation for Next.js projects in empty directories.

    9.1.16release notes

  • Fixes the play-fn tag for methods.

    9.1.14release notes

  • Automatically fixes bad PostCSS configuration for NextJS-Vite.

    9.1.11release notes

  • Fixes detection of the Vite builder for React Native Web.

    9.1.11release notes

  • Fixes sb.mock usage when Storybook is deployed in subpaths.

    9.1.11release notes

  • Improves the viewport/backgrounds automigration.

    9.1.11release notes

storybook 84 changes

Security 2

Fixes and other changes 2

  • Arg keys are validated as identifiers when saving a story.

    8.6.19release notes

  • The save story name is validated as an identifier.

    8.6.19release notes