Skip to content

chore(deps): update dependency storybook to v8

Ghost User requested to merge renovate/major-storybook into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
storybook (source) ^8.2.9 -> ^8.3.0 age adoption passing confidence

Release Notes

storybookjs/storybook (storybook)

v8.3.0

Compare Source

Fresh out of the oven! Storybook 8.3 brings you:

  • First-class Vitest integration to run stories as component tests
  • 🔼 Next.js-Vite framework for Vitest compatibility and better DX
  • 🗜️ Further reduced bundle size for a smaller install footprint
  • 🌐 Experimental Story globals to standardize stories for themes, viewports, and locales
  • 💯 Hundreds more improvements
List of all updates

v8.2.9

Compare Source

v8.2.8

Compare Source

v8.2.7

Compare Source

v8.2.6

Compare Source

v8.2.5

Compare Source

v8.2.4

Compare Source

v8.2.3

Compare Source

v8.2.2

Compare Source

v8.2.1

Compare Source

v8.2.0

Compare Source

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

v8.1.11

Compare Source

v8.1.10

Compare Source

v8.1.9

Compare Source

v8.1.8

Compare Source

v8.1.7

Compare Source

v8.1.6

Compare Source

v8.1.5

Compare Source

v8.1.4

Compare Source

v8.1.3

Compare Source

v8.1.2

Compare Source

v8.1.1

Compare Source

v8.1.0

Compare Source

Storybook 8.1 is here with a tone of new features and bug fixes:

  • 🏷️ Static tag-based filtering
  • 🦺 Type-safe, standards-based module mocking
  • 🐣 New beforeEach test hook
  • 🧳 Portable Stories API for Playwright Component Testing
  • 🐕‍🦺 Support the new signal-based input & output functions in Angular
  • 2️⃣ Two new ways to create stories: generating them from story controls or from your components directly!
List of all updates

v8.0.10

Compare Source

v8.0.9

Compare Source

v8.0.8

Compare Source

v8.0.7

Compare Source

v8.0.6

Compare Source

v8.0.5

Compare Source

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

Storybook 8.0 is here

It brings major improvements to Storybook's feature set for testing and documentation, with strengthened framework support across React, Vue, Angular, web-components, Svelte, and more.

  • 🩻 Built-in visual testing
  • ️ React Server Component support
  • 🎛️ Improved controls for React and Vue projects
  • ️ Improved Vite architecture, Vitest testing, and Vite 5 support
  • 🧪 2-4x faster Storybooks for testing
  • Refreshed desktop UI
  • 📲 Rebuilt mobile UX
  • 🙅‍♀️ No more React requirement in non-React projects

Please checkout our Migration Guide to upgrade from earlier versions of Storybook. To see a comprehensive list of changes that went into 8.0, you can refer to the 8.0 prerelease changelogs.

v7.6.20

Compare Source

v7.6.19

Compare Source

7.6.19

  • Fix bad release of 7.6.18 containing wrong dependency identifiers, thanks @​jreinhold!

v7.6.18

Compare Source

7.6.18

v7.6.17

Compare Source

v7.6.16

Compare Source

v7.6.15

Compare Source

This release accidentally didn't contain anything.

v7.6.14

Compare Source

v7.6.13

Compare Source

v7.6.12

Compare Source

v7.6.11

Compare Source

v7.6.10

Compare Source

v7.6.9

Compare Source

v7.6.8

Compare Source

v7.6.7

Compare Source

v7.6.6

Compare Source

v7.6.5

Compare Source

v7.6.4

Compare Source

v7.6.3

Compare Source

v7.6.2

Compare Source

v7.6.1

Compare Source

v7.6.0

Compare Source

Storybook 7.6 is here with increased performance and much more!

  • 🔥 Improved SWC support
  • 🧪 New test utilities and fast build mode
  • 🔼 NextJS SWC + avif support & fixes
  • 🤡 SvelteKit page and navigation mocking
  • ️ React-docgen upgrade
  • 🎨 Controls a11y, background theming, and viewports
  • 🩺 CLI: The doctor is in!
  • 🚫 Addons: Remove React as a peer dependency
  • 🪦 Storyshots and Vue2 deprecated
List of all updates

v7.5.3

Compare Source

7.5.3

v7.5.2

Compare Source

v7.5.1

Compare Source

v7.5.0

Compare Source

Storybook 7.5 enhances your Storybook experience with several key updates:

  • 💃🏼 Now supports Lit 3.0 and Vite 5
  • 👻 storiesOf and storyStoreV6 officially deprecated
  • 🔨 Fix Webpack5 build errors not being propagated
  • 🀄 Support rename font import for Next.js
  • ️ Upgrade react-docgen to 6.0.x and improve argTypes
  • Many Angular improvements such as introducing argsToTemplate , new schema debugging options, support for standalone directives, etc.
List of all updates

v7.4.6

Compare Source

v7.4.5

Compare Source

v7.4.4

Compare Source

v7.4.3

Compare Source

v7.4.2

Compare Source

v7.4.1

Compare Source

v7.4.0

Compare Source

v7.3.2

Compare Source

v7.3.1

Compare Source

v7.3.0

Compare Source

v7.2.3

Compare Source

v7.2.2

Compare Source

v7.2.1

Compare Source

v7.2.0

Compare Source

This month, we're going to experiment with our launch cycle by making smaller but more frequent releases. Our goal is to bring you new features more quickly, while also smoothing the upgrade process.

Storybook 7.2 is the first of these new, faster releases:

v7.1.1

Compare Source

v7.1.0

Compare Source

Storybook 7.1 is here! 🎉

For a better upgrade experience, please use one of the following commands:

npm or yarn 1: npx storybook@latest upgrade

pnpm: pnpm dlx storybook@latest upgrade

yarn berry: yarn dlx storybook@latest upgrade

v7.0.27

Compare Source

v7.0.26

Compare Source

v7.0.25

Compare Source

v7.0.24

Compare Source

v7.0.23

Compare Source

v7.0.22

Compare Source

v7.0.21

Compare Source

v7.0.20

Compare Source

