chore(deps): update dependency storybook to v8
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
storybook (source) | ^8.2.9 -> ^8.3.0 |
Release Notes
storybookjs/storybook (storybook)
v8.3.0
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
- Addon Test: Improve messages and post install script handling - #29036, thanks @yannbf!
- Addon Viewport: Add default options via parameters - #28944, thanks @ndelangen!
- Addon Test: Add experimental vitest integration - #28768, thanks @kasperpeulen!
- Addon Test: Fix error message logic in set up file - #28906, thanks @yannbf!
- Addon Test: Fix indentation of 'vitePluginNext' in generated Vitest config file - #29011, thanks @ghengeveld!
- Addon Test: Fix postinstall file types - #28978, thanks @shilman!
- Addon Test: Fix tests potentially not existing in non-isolate mode - #28993, thanks @yannbf!
- Addon Test: Improve transformation logic to avoid duplicate tests - #28929, thanks @yannbf!
- Addon Test: Set default viewport if applicable - #28905, thanks @yannbf!
- Addon Test: Set screenshotFailures to false by default - #28908, thanks @yannbf!
- Addon Docs: Remove babel dependency - #28915, thanks @shilman!
- Addon Interactions: Fix status in panel tab - #28580, thanks @yannbf!
- Angular: Fix Angular template error for props with a circular reference - #28498, thanks @Marklb!
- Angular: Fix template props not able to use dot notation - #28588, thanks @Marklb!
- Backgrounds/Viewports: Make defaults overridable in
StoryGlobals
-mode - #29025, thanks @JReinhold! - Blocks: Fix scroll to non-ascii anchors - #28826, thanks @SkReD!
- Build: Remove external overrides, use package.json as source of truth - #28632, thanks @kasperpeulen!
- Builder-Vite: Add null character prefix to virtual file IDs - #28863, thanks @valentinpalkovic!
- Builder-Vite: Fix 'condition node never be used' warning - #28989, thanks @valentinpalkovic!
- CLI: Add conditional logging for manager and preview start - #28603, thanks @tobiasdiez!
- CLI: Fix dedent import in package managers - #28980, thanks @shilman!
- CLI: Fix the initialization of Storybook in workspaces - #28699, thanks @valentinpalkovic!
- CLI: Handle Yarn PnP wrapper scenario when adding an addon - #29027, thanks @yannbf!
- CLI: Make PackageJson optional for starting a dev server - #28594, thanks @tobiasdiez!
- CLI: Update spawn options in proxy.ts to support Windows - #28990, thanks @valentinpalkovic!
- Components: Remove external overrides - #28632, thanks @kasperpeulen!
- ConfigFile: Fix
as const satisfies
modifiers - #29000, thanks @shilman! - Controls: Add disableSave parameter - #28734, thanks @valentinpalkovic!
- Core: Add Rsbuild frameworks to known frameworks - #28694, thanks @fi3ework!
- Core: De-duplicate babel use in core - #28972, thanks @ndelangen!
- Core: Fix header for MountMustBeDestructuredError message - #28590, thanks @0916dhkim!
- Core: Fix manager-builder
tsconfig
to emitreact-jsx
- #28541, thanks @williamhelmrath! - Core: Introduce setProjectAnnotations API to more renderers and frameworks - #28907, thanks @yannbf!
- Core: Make sure CJS build always has lowest prio - #28829, thanks @kasperpeulen!
- Core: Move
util
to regular dependency - #29008, thanks @ndelangen! - Core: Split Storybook CLI - #28519, thanks @kasperpeulen!
- Core: Upgrade docs-mdx for smaller install - #28552, thanks @shilman!
- CPC: Add
ESM
export todocs-tools
&node-logger
packages - #28539, thanks @ndelangen! - CPC: Fix missing dependency in
@storybook/addon-interactions
- #28518, thanks @ndelangen! - CPC: Fix type generation - #28507, thanks @ndelangen!
- CPC: Revert renames of panels, addon_ids - #28524, thanks @ndelangen!
- CSF: Allow overridding globals at the story level - #26654, thanks @tmeasday!
- Dependencies: Upgrade
commander
- #28857, thanks @43081j! - Fix: Add header for MountMustBeDestructuredError message - #28590, thanks @0916dhkim!
- Fix: Prevent iframe from capturing mouse events in composed Storybooks - #28568, thanks @Vincentdevreede!
- Maintenance: Add
node:
-prefix to node core-modules - #28860, thanks @ndelangen! - Maintenance: Rename addon-vitest to addon-test - #29014, thanks @yannbf!
- Next.js-Vite: Fix vite plugin exports - #29046, thanks @valentinpalkovic!
- Next.js-Vite: Streamline Next.js dir option - #28995, thanks @valentinpalkovic!
- Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies - #28994, thanks @valentinpalkovic!
- Next.js: Add @storybook/nextjs-vite package - #28800, thanks @valentinpalkovic!
- Next.js: Fix wrong Next.js framework reference - #28992, thanks @valentinpalkovic!
- Next.js: Make RSC portable-stories compatible - #28756, thanks @valentinpalkovic!
- Next.js: Update dependencies - #29052, thanks @valentinpalkovic!
- Nextjs-Vite: Re-export vite-plugin-storybook-nextjs - #29012, thanks @valentinpalkovic!
- Portable Stories: Improve Handling of React Updates and Errors - #29044, thanks @valentinpalkovic!
- React: Avoid 'Dynamic require of react is not possible' issue - #28730, thanks @valentinpalkovic!
- React: Bundle in
lodash
- #28609, thanks @ndelangen! - Svelte: Fix events not being logged in Actions when a story has decorators - #28247, thanks @JReinhold!
- SvelteKit: Introduce portable stories support - #28918, thanks @yannbf!
- SvelteKit/Vue3: Refactor plugin export paths - #29016, thanks @yannbf!
- Telemetry: Add globals stats - #28822, thanks @shilman!
- Telemetry: Add portable stories - #26764, thanks @shilman!
- Test: Fix support for TS < 4.7 - #28887, thanks @ndelangen!
- Test: Rename vitest plugin entrypoint - #29067, thanks @yannbf!
- Test: Upgrade Vitest to v2 - #28788, thanks @yannbf!
- Types: Adjust beforeAll to be non-nullable in NormalizedProjectAnnotations - #28671, thanks @kasperpeulen!
- Types: Update type signatures of objects and functions - #28503, thanks @valentinpalkovic!
- UI: Fix collapse/expand all functionality - #28582, thanks @filipemelo2002!
- UI: Fix conditional hooks usage in sidebar - #28979, thanks @JReinhold!
- UI: Fix sidebar not wrapping - #29055, thanks @JReinhold!
- Vite: Fix HMR - #28876, thanks @ndelangen!
- Vite: Fix missing source map warning - #28984, thanks @valentinpalkovic!
- Vitest: Fix add command - #28975, thanks @ghengeveld!
- Vitest: Fix default viewport - #28943, thanks @kasperpeulen!
- Vitest: Implement add command for vitest addon - #28920, thanks @kasperpeulen!
- Vue: Add missing prop controls when using
vue-component-meta
docgen plugin - #28760, thanks @larsrickert! - Vue: Improve generated code snippets - #27194, thanks @larsrickert!
- Vue3: Add vite plugin for portable stories - #29004, thanks @yannbf!
v8.2.9
- CLI: Fix
init --skip-install
- #28853, thanks @ndelangen! - Telemetry: Disable save-from-controls logs for example stories - #28870, thanks @shilman!
v8.2.8
- CLI: Parse more Yarn Berry errors - #28816, thanks @yannbf!
- Fix: Invariant failed: Expected package.json#version to be defined in the "undefined" package - #28752, thanks @abcdmku!
v8.2.7
- CPC: Fix type usage in renderers - #28745, thanks @ndelangen!
- Core: Introduce run over play in portable stories, and revert back play changes of 8.2 - #28764, thanks @kasperpeulen!
v8.2.6
- CPC: Fix missing exports for addon-kit - #28691, thanks @ndelangen!
v8.2.5
- CPC: Add the globals export for manager - #28650, thanks @ndelangen!
- CPC: Correct path to the
@storybook/theming/create
alias - #28643, thanks @Averethel! - Components: Remove external overrides - #28632, thanks @kasperpeulen!
- Core: Fix header for MountMustBeDestructuredError message - #28590, thanks @0916dhkim!
- Onboarding: Fix code snippet when story name differs from export name - #28649, thanks @ghengeveld!
- Telemetry: Add mount, beforeEach, moduleMock stats - #28624, thanks @shilman!
- Telemetry: CSF feature usage - #28622, thanks @shilman!
v8.2.4
- CLI: Add diagnostic when the
storybook
package is missing - #28604, thanks @kasperpeulen! - CLI: Make a few automigrations run on all version upgrades - #28601, thanks @yannbf!
- CPC: Direct dependencies on shim packages in renderers - #28599, thanks @ndelangen!
v8.2.3
- Bug: Fix invalid docs links in Configure.mdx template page - #28560, thanks @kylegach!
- CLI: Add "missing-storybook-dependencies" automigration - #28579, thanks @yannbf!
- CPC: Add
theming/create
aliases in docs preset - #28570, thanks @ndelangen! - CPC: Fix incorrect re-export in
core-events
- #28573, thanks @ndelangen! - CPC: Fix Vite builder had wrong conditions - #28581, thanks @ndelangen!
- CSF: Fix small typing issue - #28587, thanks @valentinpalkovic!
- Portable stories: Remove unused types - #28548, thanks @kasperpeulen!
- Webpack: Fix sourceMap generation in csf-tools - #28585, thanks @valentinpalkovic!
v8.2.2
- CPC: Add
ESM
export todocs-tools
&node-logger
packages - #28539, thanks @ndelangen! - CPC: Fix missing dependency in
@storybook/addon-interactions
- #28518, thanks @ndelangen! - CPC: Revert renames of panels, addon_ids - #28524, thanks @ndelangen!
v8.2.1
- CPC: Fix type generation - #28507, thanks @ndelangen!
- Types: Update type signatures of objects and functions - #28503, thanks @valentinpalkovic!
v8.2.0
Hold onto your hats! Storybook 8.2 has dropped, packed with a treasure trove of new features and bug fixes:
- 🪝 New test hook
beforeAll
-
🕹 ️ Enhancedplay
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 - #28485, thanks @ghengeveld!
- Addon Interactions: Use unique keys when rendering array nodes in panel - #28423, thanks @yannbf!
- Addon Onboarding: Add icons for dev/test/doc to the splash screen - #28389, thanks @ghengeveld!
- Addon Onboarding: New design and flow based on Save from Controls - #28327, thanks @ghengeveld!
- Addon Onboarding: Trigger onboarding during init for Vue and Angular projects - #28482, thanks @ghengeveld!
- Addon-A11y: Fix property default assignment - #27224, thanks @valentinpalkovic!
- Angular: Allow format configuration of custom source preview - #28305, thanks @64BitAsura!
- Angular: Allow outputPath object syntax - #28144, thanks @valentinpalkovic!
- Angular: Cleanup types - #27189, thanks @valentinpalkovic!
- Angular: Fix enableProdMode setting - #28415, thanks @valentinpalkovic!
- Angular: Fix wrong detection of standalone components - #27353, thanks @dario-baumberger!
- Angular: Introduce preserveSymlink builder option - #28145, thanks @valentinpalkovic!
- Angular: Update outputPath default value in angular-cli-webpack.js - #28418, thanks @valentinpalkovic!
- Babel: Ensure story files not transpiled earlier than ES2017 - #28469, thanks @kasperpeulen!
- Blocks: Fix reference to storybook core - #28422, thanks @yannbf!
- Blocks: Prebundle
tocbot
- #28318, thanks @shilman! - Build: Change require/import order, so that import has higher prio if both are specified - #27730, thanks @kasperpeulen!
- Build: Ignore ts stories in cra/default-js sandbox - #28354, thanks @valentinpalkovic!
- CLI: Add
--no-dev
option toinit
- #26918, thanks @fastfrwrd! - CLI: Add optional
--dev
and--no-dev
options tostorybook init
CLI - #26918, thanks @fastfrwrd! - CLI: Add support for Nuxt to project init - #26884, thanks @tobiasdiez!
- CLI: Fix CLI always asking all automigrations - #28238, thanks @ndelangen!
- CLI: Improve error message when fetching CLI version - #28289, thanks @yannbf!
- CLI: Include
@storybook/addon-svelte-csf
when initializing new projects - #27070, thanks @benmccann! - CLI: Prebundle get-npm-tarball-url and @ndelangen/get-tarball - #28481, thanks @ndelangen!
- Config: Apply JavaScript-only story glob extensions for JavaScript projects - #28338, thanks @valentinpalkovic!
- Controls: Fix date picker control validation and assignment - #26695, thanks @leeovictor!
- Controls: Fix grouped Radio controls to have the same name - #23374, thanks @srapilly!
- Controls: Throttling makes Color control lagging - #22615, thanks @gitstart!
- Core: Add context as a property of the context (self-referencing) - #28353, thanks @kasperpeulen!
- Core: Add support for
beforeAll
hook - #28255, thanks @ghengeveld! - Core: Fix startup hang caused by watchStorySpecifiers - #27016, thanks @heyimalex!
- Core: Make sure StorybookError message shows up in browser console and interactions panel - #28464, thanks @kasperpeulen!
- Core: Migrate from
pkg-dir
tofd-package-json
- #28270, thanks @43081j! - Core: Refactor phases to run in order
loading
->rendering
->playing
- #28431, thanks @kasperpeulen! - Core: Remove more
.stories.mdx
handling - #25973, thanks @JReinhold! - Core: Remove util dependency - #28191, thanks @43081j!
- CPC: Add
CJS
forcore/components
- #28440, thanks @ndelangen! - CPC: Core Package Consolidation - #27039, thanks @ndelangen!
- CSF: Automatically extract componentPath - #24396, thanks @shilman!
- CSF: Rename
preview.js
globals
toinitialGlobals
- #27517, thanks @shilman! - Dependencies: Allow esbuild version 0.21.x - #28245, thanks @edoardocavazza!
- Dependency: bump
markdown-to-jsx
to v7.4.5 - #26694, thanks @xyy94813! - Dependency: Bump Express.js - #26680, thanks @valentinpalkovic!
- Dependency: Remove node-fetch - #28160, thanks @yk-kd!
- Dependency: Upgrade
webpack-virtual-modules
to 0.6.0 - #27102, thanks @fyodorovandrei! - Deps: Migrate from
read-pkg-up
tofd-package-json
- #28272, thanks @43081j! - Docs-tools: Replace
doctrine
withjsdoc-type-pratt-parser
- #26305, thanks @43081j! - Docs: Filter mount stories from
Stories
block, error when referenced in MDX - #28434, thanks @kasperpeulen! - Docs: Fix
Typeset
Doc blockfontSizes
type - #26475, thanks @noranda! - Index: Fix MDX to override project-level autodocs - #28461, thanks @shilman!
- Indexer: Improve locating stories with specials chars in path - #22110, thanks @jankoritak!
- Next: Set default targets for next babel config - #28443, thanks @kasperpeulen!
- Next.js: Set
env.bugfixes
in SWC so destructuring is never transpiled - #28363, thanks @kasperpeulen! - React: Export ButtonProps and HeaderProps in CLI templates - #28487, thanks @valentinpalkovic!
- SWC: Set default targets for swc that align with our esbuild targets - #28435, thanks @kasperpeulen!
- Telemetry: Stop prompting about crash reports in CI - #28433, thanks @yannbf!
- Test: Add args to
mount
in react, svelte, and vue renderers - #28385, thanks @kasperpeulen! - Test: Add mount property to the story context - #28383, thanks @kasperpeulen!
- Test: Enhance the context with canvas when the test package is used - #28368, thanks @kasperpeulen!
- Test: Improve MountMustBeDestructuredError error message - #28468, thanks @kasperpeulen!
- Test: Reactive spies preserve the this instance - #28445, thanks @kasperpeulen!
- Types: Fix type implementation for
CompatibleString
- #27180, thanks @sni-J! - Vite: Fix asset warning by externalizing sb-common-assets font - #27110, thanks @valentinpalkovic!
- Vue3: Enable new hydration mismatch compile time flag - #27192, thanks @Cherry!
- Webpack5/Vite: Fix sourcemaps - #27171, thanks @valentinpalkovic!
v8.1.11
- Telemetry: Detect Node version - #28299, thanks @yannbf!
- Test: Upgrade deps of @storybook/test - #27862, thanks @kasperpeulen!
v8.1.10
- Addon-interactions: Fix deprecation warnings - #28250, thanks @shilman!
- Test: Upgrade deps of @storybook/test - #27862, thanks @kasperpeulen!
v8.1.9
- Addon-a11y: Workaround for Vite 5.3.0 compat - #28241, thanks @shilman!
- CLI: Add
--no-dev
option toinit
- #26918, thanks @fastfrwrd! - CLI: Fix
init --skip-install
- #28226, thanks @shilman!
v8.1.8
- Automigrations: Make VTA "learn more" link clickable - #28020, thanks @deiga!
- CLI: Fix
init --skip-install
- #28226, thanks @shilman!
v8.1.7
- Addon-actions: Only log spies with names - #28091, thanks @kasperpeulen!
- CLI: Fix typo in React Docgen migration - #27536, thanks @jonniebigodes!
- Portable Stories: Add tags to composed story - #27708, thanks @yannbf!
- Test: Display toHaveBeenCalledWith expected / received values on failure - #28088, thanks @kasperpeulen!
v8.1.6
- CLI: Only log the UpgradeStorybookToSameVersionError but continue the upgrade as normal - #27217, thanks @kasperpeulen!
- Core: Replace ip function with a small helper function to address security concerns - #27529, thanks @tony19!
- Tags: Fix unsafe project-level tags lookup - #27511, thanks @shilman!
- Vite: Fix stats-plugin to normalize file names with posix paths - #27218, thanks @AlexAtVista!
v8.1.5
- CSF-Tools: Fix export specifier bug - #27418, thanks @valentinpalkovic!
- Dependency: Upgrade tempy - #27366, thanks @mnigh!
- Tags: Refine composition behavior - #27379, thanks @shilman!
- Theming: Fix self-referencing type - #27155, thanks @SimenB!
v8.1.4
- Angular: Revert style adjustments - #27361, thanks @valentinpalkovic!
- Svelte: Support latest prerelease - #27378, thanks @valentinpalkovic!
- Tags: Fix composition with older storybooks - #27358, thanks @shilman!
- Vite: Fix HMR issue for Storybook preview files - #27256, thanks @valentinpalkovic!
v8.1.3
- Angular: Support v18 - #27237, thanks @valentinpalkovic!
- Telemetry: Add test packages - #27226, thanks @shilman!
v8.1.2
- Angular: Fix filtering of workspace config styles - #27108, thanks @valentinpalkovic!
- Next.js: Avoid interfering with the svgr loader - #27198, thanks @seanparmelee!
v8.1.1
- Telemetry: Detect Node version - #28299, thanks @yannbf!
- Test: Upgrade deps of @storybook/test - #27862, thanks @kasperpeulen!
v8.1.0
Storybook 8.1 is here with a tone of new features and bug fixes:
-
🏷 ️ Static tag-based filtering - 🦺 Type-safe, standards-based module mocking
-
🐣 NewbeforeEach
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
- Addon-actions: Fix falsy args printing as object - 22163 - #26917, thanks @Fatcat560!
- Addon-docs: Fix MDX compilation with
@vitejs/plugin-react-swc
and plugins - #26837, thanks @JReinhold! - Addon-docs: Fix
providerImportSource
extension - #26868, thanks @bashmish! - Addon-docs: Fix
react-dom/server
imports breaking stories and docs - #26557, thanks @JReinhold! - Addon-docs: Support Stencil based display names in source snippets - #26592, thanks @yannbf!
- Addon-docs: Fix
[Object object]
displayName in some JSX components - #26566, thanks @yannbf! - Angular: Add type support for Angular's input signals - #26413, thanks @valentinpalkovic!
- Angular: Add type support for Angular's output signals - #26546, thanks @valentinpalkovic!
- API: Add API access to sidebar renderLabel - #27099, thanks @shilman!
- Args: Add possibility to mark controls as read-only - #26577, thanks @valentinpalkovic!
- Automigrations: Fix name of VTA addon - #26816, thanks @valentinpalkovic!
- Automigrations: Add migration note about new react-docgen default - #26620, thanks @valentinpalkovic!
- Automigrations: Fix missing support for mts vite config - #26441, thanks @drik98!
- Automigrations: Improve react-docgen automigration prompt - #27106, thanks @valentinpalkovic!
- Blocks: Add
of
prop toSubtitle
- #22552, thanks @joaonunomota! - Blocks: Add
of
prop toTitle
- #23728, thanks @Sidnioulz! - CLI: Add --config-dir flag to add command - #26771, thanks @eric-blue!
- CLI: Add --config-dir flag to migrate command - #26721, thanks @yannbf!
- CLI: Add main.js
docs.autodocs
automigration - #27089, thanks @shilman! - CLI: Add Visual Tests addon install auto-migration when upgrading to 8.0.x - #26766, thanks @ndelangen!
- CLI: Automigrate improve upgrade storybook related packages - #26497, thanks @ndelangen!
- CLI: Automigrations copy edits - #26342, thanks @joevaugh4n!
- CLI: Fix eslint configuration for string
extends
- #27097, thanks @shilman! - CLI: Improve Yarn berry error parsing - #26616, thanks @yannbf!
- CLI: Improve
vite-config-file.ts
- #26375, thanks @joevaugh4n! - CLI: Instruct the correct auto-migration command - #26515, thanks @ndelangen!
- CLI: Introduce package manager fallback for initializing Storybook in an empty directory with yarn1 - #26500, thanks @valentinpalkovic!
- CLI: Throw an error when running upgrade command in incorrect cwd - #26585, thanks @yannbf!
- Codemods: Escape filename given as argument - #26430, thanks @YukiKitagata!
- Controls: Add Channels API to search for files in the project root - #26726, thanks @valentinpalkovic!
- Controls: Added server channel to create a new story - #26769, thanks @valentinpalkovic!
- Controls: Add UI to create new story files - #26875, thanks @valentinpalkovic!
- Controls: Fix crashing when docgen extraction partially fails - #26862, thanks @yannbf!
- Controls: Fix disable condition in ArgControl component - #26567, thanks @valentinpalkovic!
- Controls: Fix number controls do not reset - #26372, thanks @jiyiru!
- Core: Add
duration
andonClick
support to Notification API and improve Notification UI - #26696, thanks @ghengeveld! - Core: Drop unneeded
UPDATE_STORY_ARGS
which was for SSv6 - #25993, thanks @tmeasday! - Core: Ensure that simultaneous onStoriesChanged don't clobber each other - #26882, thanks @tmeasday!
- Core: Fix filters not being applied in WebKit - #26949, thanks @JReinhold!
- Core: Fix preloading too early - #26442, thanks @ndelangen!
- Core: Implement file formatter - #26809, thanks @valentinpalkovic!
- Core: Optimize clearNotification - #26415, thanks @ndelangen!
- Core: Save from controls - #26827, thanks @ndelangen!
- CSF: Allow default export without title or component attributes - #26516, thanks @kasperpeulen!
- CSF: Fix typings for control and other properties of argTypes - #26824, thanks @kasperpeulen!
- CSF: Make sure loaders/decorators can be used as array - #26514, thanks @kasperpeulen!
- Dependencies: Upgrade @storybook/csf to 0.1.5 - #26958, thanks @Cherry!
- Dependencies: Upgrade
@joshwooding/vite-plugin-react-docgen-typescript
to0.3.1
- #26673, thanks @joshwooding! - Dependencies: Upgrade
ejs
to3.1.10
- #27054, thanks @RiuSalvi! - Dependencies: Bump es-module-lexer - #26737, thanks @valentinpalkovic!
- Dependencies: Update globby dependency - #26733, thanks @valentinpalkovic!
- Dependencies: Update postcss-loader in Next.js framework - #26707, thanks @valentinpalkovic!
- Doc Tools: Signature Type Error Handling - #26774, thanks @ethriel3695!
- Indexer: Escape special characters in storyImport regex - #22545, thanks @VojGin!
- Maintenance: Fix performance regressions - #26411, thanks @kasperpeulen!
- MDX: Do not transform
http://
links - #26488, thanks @JReinhold! - Next.js: Fix Compatibility with <v14.0.4 - #27082, thanks @JReinhold!
- Next.js: Fix next/font usage on Windows machines - #26700, thanks @valentinpalkovic!
- Next.js: Move sharp into optional deps - #26787, thanks @shuta13!
- Next.js: Support v14.2 useParams functionality - #26874, thanks @yannbf!
- Next.js: Implement next redirect and the RedirectBoundary - #27050, thanks @yannbf!
- Next.js: Support path aliases when no base url is set - #26651, thanks @yannbf!
- Node: Safe use of
document
for preview - #24248, thanks @DylanPiercey! - Onboarding: Improve UI - #27074, thanks @ndelangen!
- Portable stories: Introduce experimental Playwright CT API and Support for more renderers - #26063, thanks @yannbf!
- Portable stories: Make setProjectAnnotations accept multiple types of imports - #26316, thanks @yannbf!
- Portable Stories: Remove link to missing docs - #27075, thanks @JReinhold!
- Portable Stories: Warn when rendering stories without cleaning up first - #27008, thanks @JReinhold!
- React-Docgen: Make sure to be able to handle empty unions - #26639, thanks @kasperpeulen!
- React: Support v19 betas in peer dependencies - #26960, thanks @JReinhold!
- React: Support v19 in
react-dom-shim
- #26898, thanks @Tobbe! - Tags: Add project tags, negation,
dev
/autodocs
/test
system tags - #26634, thanks @shilman! - Tags: Fix missing default tags if no
preview.js
- #27098, thanks @shilman! - Test: Add @storybook/test as dev dependency - #26458, thanks @arnabsen!
- Test: Make spies reactive so that they can be logged by addon-actions - #26740, thanks @kasperpeulen!
- Test: Remove chai as dependency of @storybook/test - #26852, thanks @kasperpeulen!
- Test: Support module mocking with conditional subpath imports in
package.json
- #26688, thanks @kasperpeulen! - Theming: Update emotion dependencies - #26623, thanks @SimenB!
- Typescript: Add types for
experimental-playwright
entries withouttype:bundler
- #27107, thanks @ndelangen! - UI: Add key property to list children in Highlight component - #26471, thanks @valentinpalkovic!
- UI: Fix not re-rendering tabs on state change - #26899, thanks @lifeiscontent!
- UI: Fix panel layout resizing do not apply when done too fast - #26460, thanks @jorge-ji!
- UI: Fix search result color contrast - #26287, thanks @winchesHe!
- UI: Fix sidebar search hanging when selecting a story in touch mode - #26807, thanks @JReinhold!
- UI: Fix theming of elements inside bars - #26527, thanks @valentinpalkovic!
- UI: Improve empty state of addon panel - #26481, thanks @yannbf!
- UI: Replace the icon prop in the Manager API - #26477, thanks @cdedreuille!
- Viewport: Fix missing style - #26530, thanks @jpzwarte!
- Vite: Merge assetsInclude property with Storybook default values - #26860, thanks @yuemori!
- Vue: Disable controls for events, slots, and expose - #26751, thanks @shilman!
- Webpack: Bump webpack-dev-middleware to patch high security issue - #26655, thanks @jwilliams-met!
- Webpack: Fix sourcemap generation in webpack react-docgen-loader - #26676, thanks @valentinpalkovic!
- Webpack: Hide runtime errors - #23175, thanks @donaldpipowitch!
v8.0.10
- MDX: Don't transform
http://
links - #26488, thanks @JReinhold! - React: Support v19 in
react-dom-shim
- #26898, thanks @Tobbe! - Vite: Merge assetsInclude property with Storybook default values - #26860, thanks @yuemori!
v8.0.9
- Addon-docs: Fix MDX compilation when using
@vitejs/plugin-react-swc
with plugins - #26837, thanks @JReinhold! - CSF: Fix typings for control and other properties of argTypes - #26824, thanks @kasperpeulen!
- Controls: Fix crashing when docgen extraction partially fails - #26862, thanks @yannbf!
- Doc Tools: Signature Type Error Handling - #26774, thanks @ethriel3695!
- Next.js: Move sharp into optional deps - #26787, thanks @shuta13!
- Nextjs: Support next 14.2 useParams functionality - #26874, thanks @yannbf!
- Test: Remove chai as dependency of @storybook/test - #26852, thanks @kasperpeulen!
- UI: Fix sidebar search hanging when selecting a story in touch mode - #26807, thanks @JReinhold!
v8.0.8
- Automigration: Fix name of VTA addon - #26816, thanks @valentinpalkovic!
v8.0.7
- CLI: Add Visual Tests addon install auto-migration when upgrading to 8.0.x - #26766, thanks @ndelangen!
- Next.js: Move sharp into optional deps - #26787, thanks @shuta13!
- Vue: Disable controls for events, slots, and expose - #26751, thanks @shilman!
- Webpack: Bump webpack-dev-middleware to patch high security issue - #26655, thanks @jwilliams-met!
v8.0.6
- CLI: Add --config-dir flag to migrate command - #26721, thanks @yannbf!
- Next.js: Fix next/font usage on Windows machines - #26700, thanks @valentinpalkovic!
- Next.js: Support path aliases when no base url is set - #26651, thanks @yannbf!
- Webpack: Fix sourcemap generation in webpack react-docgen-loader - #26676, thanks @valentinpalkovic!
v8.0.5
- Addon-docs: Fix
react-dom/server
imports breaking stories and docs - #26557, thanks @JReinhold! - Automigrations: Fix missing support for mts vite config - #26441, thanks @drik98!
- CLI: Improve Yarn berry error parsing - #26616, thanks @yannbf!
- React-Docgen: Make sure to be able to handle empty unions - #26639, thanks @kasperpeulen!
- Viewport: Fix missing style - #26530, thanks @jpzwarte!
v8.0.4
- Addon Docs: Support Stencil based display names in source snippets - #26592, thanks @yannbf!
- CLI: Instruct the correct auto-migration command - #26515, thanks @ndelangen!
- CLI: Throw an error when running upgrade command in incorrect cwd - #26585, thanks @yannbf!
v8.0.3
- Bug: Remove redundant component check, as we auto-generate titles from the file system - #26516, thanks @kasperpeulen!
- UI: Replace the icon prop in the Manager API - #26477, thanks @cdedreuille!
v8.0.2
- Addon Docs: Fix [Object object] displayName in some JSX components - #26566, thanks @yannbf!
- CLI: Add yarn1 package manager fallback for init in empty directory - #26500, thanks @valentinpalkovic!
- CSF: Make sure loaders/decorators can be used as array - #26514, thanks @kasperpeulen!
- Controls: Fix disable condition in ArgControl component - #26567, thanks @valentinpalkovic!
- UI: Add key property to list children in Highlight component - #26471, thanks @valentinpalkovic!
- UI: Fix theming of elements inside bars - #26527, thanks @valentinpalkovic!
- UI: Improve empty state of addon panel - #26481, thanks @yannbf!
v8.0.1
- MDX: Don't transform
http://
links - #26488, thanks @JReinhold! - React: Support v19 in
react-dom-shim
- #26898, thanks @Tobbe! - Vite: Merge assetsInclude property with Storybook default values - #26860, thanks @yuemori!
v8.0.0
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
- Core: Replace ip function to address security concerns #27529, thanks @tony19
- Telemetry: Detect Node version #28299, thanks @yannbf
- Angular: Support v18 #27237, thanks @valentinpalkovic
v7.6.19
7.6.19
- Fix bad release of
7.6.18
containing wrong dependency identifiers, thanks @jreinhold!
v7.6.18
7.6.18
- Core: Fix addon bundling script #26145, thanks @ndelangen!
v7.6.17
- Addon-docs: Fix Table of Contents heading leak - #23677, thanks @vmizg!
- Core: Update ip version to fix CVE-2023-42282 - #26086, thanks @drik98!
v7.6.16
- Addon Themes: Make type generic less strict - #26042, thanks @yannbf!
- Interaction: Make sure that adding spies doesn't cause infinite loops with self referencing args #26019, thanks @kasperpeulen!
v7.6.15
This release accidentally didn't contain anything.
v7.6.14
- Core: Fix boolean
true
args in URL getting ignored - #25950, thanks @JReinhold!
v7.6.13
- Next.js: Fix frameworkOptions resolution - #25907, thanks @valentinpalkovic!
- React Native: Fix init fails when package is already installed - #25908, thanks @dannyhw!
- React Native: Remove watcher from init - #25895, thanks @dannyhw!
- Webpack: Update StorybookConfig import in core-webpack types.ts - #25740, thanks @valentinpalkovic!
v7.6.12
- CLI: Fix
upgrade
detecting the wrong version of existing Storybooks - #25752, thanks @JReinhold!
v7.6.11
- CLI: Update init for react native v7 - #25780, thanks @dannyhw!
- Codemods: Add support for multiple file extensions in runCodemod function - #25708, thanks @valentinpalkovic!
v7.6.10
- CLI: Fix existing version detection in
upgrade
- #25642, thanks @JReinhold! - React: Fix acorn ecma version warning - #25634, thanks @dannyhw!
v7.6.9
- ConfigFile: Fix export specifiers - #25590, thanks @shilman!
- Webpack5: Make export-order-loader compatible with both esm and cjs - #25540, thanks @mlazari!
- CLI: Support version specifiers in
init
,upgrade
andsandbox
- #25526, thanks @ndelangen, @jreinhold!
v7.6.8
- Addon-actions: Fix module resolution for react-native - #25296, thanks @dannyhw!
- Storysource: Fix import error - #25391, thanks @unional!
v7.6.7
- Core: Skip no-framework error when ignorePreview=true - #25286, thanks @ndelangen!
- Dependencies: Semver dependency fixes - #25283, thanks @ndelangen!
- Vite: Fix pre-transform error in Vite 5 - #25329, thanks @yannbf!
- Vue3: Fix pnp by making compiler-core a dependency - #25311, thanks @shilman!
v7.6.6
- SvelteKit: Support 2.0 modules with mocks - #25244, thanks @paoloricciuti!
v7.6.5
- Angular: Update Angular cli templates - #25152, thanks @Marklb!
- Blocks: Fix Subtitle block for unattached docs pages - #25157, thanks @kripod!
- SvelteKit: Fix missing
$app
modules - #25132, thanks @paoloricciuti!
v7.6.4
- Angular: Fix CSF Plugin - #25098, thanks @valentinpalkovic!
- Viewport: Fix viewport dts files - #25107, thanks @kasperpeulen!
v7.6.3
- Next.js: Fix next/font/local usage in babel mode - #25045, thanks @valentinpalkovic!
v7.6.2
- CLI: Improve dependency metadata detection in storybook doctor - #25037, thanks @yannbf!
- React-Docgen: Make error-handling more gentle - #25055, thanks @valentinpalkovic!
v7.6.1
- Addon-docs: Fix Table of Contents heading leak - #23677, thanks @vmizg!
- Core: Update ip version to fix CVE-2023-42282 - #26086, thanks @drik98!
v7.6.0
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
- Actions: Attach spies on actions across stories when defined in meta - #24451, thanks @kasperpeulen!
- Actions: Fix
@storybook/core-events/preview-errors
dependency missing for Yarn PnP - #24973, thanks @JReinhold! - Actions: Fix missing crypto module crashing React Native - #24546, thanks @dannyhw!
- Actions: Warn on implicit actions - #24856, thanks @kasperpeulen!
- Addon A11y: Avoid CSP issue - #24477, thanks @Marklb!
- Addon: Move Visual Test addon to the code directory - #24771, thanks @cdedreuille!
- Addons, core: Make
react
and Storybook packagesdevDependencies
where possible - #24676, thanks @JReinhold! - Addons, core: Make
react
and Storybook packagesdevDependencies
where possible - ATTEMPT 2 - #24834, thanks @JReinhold! - Angular: Add source-map option to builder - #24466, thanks @valentinpalkovic!
- Angular: Handle nested module metadata - #24798, thanks @valentinpalkovic!
- Angular: Include object configured styles - #24768, thanks @valentinpalkovic!
- Babel: Update all @babel/* dependencies - #24610, thanks @valentinpalkovic!
- CLI: Add "doctor" command - #22236, thanks @yannbf!
- CLI: Add @storybook/addon-designs to non-core list - #24507, thanks @yannbf!
- CLI: Ensure errors with opening the browser are caught - #24668, thanks @xueyawei!
- CLI: Ignore
addon-onboarding
when checking versions - #24634, thanks @JReinhold! - CLI: Use @storybook/test in template stories - #24393, thanks @yannbf!
- Controls: Improve accessibility of BooleanControl for screen readers - #24418, thanks @danielmarcano!
- Core-Server: Ignore all node_module folders for watchpack - #24553, thanks @valentinpalkovic!
- Core: Add deprecation notice for Vite + CommonJS - #23950, thanks @JReinhold!
- Core: Detect no matching export error in storybook start and build - #24877, thanks @yannbf!
- Core: Fix
useStoryPrepared
hook failing withundefined
data - #22631, thanks @SpookyJelly! - Core: Fix pnp support when cache dir is outside working dir - #24572, thanks @valentinpalkovic!
- Core: Fix post message channel location.search access for React Native - #24545, thanks @dannyhw!
- Core: Gracefully handle error when parsing preview.js file - #24858, thanks @yannbf!
- Core: Make warnOnIncompatibleAddons fault-tolerant - #24880, thanks @taozhou-glean!
- Dependencies: Fix Yarn 4 failing to install due to jscodeshift dependency issue - #24914, thanks @samvv!
- Dependencies: Update @babel/traverse and @babel/core to fix vulnerability - #24670, thanks @valentinpalkovic!
- Dependencies: Update browserify-sign transitive dependency - #24674, thanks @valentinpalkovic!
- Dependencies: Update jscodeshift to v0.15.1 - #24882, thanks @epreston!
- Dependencies: Update nx dependencies to v17 - #24671, thanks @valentinpalkovic!
- Doc Blocks: Add support for
of
prop toPrimary
block - #23849, thanks @Wilson2k! - Doc Blocks: Remove
defaultProps
inStories
block - #24506, thanks @WouterK12! - Docs: Changes corresponding to docs design updates - #24925, thanks @kylegach!
- Maintenance: Split renderers preview entrypoints - #24623, thanks @ndelangen!
- Manager: Update
store.settings.lastTrackedStoryId
- #24115, thanks @rashidshamloo! - ManagerAPI: Fix setting status without index, crashes storybook - #24866, thanks @ndelangen!
- ManagerBuilder: Fix
"type": "commonjs"
compatibility - #24534, thanks @ndelangen! - Next.js: Add avif support - #24611, thanks @valentinpalkovic!
- Next.js: Add back image context CommonJS export - #24885, thanks @martinnabhan!
- Next.js: Add experimental SWC support - #24852, thanks @valentinpalkovic!
- Next.js: Fix Fast Refresh config for SWC mode - #24991, thanks @valentinpalkovic!
- Next.js: Fix forwarding ref for Image component - #24648, thanks @valentinpalkovic!
- Next.js: Fix import path in swc loader - #24922, thanks @valentinpalkovic!
- Next.js: Fix react-docgen usage with preset-env settings - #24993, thanks @valentinpalkovic!
- Next.js: Remove duplicate Fast Refresh plugin init - #24963, thanks @valentinpalkovic!
- React: Upgrade
react-docgen
to v7 - #24530, thanks @shilman! - ReactNative: Fix missing assert dep in docs-tools - #24732, thanks @dannyhw!
- Svelte: Fix decorators always running twice - #24921, thanks @paoloricciuti!
- Svelte: Fix source with decorators always showing the
SlotDecorator
component - #24800, thanks @JReinhold! - SvelteKit: Add experimental page and navigation mocking - #24795, thanks @paoloricciuti!
- SvelteKit: Default to log an action for
goto
,invalidate
andinvalidateAll
- #24955, thanks @paoloricciuti! - SWC: Add settings for react and preact - #24805, thanks @valentinpalkovic!
- Test Build: Add env-variable support to
--test
CLI-flag - #24862, thanks @ndelangen! - Test Build: Add tests and rename to camelCase - #24911, thanks @ndelangen!
- Test Build: Disable composition when
--test
istrue
- #24799, thanks @ndelangen! - Test Build: Disable docs related stuff for test builds - #24691, thanks @ndelangen!
- Test Build: Disable telemetry for test builds - #24706, thanks @kasperpeulen!
- Test Build: Disable warnOnIncompatibleAddons - #24797, thanks @ndelangen!
- Test Build: Filter out addon-docs from essentials in the test build - #24994, thanks @kasperpeulen!
- Test Build: Fix disabledAddons filter - #24924, thanks @IanVS!
- Test Build: Fix indexer bug - #24890, thanks @ndelangen!
- Test Build: Globalize
@storybook/blocks
ifbuild.test.emptyBlocks
istrue
- #24650, thanks @ndelangen! - Test Build: Implement builder options for test build - #24826, thanks @kasperpeulen!
- Test Build: Improve config loading & naming - #24837, thanks @ndelangen!
- Test Build: No sourcemaps for test builds - #24804, thanks @ndelangen!
- Test Build: Revert defaulting to SWC in test build, but keep using esbuild for minification - #24843, thanks @kasperpeulen!
- Test: Create @storybook/test package based on vitest - #24392, thanks @kasperpeulen!
- Test: Don't attach action to function mock if action was added already - #24966, thanks @tmeasday!
- Test: Model loaders as before each and restore mocks properly - #24948, thanks @kasperpeulen!
- Theming: Add theme variable to set the preview background color - #24575, thanks @JReinhold!
- Typescript: Add 'skipCompiler' option to TypeScript presets - #24847, thanks @valentinpalkovic!
- UI: Fix horizontal scroll bar in Canvas hidden by styling - #24408, thanks @yoshi2no!
- UI: improve A11Y remove redundant styling rules, update icon color - #24402, thanks @tolkadot!
- UI: Logo fixed value - #24726, thanks @black-arm!
- UI: Update zIndex on NotificationList to fix the notification not being clickable in certain cases - #24602, thanks @yoshi2no!
- Viewport: Add newer device viewports - #24777, thanks @Tomo5524!
- Vite: Prevent non-deterministic build output - #24833, thanks @henkerik!
- Webpack: Add export-order-loader and remove babel-plugin-named-exports-order - #24749, thanks @valentinpalkovic!
- Webpack: Add react-docgen loader and remove babel-plugin-react-docgen - #24762, thanks @valentinpalkovic!
- Webpack: Fix race condition for export-order loader - #24817, thanks @valentinpalkovic!
- Webpack: Hide critical dependency warning - #24784, thanks @valentinpalkovic!
- Webpack: Only load babel config when babel-loader is used - #25002, thanks @valentinpalkovic!
- Webpack: Resolve circular dependency and fix HMR - #24974, thanks @valentinpalkovic!
v7.5.3
7.5.3
- Angular: Support v17 - #24717, thanks @valentinpalkovic!
- CLI: Catch when prettier failed to prettify main and preview config files - #24604, thanks @kasperpeulen!
- UI: Fix button contrast-ratio - #24525, thanks @maheshchandra10!
v7.5.2
- Addon-themes: Fix globals not being set when using absolute path - #24596, thanks @JReinhold!
- CLI: Allow Yarn v4 in
link
command - #24551, thanks @yannbf! - Next.js: Support v14.0.0 - #24593, thanks @nikospapcom!
v7.5.1
- Angular: update wrong type for webpackStatsJson in start-storybook schema.json - #24494, thanks @LucaVazz!
- Themes: Run postinstall in shell for windows - #24389, thanks @Integrayshaun!
v7.5.0
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
- Angular: Introduce argsToTemplate for property and event Bindings - #24434, thanks @valentinpalkovic!
- Angular: Add schema options (debugWebpack, webpackStatsJson, and more) - #24388, thanks @yannbf!
- Angular: Categorize legacy build options error - #24014, thanks @yannbf!
- Angular: Fix Angular 15 support and add zone.js v0.14.x support - #24367, thanks @valentinpalkovic!
- Angular: Allow loading standalone directives - #24448, thanks @osnoser1!
- CLI: Inform the user how to dedupe and strip color from info command - #24087, thanks @kasperpeulen!
- CLI: Add more information to storybook info command - #24003, thanks @JReinhold!
- CLI: Change /Date/ to /Dates/i - #24195, thanks @arup1221!
- CLI: Improve sanitization logic in crash reports - #24028, thanks @yannbf!
- CLI: Remove random commas in storybook upgrade logs - #22333, thanks @joaonunomota!
- Controls: Fix select / multiselect when value contains multiple spaces - #22334, thanks @oxcened!
- Core: Add class name to Storybook error name - #24371, thanks @yannbf!
- Core: Deprecate storyStoreV6 (including storiesOf) and storyIndexers - #23938, thanks @JReinhold!
- Doc Blocks: Add title to Meta prop types - #23370, thanks @iqbalcodes6602!
- ManagerAPI: Fix bug with story redirection when URL has partial storyId - #24345, thanks @ndelangen!
- NextJS: Support rename font import - #24406, thanks @yoshi2no!
- NextJS: Change babel plugins from proposal-... to transform-... - #24290, thanks @roottool!
- NextJS: Fix default next image loader when src has params - #24187, thanks @json-betsec!
- NextJS: Fix Image Context re-use via singleton - #24146, thanks @martinnabhan!
- NextJS: Improve support for Windows-style paths - #23695, thanks @T99!
- React: Upgrade
react-docgen
to6.0.x
and improve argTypes - #23825, thanks @shilman! - Svelte: Fix docs generating when using
lang="ts"
or optional chaining - #24096, thanks @j3rem1e! - UI: Filter some manager errors - #24217, thanks @yannbf!
- UI: Update ScrollArea with radix - #24413, thanks @cdedreuille!
- UI: Improve contrast ratio between focus / hover - #24205, thanks @chocoscoding!
- UI: Fix className missing in syntaxhighlighter - #24491, thanks @ndelangen!
- Vite: Move mdx-plugin from
@storybook/builder-vite
to@storybook/addon-docs
- #24166, thanks @bryanjtc! - Vite: Support Vite 5 - #24395, thanks @IanVS!
- Web-components: Add Lit3 support - #24437, thanks @shilman!
- Webpack: Display errors on build - #24377, thanks @yannbf!
- Webpack: Categorize builder error - #24031, thanks @yannbf!
- Webpack: Use logger.warn on warnings - #24472, thanks @yannbf!
v7.4.6
- CLI: Fix Nextjs project detection - #24346, thanks @yannbf!
- Core: Fix missing favicon during dev - #24356, thanks @ndelangen!
v7.4.5
v7.4.4
- Core: Fix Promise cycle bug in useSharedState - #24268, thanks @ndelangen!
- Manager: Fix useAddonState when using a setter function - #24237, thanks @ndelangen!
v7.4.3
- CLI: Fix
sb add
adding duplicative entries - #24229, thanks @ndelangen! - NextJS: Add compatibility with nextjs
13.5
- #24239, thanks @ndelangen! - NextJS: Aliases
react
andreact-dom
likenext.js
does - #23671, thanks @sookmax! - Types: Allow
null
in value ofexperimental_updateStatus
to clear status - #24206, thanks @ndelangen!
v7.4.2
- Addon API: Improve the updateStatus API - #24007, thanks @ndelangen!
- Nextjs: Migrate from config to previewAnnotations - #24178, thanks @yannbf!
- UI: Fix SVG override fill when path has a fill attribute - #24156, thanks @ndelangen!
- UI: Improve look and feel of status UI in sidebar - #24099, thanks @ndelangen!
v7.4.1
- CLI: Add uncaughtException handler - #24018, thanks @yannbf!
- CLI: Fix packageManager handling in
sb add
- #24079, thanks @Integrayshaun! - Core: Add CJS entrypoints to errors in core events - #24038, thanks @yannbf!
- Docs: Fix TOC import - #24047, thanks @shilman!
- Telemetry: Filter addon options to protect sensitive info - #24000, thanks @shilman!
- Types: Remove
@types/react
dep from@storybook/types
- #24042, thanks @JReinhold! - Vue3: Remove console.log in sourceDecorator - #24062, thanks @oruman!
v7.4.0
- Addon-docs: Resolve
mdx-react-shim
&@storybook/global
correctly - #23941, thanks @ndelangen! - Addons: Fix key is not a prop warning - #23935, thanks @kasperpeulen!
- Build: Migrate @storybook/scripts to strict-ts - #23818, thanks @stilt0n!
- CLI: Exclude addon-styling from upgrade - #23841, thanks @Integrayshaun!
- CLI: Improve autotitle stories format handling in GFM automigration - #23964, thanks @yannbf!
- CLI: Install latest version of non-core addon - #23956, thanks @Integrayshaun!
- CLI: Pass package manager to postinstall - #23913, thanks @Integrayshaun!
- CLI: Provide guidance for users who try to initialize Storybook on an empty dir - #23874, thanks @yannbf!
- CLI: Set server init generator to use Webpack5 - #23971, thanks @yannbf!
- Core: Add error categorization framework - #23653, thanks @yannbf!
- Core: Fix error thrown if
docs.defaultName
is unset - #23893, thanks @stilt0n! - Core: Fix indexing for non-prefixed
stories.*
stories - #23974, thanks @shilman! - Core: Fix race-condition relating to
addons.setConfig
- #23802, thanks @ndelangen! - Core: Throw an error when detecting empty stories field - #23942, thanks @yannbf!
- Dependencies: Upgrade
escodegen
to fix security issue - #23973, thanks @shilman! - Index: Fix
*.story.*
CSF indexing - #23852, thanks @shilman! - Logger: Fix double error messages/stack - #23919, thanks @ndelangen!
- Maintenance: Categorize server errors - #23912, thanks @yannbf!
- Maintenance: Move filtering of sidebar into the state - #23911, thanks @ndelangen!
- Maintenance: Remove need for
react
as peerDependency - #23897, thanks @ndelangen! - Maintenance: Remove sourcemaps generation - #23936, thanks @ndelangen!
- Maintenance: Revert "WebpackBuilder: Remove need for
react
as peerDependency" - #23882, thanks @vanessayuenn! - Manager API: Fix
api.getAddonState
default value - #23804, thanks @sookmax! - Preset: Add common preset overrides mechanism - #23915, thanks @yannbf!
- Publish: Don't distribute src files or unnecessary template files - #23853, thanks @shilman!
- Shortcuts: Execute preventDefault only if keyboard shortcuts are enabled - #23412, thanks @Spielboerg!
- Types: Fix
React.ReactElement
not found - #23967, thanks @abu-osos! - UI: Add an experimental API for adding sidebar bottom toolbar - #23778, thanks @ndelangen!
- UI: Add an experimental API for adding sidebar filter functions at runtime - #23722, thanks @ndelangen!
- UI: Add an experimental API for adding sidebar top toolbar - #23811, thanks @ndelangen!
- UI: Removal of experimental components - #23907, thanks @ndelangen!
- Vue3: Add support for Global Apps install - #23772, thanks @chakAs3!
- Vue3: Use slot value directly if it's a string in source decorator - #23784, thanks @nasvillanueva!
v7.3.2
- Maintenance: Revert "WebpackBuilder: Remove need for
react
as peerDependency" - #23882, thanks @vanessayuenn!
v7.3.1
v7.3.0
-
✨ Indexer: Introduce new experimentalindexer
API - #23691, thanks @JReinhold! -
✨ CLI: Update postinstall to look for addon script - #23791, thanks @Integrayshaun! -
✨ Server: Add support for tags - #23660, thanks @JReinhold! -
🐛 CSF-Tools: Remove prettier from printConfig - #23766, thanks @kasperpeulen! -
🐛 Build: Support Chrome 100, Safari 15 and Firefox 91 - #23800, thanks @kasperpeulen! -
🐛 Vue3: Don't automatically assign values to all slots - #23697, thanks @kasperpeulen! -
🐛 Core: FixcomposeStories
typings - #23577, thanks @yannbf! -
🐛 WebpackBuilder: Remove need forreact
as peerDependency - #23496, thanks @ndelangen! -
🔧 Addon-docs, Core, Server: Use newindexer
API - #23660, thanks @JReinhold! -
🔧 Core-server: Improve internal types - #23632, thanks @JReinhold! -
🔧 UI: Improve Link component - #23767, thanks @cdedreuille! -
🔧 UI: Improve newButton
component - #23765, thanks @cdedreuille! -
🔧 UI: Update Button types to allow for no children on iconOnly buttons - #23735, thanks @cdedreuille! -
🔧 UI: Upgrade Icon component - #23680, thanks @cdedreuille! -
🔧 Addons: Deprecate key in addon render function as it is not available anymore - #23792, thanks @kasperpeulen! -
🔧 UI: Update IconButton and add new Toolbar component - #23795, thanks @cdedreuille!
v7.2.3
- Build: Support Chrome 100, Safari 15 and Firefox 91 - #23800, thanks @kasperpeulen!
v7.2.2
- CSF-Tools: Remove prettier from printConfig - #23766, thanks @kasperpeulen!
v7.2.1
- Addon docs: Add safe check in Webpack preset - #23687, thanks @yannbf!
- Autodocs: Fix docs pages ignoring
meta.id
when calculating their ID - #23520, thanks @sookmax! - CLI: Fix error logging being swallowed from dev/build failures - #23689, thanks @yannbf!
- Channels: Remove self-referencing in
package.json
- #23681, thanks @stof! - UI: Fix ArgsTable empty state on docs - #23688, thanks @cdedreuille!
- UI: Improve controls addon - #23635, thanks @cdedreuille!
v7.2.0
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:
- Automigration: Fix wrap-require automigration for common js main.js files - #23644, thanks @valentinpalkovic!
- CSF Tools: Use recast for printing in csf-tools - #23427, thanks @kasperpeulen!
- CSF-tools: Parse stories using typescript keywords 'satisfies' and 'as' - #23638, thanks @joaonunomota!
- Core: Fix channelOptions for serverChannel - #23615, thanks @ndelangen!
- NextJS: Add
@babel/core
as a dependency - #22450, thanks @valentinpalkovic! - Vite: Fix config loading - project directory - #22240, thanks @nVitius!
- Angular: Fix initialization of Storybook in Angular 16.1 - #23598, thanks @valentinpalkovic!
- Dependencies: Downgrade
jest-mock
- #23597, thanks @ndelangen! - Dependencies: Upgrade simple-update-notifier - #23396, thanks @dartess!
- Storyshots: fix broken storyshots with angular - #23555, thanks @mattlewis92!
- TypeScript: Added
expanded
toCoreCommon_StorybookRefs
to fix typescript errors - #23488, thanks @DotwoodMedia! - TypeScript: Downgrade to the last version of type-fest that doesn't need typescript 5.0 - #23574, thanks @ndelangen!
- Vue2: Source Decorator reactivity - #23149, thanks @chakAs3!
- Router: Support RegExp in Route component - #23292, thanks @ndelangen!
- UI: Improve tabs component, more type correct, allow for FC as title - #23288, thanks @ndelangen!
- Addons: Improve code quality by using title as FC & sharing state via useAddonState - #23298, thanks @ndelangen!
- InteractionsAddon: Improve code quality by using title as FC & sharing state via useAddonState - #23291, thanks @ndelangen!
- UI: Add storyStatus to sidebar UI - #23342, thanks @ndelangen!
- Addon API: Add experimental page addon type - #23307, thanks @ndelangen!
- UI: refactor Canvas component so we can improve types for PREVIEW addons and TAB addons - #23311, thanks @ndelangen!
- UI: Improve Button layout and props - #23356, thanks @cdedreuille!
- Dependencies: Remove references to api and the 2 deprecated channel packages - #23384, thanks @ndelangen!
- UI: Show the story status in the search results - #23441, thanks @ndelangen!
- UI: Create new form elements in the new Core UI (Input, TextArea, Select) - #23469, thanks @cdedreuille!
v7.1.1
- Angular: Make enableProdMode optional - #23489, thanks @valentinpalkovic!
- CLI: Gracefully shutdown and cleanup execa child processes - #23538, thanks @valentinpalkovic!
- CLI: Improve support of mono repositories - #23458, thanks @valentinpalkovic!
v7.1.0
Storybook 7.1 is here!
-
🏄 ♀️ In-app onboarding to help you set up new projects -
💅 Zero-config styling support for major libraries -
🗃 ️ API reference documentation and TypeScript-first snippets -
🎨 Figma Design addon official support -
📗 Vue3 source snippets and reactivity improvements -
💯 Hundreds more fixes and improvements7.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching
7.1.0-alpha.*
,7.1.0-beta.*
, and7.1.0-rc.*
for the full list of changes.
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
- Angular: Enable prod mode when Storybook is built - #23404, thanks @valentinpalkovic!
- Angular: Fix esm issue in combination with rxjs v6 - #23405, thanks @valentinpalkovic!
- CLI: Exit when user does not select a storybook project type - #23201, thanks @yannbf!
- Next.js: Fix for @nx/react/plugin/storybook with SVGs - #23210, thanks @daves28!
- Svelte-Webpack: Support Svelte v4 - #23336, thanks @JReinhold!
v7.0.26
- Next.js: Fix next/image usage in latest Next.js release - #23296, thanks @valentinpalkovic!
- NextJS: Fix
useParams
support - #22946, thanks @gitstart-storybook! - NextJS: Allow disabling next/image lazy loading - #21909, thanks @martinnabhan
v7.0.25
- CLI: Fix pnp paths logic in storybook metadata - #23259, thanks @yannbf!
- Controls: Fix UI to add array items - #22993, thanks @sookmax!
- Next.js: Support disableStaticImages setting - #23167, thanks @valentinpalkovic!
- React: Fix decorators to conditionally render children - #22336, thanks @redbugz!
v7.0.24
- CLI: Parse pnp paths in storybook metadata - #23199, thanks @yannbf!
- Dependencies: Pin
file-system-cache
to 2.3.0 - #23221, thanks @JReinhold! - Svelte: Support v4 - #22905, thanks @JReinhold!
v7.0.23
- Core: Fix compat by disabling name mangling in
esbuild
require - #22486, thanks @youngboy! - Core: Prebundle node-logger and make it CJS only - #23109, thanks @ndelangen!
- NextJS: Fix fonts not loading with 3+ words in name - #23121, thanks @ygkn!
- Telemetry: Count onboarding stories - #23092, thanks @shilman!
v7.0.22
- CLI: Prebundle boxen to resolve a ESM/CJS incompatibility - #23080, thanks @ndelangen!
- Core: Fix core-common to use node-fetch - #23077, thanks @ndelangen!
- Telemetry: Count onboarding stories - #23092, thanks @shilman!
v7.0.21
- Angular: Fix 16.1 compatibility - #23064, thanks @ndelangen!
- Angular: Fix ivy preset - #23070, thanks @ndelangen!
- CLI: Improve steps in storybook init - #22502, thanks @yannbf!
- CLI: Skip builder selection for react native - #23042, thanks @dannyhw!
- Core: Fix
builder-manager
adding multiple dashes to relative path - #22974, thanks @MarioCadenas! - Core: Improve
of={...}
DocBlock error in story index - #22782, thanks @shilman! - Dependencies: Set vue-component-type-helpers to latest - #23015, thanks @ndelangen!
- Vue3: Fix source decorator to generate correct story code - #22518, thanks @chakAs3!
- Web-components: Fix custom-elements order of property application - #19183, thanks @sonntag-philipp!
v7.0.20
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
Bad release
v7.0.18
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
Bug Fixes
- Vite: Fix pnpm support by replacing @storybook/global with
window
#22709 - Core: Fix
managerHead
preset inmain.ts
#22701
v7.0.16
Accidental no-op
v7.0.15
Bug Fixes
- UI: Fix
.mp3
support for builder-manager #22699 - Vite: Fix missing @storybook/global dependency #22700
- NextJS: Fix compatibility with Next 13.4.3 #22697
v7.0.14
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
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
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
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
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
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
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 allpackage.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
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
usingDOCS_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
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
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
Storybook 7.0 is here!
-
7.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching
7.0.0-alpha.*
,7.0.0-beta.*
, and7.0.0-rc.*
for the full list of changes.
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
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
- Angular: Enable prod mode when Storybook is built - #23404, thanks @valentinpalkovic!
- Angular: Fix esm issue in combination with rxjs v6 - #23405, thanks @valentinpalkovic!
- CLI: Exit when user does not select a storybook project type - #23201, thanks @yannbf!
- Next.js: Fix for @nx/react/plugin/storybook with SVGs - #23210, thanks @daves28!
- Svelte-Webpack: Support Svelte v4 - #23336, thanks @JReinhold!
v7.0.1
Bad release
v7.0.0
Storybook 7.0 is here!
-
7.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching
7.0.0-alpha.*
,7.0.0-beta.*
, and7.0.0-rc.*
for the full list of changes.
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
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
Bug Fixes
- Support Angular 15.0.4 #20287
- CLI: execute automigrations when pressing enter in the prompts #20208
v6.5.14
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
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
Bug Fixes
- React: Fix issue with react 18 implementation #19125
v6.5.11
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
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
withthemes.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
- Core: Fix process is not defined #18367
- Core: Fix PnP compatibility for @storybook/ui and @storybook/router packages #18412
v6.5.9
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
instories.json
(#18433)
v6.5.8
Bug Fixes
- UI: Disable Emotion warnings about unsafe pseudo-selectors in SSR (#18361)
v6.5.7
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
Bug Fixes
- Core: Fix node 18 ip support (#18330)
v6.5.5
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
- MDX: Upgrade csf-mdx libraries (#18300)
v6.5.4
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
Bug Fixes
- Revert "security: update x-default-browser" (#18270)
v6.5.2
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
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
v6.4.22
Maintenance
- Core: Avoid framework imports from core/client (#17875)
v6.4.21
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
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
Features
- CLI/React: Add interactions to cli template (#17345)
- CLI/Angular: Add interactions to cli template (#17437)
Bug Fixes
- Core/CLI: Add
extract
function toPreviewWeb
and use it insb 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
Bug Fixes
- CLI: Pin version of
@mdx-js/react
to 1.x.x until we are compatible (#17395)
v6.4.17
Bug Fixes
- Revert "Angular: Retrieve version from core package" (#17372)
v6.4.16
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
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
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 usingrequire.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
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
Bug Fixes
- Angular: Fix for renamed method in angular 13.1 (#17032)
v6.4.10
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
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
Bug Fixes
Maintenance
- Core: Add feature flag to disable legacy hierarchy separator warning (#16915)
v6.4.7
Bug Fixes
- Angular: Fix incorrect log (#16885)
v6.4.5
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
- Bump lodash to 4.17.21 (#16883)
v6.4.4
Bug Fixes
- CLI: Fix mainjsFramework automigrate (#16866)
v6.4.3
Bug Fixes
- Don't render with
modernInline
ifinlineStories
isfalse
(#16853) - Preview: Don't hide the story while preparing (#16850)
v6.4.2
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
Bug Fixes
Maintenance
- Fix
handle-release-branches
workflow (#16801)
v6.4.0
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
v6.3.13
Dependency Upgrades
- Bump cli-table3 to fix colors bug (#17180)
v6.3.12
Bug Fixes
- CLI: Force
sb upgrade
to use latest version ofnpm-check-updates
(#16336)
v6.3.11
Bug Fixes
- CLI: Fix CRA version detection crash (#16308)
v6.3.10
Bug Fixes
- CLI: Don't upgrade preset-create-react-app if react-scripts < 5 (#16255)
v6.3.9
Maintenance
- CLI: Add webpack5 builder to CRA5
sb init
(#16194)
v6.3.8
Maintenance
- Core: Write JSON stats file in streaming fashion and omit
chunks
for brevity (#15889)
v6.3.7
Fix bad publish of 6.4.0-alpha.27
to the latest
tag
v6.3.6
Bug Fixes
v6.3.5
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
Maintenance
- Addon-docs: Cache DocsContext on window to prevent duplication (#15428)
v6.3.3
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
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
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
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
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
Bug Fixes
v6.2.7
Bug Fixes
- CLI: Fix prerelease upgrade (#14529)
v6.2.6
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
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
Dependency Upgrades
- Upgrade
dotenv-webpack
to v6 (#14492)
v6.2.3
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
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
- CLI: Fix link to
sb init
docs (#14421)
v6.2.1
Fix bad version update message from #12183
v6.2.0
Storybook 6.2: Future-proof component development
Major improvements for new frameworks, package managers, and bundlers.
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
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
- Deps: upgrade react-dev-utils to get newer immer (#14015)
v6.1.19
Bug Fixes
- Components: Add missing
regenerator-runtime
dependency (#13991)
v6.1.18
Bug Fixes
v6.1.17
Bug Fixes
- CLI: Fix opening localhost in browser by default (#13812)
v6.1.16
Bug Fixes
- Addon-docs/Svelte: Fix component name in docgen-loader (#13760)
- UI: Fix copy to clipboard for insecure deployments (#13777)
v6.1.15
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
Bug Fixes
- Core: Use fs-extra emptyDir so build works on docker volume (#13474)
- Addon-docs: Tighten preset webpack pattern for mdx stories (#13476)
- Typescript: Fix qs import in @storybook/client-api (#13518)
- CLI: Ensure --host option changes the network host (#13521)
- Svelte: Statically load docgen info for svelte components (#13466)
v6.1.12
Bug Fixes
- Addon-docs: Fix link not working cross origin (#13022)
- Addon-docs: Resolve babel-loader from storybook/core (#13607)
v6.1.11
Bug Fixes
- UI: Fix null ref in sidebar (#13423)
- Addon-docs: Handle svelte docgen failures gracefully (#13386)
Dependency Upgrades
- Update react-popper-tooltip and @popperjs/core for react17 (#13434)
v6.1.10
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
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
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
v6.1.7
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
- Remove unused dependency @svgr/webpack (#13281)
v6.1.6
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
Bug Fixes
- Core: Resolve react and react-dom from core (#13195)
v6.1.4
Bug Fixes
- Core: Clear manager cache on runtime error (#13230)
v6.1.3
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
Bug Fixes
- Storyshots: Fix
beforeScreenshot
andafterScreenshot
return types (#13198) - UI: Target only IE10/IE11 for our CSS vertical centering hack (#13192)
v6.1.1
Bug Fixes
- Addon-backgrounds: Fix grid disable (#13175)
v6.1.0
Storybook 6.1 is the first in a series of performance-oriented Storybook releases. It includes:
- Fast search and navigation
- Manager caching for faster startup #12707
- Asynchronous loaders #12699
- React improvements
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
Bug Fixes
- CLI: Disable DLL by default in template (#12954)
v6.0.27
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
Bug Fixes
- Addon-docs: Fix exotic React components in Source block (#12638)
v6.0.25
Bug Fixes
- CLI: Workaround for react native
sb init
(#12405)
v6.0.24
v6.0.23
v6.0.22
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
Bug Fixes
- Addon-controls: Fix uncontrolled to controlled warning for booleans (#12322)
Maintenance
- Build: Add CRA benchmark (#12209)
v6.0.20
Bug Fixes
- ArgsTable: Fix union type splitting (#11868)
- CLI: Fix import of Button in react mdx template (#12252)
v6.0.19
Bug Fixes
- UI: Fix eject and copy URLs for composition (#12233)
v6.0.18
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
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
Bug Fixes
- Addon-docs: Fix Vue ArgsTable sanitizing of item.type.elements to item.type.value (#12165)
v6.0.15
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
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
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
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
v6.0.10
Bug Fixes
- Addon-controls: Fix argType inference priority (#12048)
v6.0.9
Bug Fixes
- Addon-docs: Fix CSF names importing in MDX (#12044)
Maintenance
- ArgsTable: Error when subcomponents is an array (#12033)
v6.0.7
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
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
Bug Fixes
- CLI: Fix welcome links on Introduction MDX (#11949)
v6.0.4
Bug Fixes
- Source-loader: Fix
.add
detection (#11920)
v6.0.3
Bug Fixes
- Essentials: Fix missing toolbars addon (#11910)
v6.0.2
Bug Fixes
- CLI: Fix csf-hoist-story-annotations codemod for variable default exports (#11895)
v6.0.1
Bug Fixes
- Core: Fix support for main.ts/preview.ts files (#11885)
- Addon-docs: Fix ArgsTable regression (#11889)
v6.0.0
Storybook 6.0 is here!
Key features:
-
💎 Essentials: Zero-configuration setup - 🧬 Args: Next-generation, dynamic story format
-
🎛 Controls: Live edit component examples -
🌐 Composition: Combine multiple Storybooks -
📚 Documentation: Complete project overhaul
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
Dependency Upgrades
- Bump cli-table3 to fix colors.js bug in 5.3 (#17182)
v5.3.21
Bug Fixes
- Core: Add skip dispose option to ClientApi (#9868)
v5.3.20
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
Bug Fixes
- UI: Fix search stories (#10539)
Security
- Upgrade markdown-to-jsx to 6.11.4 (#10873)
v5.3.18
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
Bug Fixes
- Components: Change react-syntax-highlighter from esm to cjs (#9780)
v5.3.15
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
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
Bug Fixes
- React: Remove
MiniCssExtractPlugin
for CRA (#9759)
Maintenance
- Build: Fix DLL generation race condition (#9770)
v5.3.12
Bug Fixes
- Core: Fix dev server error - back out bad change (#9753)
v5.3.11
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
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
Bug Fixes
- Addon-docs: Revert breaking source indentation fix (#9609)
v5.3.8
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
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
Bug Fixes
- Source-loader: Bypass if file has no exports (#9505)
- Core: Fix default sorting of docs-only stories (#9504)
v5.3.5
Bug Fixes
- Core: Fix typo for loading addon-notes/register-panel (#9497)
- Source-loader: Add imports to top of file (#9492)
v5.3.4
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
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
Bug Fixes
- Source-loader: Disable eslint entirely for generated code (#9410)
v5.3.1
Bug Fixes
- Core: Fix generated entry to import at top of file (#9398)
v5.3.0
Storybook 5.3 is here!
Key features:
-
📝 Custom documentation in MDX -
🎨 Multi-framework SB Docs (React, Vue, Angular, WC, Ember) -
📦 Web-components framework support -
🔼 Main.js declarative configuration
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
Bug Fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.