- 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)
- CLI: Fix link to
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.
- Controls: QA fixes for Object and Color controls (#14392)
- Controls: Fix defaultValue without PropType (#14387)
- CLI: Compatibility with sveltekit (#14384)
- Controls: Color picker QA fixes (#14382)
- Svelte: Fix Cannot read property '__docgen' of undefined (#14383)
- Core: Make Storybook esbuild-compatible (#14380)
- CLI: Use Svelte-native CSF during initialization (#14363)
- Addon-actions: Fix addArgs warnings by refactor (#14372)
- Webpack: Fix HMR by removing concatenateModules optimization (#14373)
- Fix issue with string unions/enums (#14370)
- Components: Deprecate html components entry point (#14369)
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!
- Addon-docs: Fix un-prefixed path links (#14334)
- UI: Add aria-labels to buttons without discernible text (#14338)
- Angular: Improve docs inline rendering setup (#14333)
- Core: Support some special values in URL args (#14293)
- Core: Fix
enum
args parsing from URL (#14314) - Controls: Tweaks and fixes for color control (#14316)
- Components: Handle
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.
- Revert "Addon-docs/Angular: Fix inline rendering setup" (#14310)
- Core: Import
isPlainObject
directly from lodash (#14307) - Addon-Links: Fix react.d.ts paths (#14306)
- Core: Restore webpack4 watchOptions (#14302)
- Webpack: Hash files only in dev mode (#14284)
- UI: Element em should not make text content bold (#14290)
- Webpack5: Remove deprecated webpack-filter-warnings-plugin (#14303)
- Revert "Webpack: Hash files only in production mode" (#14283)
- Webpack: Hash files only in production mode (#14264)
- Angular: Allow usage of all component valid selectors (#14230)
- Addon-controls: Improve color picker UI and migrate to react-colorful (#14249)
- Webpack: Fix missing
module
mainField (#14271)
NOTE: For Angular users using inline story rendering in addon-docs, this is a breaking prerelease change. See below.
- Addon-docs/Angular: Fix inline rendering setup (#14270)
- Addon-docs: Fix table dark mode (#14251)
- Webpack5: Replace fullhash with contenthash (#14261)
- CLI: Don't allow root directory as static dir (#14068)
- WebComponents: Fix types and improve CLI detection (#14258)
- Addon-docs/Vue,Vue3: Fix preset options for vue-docgen-api (#14227)
- Webpack5: Fix hash => fullhash (#14255)
- Core: Check webpack version (#14256)
- CLI: Improve init for svelte (#14161)
- Svelte: Improve default webpack config (#14235)
- Controls: Add ArgsTable sorting (#13125)
- Addon-docs: Fix source block error on dynamically-generated stories (#14217)
- [Security] Bump react-dev-utils from 11.0.3 to 11.0.4 (#14210)
- Addon-docs/Vue: Fix string docgen (#14200)
- Controls: Fix width of Select control (#14154)
- Source-loader: Revert sourcemaps (#14199)
- Core: Fix webpack stats (#14198)
- CLI: Add a
--webpack-stats-json
flag (#14186)
- Core: Fix standalone and add tests (#14196)
- Core: Fix dotenv file loading and add
env
to main.js (#14191) - Core: Fix main.ts/preview.ts (#14184)
- Core: Hoist 'control.options', validate them in core and introduce 'control.labels' (#14169)
- UI: Fix React unique key warning when using renderLabel (#14172)
- Controls: Remove auto inference and add to CLI template (#14182)
- React: Fix fast refresh socket connection error (#14165)
- Update sveltedoc-parser to 4.1.0 (#14164)
- Angular: Keep story templates with an empty value (#14113)
- Core: Fix standalone API ... again (#14140)
- Core: Add 'mapping' to support complex arg values (#14100)
Failed publish
- IE11: Transpile prettier down to ES5 (#14047)
- CLI: Add
--legacy-peer-deps
for NPM7 install (#14106) - SyntaxHighlighter: Safely access clipboard on global.navigator (#14035)
- Svelte: Fix async loaders in docs panel (#14080)
- CLI: Add
--legacy-peer-deps
for NPM7 install (#14106)
- [Security] Bump pug from 3.0.0 to 3.0.1 (#14104)
- [Security] Bump pug-code-gen from 3.0.1 to 3.0.2 (#14105)
- Core: Add
renderLabel
to customize sidebar tree labels (#13121)
- Core: Namespace sidebar config options (#14067)
- Move back to the original react-sizeme package (#14069)
- UI: Enable search for stories and fix
/
event listener (#14062) - UI: Add collapse roots to sidebar navigation (#13685)
- Core: Support null and undefined in URL args (#14049)
- IE11: Transpile prettier down to ES5 (#14047)
- UI: Fix shortcut button focus border to support high contrast (#13699)
- Fix flaky color rendering (#14054)
- CLI: Add builder option (#14041)
- CLI/Vue 2: install vue-loader upon init of vue 2 storybook (#14018)
- SyntaxHighlighter: Safely access clipboard on global.navigator (#14035)
- Addon-controls: Add JSON tree editor for Object/Array Type args (#12824)
- CLI: Fix opening localhost in browser by default (#14032)
- Addon-Docs: Do not create extra Vue instance for Dynamic source rendering (#14002)
- Deps: upgrade react-dev-utils to get newer immer (#14015)
- Core: Refactor ProgressPlugin handling (#14016)
- Deps: upgrade react-dev-utils to get newer immer (#14015)
- Components: Add missing
regenerator-runtime
dependency (#13991)
Storybook 6.2 is in beta. 🎉🎉🎉
Hundreds of improvements and fixes, including:
- Vue 3 - Official support for the latest version of Vue.
- Webpack 5 - Experimental support for the latest version of Webpack.
- Controls - Controls improvements including URL sync, filtering, sorting, and more.
- Angular - Overhauled Angular support.
- Svelte - Overhauled Svelte support.
Track the release in the Github: Storybook 6.2 Release ⚡️
- Webpack5: Fix progress plugin version conflict (#14007)
- Core: Use webpack4 to build Manager UI instead of webpack5 (#14001)
- Yarn PnP: Add missing dependencies for Webpack 4/5 work (#13992)
- Core: Fix core/builder dependencies (#13999)
- Addon-docs: Support story.mdx, stories.mdx (#13996)
- Webpack5: Remove outdated html-webpack-plugin types (#13986)
- Move to a fork of react-sizeme with updated React peer dependency (#13733)
- Webpack4: Upgrade html-webpack-plugin and remove external types (#13993)
NOTE: this is a breaking change for users of @storybook/vue3
which is currently in alpha prerelease:
- Vue 3: Map args with setup hook & remove automatic props mapping (#13981)
- Webpack5: Fix compilation error display (#13983)
- Webpack5: Add semver to builder-webpack5 dependencies (#13982)
- CLI: Don't allow empty string as outputDir option (#13969)
- Addon-docs: Fix ArgsTable tab renamed to
Story
when using args (#13845) - Angular: Correctly destroy angular application between each render (#13956)
- Webpack5: Fix warnings display in build-storybook (#13975)
- Core: Support webpack5 and webpack4 side by side (#13808)
- Args: Fix issues with string default values (#13919)
- Args: Prefer react runtime default values (#13937)
- Core: Improve preset handling test coverage (#13951)
- Components: Add missing
regenerator-runtime
dependency (#13916)
- Core: Load middleware.cjs if it exists (#13592)
- Build: Ensure consistency of Chromatic snapshots of Zoom stories (#13932)
- Angular: Clean and improve angular-cli examples (#13886)
- Addon-actions: Change to override default values (#13912)
- CLI: Add safe check for eslint overrides (#13717)
- CLI: Don't try to add packages that are already installed (#13876)
- Addon-controls: Infer color and date controls (#13675)
- Svelte: Support TypeScript and preprocessors (#13900)
- Addon-controls: Add include/exclude configuration options (#13898)
- Add catalog metadata to the addons (#13666)
- Misc: Clean TS config and bump
@storybook/preset-create-react-app
(#13878)
- Addon-controls: Files control (#13544)
- UI: Add a 'main' role to the Main component for a11y (#13827)
- Addon-docs/Vue3: Attach app context from preview to inline stories (#13894)
- UI: Fix theming for focused search bar (#13895)
- Build: Move all the
yarn install
in thebuild
CI job (#13872) - Build: Rework
test
NPM script (#13871)
- Addon-docs: Configure syntax highlighter language by story parameter (#13869)
- Svelte: Improved decorators (#13785)
- Addon-docs/Angular: Add dynamic source snippets (#13740)
- Addon-storyshots: Add support for Vue 3 (#13828)
- CLI: only kill other processes on fail (#13822)
- Addon-docs/Vue3: Resolve vue3 package for addon-docs preset (#13819)
- CLI: Fix opening localhost in browser by default (#13812)
- CLI: Fix opening localhost in browser by default (#13812)
- Addon-docs: Add support for Vue 3 (#13809)
- Build: Exclude all test and story files from transpilation (#13714)
- Build: Generate version file with preval macro (#13715)
- Addon-docs/Svelte: Fix component name in docgen-loader (#13760)
- UI: Fix copy to clipboard for insecure deployments (#13777)
- Vue: Add Vue 3 support (#13775)
- CLI: Add try/catch on readFileAsJson to improve error message (#13730)
- Core: Generate manager cache in smoke test, but don't use/clear any cache (#13784)
- Addon-docs/Svelte: Fix component name in docgen-loader (#13760)
- Addon-docs/Svelte: Fix component description (#13659)
- UI: Fix copy to clipboard for insecure deployments (#13777)
- CLI: Handle package versions in package strings for generators (#13774)
- Build: Do not recompile packages in publish step of the CI (#13786)
- CI: Remove generic cache key from Circle CI (#13787)
- CI: Upgrade cache GH Action & remove fallback caches (#13752)
- Addon-docs/Angular: Inline rendering support with angular-elements (#13525)
- CLI: Add version matcher functions for framework detection (#13738)
- CLI: Fix handling of version ranges in dependency checks (#13759)
- Build: Enable deepscan in workspace (#13716)
- Chore: Increase node version minimums to 10.13 (#13725)
- Fixes smoke-test on svelte-kitchen-sink (#13705)
- Svelte: Fix duplicate story preview (#13663)
- Angular: Properly handle empty tsconfig compilerOptions (#13596)
- Angular: Use Nx function to read non-angularCli configs (#13558)
- Bump @types/reach__router version (#13703)
- Svelte: Fix duplicate story preview (#13663)
- Angular: Add Angular 11.1 support (#13704)
- Bump @types/reach__router version (#13703)
- Addon-docs/Svelte: Add dynamic snippet support (#13653)
- Addon-docs/Svelte: Add Slots and Events to the generated ArgsTable (#13660)
- Angular: Force re-render if template change (#13638)
- Angular: Properly handle empty tsconfig compilerOptions (#13596)
- Core: Deprecate default postcss config, recommend addon-postcss (#13669)
- Core: Throw an error for invalid story format (#13673)
- Build: Ensure consistency of Chromatic snapshots of Zoom stories (#13676)
- Dependencies: Swap back to upstream postcss-loader (#13698)
- Dependencies: Remove inquirer types (#13651)
- Dependencies: Swap postcss-loader for fork version (#13655)
- Maintenance: Configure Renovate (#13641)
- Dependencies: 6.2 non-breaking package upgrades (#13631)
- Dependencies: Update postcss-loader to ^4.1.0 (#13640)
- CLI: Fix sb init prompt when framework type is undetected (#13520)
- Rax: Migrate to TS (#13450)
- Riot: Migrate to TS (#13447)
- Marionette: Migrate to TS (#13448)
- Marko: Migrate to TS (#13449)
- Angular: Improve decorators (#13507)
- Angular: Fix flaky tests based on timezone (#13609)
- Angular: Use Nx function to read non-angularCli configs (#13558)
- Build: Move Preact E2E tests on a Node 12 executor (#13582)
- Addon-docs: Add missing types for Story doc block (#13549)
- 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)
NPM publish failed
- Addon-docs: Fix link not working cross origin (#13022)
- Addon-docs: Resolve babel-loader from storybook/core (#13607)
- Addon-docs: Resolve babel-loader from storybook/core (#13607)
- HTML: Add CSF types (#13519)
- Addon-jest: Infer parameter from story filename if not provided (#13535)
- Server: Forward globals in fetchStoryHtml (#13158)
- Addon-docs: Fix link not working cross origin (#13022)
- Addon-docs: Use theme text color header anchors (#13533)
- Build: remove redundant checks for TS type declaration generation (#13567)
- Typescript: Fix qs import in @storybook/client-api (#13518)
- CLI: Ensure --host option changes the network host (#13521)
- Perf: Reuse SVG icon paths by using symbols (#13110)
- Core: Fix typing of dev CLI options (#13501)
- Perf: Bundle only required syntax highlighter languages (#13479)
- Web-components: Add typescript types and CLI template (#12395)
- Addon-docs: Fix angular without compodoc (#13487)
- Core: Use fs-extra emptyDir so build works on docker volume (#13474)
- Addon-docs: Tighten preset webpack pattern for mdx stories (#13476)
- Svelte: Statically load docgen info for svelte components (#13466)
- Bump @ember/optional-features from 1.3.0 to 2.0.0 (#12829)
- Angular: Fix
configFile: undefined
in ts-loader options (#13382)
- Angular: Deprecate the story component attribute (#13383)
- CLI: Add overrides to CRA ESLint config (#13452)
- Perf: Lazy load OverlayScrollbars (#13430)
- Addon-docs: Remove unused titleFunction export (#13457)
- Perf: Distribute both ESM and CJS modules (#13013)
- Perf: Replace react-hotkeys with useEffect keybinding (#13424)
- Update react-popper-tooltip and @popperjs/core for react17 (#13434)
- Main.js: Add previewHead, previewBody, managerHead presets (#13432)
- Components: Cleanup circular dependencies (#13439)
- Core: Generate bundle size report for prebuilt manager (#13425)
- CI: Speed up CircleCI workflows (#13320)
- Update react-popper-tooltip and @popperjs/core for react17 (#13434)
- Core: Fix
--static-dir
with absolute path on Windows (#13344)
- Addon-docs: Handle svelte docgen failures gracefully (#13386)
- Bump @ember/test-helpers from 1.7.1 to 2.1.0 (#13143)
- CLI: Fix stories path in Introduction.stories.mdx (#13368)
- UI: Fix display of custom brand image (#13355)
- CLI: Replace inquirer with prompts (#13225)
- 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)
- Addon-storyshots: Add React as peer dependency (#13343)
- Storyshots: Fix missing
done
attribute on type definition (#13341) - Core: Fix IE11 compatibility by using XHR and plain ES5 (#13348)
- Angular: Overhaul preview renderer (#13215)
- Addon-docs: ArgTypes optional on Meta (#13352)
- Composition: Filter out disabled refs in getAutoRefs (#12863)
- UI: Add support for expand/collapse keyboard shortcuts (#12980)
- Addon-docs: Fix type aliases and enum types from Angular Compodoc JSON (#12665)
- Core: Ensure node
name
does not contain leading/trailing whitespace (#13275) - Angular: Run setProps in the NgZone (#12382)
- Core: Make @babel/core an optional peer dependency (#13329)
- Core: Replace preset-env polyfills with babel-polyfills (#13055)
- CLI: use Jest to test CLI commands and remove outdated fixtures (#12936)
- 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)
- 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)
- 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)
- Remove unused dependency @svgr/webpack (#13281)
- 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)
- Core: Resolve react and react-dom from core (#13195)
- Core: Clear manager cache on runtime error (#13230)
- Core: Replace 'trash' with 'fs.remove' (#13211)
- UI: Fix overflow scrolling on layout:centered (#13217)
- CLI: Don't install babel-loader for CRA (#13220)
- Addon-docs: Fix lineheight in typeset component (#13205)
- Storyshots: Fix
beforeScreenshot
andafterScreenshot
return types (#13198) - UI: Target only IE10/IE11 for our CSS vertical centering hack (#13192)
- Addon-backgrounds: Fix grid disable (#13175)
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.*
, and6.1.0-rc.*
for the full list of changes. See Storybook 6 migration guide to upgrade from5.3
or earlier.
- Core: Fix using cached manager on the 2nd run (#13165)
- Addon-docs: Fix Preview scaling with transform instead of zoom (#12845)
- UI: CSS escape hatches for sidebar styling (#13155)
- UI: Fix CSS for IE11 (#13159)
- Build: Update example and app to Angular 11 (#13141)
- Build: Fix Yarn 2 E2E tests (#13129)
- UI: Reduce rerenders when changing the selected story (#13107)
- Build: Update example to Angular 10 (#13048)
- Addon-docs: Export SourceContainer context (#13118)
- UI: Fix loading UI when EventSource isn't defined (#13123)
- Build: Remove some dependencies and improve E2E workflow (#13115)
- Bump
@emotion/core
to 10.1.1 (#13102)
- UI: Disable instant-on manager for now (#13084)
- React: Don't create a new story function on every render (#13069)
- UI: Fix search field styling in Safari 13 (#13070)
- Addon-docs: Fix spurious warnings (#13075)
- UI: Fix Escape key handling perf (#13073)
- Storyshots: Fix compatibility for jest-preset-angular 8.3+ (#13060)
- Angular: Fix storyData handling on module update (#13037)
- Args: Default to type 'object' when there is a null arg (#13051)
- Core: Fix duplicate argTypeEnhancers on HMR (#13050)
- Bump react-dogen-typescript-plugin to 0.6.2 (#13052)
- UI: Single story hoisting in sidebar (#13039)
- UI: Fixes for Sidebar and Search (#13027)
- Core: Make sure cache is available before trying to use it (#13012)
- Core: Fix possible "write after end" exception for response stream (#13007)
- Core: Add STORYBOOK environment variable (#12997)
- Args: Fix args inference for null values (#13029)
- Core: Dedupe default ArgTypes enhancers (#13030)
- Core: Add catch to end process (#13018)
- UI: Fix icon for addon panel orientation button (#13026)
- Addon-docs: Fix test for Angular type inference (#13009)
- CLI: Fix deprecation check (#12981)
- UI: Restrict layout styles to only apply to a rendered preview area (#13014)
- Bump webpack to 4.41.24 (#13019)
- Addon-docs: Hide React default props in source block (#13003)
- Addon-docs: Angular empty string now infers to "string" instead of "void" (#12994)
- Components: Add outline icon (#13002)
- Core: Migrate core to TypeScript (#12839)
- Addon-docs: Exclude testfixtures from package (#12998)
- Components: react-syntaxt-highlighter optimization (#12948)
- Build: Replace enzyme with react-test-library (#12990)
- Core: Move
react
andreact-dom
to peer deps (#12972)
- Build: Relax react deps for preview-wrapper-react (#12988)
- Build: Run storybook in react@17 (#12978)
- Composition: Append index to ref indicator links (#12932)
- UI: Don't listen for progress updates in static builds (#12966)
- UI: Instant-on manager (#12707)
- Core: Allow React-DOM 17.x (#12937)
- Addon-docs: Lazy load iframes (#12888)
- React: Allow Storybook packages to use React 17.x (#12908)
- React: Support JSX react transform introduced in 16.14.0 (#12899)
- Addon-viewport: Fill entire iframe width with drop shadow (#12870)
- CLI: Deprecate '--story-format=mdx' option (#12905)
- CLI: Fix intro MDX for React17 (#12878)
- 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)
- Upgrade babel-plugin-react-docgen (#12748)
- Core: Disable Docs DLL by default (#12874)
- Essentials: Fix absolute config dir (#12873)
- UI: Add close button to version update notification (#12320)
- UI: Add fullscreen mode to docs (#12861)
- Angular: Update TypeScript peerDep version to support Angular 11 (#12866)
- Addon-docs: Dynamic source rendering for Vue (#12812)
- Core: Pass framework options as global (#12810)
- CLI: Clean up handling of unknown subcommands (#12799)
- Components: Minor update checking color in Button (#12800)
- Bump vue-docgen-api to 4.33.1 (#12808)
- Storyshots: Add missing vue peer dependencies (#12790)
- Core/CLI: Update ShellJS dep version (#12794)
- React: Add strictMode option (#12781)
- Bump lodash from 4.17.19 to 4.17.20 (#12235)
- Addon-viewports: Fix initial load state (#11627)
- UI: Fullscreen toggle does not work when all panels are collapsed (#11810)
- Addon-controls: Fix "docs before controls" check (#12738)
- Build: fix E2E tests and rework related CircleCI jobs (#12746)
- Upgrade babel-plugin-react-docgen (#12748)
- Build: Improve angular e2e tests (#12723)
- Angular: Choose project used by Storybook (#12565)
- Composition: Fix incorrect ref type (#12709)
- Addon-knobs: Fix uncontrolled to controlled warning for booleans (#12719)
- Sidebar: Better search, keyboard shortcuts, "recently viewed" (#12601)
- Source-loader: Generate sourcemaps (#12277)
- Core: Add APNG support (#12639)
- Addon-docs: Fix Memo React components in ArgsTable (#12686)
- Core: Fix babel-loader path resolution (#12536)
- Addon-docs: Fix exotic React components in Source block (#12638)
- Addon-docs: Fix exotic React components in Source block (#12638)
- Storyshots: Fix typings of "test"-method (#12389)
- Storyshots: Fix support for test failures in async tests (#11962)
- Storyshots Puppeteer: Fix support for over 1 assertions in async tests (#12657)
- Marko: Update @marko/webpack and allow Marko 5 peerDepenency (#12035)
- CLI: Workaround for react native
sb init
(#12405)
Failed NPM publish
Failed NPM publish
- ArgsTable: Remove the "simple" detection for enum types (#12587)
- Addon-docs: Move summary & detail equality check to createSummaryValue (#12588)
- Essentials: Make controls tab show first (#12652)
- Misc: Clean usage and place in the monorepo of some dependencies (#12653)
- Composition: Rename
disabled
parameter =>disable
(#12603) - UI: Fix page title for non-alpha chars (#12583)
- Fix spelling errors (#12590)
- Addon-docs: Add CSS Shadow Parts to web-component props table (#10442)
- [Security] Bump bl from 1.2.2 to 1.2.3 (#12480)
- [Security] Bump node-fetch from 2.6.0 to 2.6.1 (#12448)
- 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)
- Build: Disable problematic story in Chromatic (#12457)
- [Security] Bump node-fetch from 2.6.0 to 2.6.1 (#12448)
- Addon-backgrounds: Add docs support and extend grid configuration (#12368)
- Addon-docs: Fix story description to only show when expanded (#12563)
- Upgrade react-docgen-typescript-plugin to 0.6.0 (#12577)
- Core: Add viewMode to StoryContext (#12566)
- Addon-docs: Add converters between Flow types and storybook types (#12550)
- Addon-actions: Fix log flushing when story re-renders (#12500)
- Angular: Unsubscribe prop subscriptions (#12514)
- Addon-docs: Remove leading pipe if using raw value for Flow union (#12549)
- Web Components: Add script tag support (#12509)
- React: Fix fast refresh (#12535)
- CLI: Change suggested upgrade command to sb@latest (#12533)
Failed NPM publish
- Core: Upgrade babel (#12499)
- Preact: Keep the story state between rerenders (#12221)
- Addon-controls: Update style of Boolean control (#12515)
- Ember: Add
emberOptions
tomain.js
config ✨ (#12440)
- React: Fix reactDocgen option when false (#12492)
- Storyshots: Allow taking a screenshot of just a specific element (#12460)
- CLI: Fix storiesof-to-csf codemod for TypeScript (#12453)
- Addon-docs: Resolve vue-docgen-loader from @storybook/vue (#12461)
- Build: Disable problematic story in Chromatic (#12457)
- Core: require.resolve loaders and add missing dependencies (#12383)
- Addon-docs: Fix DocsPage scroll behavior (#12047)
- Core: Fix monorepo compatibility (#11753)
- Components: Add graphql support to SyntaxHighlighter (#12385)
- UI: Fix the p > div nesting issue (#12298)
- Addon-docs: Apply transformSource to any SourceType (#12375)
- CLI: Workaround for react native
sb init
(#12405)
- Core: Change react deps to normal deps (#11628)
- Core: Add static dir path mappings (#12222)
- Addon-controls: Default to radio control for small enums (#12436)
- Source-loader: Export extract-source in its own entry point (#12429)
- Addon-docs: Prefer flow's union elements over raw values (#12376)
Failed npm publish
- Addon-docs: Add Methods to web components ArgsTable (#12413)
- Addon-docs: Introduce undefined filtering to jsxDecorator (#12365)
- Addon-docs: Fix missing line-height on TypeSet block (#12134)
- Addon-docs: Reuse extractSource from source-loader (#12225)
- Addon-docs: Add Controls argument autodetection for svelte (#12347)
- Core: Use denormed params of the first story for initial options (#11938)
- Addon-docs: Light refactor of Source block (#12268)
- Addon-docs: Change 2nd argument of transformSource to the storyContext (#12265)
- Bump css from 2.2.4 to 3.0.0 (#12338)
Failed NPM publish
- Components: Add additionalActions prop to Preview block (#12274)
- Addon-docs: Add transformSource for jsxDecorator, deprecated onBeforeRender (#12178)
- SyntaxHighlighter: Put formatted code to clipboard (#11276)
- Addon-docs: Add inline rendering for svelte (#12313)
- UI: Remove scrolling attribute from iFrame (#12223)
- CLI: Add HTML components and stories (#12286)
- Vue: Add basic CSF types (#12037)
- CLI: Add Aurelia detection (#12181)
- Storyshots: Remove needless iteration testStorySnapshots (#12321)
- Bump react-syntax-highlighter to 13.2.1 (#11838)
- Addon-controls: Fix uncontrolled to controlled warning for booleans (#12322)
- Build: Add CRA benchmark (#12209)
- ArgsTable: Fix union type splitting (#11868)
- CLI: Fix import of Button in react mdx template (#12252)
- Core: Add skip dispose option to ClientApi (#9868)
- UI: Fix eject and copy URLs for composition (#12233)
- React-native server: Fix addon tabs (#10468)
- Addon-docs: Fix babel JSX handling in MDX (#11448)
- Revert "Fix: Search stories" (#10916)
- UI: Fix
disable
parameter to hide addon panel (#12171) - Addon-controls: Fix controls from args (#12230)
- Mithril: Add Mithril v2.0.0 to peer dependencies (#12229)
- Addon-essentials: Log info on config override (#12211)
- Build: Remove outdated CLI tests (#12207)
- Source-loader: Pin prettier to 2.0.x version (#12226)
- Addon-docs: Fix Vue ArgsTable sanitizing of item.type.elements to item.type.value (#12165)
- Addon-docs: Fix ArgsTable union type handling in Vue/TS (#12158)
- Addon-docs: Fix inline rendering for DOM nodes in HTML (#12164)
- React: Simplify component type for CSF typing (#12110)
- Addon-docs: Fix MDX IDs from CSF imports (#12154)
- Addon-viewport: Add preset to fix windows import (#12148)
- Composition: Verify refs in node (#12085)
- Build: Update and optimize circleCI Config (#12118)
- 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)
- 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)
NPM publish failed
- Addon-controls: Fix argType inference priority (#12048)
- Addon-docs: Fix CSF names importing in MDX (#12044)
- ArgsTable: Error when subcomponents is an array (#12033)
Unpublished
- Addon-docs: Fix extractArgTypes for unknown component (#12012)
- UI: Update upgrade command in about section (#11934)
- Build: Remove documentation scripts and fix README (#12015)
- Bump jest-specific-snapshot to v4 (#11939)
- CLI: Fix upgrade to warn when no packages found (#11993)
- Addon-docs: Fix blocks type export (#11987)
- CLI: Fix RN link (#11973)
- CLI: Fix welcome links on Introduction MDX (#11949)
- Source-loader: Fix
.add
detection (#11920)
- Essentials: Fix missing toolbars addon (#11910)
- CLI: Fix csf-hoist-story-annotations codemod for variable default exports (#11895)
- Core: Fix support for main.ts/preview.ts files (#11885)
- Addon-docs: Fix ArgsTable regression (#11889)
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.*
, and6.0.0-rc.*
for the full list of changes. See MIGRATION.md to upgrade from5.3
or earlier.
- Storyshots: Don't ship typescript files in dist (#11792)
- 6.0 documentation overhaul (#11861)
- CLI: Add CSF types for Angular (#11825)
- Core: Fix serialization of
undefined
(#11829)
- CLI: Add CSF typings for react stories (#11811)
- Upgrade telejson to 5.0.1 (#11824)
- Addon-docs: Prettier, collapsible values in ArgsTable (#11768)
- Addon-docs: Add inline rendering support for HTML (#11814)
- Addon-controls: Fix ArgsTable bugs and styling (#11805)
- Addon-docs: Don't zoom docs content (#11795)
- Perf: Upgrade telejson (#11797)
- CSF: Fix mixed
.x
and deprecated.story.x
parameters (#11781)
- Addon-docs: Fix link font size to inherit (#11770)
- Addon-knobs: Fix search params with URI encoding (#11642)
- Core: Add
STORY_SPECIFIED
event for initial selection/URL (#11766) - Core: Fix handling of initial hashes (#11767)
- Core: Fix link to deprecated configure (#11771)
- Source-loader: Fix storiesOf missing
__STORY__
variable (#11765)
- Addon-docs: Add
docs.description
parameter (#11761)
- Composition: Fix missing version property in autoref (#11745)
- Addon-a11y: Fix inherited parameters (#11730)
- Addon-docs: Fix Ember args (#11760)
- Addon-Docs: Fix Ember extractArgTypes default value (#10512)
- Addon-Docs: Fix Ember extractArgTypes (#10525)
- Addon-docs: Make vue-docgen optional peer deps (#11759)
- Addon-docs: Add Story.story for CSF stories with MDX docs (#11752)
- Addon-docs: Rename Preview/Props to Canvas/ArgsTable (#11744)
- Core: Pass normalized parameters to the story sort function (#11743)
- Core: Dedupe argTypes serialization (#11740)
- Core: Speed up combineParameters (#11736)
- Addon-docs: Support absolute anchors when deployed at non-root (#11403)
- Args: Add optional scalar test cases for typescript (#11149)
- Addon-controls: Fix update logic for argTypes with custom names (#11704)
- Core: Fix HMR (#11709)
- Server: Serialize Object controls as JSON over the wire (#11703)
- Revert #11502: Remove z-index on ActionBar (#11708)
- Revert #11066: Add skip to content on panel and story iframe (#11718)
- UI: Improve treestate performance (#11725)
Failed NPM publish
- Source-loader: Inject source snippets as story parameters (#11707)
- Source-loader: Handle bind expression stories (#11710)
- UI: Add skip to content on panel and story iframe (#11066)
- Addon-storyshots: Add web-component support (#11064)
- Addon-docs: Fix docs render layout to always be 'fullscreen' (#11699)
- UI: Fix release notes on production builds (#11700)
- Addon-docs: Apply list styles over reset (#11281)
- CLI: Update rax/mithril/web-components templates, rework Yarn2 E2E (#11354)
- Server: Update to 6.0 APIs and support Controls (#11680)
- Addon-Storysource: Fix broken source when there's no story (#11679)
- Angular: Use system path when checking if asset is a directory (#11472)
- Composition: Fix composition of older storybooks (#11673)
- Core: Fix existing behavior with story prefixes (#11660)
- Core: Fix webpack recursion in mainjs glob processing logic (#11647)
- Addon-knobs: Move
@types/react-color
to devDeps (#11690)
- Bump react-docgen-typescript-plugin to 0.5.2 (#11658)
- Addon-docs: Re-enable source-loader by default (#11650)
- Core: Remove duplicate decorators and warn (#11643)
- Storyshots: Fix metadata (parameters/decorators) handling (#11518)
- Addon-docs: Skip dynamic source rendering when not needed (#11640)
- Core: Fix prefix redirect (#11637)
- Core: Log message length on channel message (#11646)
- Core: Improve translation of globs for main.js stories (#11531)
- Core: Optimize
storiesHash
by removing unused parameters (#11624) - Composition: Fix docs-only stories in composed refs (#11584)
- CLI: Generate
docs:json
command dynamically for Angular project (#11622)
- Addon-controls: Fix undefined args handling (#11619)
- UI: Fix the color of the menu separator (#11564)
- Storyshots: Don't show
configure
deprecation warning (#11611) - Addon-docs: Fix Props
components
input (#11612)
- Addon-controls: Expose
presetColors
for the color control (#11606)
- Addon-docs: Fix Vue defaultValue in props table (#11603)
- Addon-docs: Automatic source selection based on story type (#11601)
- Addon-controls: Fix no-args warning if argTypes are used (#11598)
- Core: Pass denormalized stories to the sort function (#11572)
- Addon-docs: Fix Vue inline rendering with Args and decorators (#11594)
- Composition: Fix missing refId on getData calls (#11541)
- UI: Fix scrollbars in flexbar (#11579)
- CLI: Component-driven React / Vue / Angular / Preact / Svelte templates (#11505)
- Addon-controls: Add reset UI to ArgsTable (#11550)
- Addon-docs: Fix Vue argTypes default values (#11534)
- Core: Move basic argType inference out of addon-docs and into core (#11561)
NPM publish failed
NPM publish failed
- Core: Add args reset API (#11519)
- Addon-docs: Make Meta block subcomponents optional (#11556)
- UI: Remove z-index on ActionBar (#11502)
- Composition: Fix docs-only story handling for composed storybooks (#11537)
- Addon-Docs: Fix ArgsTable controls on Docs tab (#11552)
- Core: Add
argTypes
toStoryContext
(#11558) - CLI: Improve Storybook packages version management (#11342)
NPM publish failed
- Composition: Don't show versions dropdown if there are no versions (#11497)
- Addon-docs: Remove undefined for optional values in Typescript Props (#11503)
- UI: Fix menu alignment regression (#11469)
- Composition: Fix syntax on
no-cors
(#11491) - Addon-docs: Fix MDX handling to ignore babel.config.js (#11495)
- UI: Increase max-height of menu tooltip so scrollbars don't appear (#11471)
- CLI: Add common welcome MDX and cleanup (#11422)
- CSF: Deprecate duplicate titles rather than forbid them (#11476)
- Addon-toolbars: Show name if there is no icon (#11475)
- Bump vue-property-decorator from 8.4.2 to 9.0.0 (#11241)
- Bump @types/react-dom from 16.9.7 to 16.9.8 (#11191)
- Bump jest-image-snapshot from 3.1.0 to 4.0.2 (#11267)
- Bump autoprefixer from 9.8.0 to 9.8.4 (#11288)
- [Security] Bump npm-registry-fetch from 4.0.4 to 4.0.5 (#11453)
Storybook 6.0 is stabilizing! It brings loads of component dev and documentation improvements to your favorite workshop:
- Args - next-gen dynamic component examples
- (controls / runtime / actions / toolbars / docs controls)
- Composition - compose multiple storybooks into one
- Zero-config Typescript - pre-configured for all frameworks, easy customization
- Yarn 2 support - next generation package management
- Addon-backgrounds: Zero config defaults (#11460)
- Addon-controls: Add addon-docs check on startup (#11458)
- Addon-docs: Remove deprecated addParameters calls (#11455)
- Composition: Change event source to ref (#11392)
- Fix Yarn 2 compatibility in CLI and Essentials (#11444)
- Addon-docs: Fix babel JSX handling in MDX (#11448)
- Core: Consistent file paths for locally-defined addons (#11368)
- Composition: Ensure args get sent to the right ref (#11401)
- Core: Deprecate configure and clearDecorators (#11431)
- Controls: Fix object control for story switching (#11432)
- Controls: Fix interaction lag & CJK input (#11430)
- Composition: Ignore globals from non-local refs (#11407)
- Core: Remove manager redirects on boot (#11390)
- Addon-docs: Fix Props subcomponents regression (#11420)
- Core: Deprecate
addParameters
andaddDecorator
(#11417)
- Addon-docs: Fix subcomponents display logic (#11415)
- Addon-docs: Fix Source rendering corner case (#11414)
- CLI: Add upgrade utility with version consistency check (#11396)
- Args: Disable rows and controls in argTypes (#11388)
- Composition: Add auto disable (#11364)
- CLI: use addon-essentials & args (#11282)
- Configuration: Remove hierarchy separators (#11344)
- Addon-docs: Dynamic Source rendering for React (#11332)
- Args: Store global args in session storage (#11345)
- Addon-docs: Add opt-in Markdown transclusion in MDX (#11334)
- Core: Fix preset options handling (#11333)
- UI: Revert theming greys flip (#11297)
- Core: Composition QA (#11224)
- Core: Deprecate
setAddon
fromstoriesOf
API (#11322)
- Revert "Core: Fix source-map strategy for production" (#11320)
- Core: Set viewMode to story when navating from non story pages (#11317)
- Bump react-textarea-autosize to 8.1.1 (#11319)
- Composition: Allow refs versions in config (#11294)
- CLI: Fix docs & essentials version on
sb@next init
(#11303) - Composition: Fix list of versions missing current version (#11259)
- Composition: Fix undefined/undefined in url on init (#11293)
- Essentials example: Fix typescript error (#11305)
- Essentials: Add addon-controls (#11285)
- Addon-docs markdown tables right align support (#11280)
- Addon-docs: Simplify argType inference (#11284)
- Addon-backgrounds: Allow gradients in story preview (#11265)
- Core: Fix invalid glob warning for absolute paths (#11247)
- UI: Replace document.execCommand with navigator.clipboard (#11251)
- ArgsTable: Updated Boolean control (#11263)
- Core; Preserve watch output when running dev mode (#11150)
- Bump lint-staged from 10.2.6 to 10.2.10 (#11187)
- Preact: Fix Preact 8 compatibility (#11225)
- Core :Add deprecation message for selectedName/Kind urls (#11111)
- Addon-knobs: Update select types for undefined, null and boolean (#11202)
- Composition: rename auth url & add tests for modules/refs (#11215)
- Examples: Add design-system to official example (#11081)
- React: Fix react-docgen for JS files (#11217)
- React: Load root tsconfig.json into docgen-typescript if none provided (#11184)
- Composition: Remove manual redirects (#11196)
- Bump react-draggable from 4.4.2 to 4.4.3 (#11192)
- MDX: Support function.bind({}) syntax (#11198)
- Addon-docs: Remove render preprocessing for react components w/o docgen (#11195)
- Core: Fix addon load order (#11178)
- Core: Add global box-sizing setting. Fixes #10207 (#11055)
- Addon-controls: Add examples to angular, ember, html, svelte, vue, web-components (#11197)
- Addon-docs: Add syntax highlighting to Code and Description blocks (#11183)
- MDX: Don't use root babelrc by default (#11185)
- Addon-docs: Fix 'show source' for stories with dynamic title (#10959)
- Addon-docs: Add argTypes type/control shorthand (#11174)
- Core: Remove boxSizing to fix weird CSS layouts (#11175)
- Addon-docs: Fix forwardRef & invalid hook call (#11154)
- Client-API: Add @types/qs typings (#11162)
- CLI: Colocate stories and components, centralize main.js (#11136)
- Build: Exclude stories from collecting coverage (#11164)
- Core: Extend router/utils test set (#11156)
- UI: Remove unused modules (#11159)
- UI: Remove unused & duplicated code (#11155)
- REMOVE unused dependencies && FIX versions (#11143)
- Addon-docs: Fix Vue args rendering in Docs mode (#11138)
- Typescript: Fix mandatory typescript dependency (#11140)
- Composition: Fix auto refs when there are no specified refs (#11057)
- Components: Remove PropsTable, clean ArgsTable stories (#11105)
- React: Switch react-docgen-typescript-loader to react-docgen-typescript-plugin (#11106)
- Vue: Add first-class args support (#11115)
- Core: Add babel plugin for typescript decorators (#11063)
- CLI: Pass --quiet to disable HMR logging in browser console (#11087)
- Addon-knobs: Add number of knobs to tab title (#11075)
- Core: Fix package duplication issues by aliasing all storybook packages (#11092)
- hidden) canvas (#10599)
- Core: Fix loglevel filtering (#11096)
- Core: Remove @babel/plugin-transform-react-constant-elements (#11086)
- UI: Fix search in production mode (#10917)
- CLI: Refactor to simplify works with multiple package managers (#11074)
- chore(deps-dev): bump protractor from 5.4.4 to 7.0.0 (#10832)
- build(deps): [security] bump websocket-extensions from 0.1.3 to 0.1.4 (#11056)
- build(deps): bump @babel/plugin-transform-shorthand-properties from 7.8.3 to 7.10.1 (#11088)
- build(deps-dev): bump tslib from 1.13.0 to 2.0.0 (#11089)
- build(deps-dev): bump @packtracker/webpack-plugin from 2.2.0 to 2.3.0 (#11091)
- Addon-docs: Add
docs.forceExtractedArgTypes
parameter (#11069)
- Vue: Fix force rendering (#11076)
- Controls: Fix enum extraction for react-docgen-typescript (#11070)
- Core: Zero-config Typescript e2e test (#10843)
- Addon-controls: Add hideNoControlsWarning parameter (#11035)
- Controls: Fix null entry in options array handling (#11048)
- Ember: Return early when there's no JSDoc for a component (#10490)
- Ember: Fix double render (#10971)
- UI: Fix focus not showing up on buttons (#10944)
- Composition: Fix bad package.json resolve (#11023)
- Core: Fix Yarn 2 compatibility & E2E test (#11008)
- Aurelia: Fix issue with auto generated knobs for elements (#10853)
- Build: Upgrade cypress && FIX lodash dependency (#10925)
- build(deps-dev): bump ember-source from 3.17.3 to 3.19.0 (#11043)
- Bump rimraf from 2.7.1 to 3.0.2 (#10923)
- build(deps-dev): bump ts-jest from 25.5.1 to 26.1.0 (#11042)
- Update react-textarea-autosize & Remove @types/react-textarea-autosize (#11040)
- Bump pug from 2.0.4 to 3.0.0 (#10920)
- build(deps): bump @types/node from 13.13.9 to 14.0.10 (#11039)
- Bump vue-docgen-api from 4.23.1 to 4.24.0 (#11017)
- Bump @babel/preset-flow from 7.9.0 to 7.10.1 (#11018)
- Preact: Update Preact version (#10978)
- Addon-docs: Angular ArgTypes for pipes, injectables, classes (#11016)
- TypeScript: Add warning for setup issues and fix Babel config (#10998)
- Core: Add logLevel preset property to filter logging (#10370)
- Addon-controls: Fix initialization logic; remove react-select (#11024)
- CLI: Fix
sb init
in Yarn workspace environment (#10985)
- React: Remove argsStory helper function (#11036)
- Addon-controls: Remove residual options-type controls (#11015)
- Addon-controls: Fix
options
control types (#11003) - Addon-controls: Fix no-control handling (#11001)
- Addon-docs: Fix function argType inference in react-docgen-typescript (#10997)
- Addon-controls/a11y: Fix PARAM_KEY export for consistency (#10988)
- Addon-controls: Add warning to controls tab on no-args story (#10986)
- Addon-docs: Handle JSON.parse exception for Angular union types (#10984)
- Core: Fix HMR for navigation sidebar in UI (#10981)
- Core: Fix
register.tsx
as manager code in preset heuristic (#10980) - Core: Send global args with set stories (#10910)
- Core: Log swallowed errors when requiring stories (#10974)
- Core: Support valid globs (#10926)
- Core: Add missing babel plugin (#10941)
- CI: Stabilize E2E tests (#10888)
- Addon-Controls: Next-generation knobs (#10834)
- Bump react-syntax-highlighter from 11.0.2 to 12.2.1 (#10919)
- Angular: Support
workspace.json
in nx workspace (#10881)
- Addon-docs: Fix single item width in Preview block (#10877)
- UI: Center toolbar icon buttons (#10897)
- Core: Fix double rendering on startup (#10892)
- UI: Fix search stories (#10539)
- Upgrade markdown-to-jsx to 6.11.4 (#10873)
- Core: Fix ts/tsx resolution in the manager (#10886)
- Core: Fix typo in projectRoot node_modules detection (#10848)
- Addon-docs: Fix story inline rendering (#10875)
- Core: Fix CRA filter for built-in webpack settings (#10861)
- Addon-docs: Fix react forwardRefs with destructured props (#10864)
- React: Upgrade preset-create-react-app in examples (#10867)
- Core: Close server when e2e test failed (#10868)
- Upgrade markdown-to-jsx to 6.11.4 (#10873)
- Core: Zero-config TypeScript loading (#10813)
Failed publish
Failed publish
- UI: Avoid full refresh when on some tab changes (#10838)
- Composition: Fix refs not authenticating (#10819)
- Core: Fix global args initial state for addon-toolbars (#10833)
- Addon-a11y: Add deprecated withA11y (#10814)
- Core: Transpile minimum node_modules (#10725)
- UI: Change default view to Canvas on mobile (#10818)
- Docs: Improve Preview zoom handling (#10801)
- Upgrade and add some missing dependencies in core, router, api (#10825)
- Addon-toolbars: Show tool icons for all viewModes (#10810)
- Addon-docs: Eval argTypes default value (#10812)
- Scripts: parallel execution on build package scripts (#10808)
- Cleanup: Remove support for babel-loader < 8 (#10781)
- Composition: Zero-config composition from dependencies (#10753)
- Core: Detect local addons for windows machine (#10786)
- Composition: Rename
mapper
tostoryMapper
and fix loading bugs (#10780)
- Update jest-preset-angular to 8.2.0 (#10778)
- Essentials: Update configuration heuristics for main.js (#10737)
- UI: Reset layout properties when switching stories (#10643)
- CLI: react stories homogenization (#10711)
- CLI: vue stories homogenization (#10708)
- CLI: webpack react stories homogenization (#10709)
- CLI: svelte stories homogenization (#10704)
- CLI: react-scripts stories homogenization (#10710)
- CLI: mithril stories homogenization (#10707)
- CLI: rax stories homogenization (#10706)
- CLI: riot stories homogenization (#10715)
- CLI: ember stories homogenization (#10713)
- CLI: preact stories homogenization (#10712)
- CLI: sfc_vue stories homogenization (#10714)
- Revert "Change reference for jest-preset-angular/build/setupJest as per migration guide" (#10727)
- Core: Fix error handling on load (#10659)
- Storyshots: Change reference for jest-preset-angular/build/setupJest (#10699)
- CLI: Remove CRA fixtures from Yarn 2 tests run (#10720)
- Fix: Set private package on Aurelia example (#10688)
- React: Add
argsStory
convenience function (#10685)
- Build: Upgrade jest to 26 (#10669)
- Addon-backgrounds: Simplified parameters API (#10634)
- Core: Fix
globalArgs
initialization from global parameters (#10566) - Core: Fix DLL context for IE11 ([#106444]#10644))
- Addon-storyshots: Upgrade to jest 26 (#10642)
- Bump terser-webpack-plugin from 2.3.6 to 3.0.0 (#10650)
- Addon-docs: Fix broken props logic for no-args stories (#10633)
- Addon-docs: Fix custom source manual override (#10632)
- Addon-docs: Fix MDX stories with multiple children (#9531)
- Addon-docs: Fix object array in Props (#10621)
- Actions: Fix import of
uuid
(#10625)
- Core: Fix Args test to not use different code path (#10607)
- CLI: Add automatic detection for svelte (#10623)
- Yarn 2: Fix dependencies issues for compatibility (#10613)
- CLI: Fix cli when working with Yarn 2 and Node 10 (#10550)
Storybook 6.0 is in beta. 🎉🎉🎉
Hundreds of improvements and fixes, including:
- Args - Dynamic story data with automatic prop controls and actions.
- Composition - Compose storybooks for better documentation, performance, and multi-framework support.
- Server - Enabling Storybook for Rails and other server-side components.
- Yarn 2 - Supporting next generation package management.
Track the release in the Github: Storybook 6.0 Release 🏆
- Addon-docs: Props controls for Vue (#10559)
- Addon-docs: Add subcomponents prop to Meta block (#10573)
- Core: Pass args first to stories by default (#10452)
- CLI: Automatically detect typescript in
sb init
(#10547)
- UI: Fix
viewMode
parameter handling (#10292)
- Addon-a11y: Use channel to highlight elements in preview (#10456)
- Storyshots: Support react hooks (#10529)
- Core: Transform for/of in dlls for IE11 compatibility (#10471)
- Addon-contexts: Move to deprecated-addons repo (#10479)
- Addon-docs: Rename
formatSource
totransformSource
(#10503)
- Addon-docs: Reset styles in Preview component (#10274)
- Addon-docs: Port Vue to ArgsTable (#10482)
- Addon-docs: Fix Props controls to point to primary story (#10480)
- Core: Fix addon tab in react-native-server (#10468)
- Misc upgrades (#10460)
- Addon-docs: Fix controls column display logic (#10473)
- Addon-docs: Inline stories in Vue by default (#10463)
- Addon-docs: Provide better props include/exclude features (#10464)
- UI: Improve loading state (#10444)
- UI: Fix bad shortcutpage layout (#10445)
Failed publish
- Addon-actions: Make arg auto-generation more aggressive (#10451)
- Examples: Format stringified parameters (#10435)
- Bump recast from 0.16.2 to 0.19.0 (#10415)
- Server: Fix serialization of knobs params back to server (#10391)
- Core: Serve correctly hashed static files with the Cache-Control header (#10390)
- Addon-a11y: Fix default a11y parameters (#10439)
- Core: Fix event source handling (#10416)
- Addon-docs: Add blocks typings (#10441)
- Core: Fix static build with DLL (#10377)
- Addon-Docs: Fix Args table generation for story with no component (#10436)
- Yarn 2: Fix compatibility with
.storybook/preview.js
file (#10342) - Official-storybook: Fix passArgsFirst problems (#10432)
- Addon-A11y: Remove decorator in favor of parameter configuration (#10381)
- Addon-docs: Add controls to ArgsTable (#10354)
- CLI: Reuse existing chromium tab if possible (#10329)
- Core: Fix main.js
stories
regex to glob conversion (#10400) - Composition: Fix ref getSourceType for URL paths with index.html (#10421)
- Core: Add .cjs files for main.js config (#10358)
- Bump @types/react-select from 2.0.19 to 3.0.11 (#10262)
- Bump strip-json-comments from 3.0.1 to 3.1.0 (#10334)
- Bump axe version to 3.5.3 (#10375)
- Bump markdown-to-jsx from 6.11.0 to 6.11.1 (#10331)
- Bump semver from 7.1.3 to 7.2.2 (#10385)
- Core: Rename ParameterEnhancer to ArgsEnhancer (#10398)
- CLI: Update fixtures used for CLI tests (#10396)
- Build: Update bootstrap to install optional deps on CI (#10408)
- Addon-docs: Format source at render time (#10383)
- CSF: Warn when there are no exported stories (#10357)
- Marko: Always destroy old component when switching stories (#10345)
- Dev: Build script for package development (#10343)
- Core: Fix ie11 compatibility (#10281)
- Core: Add .cjs & .mjs to interpret-files (#10288)
- Core: Fix source-map strategy for production (#10290)
- Addon-knobs: Allow
text
andnumber
to take undefined values (#10101)
- Core: Warn about deprecated config files (#10097)
- Yarn 2: rework imports in webpack preview virtual module to fix compatibility (#10305)
- Addon-centered: Move to deprecated-addons (#10300)
- 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)
- Misc: remove deprecations for 6.0.0 (#10216)
- DocsPage: Remove slots for 6.0 (#10259)
- Addon-actions: Add preset and configure with parameters (#9933)
- MDX: Add args/argTypes/component/subcomponents support (#10258)
- Addon-docs: Add linear gradient support to ColorPalette block (#10237)
- Addon-a11y: Performance fix (#10219)
- API: Fix local addon handling (#10254)
- Core: Fix URL load failure due to missing base (#10228)
- Storyshots: Fix MDX transform (#10223)
- Build: Add puppeteer libs so teamcity can build examples (#10235)
- Misc upgrades (#10236)
- Addon-docs: Ensure visibility of links within prop descriptions (#10210)
- UI: Form/textarea maxHeight : 400 (#9860)
- Addon-docs: Make source resilient to bad story ID's (#10184)
- Core: Don't persist theme to localStorage (#9076)
- Core: Fix to load Storybook in IE11 (#9942)
- Server: Simplify server addons (#9931)
- Core: FIX error of load order when using configure in preview|config.js (#10159)
- Build: Experiment to make CircleCI tests a faster and more stable (#9969)
- Vue: Fix webpack config when execute 'yarn workspace vue-example dev' (#9704)
- Core: Re-enable failing args tests (#10126)
- Build: Add script & parallelization for running chromatic on examples (#10125)
- Addon-a11y: Move react to peer dependency (#9957)
- Components: Change react-syntax-highlighter from esm to cjs (#9780)
Failed NPM publish
- Core: Disables html-webpack-plugin's option to remove script tag types (#10042)
- Addon-actions: Style ActionLogger to preserve whitespace (#10046)
- CI: Fix GitHub unit test workflow (#9971)
- Security: Remove usage of a vulnerable version of serialize-javascript (#10071)
- Addon-toolbars: Global args support in the toolbar (#10028)
- Addon-actions: Add Storybook Args support (#10029)
- Core: Add globalArgs/globalArgTypes
preview.js
exports (#10123)
- Remove deprecated decorators and loaders (#9951)
- Core: Improve support for main.ts/preview.ts files (#10099)
- Addon-docs: Theme with
docs.theme
parameter (#10114) - Addon-docs: Svelte example (#7673)
- CSF: Promote args/argTypes to first-class metadata (#10117)
NOTE: 6.0.0-alpha.24
broken due to bad merge. Sorry!
- Core: Fix initialization of global args (#10106)
- Addon-docs: formatSource snippet customization function (#10089)
- Core: Add global args feature (#10015)
- UI: Migrate from simplebar to overlaybars (#9375)
- Core: Fix StoryInput parameters typings (#10013)
- Changed import of react-syntax-highlighter from esm to cjs (#9292)
- Build: Setup TeamCity Cloud (#9875)
- Tech/improvements (#10096)
- Core: Move event handlers into module init (#10085)
- Bump axe-core from 3.5.1 to 3.5.2 (#10090)
Failed publish
- MDX: Compile to improved source-loader format (#10084)
- Core: Add args feature (#10014)
- Tech/improvements (#10083)
- Few minor improvements extracted from the inception feature PR (#10072)
- Tech/improvements (#10070)
- Yarn 2: Add missing dependencies (#10012)
- Security: Remove usage of a vulnerable version of serialize-javascript (#10071)
- Core: Overhaul start.js and event emitting/listening (#9914)
- CLI: Support js / jsx / ts / tsx stories in React CSF template (#10003)
- Cra-kitchen-sink : Add Named Color Palette Example(MDX) (#9709)
- Addon-Queryparams: Add addon preset (#9949)
- Addon-actions: Style ActionLogger to preserve whitespace (#10046)
- Core: Disables html-webpack-plugin's option to remove script tag types (#10042)
- Tech: Misc improvements (#10052)
- Tech: Misc improvements extracted from composition (#10040)
- CI: change parallelism (#10041)
- Storybook-official: try moving options to
manager.js
(#9323) - Misc: Add missing dependencies (#9965)
- CI: Fix GitHub unit test workflow (#9971)
- Upgrade reach router (#10016)
- Core: Fix
configFilename
containing backticks (#9960)
- Core: Add stories to demonstrate
layout
(#9940)
- 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)
- Addon-links: Add preset (#9932)
- Addon-docs: Restore IE11 compat on Windows by transpiling acorn-jsx (#9790)
- Addon-knobs: Add
disableForceUpdate
option (#9447)
- Props: Fix typescript unspecified default value (#9873)
- Centered: remove
typesVersions
attribute (#9907)
- Misc: Add missing dependencies or peerDependencies (#9916)
Failed NPM publish
- Refactor Client API: pull metadata handling code into the store. (#9877)
- Core: Add skip dispose option to ClientApi (#9868)
- CLI: Add Yarn 2 compatibility (#9866)
- Typescript: Add downlevel dts for TS3.5 support (#9902)
- CLI: capture unknown arguments the native way (#9888)
- Core: Use telejson for websockets channel (#9867)
- Build: Upgrade to latest version of eslint config (#9882)
- Typescript: Misc improvements (#9879)
- Misc: Project root cleanup (#9880)
- CLI: fix React Scripts csf-ts story templates (#9863)
- Addon-viewports: Fix Galaxy S9's viewport size (#9797)
- Storyshots: Fix support for jsx/tsx config files (#9834)
- Addon-docs: Snapshot testing and bug reporting for props tables (#9838)
- Typescript: Remove prop types in lib/components (#9747)
- Typescript: Better api consumer (#9861)
- Bump marko from 4.18.42 to 4.18.45 (#9839)
- Core: Remove legacy data from Story Store (#9810)
- Addon-docs: Preserve HTML element classes in MDX (#8897)
- CLI: transpile
@storybook/cli
to CJS (#9807)
- React: Remove
MiniCssExtractPlugin
for CRA (#9759)
- Build: Fix DLL generation race condition (#9770)
- Typescript: Migrate @storybook/ui (#9791)
- Addon-docs: Add preset options for vue-docgen-api (#9699)
- UI: Add initialActive option parameter (#9141)
- Components: Import react-syntax-highlighter/create-element from cjs (#9795)
- Examples: Change main.js to main.ts to show it's possible (#9775)
- Replace lodash named imports with specific imports (#9787)
- Core: Support custom addons using JSX (#9648)
- Components: Change react-syntax-highlighter from esm to cjs (#9780)
- Core: Fix manager assets to be routed in express (#9646)
- Core: Fix dev server error - back out bad change (#9753)
- CLI: Fix file path for the Button story (#9325)
- Core: Fix dev server error - back out bad change (#9753)
- 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)
- Core: Add Yarn 2 compatibility (#9667)
- Addon-a11y: Add preset (#9697)
- Server: Initial support for @storybook/server (#9722)
- Svelte: Fix Svelte 3 slots for decorators (#9724)
- Cra-ts-kitchen-sink: Fix stories glob pattern (#9706)
- Angular: Emit decorator metadata by default (#9701)
- Addon-centered: Fix clash with addon-docs for react (#8388)
- Add angular 8 and 9 cli fixtures (#8769)
- Misc upgrades (#9688)
- 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)
- 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)
- Addon-notes, addon-info: Move to deprecated-addons repo (#9673)
- UI: Configure tabs title, visibility, order and disable (#9095)
- Addon-cssresources: Add hideCode option (#9627)
- UI: Add
viewMode
parameter to control story nav UI (#9090)
- Web-components: Fix default value for prop table docs (#9655)
- Web-components: Make TypeScript types play nicely with lit-element (#9557)
- UI: Fix tabs to scroll horizontally (#9383)
- UI: Add support for className prop on Form.Field (#9665)
- Core: Upgrade
min-css-extract-plugin
to fix SASS loading (#9652) - Adon-docs: Fix ColorPalette styling (#9643)
- Addon-storyshots: Remove excess slashes from jest transform warning (#9616)
- Source-loader: Overhaul to remove decorators, support user-configurable source (#9547)
- Build: Use Netlify for examples again (#9585)
- Ember: Migrate to new "import { hbs } from 'ember-cli-htmlbars'" (#9633)
- Publish: Remove docs to reduce package size (#9612)
- Addon-docs: Revert breaking source indentation fix (#9609)
- Core: Enable HMR logging in browser console (#9535)
- Addon-knobs: Fix broken link to repo in empty panel (#9530)
- Typescript: Export IStory in
@storybook/angular
(#9097)
- React-native: Extract to its own repo (#9599)
- Polymer: Extract to its own repo (#9596)
- Build: Fix some dependencies & ts problems (#9603)
- 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)
- API: Add useSharedState, useStoryState (#9566)
- Addon-docs: Named colors with ColorPalette (#9453)
- Core: Add preview layouts (#9229)
- Marionette: Add marionette support (#7981)
- Addon-a11y: Support manual run (#8883)
- Addon-cssresources: Disable SyntaxHighlighter for long code (#9360)
- Core: Improve monorepo support (#8822)
- Addon-docs: Fix TS false default value in prop table (#9560)
- Addon-docs: Remove hard-coded lineHeight in Typeset block (#9567)
- Fixed Angular button example story (#9540)
- Core: Fix generated entry to import at top of file (#9398)
- Preact: Fix story function typescript type (#9123)
- UI: Make canvas link a link (#9257)
- Build: the build-storybooks script (#9569)
- CLI: Improve Rax template (#9574)
- Typescript: Migrate polymer (#9565)
- Typescript: Migrate ember (#9020)
- Next 6.0.0 (#9212)
- REMOVE subscription_store (#9228)
- Update husky to v4 (#9509)
- Bumped react-dev-utils dependency to v10. (#9579)
- Bump babel-plugin-macros from 2.7.1 to 2.8.0 (#9236)
- Bump babel-plugin-emotion from 10.0.23 to 10.0.27 (#9239)
- Bump @babel/runtime from 7.7.4 to 7.7.7 (#9277)
- Bump corejs-upgrade-webpack-plugin from 2.2.0 to 3.0.1 (#9427)
- Bump terser-webpack-plugin from 2.2.1 to 2.3.2 (#9386)
For older versions of the changelog, see CHANGELOG.v1-5.md