Bug Fixes
  • Server: Fix .stories.yml support #​22906
  • Docs: Fix Source block snippet updates #​22835
  • Core: Fix indexing errors by excluding node_modules stories #​22873
  • CLI: Fix upgrade notification message #​22933
  • Angular: Add --open/--no-open flag to dev command #​22964
  • Angular: Silence compodoc when running storybook with --quiet #​22957
Maintenance
  • Core: Improve MDX of error in story index #​22782
Build
  • Build: Fix the theme output during development #​22841
  • Revert "Docs: E2E tests for Source block update fix" #​22934

v7.0.19

Compare Source

Bad release

v7.0.18

Compare Source

Bug Fixes
  • Vue3: Fix TS 5.0 compat with vue-component-type-helpers #​22814
  • Vue3: Fix reactive args updates in decorators #​22717
  • Vue3: Revert v7 breaking change, restore reactive v6-compat API #​22692
Build
  • Build: Add more checks to ci:daily workflow #​22815
  • Build: Fix Nextjs E2E tests #​22816
  • Build: Bring back new Vue3 tests to main #​22685

v7.0.17

Compare Source

Bug Fixes

v7.0.16

Compare Source

Accidental no-op

v7.0.15

Compare Source

Bug Fixes

v7.0.14

Compare Source

Bug Fixes
  • Core: Only connect to serverChannel in development mode #​22575
  • CLI: Fix error parsing on NPM proxy #​22690
Maintenance
  • Core: Create server channel from window.location #​22055

v7.0.13

Compare Source

Bug Fixes
  • Angular: Fix process I/O for compodoc command #​22441
  • CLI: Improve error handling when dealing with angular.json files #​22663
  • CLI: Skip prompting for eslint plugin with --yes flag #​22651
  • CLI: Account for windows paths when copying templates #​22644
  • CLI: Fix pnpm init command #​22635
  • UI: Add legacy font formats #​22576
  • Webpack: Remove the alias for global #​22393
Maintenance
  • Angular: Enable unit tests #​22355
  • CLI: Reduce installation noise and improve error handling #​22554
  • CLI: Only handle CTRL + C on init event #​22687
  • CLI: Don't touch nx packages on upgrade #​22419
Build
  • Build: Add discord notification when generating sandboxes fails #​22638
  • Build: Set correct ref on sandboxes Github action #​22625
  • Build: Fix sandbox generation scripts #​22620

v7.0.12

Compare Source

Bug Fixes
  • Core: Fix source snippets for stories with mapped args #​22135
  • CLI: Fix getFrameworkPackage logic #​22559
  • CLI: Remove automigrate reference from init command #​22561
Maintenance
  • CLI: Detach automigrate command from storybook init #​22523

v7.0.11

Compare Source

Bug Fixes
  • Toolbars: Fix title behavior in UI #​22496
  • CLI: Fix storybook upgrade precheckfailure object #​22517
  • CLI: Throw errors instead of rejecting promises #​22515
  • CLI: Remove unsupported frameworks/renderers and improve builder detection #​22492
  • Web-components: Fix source decorator to handle document fragments #​22513
  • Core: Fix windows path error in StoryStore v6 #​22512
  • CLI: Do not show a migration summary on sb init #​22109
  • UI: Show current search shortcut in search box sidebar #​21619
  • Outline: Fix additional outline border in docs mode #​21773
  • Measure: Deactivate when switching to Docs mode #​21602
  • CSF: Expose story id in composeStories #​22471
  • CLI: Prompt to force initialization when storybook folder is detected #​22392
  • UI: Fix css inconsistency in Button and Icon components #​22497

v7.0.10

Compare Source

Bug Fixes
  • CLI: Fix copyTemplate failures on init #​22375
  • CLI: Fix server init #​22443
  • CLI: Scope styles in sample components from the CLI templates #​22162
  • React: Use correct default annotations for composeStories #​22308
  • Server: Add json indexer #​22460
  • UI: Fix opacity from list-item color #​22074
Maintenance
  • CLI: Refactor package manager methods to be async #​22401
  • Improve Error message for Angular.json file not found #​22377

v7.0.9

Compare Source

Bug Fixes
  • Core: Fix virtual modules excluded for babel-loader #​22331
Maintenance
  • Angular: Allow TypeScript 4.0.0 and 5.0.0 #​22391

v7.0.8

Compare Source

Bug Fixes
  • Typescript: Fix bad typings caused by tsup bug #​22261
  • Migrate: skip the automigration for gf markdown when user isn't using mdx #​22186
  • UI: Addon panel does not update after disabling/enabling an addon #​22258
  • Vue3: Fix compiler error when there is double tag #​22286
  • Args: Fix multiple mapped args return array of labels #​22169
  • CLI: Add web-components webpack5 to missing-babelrc automigration #​22202
  • Docs: Fix inline story style #​21870
  • UI: Fix shift + 7 shortcut to focus search field #​22073
  • UI: Fix controls missing when navigating from story #​21967
  • NextJS: Fix tsconfig resolution #​22160
Maintenance
  • Telemetry: Persist sessionId across runs #​22325
  • Packaging: Move types condition to the front in all package.json.exports maps #​22321
  • Core: Rename manager UI mjs to js #​22247
  • Angular: Add support for Angular 16 #​22096
  • Packaging: Don't generate ESM dist for preset files #​22330
  • Packaging: Fix url for all packages in package.json #​22101
  • Add regex to ignore outdated Browserslist in Jest initialization base file #​22260

v7.0.7

Compare Source

Bug Fixes
  • Core: Pass parameters in SET_INDEX for docs entries #​22154
  • Addon-actions: Fix ESM by upgrading from uuid-browser to uuid #​22037
  • Addon-actions: Fix decorator type #​22175
  • Core: Add new tags to distinguish docs attachment #​22120
  • Core: Restore Docs useParameter using DOCS_PREPARED #​22118
Maintenance
  • CSF: Improve error message for bad default export #​22190
  • CLI: Add addon query-params to list of SB7 incompatible addons #​22095
  • UI: Add remount story shortcut #​21401
Build

v7.0.6

Compare Source

Bug Fixes
  • Core: Fix module guard in non-webpack environments #​22085
Maintenance
  • CLI: Mark qwik as using addon-interactions #​22000
