Packages

storybook

10.6.5 · 27 Oct 2026MIT22.3M / weekRepositoryHomepagenpmAtom feed

Your version

8.2.0

10 Jul 2024Where it was published

8.6.19 is the newest release of 8.x.

In short

13 new15 fixed32 changed12 internal

Security

4 advisories affect 8.2.0; 8.6.19 fixes them

Release note

Hold onto your hats! Storybook 8.2 has dropped, packed with a treasure trove of new features and bug fixes:

  • 🪝 New test hook beforeAll

  • 🕹️ Enhanced play function

  • 📦 Portable stories that let you use your stories in other testing tools

  • 🎁 Consolidated dependency to bring you better performance in a smaller package

  • ✨ Brand new onboarding experience to get you up to speed quicker

  • 💯 Hundreds more improvements

List of all updates

  • Addon Controls: Fix saving on Windows

  • Addon Interactions: Use unique keys when rendering array nodes in panel

  • Addon Onboarding: Add icons for dev/test/doc to the splash screen

  • Addon Onboarding: New design and flow based on Save from Controls

  • Addon Onboarding: Trigger onboarding during init for Vue and Angular projects

  • Addon-A11y: Fix property default assignment

  • Angular: Allow format configuration of custom source preview

  • Angular: Allow outputPath object syntax

  • Angular: Cleanup types

  • Angular: Fix enableProdMode setting

  • Angular: Fix wrong detection of standalone components

  • Angular: Introduce preserveSymlink builder option

  • Angular: Update outputPath default value in angular-cli-webpack.js

  • Babel: Ensure story files not transpiled earlier than ES2017

  • Blocks: Fix reference to storybook core

  • Blocks: Prebundle tocbot

  • CLI: Add --no-dev option to init

  • CLI: Add optional --dev and --no-dev options to storybook init CLI

  • CLI: Add support for Nuxt to project init

  • CLI: Fix CLI always asking all automigrations

  • CLI: Improve error message when fetching CLI version

  • CLI: Include @storybook/addon-svelte-csf when initializing new projects

  • CLI: Prebundle get-npm-tarball-url and @ndelangen/get-tarball

  • Config: Apply JavaScript-only story glob extensions for JavaScript projects

  • Controls: Fix date picker control validation and assignment

  • Controls: Fix grouped Radio controls to have the same name

  • Controls: Throttling makes Color control lagging

  • Core: Add context as a property of the context (self-referencing)

  • Core: Add support for beforeAll hook

  • Core: Fix startup hang caused by watchStorySpecifiers

  • Core: Make sure StorybookError message shows up in browser console and interactions panel

  • Core: Migrate from pkg-dir to fd-package-json

  • Core: Refactor phases to run in order loading -> rendering -> playing

  • Core: Remove more .stories.mdx handling

  • Core: Remove util dependency

  • CPC: Add CJS for core/components

  • CPC: Core Package Consolidation

  • CSF: Automatically extract componentPath

  • CSF: Rename preview.js globals to initialGlobals

  • Dependencies: Allow esbuild version 0.21.x

  • Dependency: Bump Express.js

  • Dependency: Remove node-fetch

  • Docs-tools: Replace doctrine with jsdoc-type-pratt-parser

  • Index: Fix MDX to override project-level autodocs

  • Indexer: Improve locating stories with specials chars in path

  • Next: Set default targets for next babel config

  • Next.js: Set env.bugfixes in SWC so destructuring is never transpiled

  • React: Export ButtonProps and HeaderProps in CLI templates

  • SWC: Set default targets for swc that align with our esbuild targets

  • Telemetry: Stop prompting about crash reports in CI

  • Types: Fix type implementation for CompatibleString

  • Vite: Fix asset warning by externalizing sb-common-assets font

  • Vue3: Enable new hydration mismatch compile time flag

  • Webpack5/Vite: Fix sourcemaps