- CLI: Improve webpack version and add detection of nextjs (#18220)
- ArgsTable: Gracefully handle conditional args failures (#18248)
- Controls: Fix reset button broken for !undefined URL values (#18231)
- Vue3: Add support for TSX in single file components (#18038)
- Addon-a11y: Show % of users in toolbar menu (#18003)
- Web-components: Clean Lit Expression comments in story source (#18108)
- Vue: Map args correctly in CSF3 implicit render function (#18209)
- Vue3: Fix CSF3 implicit render function when storyStoreV7 is enabled (#18208
- CLI: Don't throw is Ctrl + C was pressed when selecting a package in the build command (#18195)
- Build: Cleanup noise from unit tests (#18196)
- Fixed PnP compatibility for bundled components package (#18015)
- Composition: Fix metadata.json incorrectly overriding main.js refs versions (#18185)
- Examples: Set channelOptions to disallow function serialization (#18071)
- Upgrade to telejson 6 (#18164)
- CSF3: Add title prefix support for stories with custom titles (#17724)
- Components: Fix race conditions in SyntaxHighlighter (#18158)
- API: Deprecate isToolshown, rename to showToolbar (#18131)
- Controls: Fix undefined args handling (#18135)
- CLI: Update Introduction.stories.mdx template to be MDX2-friendly (#18141)
- Remove jest from cli peerDependencies (#18149)
- Core: Fix anonymous ID generation (#18133)
- UI: Add a parent level toolbar exclusion key for tabs (#18106)
- Addon-a11y: Display a11y issues number in addon tab title (#17983)
- Addon-docs: Fix Canvas block CURRENT_SELECTION handling (#18130)
- Telemetry: Add safecheck for crash reports (#18129)
- Addon-a11y: Fix a11y params > element use (#17989)
- UI: Externalize
react-syntax-highlighter
from components (#18127)
- Core: Add optional telemetry and crash reporting (#18046)
- Controls: Fix URL deserialization for argTypes with mapping (#18124)
- Core: Fix telemetry project root detection (#18125)
- React: Fix version detection for older versions of
react-dom
(#18105) - CLI: Add non-monorepo testing tools to exclude lists (#18092)
- Examples: Update example to restore 6.4 auto-title behavior in UI (#18109)
- CLI: Remove git.io URL (#18070)
- UI: Make panel position a persistent preference (#18036)
- React: Fix jest-specific-snapshot dev dependency (#18095)
- Toolbars: Add dynamicTitle option (#17789)
- Angular: Add webpackStatsJson to angular-builder (#18001)
- CLI/Vue: add interactions to vue cli template (#18021)
- CLI/HTML: Add interactions to cli template (#18014)
- CSF: Re-apply TArgs to render type (#18075)
- CLI: await generators for proper install (#18053)
- Core: Fix story index for CSF default exports as TS vars (#18054)
- Core: Fix single-story hoisting regression for auto-title changes (#18052)
- CLI/Vue3: add interactions to vue3 cli template (#18031)
- CLI/Svelte: add interactions to cli template (#17993)
- UI: Move the "Rerun interactions" button to Subnav (#17647)
- CLI/Preact: add interactions to cli template (#17984)
- Interactions: Fix show length of object value on MethodCall (#17649)
- React: Fix React 18 react-dom/client dynamic import syntax (#17987)
- Svelte: Fix webpack5/babelModeV7 (#17939)
- Examples: Remove stories from deprecated
options
/queryparams
addons (#17977) - Chore: Format versions.ts file using repo config (#17963)
- Theming: Re-export correct bundled file (#17956)
- Core: Support react-dom/client dom hack on Windows machines (#17946)
- CI: set parallelism of nx to 2 (#17878)
- Run
prebundle
script withoutbrowser: true
in Rollup config (#17947)
- Core: Avoid framework imports from core/client (#17875)
Test publish with npm 2FA enabled for addon-jest
- UI: Add URL parameters to SB to tweak visible UI (#17891)
- Core: Followup changing CJS entrypoints to ESM (#17927)
- Export
createCache
from@storybook/theming
(#17929)
- 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)
- Core: Add story preloading to optimize lazy compilation (#17903)
- UI: Fix pseudo class potential unsafe warning (#17911)
- Core: Fix user-supplied project-level
render
in v6 store (#17885)
- CLI: Update the exclude list for upgrade warnings (#17909)
- Examples: Added an external-docs example to show the basic use case (#17807)
- Migration to Emotion 11 (#17640)
- UI: Fix canvas as initialActive for fullscreen mode in mobile (#17906)
- UI: Fix mobile fullscreen UI (#17873)
- Core: Avoid framework imports from core/client (#17875)
- Webpack: Make manager and preview build processes cancelable (#17809)
- Build: Add vite-react to e2e tests (#17871)
- CLI: Upgrade vue3 template to use webpack5 builder (#17896)
- Build: Exclude @storybook/builder-vite from verdaccio (#17897)
- Addon-docs: assume links starting with "https://" are external (#17819)
- Unify CSF version (#17895)
- Controls: Rework conditional controls with globals, queries (#17883)
- UI: Add Brand target config option (#17814)
- Controls: Fix date control width in addons panel (#17780)
- Core: Update some references to use ESM rather than CJS (#17868)
- Build: Upgrade from deprecated circleci docker img (#17832)
- Build: Parallel e2e (this might be expensive) (#17842)
- Build: Add junit summary for CircleCI (#17867)
- CLI: Detect vite project, use vite builder automatically (#17860)
- CLI: Default new vite projects to storyStoreV7 (#17859)
- Core: Restore preview-web composeConfigs export (#17861)
- CLI: Preserve quote style in automigrate (#17858)
- 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)
- CLI: Add automigration to
@storybook/builder-vite
(#17829)
- React: Update react and react-dom peerDeps for React18 (#17853)
- Core: Add simplified manager.js/preview.js API for addons (#17755)
- Core/React: Add testing utilities (#17282)
- Addon-docs: Fix dependencies for yarn pnp (#17705)
- Webpack: Expand version ranges of webpack in the apps (#17834)
- CLI: Fix vite/jest issue with mocked global (#17830)
- Build: Remove packtracker (#17841)
- Build: Swap order of e2e tests around (#17840)
- Build: Add weekly check for broken markdown links (#17799)
- Build: Switch to use medium+ (#17837)
- UI: Add back CacheProvider from emotion to lib/theming (#17820)
- Core: Add a feature flag for enabling crossOriginIsolated (#17815)
- Angular: Fix multiple calls of Input setter (#17633)
- UI: Wait 100ms before showing spinner and fix story overlaying it (#17753)
- CLI: Add automigration to
@storybook/builder-vite
(#17829) - Build: Add setup-node version for danger (#17826)
- Add contributing instructions to PULL_REQUEST_TEMPLATE (#17713)
- SyntaxHighlighter: Add prettier for code formatting (#17746)
- Build: Add main overrides to e2e config and possibility to run test runner (#17778)
- Controls: Add conditional controls (#17536)
- Core: Add headers to enable SharedArrayBuffer in stories (#16970)
- UI: Button for toggling addons panel (#17714)
- Core: Ensure simultaneous first access to stories.json waits (#17785)
- Reload iframe when the url changes (#17644)
- UI: Fix brand logo layout shift (#16467)
- UI: Fix nesting issue for refs in sidebar component (#17726)
- Core: Fix filesystem cache missing return (#17748)
- Addon-docs: Fix binding of the
renderStoryToElement
passed toDocsRender
(#17742)
- Addon-docs/Vue: Add tests for sourceDecorator vnodeToString (#17764)
- Controls: Date control tests (#17765)
- Remove mock directories from Jest test coverage (#17771)
- fix dts-localize script (#17747)
- Addon-docs: Auto-disable docs presets if docs/controls unused (#17697)
- Web-components: Fix CSS class usage in CLI template (#17702)
- Addon-docs: Refactor docs support into individual framework packages (#17695)
- Webpack4: Fix useExports for angular-cli (#17674)
- Core: Ensure that we do not render a story twice if re-rendered during preparing (#17599)
- Addon-docs: DocsPage story order should match the index (#17669)
- Core: Fix staticDirs path issue on Windows (#17641)
- Angular: Set ForkTsCheckerWebpackPlugin to async (#17389)
- Core: Fix core.builder check (#17606)
- Examples: Build stories.json for examples that support it (#17670)
- Core: Refactor preview rendering out of
PreviewWeb
(#17598) - Prevent lint hook from running on all files (#17662)
- TypeScript: Change imports of types to be prefixed (#17627)
- Build: Give linting sub-commands a directory to run against (#17545)
- TypeScript: remove unnecessary 'as any' (#17595)
- Addon-interactions: Use 'global' package instead of
global
(#17614)
- CSF3: Fix Auto-title to respect file system capitalization (#17574)
- Core: Remove unused babel dependencies (#17425)
- Fix mdx-csf dependencies to canary dist-tag (#17592)
- Addon-docs: MDX2 support (#17515)
- Core: Fix global render fn (#17577)
- Addon-interactions: Mock window in browser environments (#17535)
- Controls/Essentials/Interactions: Add support for main.cjs/mjs/tsx files (#17524)
- Addon-docs: Fix preset handling for builder with options (#17544)
- Addon-Outline: add 'o' keyboard shortcut to toggle the outline addon (#17530)
- Addon-docs: Ensure that DOCS_CONTEXT cannot be undefined (#17251)
- Addon-docs: Account for non-string types when converting enums (#15822)
- Addon-actions: Don't override undefined args (#17505)
- Webpack5: Add lazy compilation (#17501)
- Build: Fix CRA repro generator and e2e test in PnP mode (#17375)
- UI: Add a custom title story for heading component (#17487)
- CLI/React: Add interactions to cli template (#17345)
- CLI/Angular: Add interactions to cli template (#17437)
- 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)
- CLI: Add addon-interactions to angular template (#17437)
- Core: Rename
generated-stories-entry
tocjs
extension so require works (#17486) - Core/CLI: Add
extract
function toPreviewWeb
and use it insb extract
if available (#17447) - Controls: Fix Boolean control parsing (#17456)
- Fix
ci:matrix
label in CI (#17457)
- Bump vue-docgen-api to 4.44.15 (#17465)
- Addon-links: Fix export statement in react.d.ts (#17434)
- Core: Fix
useParameter
with nullish coalescing (#17327) - Core: Ensure we show an error when
configure()
throws (#17435)
- Web-components: Upgrade kitchen sink lockfile (#17424)
Failed publish
- UI: Prebundle
@storybook/components
(#17304)
- CLI/React: Add interactions to cli template (#17345)
- CSF3: Handle auto-title redundant filename (#17421)
- Addon-docs: Fix typo in ArgsTable tooltip (#17404)
- Core: Apply Docs mode to composed storybooks (#17292)
- Core: Move CSF-related logic to its own folder (#17381)
- Improve style handling in angular example in monorepo (#17343)
- CLI: Pin version of
@mdx-js/react
to 1.x.x until we are compatible (#17395)
- Core: Mock channel if not present (#17382)
- CLI: Pin version of
@mdx-js/react
to 1.x.x until we are compatible (#17395)
- UI: Prebundle
@storybook/ui
(#17301)
- Core: Pre-bundle
@storybook/router
to avoid react-router conflict (#17294)
- Web components: add addon-interactions example story (#17303)
- Core: Pre-bundle theming to avoid emotion11 conflicts (#17000)
- Build: Enforce stricter types (#17368)
- Revert "Angular: Retrieve version from core package" (#17372)
- Revert "Angular: Retrieve version from core package" (#17372)
- Svelte: Fix missing templates dir in package.json publish files (#17367)
- Angular: Workaround for compodoc on windows machines (#17334)
- Angular: Use ɵReflectionCapabilities to find component & module metadata (#17156)
- Angular: Retrieve version from core package (#17363)
- Angular: Workaround for compodoc on windows machines (#17334)
- Angular: Retrieve version from core package (#17363)
- Revert "Core: Rename
generated-stories-entry
tocjs
extension so require works" (#17361)
- Build: Overhaul dev script & compile-babel & compile-tsc (#17338)
- Angular: Fix runCompodoc for Windows, local Compodoc, and user specified tsconfig (#16728)
- Core: Fix negated glob support (#17328)
- Build: Upgrade main yarn (#17323)
- CLI: Add version update argument to generate-sb-packages-versions utility (#17356)
- Core: Fix negated glob support (#17328)
- CLI/Svelte: Revert template stories from svelte-native to CSF (#17340)
- CLI: Add version update argument to generate-sb-packages-versions utility (#17356)
- Vue: Add CSF3 default render function (#17279)
- Core: Rename
generated-stories-entry
tocjs
extension so require works (#16727) - Addon-docs: Fix
BuilderConfig
can be an object (#17320)
- Upgrade node-fetch to latest version (#17317)
- 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)
- 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)
- Svelte: Add CSF3 default render function (#17276)
- CLI: Add
--no-manager-cache
to build-storybook (#17300)
- Build: Upgrade yarn to 3.1.1 (#17281)
- Webpack5: Switch to using
import.meta.webpackHot.accept
(#17270)
- 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)
- Core: Add IS_STORYBOOK global variable (#16676)
- Addon-docs: Fix
docs.disable
parameter on DocsPage (#17256) - Controls: Fix number control update when using useArgs hook (#17247)
- Core: Fix issue with recursive glob with prior special chars (#17252)
- Webpack: Fix for
process
fallback usingrequire.resolve
(#17249)
- Official-storybook: Fix ForwardRefButtonInnerPropTypes warning (#12733)
- Fix prettier 2.3 formatting across the codebase (#17242)
- 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)
- Core: Fix
staticDirs
favicon handling by refactor (#17241) - Core: Fix
__namedExportsOrder
warning from preview.js (#17240)
- Fix prettier transpile problems (#17239)
- Webpack5: Fix named exports order in production mode (#17229)
- Angular: Fix 13.1 and add CI test cases (#17206)
- Webpack5: Fix manager.js process references (#17213)
- React: Restore webpack as a dependency, updated webpack 5 docs (#17207)
- Angular: Fix void element selectors (#15495)
- React: Remove webpack from dependencies, types as devDependencies (#17192)
- UI: Set the current story name in the title (#17177)
- Core: Retain iframe.html query parameters (#17136)
- CSF3: Remove
path
from autoTitle browser code (#17185)
- Build: Fix package.json warnings in JetBrains IDEs (#17184)
- Fix github workflow syntax to run unit-tests on push (#17148)
- Bump cli-table3 to fix colors.js bug in 5.3 (#17182)
- Bump cli-table3 to fix colors bug (#17180)
- 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)
- Bump cli-table3 to fix colors bug (#17180)
- Core: Fix process.env assignment (#17174)
- Bump cli-table3 to fix colors bug (#17180)
- Addon-docs: Fix babel-loader resolution based on builder (#16752)
- Angular: Use ɵReflectionCapabilities to find component & module metadata (#17156)
- Update react-syntax-highlighter to fix transitive vulnerability (#17127)
- Angular: Fix angular 13.1 JIT error and HMR reload (#17131)
- Core: Fix IE support by transpiling more libs to es5 (#17141)
- Allow setting project args/argTypes for v6 store (#17043)
- Router: Fix navigating to hash links (#17134)
Publish failed
- Addon-measure: Update z-index to fit with libraries with also high z-index (#15860)
- Vue: Fix VueLoaderPlugin import to support vue-loader@16.x (#14624)
- Upgrade react-syntax-highlighter to pick up security patch upstream in highlight.js (#17100)
- Vue3: Add default render function CSF3 (#17068)
- Addon-docs/Vue: Include methods in ArgsTable (#16975)
- CLI: Install
lit-html
in new web components project (#17106) - Angular: Fix runCompodoc for Windows, local Compodoc, and user specified tsconfig (#16728)
- React: Remove react-dev-utils (#17022)
- Update react-refresh@0.11.0 & react-refresh-webpack-plugin@0.5.3 same as cra5 (#17056)
- Angular: Fix for renamed method in angular 13.1 (#17032)
- Source-loader: Fix node.declaration edge case (#17027)
- Core: Fix debug output on webpack failures (#16988)
- Build: Run unit tests on more node versions, mac, and windows (#16744)
- Avoid referencing internal Emotion packages in built types (#16905)
- Core: Support custom PREVIEW URL for block story iframe (#16773)
- UI: Only push the view back to Story if the viewMode is settings (#16943)
- 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)
- CLI: Fix
sb repro
clobbering .vuerc (#16897) - Core: Fix auto-title in webpack5 (#16913)
- Angular: Fix incorrect log (#16885)
- Angular: Fix tsConfig paths not resolving for Angular >=12.2 (#16882)
- Core: Add feature flag to disable legacy hierarchy separator warning (#16915)
- 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)
- Core: Add feature flag to disable legacy hierarchy separator warning (#16915)
- Angular: Fix incorrect log (#16885)
Npm publish failed.
- Angular: Fix tsConfig paths not resolving for Angular >=12.2 (#16882)
- Addon-docs: Fix transclusion crash on webpack rules without test field (#16873)
- Bump lodash to 4.17.21 (#16883)
- CLI: Fix open storybook in default browser (#16844)
- Addon-docs: Fix transclusion crash on webpack rules without test field (#16873)
- CLI: Improve
sb repro
directory prompt (#16854)
- CLI: Fix mainjsFramework automigrate (#16866)
- Don't render with
modernInline
ifinlineStories
isfalse
(#16853) - Preview: Don't hide the story while preparing (#16850)
- UI: Ensure all classes+animations for our loaders are prefixed (#16815)
- Angular: Add back-compat method to find options (styles) in angular.json (#16832)
- Fix
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.
▶️ Interactive stories to simulate user behavior and tools to debug it- ⚡️ On-demand architecture for smaller builds and faster load times
- ⛸ Automigrate + versioned documentation for easier upgrades
- 📋 Linter to enforce Storybook best practices
- 💯 Hundreds more fixes and quality of life improvements
More info in the Github issue Storybook 6.4 Release 🛠. Release announcement coming soon!!!
- Core: Fix breaking change in process/browser (#16795)
- Core: Allow args/argTypes/component to be set via parameters for storiesOf back-compat (#16791)
- Core: Sort the results of
globby
when constructing Story Index (#16788) - Core: Don't log a console error when the story is missing (#16783)
- Addon-docs: Wait for the story component to render before emitting (#16792)
- Core: Ensure that
context.args
is always set (#16790)
- Angular: Add styles and stylePreprocessorOptions to angular builder (#16675)
- Interactions: Unlock controls when play function is finished (#16784)
- Misc: Cleanup typescript webpack types (#16780)
- Interactions: Fix duplicate rows in waitFor (#16465)
- Core: Fix channel options so that they are merged in correct order (#16764)
- Add missing peer dependencies (#16551)
- Core: Add
./
to start of hidden file & folder paths (#16723)
- Update peer dependencies for angular 13 support (#16758)
- WebComponents: Update Lit peerDep to use Lit 2 stable version (#16670)
- Upgrade react-router to 6.0.0 (#16742)
- Core: Restore
stringifyEnvs
utility used by Vite builder (#16731)
- Core: Fix
process.env
stringification (#16725) - Core: Fix build-storybook sort bug in v6-mode (#16724)
- Addon-docs/Angular: fix extractEnumValues undefined error (#16524)
- Angular: update addon interactions example (#16698)
- Upgrade from node-sass to sass in examples/angular-cli (#16663)
- Angular: Fix detection of @angular/cli package version (#16696)
- Core: Add option to use webpack filesystem cache (#16219)
- CLI: Fix automigrate command for eslint with extends as string (#16687)
- Core: Bust the prebuilt manager cache if user has set
features
(#16684)
- Build: GH Action for exporting to linear by GH label (#16683)
- Angular: Add getWebpackConfig for angular 12.2.x & 13.x.x (#16644)
Storybook 6.4 is in RC!! 🎉🎉🎉
Hundreds of improvements and fixes, including:
▶️ Interactive stories to simulate user behavior and tools to debug it- ⚡️ On-demand architecture for smaller builds and faster load times
- ⛸ Streamlined tooling and documentation for easier upgrades
- 💯 Hundreds more fixes and quality of life improvements
Track the release in the Github: Storybook 6.4 Release 🛠
- UI: Remove
nopreview
and show redbox for any story error (#16669) - CLI: Run automigrate at the end of
sb init
(#16671) - UI: Docs loading state (WIP) (#16666)
- Addon-actions: Omit sending window object thru the channel (#16514)
- CLI: Add eslint-plugin-storybook to automigrate (#16550)
- Core: Ensure manager caching respects globals (#16653)
- Core: Move the websocket channel to a specific path (#16665)
- Storyshots: Fix autotitle (#16568)
- Interactions: Use Icon button and add disabled state to IconButton (#16601)
- Add handle-release-branches-workflow (#16580)
- Addon-interactions: add waitForElementToBeRemoved example (#16434)
- Core: Add feature flag to stop storybook from aliasing emotion (#16613)
- Core: Fix
staticDirs
and-s
conflict check (#16649)
- Build: Add node-gyp for M1 macs (#16645)
- Args: Add ability to specific argType "targets" (#16333)
- Core: Fix sorting by
__namedExportsOrder
(#16626) - Angular: Fix zonejs imports in framework preset (#16631)
- Core: Change CSF loading problems from warning to error (#16632)
- Core: Fix args values updated from url to control (#16508)
- CLI: Fix upgrade error state (#16622)
- CSFFile: Handle re-exported stories (#16607)
- StoryIndex: Skip files with no default export (#16606)
- Addon-docs/Source: Fix disabling show code with null (#16615)
- Core: Handle missing websocket in production build (#16590)
- Core: Ensure we set
parameters.filePath
in v7 mode (#16566) - Core: Fix behavior around missing stories to be more clear (#16608)
- Interactions: Fix README link (#16596)
- Core: Add 'staticDirs' config option (#15969)
- TS: Fix type for Refs so they can be disabled (#16582)
- CLI: Add a check for source-dir in
sb extract
(#16505) - UI: Fix links that have no onClick handler (#16581)
- Core: Continue running play function on rerender (#16574)
- Ensure we always initialize the story store, even when the index errors. (#16537)
- Interactions: Fix panel tab icon/count (#16578)
- Pin the version of
history
forreact-router-dom
compat (#16560)
- Core: Replace SSE with websockets (#16504)
- UI: Upgrade react-router (#16554)
- Addon-docs/HTML: Fix source snippetization for DOM elements (#16553)
- Core: Fix
decorateStory
exports from frameworks that have it (#16529) - Fix v7.0 type exports and update MIGRATION.md (#16466)
- UI: Do not display menu toggle when
singleStory=true
(#15755)
- Core: Improve webpack chunk names (#16513)
- Migrate from micromatch to picomatch (#16522)
- Add qs as a dev dependency of the api package (#16525)
bad npm publish
- Core: Add support for async
getProjectAnnotations
function (#16495)
- Addon-docs: Fix centered layout on DocsPage (#16506)
- Addon-docs/Angular: Fix missing condition in compodoc resolveTypealias (#16523)
- Core: Fix
toImportFn
when dealing with../
-led paths (#16474)
- UI: Update the toolbar button styles (#16429)
- CLI: Fix build selection menu (#16521)
- Core: Use synchronous promises to "fake" promises for sync code (#16517)
- UI: Improve WithTooltip contrast and positioning (#16510)
- Addon-docs: Track code-level args changes in
ArgsTable
(#16488)
- Addon-a11y: Lazy load axe-core only when running tests (#16484)
- Addon-docs: Lazy load Prettier in Vue and Angular (#16459)
- Core: Rerun loaders when args/globals change (#16476)
- Interactions: move step debugger behind a feature flag (#16481)
- Core: Always update initial args when loading a story (#16487)
- Core: Ensure we don't reset
WebPreview
if callingstart()
in v7 mode (#16475) - Core: Save and restore globals on preview init using the channel (#16469)
- CI: Upgrade Cypress and Node.js version used in e2e tests (#16263)
- Interactions: Use latest package versions (#16464)
- Interactions: Do not cleanup state when loading initial story (#16462)
- Addon-interactions: Add safety check on fileName parameter (#16454)
- Core: Fix optional global features in PreviewWeb (#16448)
- UI: Migrate router to react-router (#16440)
- Core: Fix some slashes for windows (#16445)
- Core: Add typing for StorybookConfig.refs (#16443)
- StoryIndex: Detect added/moved directories and batch invalidations (#16432)
- Core: Fix module loading support (#16404)
- Addon-links: Modernize to be compatible with v7 store (#16420)
- CLI: Improve build-storybooks script in the monorepo (#16433)
- Core: Add
core.channelOptions
main.js config (#16415)
- Addon-docs: Lazy load docs to reduce bundle size (#16412)
- UI: Update mono font stack (#16409)
- UI: Update sidebar hover color to be a refreshing transparent blue (#16408)
- Core: Consolidate framework presets (#16417)
- Addon-a11y: Fix to use
loadStory
over deprecatedfromId
(#16398) - Core: Restore
queryparams
exports inclient-api
(#16414)
- Core: Minor cleanup of
PreviewWeb
(#16418)
- Update
react-element-to-jsx-string
package (#16407)
- Core: Add
framework
field support to main.js (#16393)
- Addon-docs: Spread all the old docs context fields (#16399)
- Core: Reverse checking of promise so it's OK if we get it wrong (#16396)
- Addon-interactions: Update interaction hover icon (#16388)
- Core: Refactor story store to be simpler when getting the index (#16397)
- Core: Fix bad deprecation link for argType.defaultValue (#16391)
- Storyshots/vue3: Fix story render with singleton vue3 app (#15983)
- Angular: Fix preset for storyStoreV7 (#16380)
- Core: Fix Args combination to allow
undefined
overrides (#16385) - Core: Fix missing FEATURES global (#16389)
- Upgrade chromatic CLI (#16320)
- Core: Listen to story change events as soon as the preview is created (#16331)
- Addon-controls: Fix
{control: false}
handling (#16366) - CLI: Fix broken link in react native template (#16372)
- UI: Fix scrollbar color to be visible in dark theme (#16345)
- Addon-interactions: New addon for step debugging play functions (#16002)
- Addon-interactions: Add rewind button to interactions subnav (#16042)
- CLI: Force
sb upgrade
to use latest version ofnpm-check-updates
(#16336)
- Core: Align storyIndex generated by the server and client (#16311)
- Core: Render behavior around play functions (#16208)
- Angular: Allow to set configuration in angularBrowserTarget (#16218)
- CLI: Force
sb upgrade
to use latest version ofnpm-check-updates
(#16336)
- Core: Fix broken build (#16346)
- Core: Fix paths to be relative to working dir in v7 mode (#16328)
- Core: Don't fetch
stories.json
, JSON or SSE, if we don't need it (#16318)
- CLI: Add js extension to lit-html imports (#16244)
- Story-sort: Catch errors and direct user towards migration docs (#16242)
- CLI: Fix CRA version detection crash (#16308)
- Webpack5: Don't emit stats unless debugWebpack is set (#16132)
- CLI: Fix CRA version detection crash (#16308)
- Core: Better story id generation, cope with unusual stories (#16309)
- Core: Simplify
DOCS_RENDERED
and only useSTORY_RENDERED
for hooks (#16310) - Core: Fix
extract
,SET_STORIES
andgetStoriesJsonData
(#16299) - TypeScript: Add
id
to BaseMeta type (#16216) - CSF: Fix support for
X.story
annotations (#16297)
- Core: Fix multiple invalidations (#16294)
- Add ability to skip cypress tests based on framework (#16285)
- Addon-docs: Always render the
children
of theCanvas
component (#16280) - Addon-docs: Fix args passing for Vue inline rendering (#16279)
- Core: HMR for StoryIndex server (#16160)
- Angular: Make types generic for angular's built-in decorators (#16266)
- Args: Re-render the whole container when args or globals change (#16264)
- CLI: Don't upgrade preset-create-react-app if react-scripts < 5 (#16255)
- CLI: Add "automigrate" command for configuration issues and migrations (#16193)
- Vue: support @values in args table (#16019)
- CLI: Don't upgrade preset-create-react-app if react-scripts < 5 (#16255)
- Angular: Fix getComponentInputsOutputs for multiple decorators (#16217)
- CSF: Add error handling for CSF story index generation (#16241)
- Official-storybook: Fix show source in no-args stories (#16259)
- CLI: Remove story format parameter (#16233)
- Core: Support v2 compatibility mode in story index (#16226)
- Core: Support composing stories in both v6 and v7 modes (#16224)
- Web-components: Autogenerate action argTypes for event. (#16178)
- Addon-a11y: Fix type of context passed to
axe.run
(#16129) - Addon-docs/Angular: Fix inline story rendering (#16149)
- Components: Fix Code component to render children as array (#15492)
- CLI: Remove watch mode from the build-storybook documentation (#16165)
- CLI: Add webpack5 builder to CRA5
sb init
(#16194)
- CLI: Add webpack5 builder to CRA5
sb init
(#16194)
- Controls: Hide color control format toggle when no value (#16186)
- Upgrade boxen to 5.x (#16190)
- Upgrade react-dev-utils to 11.0.4 (#16196)
- Dependencies: Fix ansi-html vulnerability (#16155)
- CLI: Better scope sample page component styles (#16185)
- Addon-docs: Fix loading behavior for Canvas doc block (#16161)
- Added index.d.ts for addon-docs/angular (#16123)
- Angular: Remove dead code in client (#16137)
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 🛠
- Core: Fix
./stories.json
requests in manager for relative paths (#16114) - Core: Fix dotenv handling (#16105)
- Addon-docs: Fix embedding selected story in canvas block (#15915)
- Story index server: Add story sorting (#16102)
- Refactor
stories-json
to use a caching class (#16106)
- Webpack5: Fix output paths (#16074)
- Core: Infer docs only stories (#16101)
- CSF3: Fix story type back-compat (#16107)
- CSF3: Add auto-title support to on-demand V7/V6 refactor (#16098)
- Angular: Fix ng selector issue and dynamically show templates in stories (#15976)
- Core: Fix issue with more complex
stories
paths. (#16078)
- Main.js config: Fix Builder type (#16013)
- Angular: Fix error handling for angular builder standalone builds (#15978)
- Addon-docs: Fix
useStories
to correctly respond to change instoryId
(#16046)
- Addon-docs: Ensure we don't clobber multiple source container state updates (#16039)
- Core: Restore deprecation warning for configure (#16041)
- Core: Be careful in
FEATURES
check (#16044)
- Core: On demand store (#15871)
- UI: Fix ActionButton out of position in Safari (#15981)
- Angular: Support storybook configuration for projects with only angular Library (#15744)
- CLI: Show framework name in startup banner (#15966)
- CLI: Fix sb link to yarn3 repos (#15989)
- Core: Pass proper stack of an error (#15864)
- Addon-docs/Angular: Fix default values in ArgsTable (#15881)
- Core: Replaced
process.env
override inDefinePlugin
config (#15925) - CSF: Infer defaultValue of argtype based on arg (#15798)
- Core: Write JSON stats file in streaming fashion and omit
chunks
for brevity (#15889)
- TypeScript: Fix glob pattern used in package
typesVersions
config (#15918)
- Core: Add Babel mode v7 (#15928)
- Core: Write JSON stats file in streaming fashion and omit
chunks
for brevity (#15889) - UI: Add playback icons (#15909)
- Misc: Generate and push repros to a GitHub repo every night (#15877)
- Bump cpy to 8.1.2 for security (#15953)
- CLI/Storyshots: Specify custom sb extract Chromium exe (#15878)
- Angular: Fix Cannot read property 'selector' of undefined (#15874)
- Addon-docs: Fix refs support in Docs pages (#15890)
- UI: Add skip to canvas/sidebar links (#15740)
- Controls: Add id to setter button for undefined values (#15729)
- CSF3: Normalize windows paths in autoTitle (#15770)
- Addon-docs: Fix newline handling in ArgsTable code blocks (#12882)
- Build: Update
caniuse-lite
dependency (#15863)
- CLI: Improve typings of Angular components (#15832)
- Controls: Fix
esm is not defined
error with built Storybook (#15812)
- Addon-docs/Angular: Render user defined template as source if it exists (#15743)
- Core: Add MDX support to built-in stories.json generation (#15808)
- Controls: Add better icon for reset button (#15737)
- Add checkboxes to pull request template (#15799)
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
- Server: Update example to use options and labels for options controls (#15789)
- Controls: Remove ArrayControl (#15788)
- Angular: Add global CSF3 renderer (#15742)
- Addon-docs/Angular: Use compodoc rawdescription where available (#15774)
- Core: Fix main.js glob resolution for direct paths in stories (#15775)
- CSF: Optionally pass Args generic type from BaseAnnotations to ArgTypes (#14356)
- HTML: Dynamic source snippets (#15748)
- CLI: Add --no-open flag (#15739)
- Angular: Fix incomplete property metadata when using inheritance (#15586)
- Build: Upgrade to Yarn 3 (#15682)
- CSF3: Add auto-titles from standard glob patterns (#15697)
- CSF3: Add startCase to auto-generated titles (#15618)
- CLI: Fix Svelte CLI template markup (#15689)
- Server: Upgrade to CSF3 (#15698)
- Fix some transitive peer dependency warnings (#15687)
- Upgrade react-refresh plugin to fix fast refresh on Webpack5 (#15616)
- CLI: Fix debug webpack output in static build (#15674)
- Controls: Fix boolean toggle style to match underlying value (#15676)
- Components: Fix Button to accept href attribute (#15671)
- CSF3: Fix custom render function (#15668)
- Remove glob-base dependency (#15399)
- Controls: Don't set arg in validateOptions if it would be
undefined
(#15654) - Trailing comma handling for "-s" command line parameter (#15615)
- Controls: Fix color matching behavior for non-string types (#15549)
- Composition: Fix refs ordering (#15527)
- Controls: Don't set arg in validateOptions if it would be
undefined
(#15654) - Vue: Add support for tsx (#11936)
- CLI: Fix trailing comma handling for "-s" command line parameter (#15615)
- Components: Lazy-load syntax highlighter (#15607)
- Controls: Clean up arg unboxing and switch statements (#14394)
- Examples: Fix react-ts to be runnable standalone (#15621)
- UI: Allow keyboard shortcut to copy code in preview blocks (#15559)
- Avoid slow regex.match call in renderJsx (#15581)
- Types: Export BaseStoryFn and BaseStoryObject (#15592)
- Addon-docs: Add transparency support to color swatch (#14439)
- Angular: Fix actions argType auto generation (#15563)
- Controls: Fix color matching behavior for non-string types (#15549)
- UI: Fix toggle button for custom theming (#15449)
- Build: Fix
publish
step on CircleCI (#15556) - Examples: Add no-manager-cache to all examples (#15546)
- Official-storybook: Add example of embedding story object in MDX (#15533)
- Web-components: Dynamic source snippets (#15337)
- Essentials: Add measure addon to monorepo (#15545)
- Addon-docs/Angular: Add unique id to Angular stories (#15501)
- Composition: Fix refs ordering (#15527)
- Essentials: Add outline addon to monorepo (#15526)
- Build: Fix cache setup in GitHub Actions workflow (#15523)
- Addon-docs: Cache DocsContext on window to prevent duplication (#15428)
- 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)
- Webpack5: Quit process after finishing a static build (#15483)
- Addon-docs/Angular: Fix numeric args default value handling (#15491)
- Angular: Make Ivy work by default in the angular-cli example (#15280)
- Official-storybook: Fix shortcut for navigating to previous language (#15489)
- Addon-docs: Add docs to standalone example (#7848)
- Build: Update Yarn cache setup in GitHub Actions workflow (#15480)
- UI: Fix sidebar toggle in fullscreen mode (#15459)
- Angular: Fix circular reference not being handled in moduleMetadata (#15410)
- Addon-a11y: Reverse help and description labels in accordion (#15466)
- UI: Display menu icon on the toolbar when the sidebar is collapsed (#15369)
- Addon-docs: Cache DocsContext on window to prevent duplication (#15428)
- 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)
- Upgrade bad release of
react-docgen-typescript-plugin
(#15432)
- Web-components: Custom Elements Manifest v1 support (#15138)
- CSF: Fix auto-title generation for standard config dir (#15430)
- Upgrade
react-docgen-typescript-plugin
for refresh perf regression (#15431)
- CSF: Generate default titles based on file path (#15376)
- Core: Fix decorator context update (#15408)
- Revert "Vue3: Update args without re-mounting component" (#15409)
- CSF: Add stories.json generation for CSF3 stories (#15395)
- Essentials: Update measure and outline. Fix alt+tab issues on windows. (#15402)
- 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)
- Actions: Don't override existing action args (#15394)
- Core: Only use dotenv-webpack when a user has a dotenv file (#15365)
- CSF3: Rename setup to play (#15358)
- Essentials: Update addon measure and outline (#15354)
- UI: Fix navigation after no story error (#15349)
- Svelte: Fix argType.type.name extraction (#15332)
- Upgrade dotenv-webpack to 7.0.x (#15343)
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.
- CLI: Update types in React typescript templates (#15292)
- Yarn: Disable unnecessary builds (#15299)
- Toolbars: Add missing
regenerator-runtime
dependency (#15312)
- Angular: Fix nx project with workspace.json (#15267)
- Angular: Fix some Ivy rendering glitches (#15279)
- Angular: Add built-in Ivy support instead of relying on addon (#15229)
- Addon-docs: Fix MDX compiler export to match new location (#15266)
- Addon-viewport: Fix CSS for scale reset on firefox (#15128)
- Upgrade react-docgen-typescript-plugin to RDT 2.0 (#15247)
- Core: Only call setup function on story navigation (#15244)
- Official-storybook: Add CSF3 setup function demo (#15245)
- Use @storybook/react-docgen-typescript-plugin canary with PR#45 (#15243)
- Vue3: Update args without re-mounting component (#15168)
- Core: Preserve other query params when changing args/globals (#15213)
- UI: Fix range slider value label size changes causing jittering (#15145)
- Codemod: Fix dist/node_modules ignore heuristic (#15222)
- Core: Fix autoRefs check in manager-webpack (#15197)
- Vue3: Add vue-loader as a dependency (#15207)
- Core: Disable sidebar and don't load refs when
singleStory=true
(#15201)
- Angular: Use docsMode to set docs options (#15194)
- Addon-docs: Split out MDX compiler into standalone package (#15205)
- Core: Add
shortcuts
URL param to disable keyboard shortcuts (#15192)
- Angular: Fix builder runaway process (#15189)
- Core: Use named import for @storybook/addons, fixes vite builder (#15187)
Storybook 6.3 is in RC!! 🎉🎉🎉
Hundreds of improvements and fixes, including:
- Angular - Angular12, Ivy, overhauled docs support.
- Web-components - Lit2 support.
- Essentials - New measure/outline addons for CSS debugging.
- Addon API - Keyboard shortcuts for addons. Initial support in viewports, toolbars.
- Webpack 5 - Official support.
- Vite builder - Community support.
- Modern ESM - Modern package distribution.
Track the release in the Github: Storybook 6.3 Release 🛠
- Toolbars: Add customizable keyboard navigation shortcuts (#15169)
- Controls: Initialize color control on reset (#15059)
- Measure: Update version to fix hooks issue (#15167)
- Angular: Add compodoc to ng builder (#15165)
- Angular: Clear root / docs-root when navigating from one tab to the other (#15160)
- Controls: Style
undefined
range slider different to filled one (#14973)
- Upgrade to react-docgen-typescript-plugin 1.0.0 (#15154)
- CsfFile: Index Meta/Story annotations (#15152)
- CLI: Update project template for web-components (#15149)
- Build: Fix WC example and e2e tests (#15146)
- Essentials: Update measure/outline addons to support ESM and vite builder (#15144)
- Angular: Fix Ivy rendering to use at most one render promise at a time (#15139)
- CSF tools: Refactor test cases (#15142)
- Web Components: Reintegrate
@storybook/lit
into@storybook/web-components
(#15042)
- CLI: Add storybook-addon-angular-ivy to angular install (#14653)
- Angular: Ivy rendering for Canvas and Docs (#15126)
- Server: Add support for stories written in YAML (#15049)
- Essentials: Add measure and outline addons (#15107)
- Core: Add
core.disableWebpackDefaults
preset (#15062)
- Core: Fix prebuilt manager usage on first run (#15121)
- Angular: Add angular builder to start + build storybook (#15061)
- CLI: Fix react repro template deps (#15118)
- CLI: Add Server template generator (#13979)
- CLI: Disable
react_in_yarn_workspace
template for users, keep in e2e (#15114)
- Vue2: Check types when
typescript.check
is true (#15089) - Update markdown-to-jsx version to fix url links in comments (#15083)
- CLI: Add
SKIP_PREFLIGHT_CHECK
in CRA repro (#15092) - Angular: Disable chromatic for story with dynamic time display (#15074)
- Addon-docs: Fix MDX source rendering (#15071)
- CLI: Add new packages to versions.json (#15073)
- Addon-docs: Fix per-story
docs.source
parameter (#15070)
Failed NPM publish
- Core: Add
globals
URL param and remove from sessionStorage (#15056)
- Core: Set
loose: true
in babel/preset-env config (#15055)
- Core: Fix prebuilt manager (#15050)
- Core: Fix storySort
order
with whitespace in story paths (#15038)
Storybook 6.3 is in beta!! 🎉🎉🎉
Hundreds of improvements and fixes, including:
- Angular - Overhauled Angular support.
- Web-components - Lit2 support.
- Webpack 5 - Official support.
- Vite builder - Community support.
- Modern ESM - Modern package distribution.
- API - Keyboard shortcuts for addons.
Track the release in the Github: Storybook 6.3 Release 🛠
- CLI: Add option to force-build iframe despite custom preview URL (#15030)
- Addon-docs: Fix source block tree shaking (#15035)
- Addon-a11y: Highlight all elements correctly (#14935)
- Presets: Expand
webpackInstance
to include entire namespace (#15016) - Angular: Add
angularBrowserTarget
option in server (#14955)
- Core: Ignore manager cache on config file changes and Storybook upgrade (#14993)
- Web-components: Support lit 2 with back-compat (#14898)
- Angular: Use NormalizeOptimization from angular-cli (#15022)
- Build: Fix selectors used in Cypress tests and E2E exit code (#15021)
- Bump react-docgen-typescript-plugin to 0.7.2-canary.375d65e.0 (#15024)
- Core: Fix manager builder dependencies for PnP (#15019)
- Addon-docs: Exclude decorators in dynamic source snippets (#14652)
Failed NPM publish
Fix stale dependencies appended to #15001
Minor manager webapck5 fixes appended to #15001
- Core: Support manager build with webpack5 (#15001)
- Core: Fix opt-in stories.json generation (#15003)
- Maintenance: Build ESM in watch mode, revert modern (#15015)
- Storyshots-puppeteer: Remove the usage of GPL-licensed
@wordpress/jest-puppeteer-axe
package (#15006)
- Build: Improve e2e script (#14980)
- React: Upgrade to @storybook/react-docgen-typescript-plugin (#14991)
- Core: Feature flag for builtin stories.json support (#14992)
- React: Upgrade to @storybook/react-docgen-typescript-plugin (#14991)
- Bump telejson to 5.3.2 to use the ESM version (#14983)
- CSF: Add undeclared dependency
regenerator-runtime
(#14979)
- Controls: Fix controls without options and add warning (#14976)
- Core: Add remaining sbmodern exports (#14977)
Failed NPM publish
- Angular: Pass bootstrapOptions to angular (#14852)
- Controls: Update all controls to have explicit handling for
undefined
(#14899) - Core: Add args enhancers + use in addon-actions (#14901)
- Addon-docs: Remove all defaultValue eval-ing (#14900)
- Core: Built-in static
stories.json
support (#14945)
- Core: Add modern build target to apps aka frameworks (#14967)
- Build: Increase CI
build
step to XL (#14970)
- UI: Provide option to hide default toolbar tools (#14897)
- Core: Support modern browser target (#14954)
- Core: Remove updateGlobals warning message (#14949)
- Controls: Tighten color control inference heuristic and test (#14684)
- CLI: Keep Webpack 4 builder for Angular lower than 12 (#14942)
- CLI: Add Angular 12 + docs inline rendering support (#14928)
- Addon-controls: Fix duplicate color swatch id's in Color control (#14925)
- CLI: Add preamble instructions to
sb repro
(#14924) - Webpack5: Always set
resolve.fallback.crypto
tofalse
(#14914) - Build: Add missing dependencies (#14919)
- Build: Put E2E tests back on track (#14917)
- Addon-storyshots: Make @storybook/react dependency optional (#14891)
- Builder-Webpack5: Use native features instead of plugins (#14281)
- CLI: Repro refinements per feedback (#14888)
- CLI: Add repro/link commands for creating/running reproductions (#14594)
- UI: Only show addons in mobile if docsOnly is false (#14810)
- UI: Fix tab display when there is only one tab (#14790)
- Addon-actions: Display DOM Event/CustomEvent data (#14879)
- Build: Remove outdated
@types/cpy
dependency (#14880)
- Extract addon-knobs from monorepo (#14874)
- Extract addon-graphql from monorepo (#14862)
- Extract design-assets from monorepo (#14854)
- Fix renovate config (#14868)
- Extract addon-events from monorepo (#14855)
- Extract addon-cssresources from monorepo (#14860)
- Extract addon-queryparams from monorepo (#14861)
- CLI: Use arg-parser defaults (#14857)
- Build: Remove MDX to make chromatic/IE pass in CI (#14863)
- Addon-docs: Fix doc blocks imports to import from ESM/CJS (#14841)
- Refactor aurelia into its own repo (#14801)
- Delete unmaintained dev-kits (#14832)
- Storyshots: Make
vue-jest
andsvelte
optional peer dependencies (#14835)
- Vue3: Fix components in decorators (#14809)
- Accessibility: Adds title to close button on settings page (#14808)
- Refactor marionette into its own repo (#14802)
- Refactor rax to its own repo (#14799)
- Refactor marko into its own repo (#14803)
- Refactor mithril into its own repo (#14804)
- Refactor riot to its own repo (#14800)
- UI: Styling updates (#14820)
- Addon-toolbars: Add optional label for toolbar items (#14776)
- Core: Remove spurious package.json warning (#14785)
- Angular: Filter out args whose argType are missing a control or action (#14779)
- Addon-docs: Allow doc blocks to CJS imported (#14769)
- Core: Add option to include story names when sorting (#12520)
- Addon-actions: Add 'New Action' indicator (#14728)
- Addon-docs: Add parameter to show code by default (#14729)
- Addon-docs: Add classnames for Preview block (#14685)
- UI: Fix toolbar text using theme color (#14308)
- Core: Protect core metadata from decorators (#13512)
- Addon-a11y: Reorder color blindness types by most common (#14768)
- Core: Fix
features
,core
,logLevel
in main.js config types (#14745) - Angular: Fix windows path for tsconfig (#14747)
- Build: Change nx cloud access token to read-only token (#14744)
- Addon-a11y/Storyshots: Upgrade axe-core to 4.2.0 and related dependencies (#14749)
- Storyshots: Add
beforeAxeTest
hook (#14563) - API: Add addon keyboard shortcuts & create shortcuts for addon-viewport (#14658)
- Storyshots/Preact: Add pragma @jsxRuntime classic (#13849)
- Core: Don't recreate a bound story function each time we call a decorated story (#14692)
- Build: Add NX bootstrap optimization (#14535)
- 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)
- Examples: Move from placehold.it to place-hold.it for mock images (#14637)
- Core: Fix URL handling in Firefox (#14556)
- Build: Create webpack stats target directory if needed and accept boolean flag (#14690)
- Docs: Remove
babel-loader
and@babel/core
peer deps (#14689) - Use Storybook's built-in accessibility icon for VisionDeficiency tab. (#14681)
- Addon-docs: Fix ArgsTable sorting when using of={Component} (#14669)
- CLI: Rename preact template files to JSX (#14670)
- Add
funding
to manifests (#14647)
- Modified Swatches keys to avoid duplicates (#14636)
- ESM tweaks for vite builder (#14641)
- Examples: Move from placehold.it to place-hold.it for mock images (#14637)
- Preact: Add react compat by default (#14555)
- Addon-docs: Fix MD code snippet format inside Description (#14495)
- Server: Fix string escaping in CSF compiler (#14615)
- Maintenance: Improve issue templates (#14543)
- Angular: Create actions for Outputs by default (#14299)
- Addon-a11y: Fix crypto in webpack5 (#14592)
- Storyshots: Preserve authentication information in Storybook URL (#14582)
- Angular: Add template MDX example (#14597)
- Remove unused inquirer dependency (#14590)
- Angular: Improve story rendering mode (#14226)
- Angular: set the @ViewChild with a non-empty value in StorybookWrapperComponent (#14586)
- CI: Remove Travis, fix TeamCity, rework E2E on CircleCI (#14522)
- Core: Resolve builders relatively to config file (#14576)
- Build: Disable yarn immutable install by default during E2E tests (#14568)
- Build: Fix
dev:babel
anddev:tsc
NPM scripts (#14560)
- Core: Enable community builders (#14545)
- Core: Expose Server instance through the pluggable Builder API (#14468)
- Core: Don't shadow the window global variable (#14472)
- UI: Support
*
wildcard option in storySort order array (#14531)
- UI: Add show toolbar T in menu (#14437)
- Refactor: Replace
lodash/range
withArray.from
(#14323) - Maintenance: Add TypeScript plugin for Yarn (#14534)
- CLI: Fix prerelease upgrade (#14529)
- Web-components: Add full reload listening to server-side-events (#14445)
- Core: Pass watchOptions from webpack config to webpackDevMiddleware (#14461)
- CLI: Fix prerelease upgrade (#14529)
- Core: Allow string in object arg and support fractional numbers in URL args (#14511)
- UI: Skip duplicate storyId breaking sidebar (#14502)
- Core: Enable gzip compression on the development server (#14459)
- Preact: Fix hooks when used in stories, preact-kitchen-sink (#14473)
- Angular: Fix handling of line breaks with multiple selectors (#14313)
- Build: Move monorepo to Yarn 2 (#13907)
- 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)
- Revert "Upgrade
dotenv-webpack
to v6" (#14501)
- Upgrade
dotenv-webpack
to v6 (#14492)
- Core: Fix file-loader options for ESM compat (#14480)
- Core: Fix config.js-based configuration (#14479)
- Core: Disable postcss warning, add main.js
features
setting (#14478)
- 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)