Build
  • Build: Upgrade Playwright to 1.32.3 #​22087

v7.0.5

Compare Source

Bug Fixes
  • Docs: Fix source snippets when parameters.docs.source.type = 'code' #​22048
  • CLI: Mention how to setup a monorepo manually in babelrc automigration #​22052
  • UI: Fix upgrade command in about page #​22056
  • CLI: Fix CLI sandbox command #​21977

v7.0.4

Compare Source

Storybook 7.0 is here! 🎉

See our Migration guide to upgrade from earlier versions of Storybook.

Bug Fixes
  • CLI: Catch errors thrown on sanity check of SB installs #​22039
Dependency Upgrades
  • Addon-docs: Remove mdx1-csf as optional peer dep #​22038

v7.0.3

Compare Source

Bug Fixes
  • React: Fix default export docgen for React.FC and forwardRef #​22024
  • Viewport: Remove transitions when switching viewports #​21963
  • CLI: Fix JsPackageManager typo #​22006
  • Viewport: Fix the defaultOrientation config option #​21962
  • UI: Fix story data access for broken About page #​21951
  • Angular: Fix components disappearing on docs page on property change #​21944
  • React: Don't show decorators in JSX snippets #​21907
  • Addon-docs: Include decorators by default in source decorators #​21902
  • CLI: Fix npm list command #​21947
  • Core: Revert Emotion :first-child (etc) workarounds #​21213
Maintenance
  • UI: Add remount story shortcut #​21401
  • Telemetry: Add CLI version to context #​21999
  • CLI: Update template code references to 7.0 #​21845
  • Addon-actions: Fix non-included type file #​21922
  • Addon GFM: Fix node-logger dependency #​21938
Dependency Upgrades
  • React-vite: Fix perf regression by pinning vite-plugin-react-docgen-ts #​22013
  • Update @emotion/cache version #​21941

v7.0.2

Compare Source

v7.0.1

Compare Source

Bad release

v7.0.0

Compare Source

Storybook 7.0 is here! 🎉

See our Migration guide to upgrade from earlier versions of Storybook.

Full announcement and proper release to the latest npm tag coming soon. 😘

v6.5.16

Compare Source

Bug Fixes
  • Angular: Fix handling of docsMode option in angular builder #​20608
  • Angular: Fix webpackStatsJson types in angular-builder #​20296
Dependency Upgrades
  • Security: Upgrade json5 dependency #​20526

v6.5.15

Compare Source

Bug Fixes
  • Support Angular 15.0.4 #​20287
  • CLI: execute automigrations when pressing enter in the prompts #​20208

v6.5.14

Compare Source

Bug Fixes
  • Angular: Fix "webpack_require.nmd is not a function issue" in Angular 15 #​20043
  • CLI/React native: Fix addons template to import register instead of manager #​19620
Maintenance
  • Core: Patch preview-web and refs to support React Native #​19975
Dependency Upgrades
  • Upgrade loader-utils to 2.0.4 in storysource and source-loader #​19891

v6.5.13

Compare Source

Bug Fixes
  • Telemetry: Send start/build events even when there is no generator #​19507
  • Telemetry: Fix inconsistent debug #​19509
  • Addon-docs: Pass remarks plugins to mdx loader #​18740
  • Angular: Alias decorateStory as applyDecorators #​19189

v6.5.12

Compare Source

Bug Fixes
  • React: Fix issue with react 18 implementation #​19125

v6.5.11

Compare Source

Bug Fixes
  • CLI: Fix race condition in sb init #​19083
  • Core: Fix WebProjectAnnotations export in preview-web for back-compat #​19048
  • Addon-interactions: Fix IE support by replacing array includes #​18993
  • Vue: Fix enum check in extractArgTypes #​18959
  • React: Fix callback behavior in react@18 #​18737
  • Store: always call composeConfigs in setProjectAnnotations #​18916
  • Telemetry: improve addon extraction logic #​18868
  • Addon-docs: Check for undefined before reading property in extractArgTypes.ts #​18710nance

v6.5.10

Compare Source

Maintenance
  • Interactions: Run conditionally based on query param #​18706
  • Components: Re-bundle the syntax highlighter #​18425
  • Svelte: Make svelte-loader optional dependency #​18645
  • Theming: Replace references to themes.normal with themes.light #​17034
Bug Fixes
  • HTML: Fix missing ability to set docs.extractArgTypes #​18831
  • CLI: Throw error on failure in sb init #​18816
  • CLI: Hook up the npm7 migration #​18522
  • Preview: Ensure docs container re-renders when globals change #​18711
  • Toolbars: Fall back to name if both title and icon are not specified #​17430
  • CLI: Fix addons register in RN template #​18693
  • CLI: Fix detection of type: module when initializing storybook #​18714
  • CLI/Svelte: Always create main with cjs extension #​18648
  • Fix typo in CSS pseudo selector #​17708
  • UI: Fix sidebar a11y by moving aria-expanded attribute to button #​18354
  • CLI: Add npm7 migration for legacy peer deps #​18510
  • UI: Fix display skip to sidebar button #​18479
  • Core: Fix process is not defined when using components #​18469
Dependency Upgrades

v6.5.9

Compare Source

