ℹ️ Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @storybook/react (source) | ^8.4.0 → ^10.2.8 | ||||
| @storybook/react-vite (source) | ^8.4.0 → ^10.2.8 | ||||
| storybook (source) | ^8.4.0 → ^10.2.8 |
Release Notes
storybookjs/storybook (@​storybook/react)
v10.2.8
- Telemetry: Add Expo metaframework - #33783, thanks @copilot-swe-agent!
- Telemetry: Add init exit event - #33773, thanks @valentinpalkovic!
- Telemetry: Add share events - #33766, thanks @ndelangen!
- Test: Update event creation logic in user-event package - #33787, thanks @valentinpalkovic!
v10.2.7
- CSF: Fix cross-file story imports in csf-factories codemod - #33723, thanks @yatishgoel!
- Core: Fix rendering of View Transitions in Firefox - #33651, thanks @ghengeveld!
- Globals: Repair dynamicTitle: false for user-defined tools - #33284, thanks @ia319!
- Logger: Honor --loglevel for npmlog output - #33776, thanks @LouisLau-art!
v10.2.6
- Addon-Vitest: Skip postinstall setup when configured - #33712, thanks @valentinpalkovic!
- Addon-Vitest: Support vite/vitest config with deferred export - #33755, thanks @valentinpalkovic!
- CLI: Support addon-vitest setup when --skip-install is passed - #33718, thanks @valentinpalkovic!
- Manager: Update logic to use base path instead of full pathname - #33686, thanks @JSMike!
v10.2.5
- Angular: fix --loglevel options in docs and descriptions - #33726, thanks @theRuslan!
- Builder-Vite: Add plugin to enforce Storybook's output directory in Vite build configuration - #33740, thanks @valentinpalkovic!
- Core: Invalidate cache on Storybook version upgrade - #33717, thanks @copilot-swe-agent!
v10.2.4
- CSF-Factories: Fix codemod for preview files without exports - #33673, thanks @kasperpeulen!
- CSF: Fix false positive detection of Zod v4 .meta() as CSF Factory - #33666, thanks @kasperpeulen!
- CSFFactories: Add non-interactive mode and --glob flag - #33648, thanks @kasperpeulen!
- CSFFactories: Preserve leading comments when adding imports - #33645, thanks @kasperpeulen!
- Codemod: Fix csf-2-to-3 failing due to quoted filenames - #33646, thanks @kasperpeulen!
- Codemod: Fix glob pattern handling on Windows - #33714, thanks @kasperpeulen!
- Manager: Remove deprecated
activeprop warning in ZoomButton - #33697, thanks @yatishgoel! - Next.js: Alias AppRouterContext to shared runtime to fix Link navigation - #33419, thanks @pallaprolus!
v10.2.3
- Addon-Vitest: Normalize Windows paths in addon-vitest automigration - #33340, thanks @tanujbhaud!
- Core: Fix
previewHrefwhen current path does not end with a slash - #33647, thanks @ghengeveld!
v10.2.2
- Addon Vitest: Support simple vite.config without defineConfig helper - #33694, thanks @valentinpalkovic!
- Addon-Vitest: Append Storybook project to existing test.projects array without double nesting - #33708, thanks @valentinpalkovic!
- Addon-Vitest: Update Vitest plugin configuration to disable requireAssertions for expect - #33693, thanks @valentinpalkovic!
- Composition: Handle 401 responses with loginUrl from Chromatic - #33705, thanks @kasperpeulen!
- Telemetry: Add agent detection - #33675, thanks @valentinpalkovic!
v10.2.1
- Builder-Webpack5: Fix @vitest/mocker resolution issue - #33315, thanks @valentinpalkovic!
- CLI: Add init telemetry for CLI integrations - #33603, thanks @shilman!
v10.2.0
Improved UI and story authoring ergonomics
Storybook 10.2 contains hundreds of fixes and improvement including:
- 💅 New Viewports and Zoom UI
- 🏭 Typesafe CSF factories for Vue, Angular, Web Components (preview)
- 📄 MDX support for Storybook MCP (experimental)
List of all updates
- Addon-A11y: Lock vision filter dropdown for stories with
visionglobal - #33599, thanks @ghengeveld! - Addon-Docs: Add MDX manifest generation - #33408, thanks @copilot-swe-agent!
- Addon-Docs: Skip
!autodocsstories when computing primary story - #32712, thanks @ia319! - Addon-Pseudo States: Fix stylesheet rewrite for
:not()with parenthesis in inner selector - #33491, thanks @ghengeveld! - Addon-Vitest: Added timeout for fetching localhost 6006 during global setup. - #33232, thanks @snippy4!
- Addon-Vitest: Fallback detecting vitest version in postinstall - #33415, thanks @ndelangen!
- Addon-Vitest: Improve error message in testing widget modal - #33481, thanks @yannbf!
- Addon-Vitest: Improve perf & fix loading incorrect
.envfile - #33469, thanks @ndelangen! - CLI: Detect free port when running dev during initiate - #33532, thanks @ndelangen!
- CLI: Remove any return type of getAbsolutePath - #32977, thanks @nzws!
- CLI: Skip vitest transform for CSF Factories in a11y-addon-test automigration - #31941, thanks @mrginglymus!
- Codemod: Fix glob string to only match stories files - #33592, thanks @JReinhold!
- Controls: Allow resetting the Select control - #33289, thanks @Sidnioulz!
- Controls: Fix displaying as object instead of select for optional union types - #33200, thanks @tanujbhaud!
- Controls: Force object control JSON mode to reset - #33330, thanks @Sidnioulz!
- Core and Vite: Use story index as source of truth for Vite paths - #30612, thanks @JReinhold!
- Core: Add
getStoryHrefsmanager API and add hotkey for "open in isolation" - #33416, thanks @ghengeveld! - Core: Add global error boundary for Manager UI - #33211, thanks @copilot-swe-agent!
- Core: Add support for wrapped components in component transformer - #33578, thanks @yannbf!
- Core: Add try-catch for cross-origin access in Storybook hooks - #33448, thanks @ndelangen!
- Core: Add zoom level 8 and limit manual input to 800% - #33561, thanks @ghengeveld!
- Core: Avoid late layout shift and improve ChecklistWidget perceived performance - #33184, thanks @ghengeveld!
- Core: Ensure /project.json route is up before builders serve local FS - #33303, thanks @Sidnioulz!
- Core: Fix
react-docgen-typescriptsupport in story creation - #33586, thanks @yannbf! - Core: Fix Checklist behavior with hidden sidebar - #33556, thanks @ghengeveld!
- Core: Fix cwd handling for negated globs - #33241, thanks @ia319!
- Core: Fix Date input layout - #33595, thanks @ghengeveld!
- Core: Fix import statement for
react-docgen-typescript- #33589, thanks @yannbf! - Core: Fix input width - #33591, thanks @ghengeveld!
- Core: Fix manual zoom input field UX - #33581, thanks @ghengeveld!
- Core: Fix onboarding visual bugs, survey telemetry and modal dismissal - #33326, thanks @ghengeveld!
- Core: Fix play function
mountdetection when destructuring in the function body - #33367, thanks @ghengeveld! - Core: Fix viewport args handling and reset option - #33560, thanks @ghengeveld!
- Core: Honor BROWSER shell scripts before xdg-open - #33292, thanks @robbchar!
- Core: Improve addon sanitization - #33554, thanks @yannbf!
- Core: Improve path handling in arg types data extraction - #33536, thanks @yannbf!
- Core: Improve the story generation experience - #33259, thanks @yannbf!
- Core: Redesign and refactor Viewports tool - #33290, thanks @ghengeveld!
- Core: Refactor channel initialization - #33520, thanks @yannbf!
- Core: Render sidebar toggle on settings pages - #33501, thanks @ghengeveld!
- Core: Retry
writeFilecache when EBUSY error occurs - #32981, thanks @reduckted! - Core: Support defineConfig when setting up ESLint plugin - #32878, thanks @copilot-swe-agent!
- Core: Support disabling Checklist widget through feature config - #33430, thanks @ghengeveld!
- Core: Track vision simulator state through globals and apply styles in preview - #33418, thanks @ghengeveld!
- Core: Use canonical links in sidebar and menu - #33400, thanks @Sidnioulz!
- Core: Viewport UX fixes - #33557, thanks @ghengeveld!
- Core: Zoom tool reimplementation - #33375, thanks @ghengeveld!
- CSF-Factories: Add CSF Factories for Vue3, Web Components, and Angular - #33365, thanks @kasperpeulen!
- CSF-Factories: Allow kebab-case HTML attribute names in web components args - #33526, thanks @kasperpeulen!
- CSF-Factories: Export WebComponentsTypes and VueTypes - #33521, thanks @kasperpeulen!
- CSF-Factories: Skip non-factory exports instead of throwing error - #33550, thanks @kasperpeulen!
- CSF: Export type to prevent
type cannot be named-errors - #33216, thanks @unional! - Dependencies: Bump various packages - #33412, thanks @ndelangen!
- Dependencies: Update
baseline-browser-mapping- #33576, thanks @ndelangen! - Docgen: Update extraction of React docgen - #33598, thanks @ndelangen!
- Docs-Blocks: Fix broken tooltip in ArgValue details - #33264, thanks @Sidnioulz!
- Docs: Ensure CodePanel hooks are called within component - #33162, thanks @mrginglymus!
- Interactions: Add disable parameter for interactions panel - #33368, thanks @jeevikar14!
- Interactions: Fix state reset bug when switching stories with date mocks - #33388, thanks @Sidnioulz!
- Manager: Ensure reset item only appears in globals toolbar when specified - #33276, thanks @mrginglymus!
- Manager: Fix system query parameters being overridable - #33535, thanks @JReinhold!
- Manifests: Add support for summaries in MDX files - #33475, thanks @JReinhold!
- Manifests: Refactor from
componentManifestGeneratorto extensiblemanifestspreset property - #33392, thanks @JReinhold! - Manifests: Support
!manifesttag in preview files - #33406, thanks @JReinhold! - NextJS: Import
next/distwith.js-extension for ESM compat - #33380, thanks @yue4u! - NextJS: Support top-level weight/style in next/font/local with string src - #32998, thanks @Chiman2937!
- NextJSVite: Add
@opentelemetry/apitooptimizeDeps- #33577, thanks @ndelangen! - NextJSVite: Update vite-plugin-storybook-nextjs to v3.1.7 - #33351, thanks @valentinpalkovic!
- NextJSVite: Upgrade plugin - #33538, thanks @ndelangen!
- Onboarding: Fix navigation to first story when configure-your-project entry missing - #33559, thanks @copilot-swe-agent!
- Onboarding: Hide TourGuide as soon as tests start - #33587, thanks @ghengeveld!
- Preview: Prevent error in RN due to
navigator?.clipboard- #33219, thanks @ndelangen! - Preview: Treat canceled animations as finished - #32401, thanks @bawjensen!
- React: Use self-closing tag for code snippets - #33342, thanks @valentinpalkovic!
- SvelteKit: Align JS template with TS template - #31451, thanks @brettearle!
- Telemetry: Add
packageJson.type- #33525, thanks @ndelangen! - TypeScript: Fix summary undefined type issue - #32585, thanks @afsalshamsudeen!
- TypeScript: Improve globalTypes type-strictness - #33313, thanks @mrginglymus!
- TypeScript: Reduce
cannot be namederrors - #33344, thanks @icopp! - TypeScript: Support
exactOptionalPropertyTypesfor public API types - #33149, thanks @copilot-swe-agent! - UI: Ensure consistent right padding in TreeNode - #33322, thanks @Sidnioulz!
- UI: Ensure preview error displays use a readable text color - #33580, thanks @Sidnioulz!
- UI: Fix border color for Select picker - #33585, thanks @ghengeveld!
- UI: Fix empty sidebar after navigating from search - #33590, thanks @Sidnioulz!
- UI: Fix regression in select close handler focus - #33470, thanks @Sidnioulz!
- UI: Fix search highlight visibility in High Contrast Mode - #33427, thanks @Maelryn!
- UI: Improve landmark navigation - #33457, thanks @Sidnioulz!
- UI: Keep preview frame stable in overall layout - #33447, thanks @Sidnioulz!
- UI: Make vertical alignment of TestStatusIcon more robust - #33305, thanks @Sidnioulz!
- UI: Prevent primary story from duplicating anchor ID - #33384, thanks @Sidnioulz!
- UI: Prevent updating non-existent stories in sidebar - #33037, thanks @ia319!
- Upgrade: Preserve package.json indentation when upgrading - #32280, thanks @y-hsgw!
- Vue3: Update renderer's setup function to allow passing generic HostElement type - #32029, thanks @DamianGlowala!
- Webpack: Revert "disable
bugfixesproperty in swc and babel - #33498, thanks @ndelangen! - Zoom: Keyboard-shortcut for the
pluskey - #33565, thanks @ndelangen!
v10.1.11
- React: Fix several CSF factory bugs - #33354, thanks @kasperpeulen!
- UI: Fix React error 300 on some addons - #33381, thanks @Sidnioulz!
v10.1.10
- Core: Fix
.env-file parsing - #33383, thanks @JReinhold! - Next.js: Handle v14 compatibility for draftMode import - #33341, thanks @tanujbhaud!
v10.1.9
- Telemetry: Remove instance of check for sub-error handling - #33356, thanks @valentinpalkovic!
v10.1.8
- React-Vite: Update @joshwooding/vite-plugin-react-docgen-typescript - #33349, thanks @valentinpalkovic!
v10.1.7
- Automigrate: Fix missing await - #33333, thanks @valentinpalkovic!
- CLI: Remove REACT_PROJECT projectType - #33334, thanks @valentinpalkovic!
- Core: Exclude open from pre-bundling to make local xdg-open reachable - #33325, thanks @Sidnioulz!
- Nextjs-Vite: Install
viteduring migration if not installed yet - #33316, thanks @ghengeveld! - Telemetry: Fix race condition in telemetry cache causing malformed JSON - #33323, thanks @valentinpalkovic!
v10.1.6
- Manager: Do not display non-existing shortcuts in the settings page - #32711, thanks @DKER2!
- Preview: Enforce inert body if manager is focus-trapped - #33186, thanks @Sidnioulz!
- Telemetry: Await pending operations in getLastEvents to prevent race conditions - #33285, thanks @valentinpalkovic!
- UI: Fix keyboard navigation bug for "reset" option in
Select- #33268, thanks @Sidnioulz!
v10.1.5
- Addon-Vitest: Isolate error reasons during postinstall - #33295, thanks @valentinpalkovic!
- CLI: Fix react native template not copying in init - #33308, thanks @dannyhw!
- Docs: Support Rolldown bundler module namespace objects - #33280, thanks @akornmeier!
v10.1.4
- Core: Enhance getPrettier function to provide prettier interface - #33260, thanks @valentinpalkovic!
- NextJS: Alias image to use fileURLToPath for better resolution - #33256, thanks @ndelangen!
- Telemetry: Cache Storybook metadata by main config content hash - #33247, thanks @valentinpalkovic!
v10.1.3
- Angular: Honor --loglevel and --logfile in dev/build - #33212, thanks @valentinpalkovic!
- Core: Minor UI fixes - #33218, thanks @ghengeveld!
- Telemetry: Add playwright-prompt - #33229, thanks @valentinpalkovic!
v10.1.2
- Checklist: Fix how state changes are reported and drop some completion restrictions - #33217, thanks @ghengeveld!
v10.1.1
- Core: Improve globbing using dynamic CWD (REVERT) - #33201, thanks @ndelangen!
- Solid: Add Solid to the list of supported frameworks for addon-vitest - #33084, thanks @valentinpalkovic!
- UI: Fix excessive height in TabbedArgsTable - #33205, thanks @Sidnioulz!
v10.1.0
Easier to setup, more accessible to use
Storybook 10.1 focuses on two key improvements: installation and accessibility:
- ♿ UI overhaul to fix hundreds of a11y issues
- 🧑💻 CLI overhaul for faster, more reliable install
- ✅ Checklist-based onboarding guide for new users
The release also contains compatibility fixes for:
- 🅰️ Angular 21 support
- 🦀 RSbuild install support in CLI
- ⚡️ Preact support for Vitest addon
Finally, it contains two highly-requested experimental features:
- 📋 Component manifest for Storybook MCP
- ⚛️ Improved JSX code snippets for React
List of all updates
- A11y: Add aria-selected attribute to tab buttons - #32656, thanks @Nischit-Ekbote!
- A11y: Make search clear button keyboard accessible - #32590, thanks @ritoban23!
- Addon-Vitest: Ensure Storybook starts correctly across platforms by using shell in spawn - #33116, thanks @valentinpalkovic!
- Angular: Add preset entry point for framework - #33154, thanks @valentinpalkovic!
- Angular: Add support for v21 - #33098, thanks @valentinpalkovic!
- Angular: Don't kill dev command by using observables - #33185, thanks @valentinpalkovic!
- Angular: Migrate from RxJS to async/await in command builders and run Compodoc utility as spinner - #33156, thanks @valentinpalkovic!
- Angular: Replace deprecated import of ApplicationConfig - #33125, thanks @EtiennePasteur!
- Automigration: Update description and link for addon-a11y-addon-test - #33133, thanks @valentinpalkovic!
- Build: Add Rsbuild-based sandboxes - #33039, thanks @valentinpalkovic!
- Build: Fix async telemetry event sending - #33115, thanks @valentinpalkovic!
- Build: Update dependencies in yarn.lock and clean up comments - #33089, thanks @ndelangen!
- Checklist: Autocomplete "See what's new" on URL navigation - #33167, thanks @ghengeveld!
- Checklist: Data improvements - #33129, thanks @ghengeveld!
- CLI: Change yarn package manager value to yarn1 - #33099, thanks @valentinpalkovic!
- CLI: Fix 'beforeVersion' evaluation for Storybook package - #33141, thanks @valentinpalkovic!
- CLI: Fix access to getOptionValue in postAction hook - #33119, thanks @valentinpalkovic!
- CLI: Fix framework config validation path and messages - #33146, thanks @valentinpalkovic!
- CLI: Fix passing flags for bun users during init - #33166, thanks @valentinpalkovic!
- CLI: Fix Vitest v3 installs and refactor AddonVitestService; align create‑storybook usage - #33131, thanks @valentinpalkovic!
- CLI: In csf-factories codemod only remove types which are unused - #33020, thanks @yannbf!
- CLI: Minor improvements - #33180, thanks @valentinpalkovic!
- CLI: Modernize Storybook CLI with new init workflow, Clack UI, and Generator System - #32717, thanks @valentinpalkovic!
- CLI: Standardize debug log messages across the application - #33123, thanks @valentinpalkovic!
- CLI: Update clack - #33151, thanks @valentinpalkovic!
- CLI: Update compatibility guidance link in summary message - #33117, thanks @valentinpalkovic!
- CLI: Update postAction hook to use command parameter for logfile retrieval - #33137, thanks @valentinpalkovic!
- CLI: Update upgrade message - #33182, thanks @yannbf!
- Core: Fix
getDocsUrlfor canary versions - #33128, thanks @ghengeveld! - Core: Fix testing widget focus outline - #33172, thanks @ghengeveld!
- Core: Improve globbing using dynamic CWD - #32990, thanks @ia319!
- Core: Rename
Listboxcomponent toActionListand use it inTagsFilterPanel- #33140, thanks @ghengeveld! - Core: Significantly improve Storybook's own accessibility - #32458, thanks @Sidnioulz!
- Core: Update
getDocsUrlto add a defaultrefparam and setguideas ref for links in the Guide - #33111, thanks @ghengeveld! - Guide: Collapse checklist items by default - #33160, thanks @ghengeveld!
- Guide: Hide items for which their required feature is disabled (controls, viewport, interactions) - #33113, thanks @ghengeveld!
- Maintenance: Enable syntax minification for dead code elimination - #33001, thanks @mrginglymus!
- Manager: Added tokens and a dark color scheme for status colors - #33081, thanks @MichaelArestad!
- Middleware: Prepend
file://to middlewareimportfor Windows support - #32955, thanks @ndelangen! - Onboarding: Guided tour checklist - #32795, thanks @ghengeveld!
- React: Add isPackage flag to component imports for better package identification - #33090, thanks @kasperpeulen!
- React: Add manifests/components.html page - #32905, thanks @kasperpeulen!
- React: Change examples to stories in manifests and show correct examples and prop types - #32908, thanks @kasperpeulen!
- React: Experimental code examples - #32813, thanks @kasperpeulen!
- React: Implement manifests/component.json for React - #32751, thanks @kasperpeulen!
- React: Improve automatic component, automatic imports, support barrel files and enhance story filtering - #32939, thanks @kasperpeulen!
- React: Improve error handling of component manifest generation - #32855, thanks @kasperpeulen!
- React: Improve error messages in component manifest - #32954, thanks @kasperpeulen!
- React: Improve import rewriting when tsconfig paths are used - #33072, thanks @kasperpeulen!
- Remove yarn esbuild pnp plugin - #33097, thanks @mrginglymus!
- Theming: Set
themes.normalaccording to user preference and exportgetPreferredColorScheme- #28721, thanks @elisezhg! - UI: Add padding for ArgsTable shadow in TabbedArgsTable - #33034, thanks @Sidnioulz!
- UI: Add VRTs to FileSearchModal in light theme - #33022, thanks @Sidnioulz!
- UI: Fix crashes in Select when passed falsy non-string options - #33164, thanks @Sidnioulz!
- UI: Fix regression on addon panel empty content fontsize - #33021, thanks @Sidnioulz!
- UI: Fix trivial RefBlocks ARIA violations - #33026, thanks @Sidnioulz!
- UI: Improve status handling in sidebar nodes - #32965, thanks @yannbf!
- UI: Increase border contrast of Checkbox, Radio, and Range - #33064, thanks @MichaelArestad!
- UI: Refocus search input after clearing it - #33165, thanks @Sidnioulz!
- UI: Rework default background of Color swatch for dark mode - #33023, thanks @Sidnioulz!
- Upgrade: Satellite compatible with 10.1 prerelease - #32877, thanks @ndelangen!
v10.0.8
- React Native Web: Fix react native resuables and nativewind - #33056, thanks @dannyhw!
- React Native Web: Update vite-plugin-rnw for overall improvements - #32991, thanks @dannyhw!
- WebComponents: Fix
custom-elements.jsonnot being loaded - #33045, thanks @ndelangen!
v10.0.7
- ESLint: Only apply csf-strict rules on stories files - #31963, thanks @cylewaitforit!
- Next.js: Update SWC loader to support new wasm detection - #33003, thanks @yannbf!
v10.0.6
- CSF: Fix export interface declaration for NextPreview - #32914, thanks @icopp!
- Controls: Add range validation in Number Control - #32539, thanks @ia319!
- Fix: Export interface declaration for ReactMeta - #32915, thanks @icopp!
- Vitest Addon: Add support for Preact - #32948, thanks @yannbf!
v10.0.5
- Core: Add reentry guard to focus patch - #32655, thanks @ia319!
- Nextjs Vite: Update internal plugin to support
svgruse cases - #32957, thanks @yannbf!
v10.0.4
- CLI: Fix issue with running Storybook after being initialized - #32929, thanks @yannbf!
- CRA: Fix
modulenot defined in ESM - #32940, thanks @ndelangen!
v10.0.3
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.