CHANGELOG.v6.md
react-syntax-highlighter from components (#18127)react-dom (#18105)options/queryparams addons (#17977)prebundle script without browser: true in Rollup config (#17947)Test publish with npm 2FA enabled for addon-jest
createCache from @storybook/theming (#17929)render in v6 store (#17885)@storybook/builder-vite (#17829)@storybook/builder-vite (#17829)renderStoryToElement passed to DocsRender (#17742)PreviewWeb (#17598)global (#17614)extract function to PreviewWeb and use it in sb extract if available (#17447)configure() throws (#17435)useParameter with nullish coalescing (#17327)generated-stories-entry to cjs extension so require works (#17486)extract function to PreviewWeb and use it in sb extract if available (#17447)ci:matrix label in CI (#17457)useParameter with nullish coalescing (#17327)configure() throws (#17435)Failed publish
@storybook/components (#17304)@mdx-js/react to 1.x.x until we are compatible (#17395)@mdx-js/react to 1.x.x until we are compatible (#17395)@storybook/ui (#17301)@storybook/router to avoid react-router conflict (#17294)generated-stories-entry to cjs extension so require works" (#17361)generated-stories-entry to cjs extension so require works (#16727)BuilderConfig can be an object (#17320)--no-manager-cache to build-storybook (#17300)path from autoTitle browser code (#17185)docs.disable parameter on DocsPage (#17256)process fallback using require.resolve (#17249)--no-manager-cache to build-storybook (#17300)import.meta.webpackHot.accept (#17270)docs.disable parameter on DocsPage (#17256)process fallback using require.resolve (#17249)staticDirs favicon handling by refactor (#17241)__namedExportsOrder warning from preview.js (#17240)process references (#17213)staticDirs favicon handling by refactor (#17241)__namedExportsOrder warning from preview.js (#17240)path from autoTitle browser code (#17185)Publish failed
lit-html in new web components project (#17106)viewMode to fix Vue issue (#16919)sb repro clobbering .vuerc (#16897)viewMode to fix Vue issue (#16919)Npm publish failed.
sb repro directory prompt (#16854)modernInline if inlineStories is false (#16853)handle-release-branches workflow (#16801)Storybook 6.4 is here!! 🎉🎉🎉
SB6.4 adds interaction testing and performance re-architecture ahead of a huge 7.0 release.
More info in the Github issue Storybook 6.4 Release 🛠. Release announcement coming soon!!!
globby when constructing Story Index (#16788)context.args is always set (#16790)./ to start of hidden file & folder paths (#16723)stringifyEnvs utility used by Vite builder (#16731)process.env stringification (#16725)features (#16684)Storybook 6.4 is in RC!! 🎉🎉🎉
Hundreds of improvements and fixes, including:
Track the release in the Github: Storybook 6.4 Release 🛠
nopreview and show redbox for any story error (#16669)sb init (#16671)staticDirs and -s conflict check (#16649)__namedExportsOrder (#16626)parameters.filePath in v7 mode (#16566)sb extract (#16505)history for react-router-dom compat (#16560)decorateStory exports from frameworks that have it (#16529)singleStory=true (#15755)bad npm publish
getProjectAnnotations function (#16495)toImportFn when dealing with ../-led paths (#16474)ArgsTable (#16488)WebPreview if calling start() in v7 mode (#16475)core.channelOptions main.js config (#16415)loadStory over deprecated fromId (#16398)queryparams exports in client-api (#16414)PreviewWeb (#16418)react-element-to-jsx-string package (#16407)framework field support to main.js (#16393)undefined overrides (#16385){control: false} handling (#16366)sb upgrade to use latest version of npm-check-updates (#16336)sb upgrade to use latest version of npm-check-updates (#16336)stories.json, JSON or SSE, if we don't need it (#16318)DOCS_RENDERED and only use STORY_RENDERED for hooks (#16310)extract, SET_STORIES and getStoriesJsonData (#16299)id to BaseMeta type (#16216)X.story annotations (#16297)children of the Canvas component (#16280)axe.run (#16129)sb init (#16194)sb init (#16194)Storybook 6.4 is in beta! 🎊
SB6.4 adds interaction testing and performance re-architecture in preparation for a huge 7.0 release.
Track the release in the Github: Storybook 6.4 Release 🛠
./stories.json requests in manager for relative paths (#16114)stories-json to use a caching class (#16106)stories paths. (#16078)useStories to correctly respond to change in storyId (#16046)FEATURES check (#16044)process.env override in DefinePlugin config (#15925)chunks for brevity (#15889)typesVersions config (#15918)chunks for brevity (#15889)caniuse-lite dependency (#15863)esm is not defined error with built Storybook (#15812)Fix bad publish of 6.4.0-alpha.27 to the latest tag
Fix bad publish of 6.4.0-alpha.27 to the latest tag
undefined (#15654)undefined (#15654)publish step on CircleCI (#15556)react-docgen-typescript-plugin (#15432)react-docgen-typescript-plugin (#15432)react-docgen-typescript-plugin for refresh perf regression (#15431)SB6.3 adds new UI development and testing features, while evolving with the JS ecosystem:
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.
regenerator-runtime dependency (#15312)singleStory=true (#15201)shortcuts URL param to disable keyboard shortcuts (#15192)Storybook 6.3 is in RC!! 🎉🎉🎉
Hundreds of improvements and fixes, including:
Track the release in the Github: Storybook 6.3 Release 🛠
undefined range slider different to filled one (#14973)@storybook/lit into @storybook/web-components (#15042)core.disableWebpackDefaults preset (#15062)react_in_yarn_workspace template for users, keep in e2e (#15114)typescript.check is true (#15089)SKIP_PREFLIGHT_CHECK in CRA repro (#15092)docs.source parameter (#15070)Failed NPM publish
globals URL param and remove from sessionStorage (#15056)loose: true in babel/preset-env config (#15055)order with whitespace in story paths (#15038)Storybook 6.3 is in beta!! 🎉🎉🎉
Hundreds of improvements and fixes, including:
Track the release in the Github: Storybook 6.3 Release 🛠
webpackInstance to include entire namespace (#15016)angularBrowserTarget option in server (#14955)Failed NPM publish
Fix stale dependencies appended to #15001
Minor manager webapck5 fixes appended to #15001
@wordpress/jest-puppeteer-axe package (#15006)regenerator-runtime (#14979)Failed NPM publish
undefined (#14899)stories.json support (#14945)build step to XL (#14970)sb repro (#14924)resolve.fallback.crypto to false (#14914)@types/cpy dependency (#14880)vue-jest and svelte optional peer dependencies (#14835)features, core, logLevel in main.js config types (#14745)beforeAxeTest hook (#14563)babel-loader and @babel/core peer deps (#14689)funding to manifests (#14647)dev:babel and dev:tsc NPM scripts (#14560)* wildcard option in storySort order array (#14531)lodash/range with Array.from (#14323)dotenv-webpack to v6" (#14501)dotenv-webpack to v6 (#14492)features setting (#14478)sb init docs (#14421)Fix bad version update message from #12183
Storybook 6.2 future-proof component development
Storybook 6.2 includes major improvements for new frameworks, package managers, and bundlers.
🚀 Frameworks: Vue 3, Svelte Native CSF 📦 Packaging: NPM 7, Yarn 2, ESM 🛠 Bundlers: Webpack 5 (experimental), pluggable bundlers to enable Vite, ESBuild, Snowpack, & more.
It also includes 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.
NOTE: For Angular users using inline story rendering in addon-docs, this is a breaking prerelease change. See below and apologies for the back and forth. Last time we hope!
enum args parsing from URL (#14314)null when parsing input in color picker (#14305)NOTE: For Angular users using inline story rendering in addon-docs, this is a breaking prerelease change. See below and apologies for the back and forth.
isPlainObject directly from lodash (#14307)module mainField (#14271)NOTE: For Angular users using inline story rendering in addon-docs, this is a breaking prerelease change. See below.
--webpack-stats-json flag (#14186)env to main.js (#14191)Failed publish
--legacy-peer-deps for NPM7 install (#14106)--legacy-peer-deps for NPM7 install (#14106)renderLabel to customize sidebar tree labels (#13121)/ event listener (#14062)regenerator-runtime dependency (#13991)Storybook 6.2 is in beta. 🎉🎉🎉
Hundreds of improvements and fixes, including:
Track the release in the Github: Storybook 6.2 Release ⚡️
NOTE: this is a breaking change for users of @storybook/vue3 which is currently in alpha prerelease:
Story when using args (#13845)regenerator-runtime dependency (#13916)@storybook/preset-create-react-app (#13878)yarn install in the build CI job (#13872)test NPM script (#13871)NPM publish failed
configFile: undefined in ts-loader options (#13382)--static-dir with absolute path on Windows (#13344)done attribute on type definition (#13341)done attribute on type definition (#13341)name does not contain leading/trailing whitespace (#13275)express.json() middleware to /runtime-error route (#13295)beforeScreenshot and afterScreenshot return types (#13198)6.1 is the first in a series of performance-oriented Storybook releases. It includes:
Manager caching for faster startup #12707
Asynchronous loaders #12699
React improvements
Strict mode #12781
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.
@emotion/core to 10.1.1 (#13102)react and react-dom to peer deps (#12972)sb init (#12405)Failed NPM publish
Failed NPM publish
disabled parameter => disable (#12603)Failed NPM publish
emberOptions to main.js config ✨ (#12440)sb init (#12405)Failed npm publish
Failed NPM publish
disable parameter to hide addon panel (#12171)NPM publish failed
Unpublished
.add detection (#11920)Storybook 6.0 is here!
📚 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.
undefined (#11829).x and deprecated .story.x parameters (#11781)STORY_SPECIFIED event for initial selection/URL (#11766)__STORY__ variable (#11765)docs.description parameter (#11761)Failed NPM publish
@types/react-color to devDeps (#11690)storiesHash by removing unused parameters (#11624)docs:json command dynamically for Angular project (#11622)configure deprecation warning (#11611)components input (#11612)presetColors for the color control (#11606)NPM publish failed
NPM publish failed
argTypes to StoryContext (#11558)NPM publish failed
no-cors (#11491)Storybook 6.0 is stabilizing! It brings loads of component dev and documentation improvements to your favorite workshop:
addParameters and addDecorator (#11417)setAddon from storiesOf API (#11322)sb@next init (#11303)docs.forceExtractedArgTypes parameter (#11069)sb init in Yarn workspace environment (#10985)options control types (#11003)register.tsx as manager code in preset heuristic (#10980)workspace.json in nx workspace (#10881)Failed publish
Failed publish
mapper to storyMapper and fix loading bugs (#10780)argsStory convenience function (#10685)globalArgs initialization from global parameters (#10566)uuid (#10625)Storybook 6.0 is in beta. 🎉🎉🎉
Hundreds of improvements and fixes, including:
Track the release in the Github: Storybook 6.0 Release 🏆
sb init (#10547)viewMode parameter handling (#10292)formatSource to transformSource (#10503)Failed publish
.storybook/preview.js file (#10342)stories regex to glob conversion (#10400)text and number to take undefined values (#10101)Failed NPM publish
preview.js exports (#10123)docs.theme parameter (#10114)NOTE: 6.0.0-alpha.24 broken due to bad merge. Sorry!
Failed publish
manager.js (#9323)configFilename containing backticks (#9960)layout (#9940)typesVersions attribute (#9907)disableForceUpdate option (#9447)typesVersions attribute (#9907)Failed NPM publish
@storybook/cli to CJS (#9807)MiniCssExtractPlugin for CRA (#9759)min-css-extract-plugin to fix SASS loading (#9652)viewMode parameter to control story nav UI (#9090)min-css-extract-plugin to fix SASS loading (#9652)@storybook/angular (#9097)@storybook/angular (#9097)@types/webpack-env dep in all packages (#9536)