Bug Fixes
  • Core: Fix process is not defined when using components (#​18469)
  • Story index: Warn on storyName in CSF3 exports (#​18464)
  • Telemetry: Strip out preset from addon name (#​18442)
Maintenance
  • Angular: Support Angular 14 standalone components (#​18272)
  • UI: Update manager to respect parameters.docsOnly in stories.json (#​18433)

v6.5.8

Compare Source

Bug Fixes
  • UI: Disable Emotion warnings about unsafe pseudo-selectors in SSR (#​18361)

v6.5.7

Compare Source

Bug Fixes
  • Preview: Default select to viewMode story (#​18370)
  • CLI: Add support for angular/cli@14.0.0 (#​18334)
  • Vue/Vue3: Fix decorators in StoryStoreV7 (#​18375)
Maintenance
  • Fix lint warnings in PreviewWeb tests (#​18369)

v6.5.6

Compare Source

Bug Fixes

v6.5.5

Compare Source

Bug Fixes
  • CSF: Fix auto-title crash on file ID and show warning (#​18307)
  • CLI: Fix open in browser doesn't work in WSL (#​18305)
  • CLI: Fix automigration scripts (#​18302)
Maintenance
  • CLI: Improve texts for automigration (#​18303)
Dependency Upgrades

v6.5.4

Compare Source

Bug Fixes
  • Webpack5: Apply named exports order logic for stories only (#​18284)
  • Core: Use correct framework version in telemetry (#​18285)
Maintenance
  • Examples: fix jest 27 in angular e2e modern inline rendering config (#​18274)

v6.5.3

Compare Source

Bug Fixes
  • Revert "security: update x-default-browser" (#​18270)

v6.5.2

Compare Source

Bug Fixes
  • Core: Fix get-monorepo-type when no package.json at repo root (#​18259)
Dependency Upgrades
  • security: update x-default-browser (#​18157)

v6.5.0

Compare Source

Storybook 6.5 is here!! 🎉🎉🎉

SB6.5 adds new testing and design review workflows while improving core performance and compatibility.

  • 🤖 Interaction testing simulate interactions and run assertions in the browser
  • 🎨 Figma plugin to connect stories to variants
  • 🏎Webpack 5 lazy compilation for faster start up
  • Vite builder for near instant rebuilds
  • 💯 Hundreds more fixes and quality of life improvements

More info in the Github issue Storybook 6.5 Release 👟. Release announcement coming soon!!!

v6.4.22

Compare Source

Maintenance
  • Core: Avoid framework imports from core/client (#​17875)

v6.4.21

Compare Source

Bug Fixes
  • Angular: Do not use default for includePaths (#​17876)
  • Controls: Fix date control width in addons panel (#​17780)
  • CLI: Preserve quote style in automigrate (#​17858)
  • CLI: Update the exclude list for upgrade warnings (#​17909)

v6.4.20

Compare Source

Bug Fixes
  • CLI: Fix vite/jest issue with mocked global (#​17830)
  • Angular: Fix multiple calls of Input setter (#​17633)
  • Web-components: Fix CSS class usage in CLI template (#​17702)
  • UI: Fix composition support in safari (#​17679)
  • Addon-docs: DocsPage story order should match the index (#​17669)
  • Core: Fix core.builder check (#​17606)
Maintenance
  • CLI: Add automigration to @storybook/builder-vite (#​17829)

v6.4.19

Compare Source

Features
  • CLI/React: Add interactions to cli template (#​17345)
  • CLI/Angular: Add interactions to cli template (#​17437)
Bug Fixes
  • Core/CLI: Add extract function to PreviewWeb and use it in sb extract if available (#​17447)
  • Core: Ensure we show an error when configure() throws (#​17435)
  • Core: Fix useParameter with nullish coalescing (#​17327)
  • Addon-links: Fix export statement in react.d.ts (#​17434)
  • Addon-docs: Fix typo in ArgsTable tooltip (#​17404)

v6.4.18

Compare Source

Bug Fixes
  • CLI: Pin version of @mdx-js/react to 1.x.x until we are compatible (#​17395)

v6.4.17

Compare Source

Bug Fixes
  • Revert "Angular: Retrieve version from core package" (#​17372)

v6.4.16

Compare Source

Bug Fixes
  • Angular: Workaround for compodoc on windows machines (#​17334)
  • Angular: Use ɵReflectionCapabilities to find component & module metadata (#​17156)
  • Angular: Retrieve version from core package (#​17363)

v6.4.15

Compare Source

Bug Fixes
  • Angular: Fix runCompodoc for Windows, local Compodoc, and user specified tsconfig (#​16728)
  • Core: Fix negated glob support (#​17328)
Maintenance
  • Build: Upgrade main yarn (#​17323)
  • CLI: Add version update argument to generate-sb-packages-versions utility (#​17356)

v6.4.14

Compare Source

Bug Fixes
  • CLI: Add --no-manager-cache to build-storybook (#​17300)
  • CSF3: Remove path from autoTitle browser code (#​17185)
  • Addon-docs: Fix docs.disable parameter on DocsPage (#​17256)
  • Core: Fix issue with recursive glob with prior special chars (#​17252)
  • Webpack: Fix for process fallback using require.resolve (#​17249)
Dependency Upgrades
  • Upgrade compodoc for colors.js bug (#​17266)
  • Upgrade jscodeshift dependency for colors.js bug (#​17265)
  • Restore prettier >= 2.2.1 to satisfy previous constraints (#​17257)

v6.4.13

Compare Source

Bug Fixes
  • Core: Fix staticDirs favicon handling by refactor (#​17241)
  • Angular: Fix 13.1 and add CI test cases (#​17206)
  • Core: Fix __namedExportsOrder warning from preview.js (#​17240)
  • Webpack5: Fix manager.js process references (#​17213)
Dependency Upgrades

v6.4.12

Compare Source

Bug Fixes
  • Angular: Fix for renamed method in angular 13.1 (#​17032)

v6.4.10

Compare Source

Bug Fixes
  • Core: Fix process.env assignment (#​17174)
  • Angular: Fix angular 13.1 JIT error and HMR reload (#​17131)
  • Router: Fix navigating to hash links (#​17134)
  • Source-loader: Fix node.declaration edge case (#​17027)
  • Core: Fix debug output on webpack failures (#​16988)
Dependency Upgrades
  • Bump cli-table3 to fix colors bug (#​17180)

v6.4.9

Compare Source

Bug Fixes
  • Core: Ensure we have a full story index before caching (#​16947)
  • Angular: Fix support for non-roman alphabets in story titles (#​16931)
  • Core: Be explicit about viewMode to fix Vue issue (#​16919)
  • Core: Remove unused and occluded types (#​16917)

v6.4.8

Compare Source

Bug Fixes
  • Core: Fix auto-title in webpack5 (#​16913)
  • CLI: Fix sb repro clobbering .vuerc (#​16897)
Maintenance
  • Core: Add feature flag to disable legacy hierarchy separator warning (#​16915)

v6.4.7

Compare Source

Bug Fixes

v6.4.5

Compare Source

Bug Fixes
  • Angular: Fix tsConfig paths not resolving for Angular >=12.2 (#​16882)
  • Addon-docs: Fix transclusion crash on webpack rules without test field (#​16873)
Dependency Upgrades

v6.4.4

Compare Source

Bug Fixes
  • CLI: Fix mainjsFramework automigrate (#​16866)

v6.4.3

Compare Source

Bug Fixes
  • Don't render with modernInline if inlineStories is false (#​16853)
  • Preview: Don't hide the story while preparing (#​16850)

v6.4.2

Compare Source

Bug Fixes
  • UI: Ensure all classes+animations for our loaders are prefixed (#​16815)
  • Angular: Add back-compat method to find options (styles) in angular.json (#​16832)

v6.4.1

Compare Source

Bug Fixes
  • Core: Fix packageName check in build-dev (#​16823)
  • CSFFile: Fix function exports (#​16829)
Maintenance
  • Fix handle-release-branches workflow (#​16801)

v6.4.0

Compare Source

Storybook 6.4 is here!! 🎉🎉🎉

SB6.4 adds interaction testing and performance re-architecture ahead of a huge 7.0 release.

  • Interactive stories to simulate user behavior and tools to debug it
  • On-demand architecture for smaller builds and faster load times
  • Automigrate + versioned documentation for easier upgrades
  • 📋 Linter to enforce Storybook best practices
  • 💯 Hundreds more fixes and quality of life improvements

More info in the Github issue Storybook 6.4 Release 🛠. Release announcement coming soon!!!

v6.3.13

Compare Source

Dependency Upgrades
  • Bump cli-table3 to fix colors bug (#​17180)

v6.3.12

Compare Source

Bug Fixes
  • CLI: Force sb upgrade to use latest version of npm-check-updates (#​16336)

v6.3.11

Compare Source

Bug Fixes
  • CLI: Fix CRA version detection crash (#​16308)

v6.3.10

Compare Source

Bug Fixes
  • CLI: Don't upgrade preset-create-react-app if react-scripts < 5 (#​16255)

v6.3.9

Compare Source

Maintenance
  • CLI: Add webpack5 builder to CRA5 sb init (#​16194)

v6.3.8

Compare Source

Maintenance
  • Core: Write JSON stats file in streaming fashion and omit chunks for brevity (#​15889)

v6.3.7

Compare Source

Fix bad publish of 6.4.0-alpha.27 to the latest tag

v6.3.6

Compare Source

Bug Fixes
  • CLI: Fix debug webpack output in static build (#​15674)
  • CSF3: Fix custom render function (#​15668)

v6.3.5

Compare Source

Bug Fixes
  • Controls: Don't set arg in validateOptions if it would be undefined (#​15654)
  • Trailing comma handling for "-s" command line paramenter (#​15615)
  • Controls: Fix color matching behavior for non-string types (#​15549)
  • Composition: Fix refs ordering (#​15527)

v6.3.4

Compare Source

Maintenance
  • Addon-docs: Cache DocsContext on window to prevent duplication (#​15428)

v6.3.3

Compare Source

Bug Fixes
  • Webpack5: Quit process after finishing a static build (#​15483)
  • Addon-docs/Angular: Fix numeric args default value handling (#​15491)
  • Angular: Fix circular reference not being handled in moduleMetadata (#​15410)
  • Core: Fix double rebuilds by removing aggregateTimeout (#​15372)
  • CLI: Fix NPM typo (#​15461)

v6.3.2

Compare Source

Bug Fixes
  • Essentials: Update measure and outline. Fix alt+tab issues on windows. (#​15402)
  • Core: Fix decorator context update (#​15408)
  • Revert "Vue3: Update args without re-mounting component" (#​15409)
  • Upgrade bad release of react-docgen-typescript-plugin (#​15432)

v6.3.1

Compare Source

Bug Fixes
  • Core: Only use dotenv-webpack when a user has a dotenv file (#​15365)
  • Essentials: Update addon measure and outline (#​15354)
  • Actions: Don't override existing action args (#​15394)
  • Svelte: Fix argType.type.name extraction (#​15332)
  • CSF3: Genericize feature flagging and fix webpack5 (#​15375)
  • Webpack5: Fix warnings typo (#​15374)
  • UI: Fix navigation after no story error (#​15349)
  • CSF3: Rename setup to play (#​15358)
  • Upgrade dotenv-webpack to 7.0.x (#​15343)

v6.3.0

Compare Source

Optimized for UI development

SB6.3 adds new UI development and testing features, while evolving with the JS ecosystem:

  • 📐 Layout debugging with Measure and Outline addons
  • 🔌 Reuse your stories in unit tests: Jest, Cypress & more
  • 🚀 Frameworks: Angular 12 Ivy, Lit2 web components
  • 🛠 Builders: Webpack5 stable, Vite community
  • 📦 Packaging: Modern ESM

It also contains hundreds more fixes, features, and tweaks. Browse the changelogs matching 6.3.0-alpha.*, 6.3.0-beta.*, and 6.3.0-rc.* for the full list of changes. See Storybook 6 migration guide to upgrade from 5.x or MIGRATION.md for detailed migration instructions.

v6.2.9

Compare Source

Bug Fixes
  • Angular: set the @​ViewChild with a non-empty value in StorybookWrapperComponent (#​14586)
  • Addon-docs: Fix ArgsTable sorting when using of={Component} (#​14669)
  • Server: Fix string escaping in CSF compiler (#​14615)
Maintenance
  • Examples: Move from placehold.it to place-hold.it for mock images (#​14637)

v6.2.8

Compare Source

Bug Fixes
  • CLI: Properly detect vuetify3 (#​14552)
  • Core: Fix build config inconsistency (#​14566)

v6.2.7

Compare Source

Bug Fixes

v6.2.6

Compare Source

Bug Fixes
  • Core: Allow string in object arg and support fractional numbers in URL args (#​14511)
  • UI: Skip duplicate storyId breaking sidebar (#​14502)

v6.2.5

Compare Source

Bug Fixes
  • Core: Don't include args param in docs mode URL (#​14494)
  • Core: Restore previewHead/Body presets (#​14500)
  • Controls: Reset ArgsTable state when switching stories (#​14493)
Dependency Upgrades
  • Revert "Upgrade dotenv-webpack to v6" (#​14501)

v6.2.4

Compare Source

Dependency Upgrades

v6.2.3

Compare Source

Bug Fixes
  • Core: Fix file-loader options for ESM compat (#​14480)
  • Core: Fix config.js-based configuration (#​14479)
Maintenance
  • Core: Disable postcss warning, add main.js features setting (#​14478)

v6.2.2

Compare Source

Bug Fixes
  • Core: Fix symlinks in static dir when building static Storybook (#​14448)
  • Addon-docs/ArgsTable: Use storySort parameter (#​14422)
  • Revert "Svelte - Fix async loaders and docs" Fix #​14443 (#​14444)
  • Addon-docs/Angular: Keep inlineStories to false by default (#​14447)
Maintenance

v6.2.1

Compare Source

Fix bad version update message from #​12183

v6.2.0

Compare Source

Storybook 6.2: Future-proof component development

Major improvements for new frameworks, package managers, and bundlers.

🚀 Frameworks: Vue 3, Svelte Native CSF 📦 Packaging: NPM 7, Yarn 2, ESM 🛠 Bundlers: Webpack 5 (experimental), pluggable bundlers to enable Vite, ESBuild, Snowpack, & more.

Also an overhaul of Storybook’s auto-generated controls and hundreds more fixes, features, and tweaks.

Browse the changelogs matching 6.2.0-alpha.*, 6.2.0-beta.*, and 6.2.0-rc.* for the full list of changes. See Storybook 6 migration guide to upgrade from 5.x or MIGRATION.md for detailed migration instructions.

v6.1.21

Compare Source

Bug Fixes
  • IE11: Transpile prettier down to ES5 (#​14047)
  • CLI: Add --legacy-peer-deps for NPM7 install (#​14106)
  • SyntaxHighlighter: Safely access clipboard on global.navigator (#​14035)

v6.1.20

Compare Source

  • Deps: upgrade react-dev-utils to get newer immer (#​14015)

v6.1.19

Compare Source

Bug Fixes
  • Components: Add missing regenerator-runtime dependency (#​13991)

v6.1.18

Compare Source

Bug Fixes
  • UI: Fix theming for focused search bar (#​13895)
  • Storyshots: Support main.js usage (#​13842)

v6.1.17

Compare Source

Bug Fixes
  • CLI: Fix opening localhost in browser by default (#​13812)

v6.1.16

Compare Source

Bug Fixes
  • Addon-docs/Svelte: Fix component name in docgen-loader (#​13760)
  • UI: Fix copy to clipboard for insecure deployments (#​13777)

v6.1.15

Compare Source

Bug Fixes
  • Svelte: Fix duplicate story preview (#​13663)
  • Angular: Properly handle empty tsconfig compilerOptions (#​13596)
Maintenance
  • Angular: Use Nx function to read non-angularCli configs (#​13558)
Dependency Upgrades
  • Bump @​types/reach__router version (#​13703)

v6.1.14

Compare Source

Bug Fixes

v6.1.12

Compare Source

Bug Fixes
  • Addon-docs: Fix link not working cross origin (#​13022)
  • Addon-docs: Resolve babel-loader from storybook/core (#​13607)

v6.1.11

Compare Source

Bug Fixes
  • UI: Fix null ref in sidebar (#​13423)
  • Addon-docs: Handle svelte docgen failures gracefully (#​13386)
Dependency Upgrades

v6.1.10

Compare Source

Bug Fixes
  • CLI: Fix stories path in Introduction.stories.mdx (#​13368)
  • UI: Fix display of custom brand image (#​13355)
  • Storyshots: Fix missing done attribute on type definition (#​13341)
  • Addon-docs: ArgTypes optional on Meta (#​13352)
Dependency Upgrades
  • Addon-storyshots: Add React as peer dependency (#​13343)

v6.1.9

Compare Source

Bug Fixes
  • Addon-backgrounds: Fix grid offset always using default value (#​13260)
  • UI: Fix keybindings on non-US keyboard layouts (#​13319)
  • Addon-Docs: Handle class attributes in Dynamic Source Rendering for Vue.js (#​13327)

v6.1.8

Compare Source

Bug Fixes
  • Core: Fix preview URL dropped hashes (#​13308)
  • Core: Fix template script tag support (#​13271)
  • Addon-docs: Fix Vue source snippets for function attributes (#​13288)
  • Components: Fix Zoom for IE11 (#​13302)
  • React: Don't add FastRefresh if already enabled (#​13303)
  • CLI: Fix storybook-deployer upgrade warning (#​13306)
Maintenance
  • React: Expose StorybookConfig types (#​13309)
  • React: Fix unit tests for react preset (#​13315)

v6.1.7

Compare Source

Bug Fixes
  • CLI: Fix not printing managerTotalTime when using cached manager (#​13294)
  • Core: Only apply express.json() middleware to /runtime-error route (#​13295)
  • Core: Don't use prebuilt or cached manager when running smoke test (#​13266)
  • Core: Detect arg inference for cyclic args and warn (#​13263)
Dependency Upgrades

v6.1.6

Compare Source

Bug Fixes
  • Addon-controls: Fix ensureDocsBeforeControls support for paths (#​13204)
  • CLI: Add core-js to Preact generator (#​13138)
  • Core: Improve handling of --static-dir option (#​13245)
  • Core: Fix webpack5 compatibility check for ProgressPlugin (#​13239)

v6.1.5

Compare Source

Bug Fixes
  • Core: Resolve react and react-dom from core (#​13195)

v6.1.4

Compare Source

Bug Fixes
  • Core: Clear manager cache on runtime error (#​13230)

v6.1.3

Compare Source

Bug Fixes
  • Core: Replace 'trash' with 'fs.remove' (#​13211)
  • UI: Fix overflow scrolling on layout:centered (#​13217)
  • CLI: Don't install babel for CRA (#​13220)
  • Addon-docs: Fix lineheight in typeset component (#​13205)

v6.1.2

Compare Source

Bug Fixes
  • Storyshots: Fix beforeScreenshot and afterScreenshot return types (#​13198)
  • UI: Target only IE10/IE11 for our CSS vertical centering hack (#​13192)

v6.1.1

Compare Source

Bug Fixes
  • Addon-backgrounds: Fix grid disable (#​13175)

v6.1.0

Compare Source

Storybook 6.1 is the first in a series of performance-oriented Storybook releases. It includes:

6.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching 6.1.0-alpha.*, 6.1.0-beta.*, and 6.1.0-rc.* for the full list of changes. See Storybook 6 migration guide to upgrade from 5.3 or earlier.

v6.0.28

Compare Source

Bug Fixes
  • CLI: Disable DLL by default in template (#​12954)

v6.0.27

Compare Source

Bug Fixes
  • CLI: Fix intro MDX for React17 (#​12878)
  • Core: Disable Docs DLL by default (#​12874)
  • Essentials: Fix absolute config dir (#​12873)
  • Addon-controls: Fix "docs before controls" check (#​12738)
  • Addon-knobs: Fix uncontrolled to controlled warning for booleans (#​12719)
Dependency Upgrades
  • Upgrade babel-plugin-react-docgen (#​12748)

v6.0.26

Compare Source

Bug Fixes
  • Addon-docs: Fix exotic React components in Source block (#​12638)

v6.0.25

Compare Source

Bug Fixes
  • CLI: Workaround for react native sb init (#​12405)

v6.0.24

Compare Source

v6.0.23

Compare Source

v6.0.22

Compare Source

Bug Fixes
  • Addon-docs: Change 2nd argument of transformSource to the storyContext (#​12265)
  • Angular: Unsubscribe prop subscriptions (#​12514)
  • React: Fix reactDocgen option when false (#​12492)
  • CLI: Fix storiesof-to-csf codemod for TypeScript (#​12453)
  • Addon-docs: Fix missing line-height on TypeSet block (#​12134)
  • Core: Use the denormed params on the first story for initial options (#​11938)
Maintenance
  • Build: Disable problematic story in Chromatic (#​12457)
Dependency Upgrades
  • [Security] Bump node-fetch from 2.6.0 to 2.6.1 (#​12448)

v6.0.21

Compare Source

Bug Fixes
  • Addon-controls: Fix uncontrolled to controlled warning for booleans (#​12322)
Maintenance

v6.0.20

Compare Source

Bug Fixes
  • ArgsTable: Fix union type splitting (#​11868)
  • CLI: Fix import of Button in react mdx template (#​12252)

v6.0.19

Compare Source

Bug Fixes
  • UI: Fix eject and copy URLs for composition (#​12233)

v6.0.18

Compare Source

Bug Fixes
  • UI: Fix disable parameter to hide addon panel (#​12171)
  • Addon-controls: Fix controls from args (#​12230)
Dependency Upgrades
  • Mithril: Add Mithril v2.0.0 to peer dependencies (#​12229)

v6.0.17

Compare Source

Bug Fixes
  • Addon-essentials: Log info on config override (#​12211)
Maintenance
  • Build: Remove outdated CLI tests (#​12207)
Dependency Upgrades
  • Source-loader: Pin prettier to 2.0.x version (#​12226)

v6.0.16

Compare Source

Bug Fixes
  • Addon-docs: Fix Vue ArgsTable sanitizing of item.type.elements to item.type.value (#​12165)

v6.0.15

Compare Source

Bug Fixes
  • Addon-docs: Fix ArgsTable union type handling in Vue/TS (#​12158)
  • Addon-docs: Fix inline rendering for DOM nodes in HTML (#​12164)
Maintenance
  • React: Simplify component type for CSF typing (#​12110)

v6.0.14

Compare Source

Bug Fixes
  • Addon-docs: Fix MDX IDs from CSF imports (#​12154)
  • Addon-viewport: Add preset to fix windows import (#​12148)
  • Composition: Verify refs in node (#​12085)
Maintenance
  • Build: Update and optimize circleCI Config (#​12118)

v6.0.13

Compare Source

Bug Fixes
  • Source-loader: Fix default exports of type TSAsExpression (#​12099)
  • Addon-docs: Fix source code for Template.bind({}) in MDX (#​12107)
  • Addon-A11y: Fix manual run & timeline (#​12003)
  • Core: Add frameworkPath to options to support custom frameworks (#​12087)

v6.0.12

Compare Source

Bug Fixes
  • Angular: Make CLI templates compatible with TS strict mode (#​12081)
  • React: Fix CSF component typing (#​12072)
  • ArgsTable: Fix styles to allow long text to wrap (#​11818)
  • Addon-docs: Fix main check for absolute config dirs (#​12057)

v6.0.11

Compare Source

v6.0.10

Compare Source

Bug Fixes
  • Addon-controls: Fix argType inference priority (#​12048)

v6.0.9

Compare Source

Bug Fixes
  • Addon-docs: Fix CSF names importing in MDX (#​12044)
Maintenance
  • ArgsTable: Error when subcomponents is an array (#​12033)

v6.0.7

Compare Source

Bug Fixes
  • Addon-docs: Fix extractArgTypes for unknown component (#​12012)
Maintenance
  • UI:pdate upgrade command in about section (#​11934)
  • Build: Remove documentation scripts and fix README (#​12015)
Dependency Upgrades
  • Bump jest-specific-snapshot to v4 (#​11939)

v6.0.6

Compare Source

Bug Fixes
  • CLI: Fix upgrade to warn when no packages found (#​11993)
  • Addon-docs: Fix blocks type export (#​11987)
  • CLI: Fix RN link (#​11973)

v6.0.5

Compare Source

Bug Fixes
  • CLI: Fix welcome links on Introduction MDX (#​11949)

v6.0.4

Compare Source

Bug Fixes
  • Source-loader: Fix .add detection (#​11920)

v6.0.3

Compare Source

Bug Fixes
  • Essentials: Fix missing toolbars addon (#​11910)

v6.0.2

Compare Source

Bug Fixes
  • CLI: Fix csf-hoist-story-annotations codemod for variable default exports (#​11895)

v6.0.1

Compare Source

Bug Fixes
  • Core: Fix support for main.ts/preview.ts files (#​11885)
  • Addon-docs: Fix ArgsTable regression (#​11889)

v6.0.0

Compare Source

Storybook 6.0 is here!

Key features:

6.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching 6.0.0-alpha.*, 6.0.0-beta.*, and 6.0.0-rc.* for the full list of changes. See MIGRATION.md to upgrade from 5.3 or earlier.

v5.3.22

Compare Source

Dependency Upgrades
  • Bump cli-table3 to fix colors.js bug in 5.3 (#​17182)

v5.3.21

Compare Source

Bug Fixes
  • Core: Add skip dispose option to ClientApi (#​9868)

v5.3.20

Compare Source

Bug Fixes
  • React-native server: Fix addon tabs (#​10468)
  • Addon-docs: Fix babel JSX handling in MDX (#​11448)
  • Revert "Fix: Search stories" (#​10916)

v5.3.19

Compare Source

Bug Fixes
Security
  • Upgrade markdown-to-jsx to 6.11.4 (#​10873)

v5.3.18

Compare Source

Bug Fixes
  • Core: Fix manager assets to be routed in express (#​9646)
  • Storyshots: Fix MDX transform (#​10223)
  • Addon-docs: Restore IE11 compat on Windows by transpiling acorn-jsx (#​9790)
  • Addon-docs: Ensure visibility of links within prop descriptions (#​10210)

v5.3.17

Compare Source

Bug Fixes
  • Components: Change react-syntax-highlighter from esm to cjs (#​9780)

v5.3.15

Compare Source

Bug Fixes
  • Core: Disables html-webpack-plugin's option to remove script tag types (#​10042)
  • Addon-actions: Style ActionLogger to preserve whitespace (#​10046)
Maintenance
  • CI: Fix GitHub unit test workflow (#​9971)
Dependency Upgrades
  • Security: Remove usage of a vulnerable version of serialize-javascript (#​10071)

v5.3.14

Compare Source

Bug Fixes
  • Centered: remove typesVersions attribute (#​9907)
  • Props: Fix typescript unspecified default value (#​9873)
  • Core: Use telejson for websockets channel (#​9867)
  • Storyshots: Fix support for jsx/tsx config files (#​9834)
  • MDX: Fix custom classes getting stripped (#​8897)
  • Typescript: Add downlevel dts for 3.5 (#​9847)

v5.3.13

Compare Source

Bug Fixes
  • React: Remove MiniCssExtractPlugin for CRA (#​9759)
Maintenance
  • Build: Fix DLL generation race condition (#​9770)

v5.3.12

Compare Source

Bug Fixes
  • Core: Fix dev server error - back out bad change (#​9753)

v5.3.11

Compare Source

Bug Fixes
  • Svelte: Fix Svelte 3 slots for decorators (#​9724)
  • CLI: Fix file path for Button story (#​9325)
  • Angular: Emit decorator metadata by default (#​9701)
  • Storyshots: Fix config via main.ts (#​9577)
Maintenance
  • Cra-ts-kitchen-sink: Fix stories glob pattern (#​9706)

v5.3.10

Compare Source

Bug Fixes
  • Core: Upgrade min-css-extract-plugin to fix SASS loading (#​9652)
  • CRA: Fix jsconfig support (#​9324)
  • Web-components: Fix default value for docs prop table (#​9655)
  • Web-components: Fix types to play nicely with lit-element (#​9557)
  • UI: Add support for className prop on Form.Field (#​9665)
  • Addon-storyshots: Remove excess slashes from jest transform warning (#​9616)
Maintenance
  • Ember: Migrate to new "import { hbs } from 'ember-cli-htmlbars'" (#​9633)
  • Build: Netlify for examples again (#​9585)
  • Publish: Remove docs to reduce package size (#​9612)

v5.3.9

Compare Source

Bug Fixes
  • Addon-docs: Revert breaking source indentation fix (#​9609)

v5.3.8

Compare Source

Bug Fixes
  • Addon-docs: Fix TS false default value in prop table (#​9560)
  • Addon-knobs: Fix broken repo link in empty panel (#​9530)
  • Typescript: Export IStory in @storybook/angular (#​9097)
  • Fixed Angular button example story (#​9540)
  • Clean usage of @types/webpack-env dep in all packages (#​9536)

v5.3.7

Compare Source

Bug Fixes
  • Node-logger: Move @types/npmlog to dependencies (#​9538)
  • Core: Fix legacy story URLs (#​9545)
  • Addon-docs: Convert default prop value to string (#​9525)
  • Addon-docs: Preserve Source indentation by default (#​9513)

v5.3.6

Compare Source

Bug Fixes
  • Source-loader: Bypass if file has no exports (#​9505)
  • Core: Fix default sorting of docs-only stories (#​9504)

v5.3.5

Compare Source

Bug Fixes
  • Core: Fix typo for loading addon-notes/register-panel (#​9497)
  • Source-loader: Add imports to top of file (#​9492)

v5.3.4

Compare Source

Bug Fixes
  • Core: Fix presets register panel (#​9486)
  • Core: Fix addon/preset detection for local addons (#​9485)
  • Core: Fix default story sort (#​9482)

v5.3.3

Compare Source

Bug Fixes
  • UI: Fix edge case where only one legacy separator is defined (#​9425)
  • Core: Preserve kind load order on HMR when no sortFn is provided (#​9424)
  • Angular: Fix missing architect properties (#​9390)
  • Addon-knobs: Fix null knob values in select (#​9416)
  • Source-loader: Disable linting altogether (#​9417)

v5.3.2

Compare Source

Bug Fixes
  • Source-loader: Disable eslint entirely for generated code (#​9410)

v5.3.1

Compare Source

Bug Fixes
  • Core: Fix generated entry to import at top of file (#​9398)

v5.3.0

Compare Source

Storybook 5.3 is here!

Key features:

5.3 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching 5.3.0-alpha.*, 5.3.0-beta.*, and 5.3.0-rc.* for the full list of changes. See MIGRATION.md to upgrade from 5.0 or earlier.

v5.1.11

Compare Source

Bug Fixes
  • Core: Add polyfill for fetch (#​7401)
  • Core: Revert "Fix #​7167 addon-centered causes component to disappear when zooming" (#​7750)

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 MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading