Skip to content

Latest commit

 

History

History
1397 lines (1052 loc) · 133 KB

CHANGELOG.prerelease.md

File metadata and controls

1397 lines (1052 loc) · 133 KB

8.1.0-alpha.8

  • Addon-actions: Fix falsy args printing as object - 22163 - #26917, thanks @Fatcat560!
  • Addon-docs: Fix MDX compilation with @vitejs/plugin-react-swc and plugins - #26837, thanks @JReinhold!
  • Automigration: Fix name of VTA addon - #26816, thanks @valentinpalkovic!
  • Blocks: Add of prop to Subtitle - #22552, thanks @joaonunomota!
  • Blocks: Add of prop to Title - #23728, thanks @Sidnioulz!
  • CSF: Fix typings for control and other properties of argTypes - #26824, thanks @kasperpeulen!
  • Controls: Added server channel to create a new story - #26769, thanks @valentinpalkovic!
  • Controls: Fix crashing when docgen extraction partially fails - #26862, thanks @yannbf!
  • Controls: Add UI to create new story files - #26875, thanks @valentinpalkovic!
  • Core: Drop unneeded UPDATE_STORY_ARGS which was for SSv6 - #25993, thanks @tmeasday!
  • Core: Ensure that simultaneous onStoriesChanged don't clobber each other - #26882, thanks @tmeasday!
  • Core: Fix filters not being applied in WebKit - #26949, thanks @JReinhold!
  • Core: Implement file formatter - #26809, thanks @valentinpalkovic!
  • Core: Save from controls - #26827, thanks @ndelangen!
  • Dependencies: Upgrade @storybook/csf to 0.1.5 - #26958, thanks @Cherry!
  • Doc Tools: Signature Type Error Handling - #26774, thanks @ethriel3695!
  • Docs: Fix providerImportSource extension - #26868, thanks @bashmish!
  • MDX: Don't transform http:// links - #26488, thanks @JReinhold!
  • Next.js: Move sharp into optional deps - #26787, thanks @shuta13!
  • Next.js: Support v14.2 useParams functionality - #26874, thanks @yannbf!
  • Portable Stories: Warn when rendering stories without cleaning up first - #27008, thanks @JReinhold!
  • React: Support v19 in react-dom-shim - #26898, thanks @Tobbe!
  • Test: Remove chai as dependency of @storybook/test - #26852, thanks @kasperpeulen!
  • Test: Support module mocking with conditional subpath imports in package.json - #26688, thanks @kasperpeulen!
  • UI: Fix not re-rendering tabs on state change - #26899, thanks @lifeiscontent!
  • UI: Fix sidebar search hanging when selecting a story in touch mode - #26807, thanks @JReinhold!
  • Vite: Merge assetsInclude property with Storybook default values - #26860, thanks @yuemori!

8.1.0-alpha.7

  • CLI: Add --config-dir flag to add command - #26771, thanks @eric-blue!
  • CLI: Add Visual Tests addon install auto-migration when upgrading to 8.0.x - #26766, thanks @ndelangen!
  • Controls: Add Channels API to search for files in the project root - #26726, thanks @valentinpalkovic!
  • Test: Make spies reactive so that they can be logged by addon-actions - #26740, thanks @kasperpeulen!
  • Vue: Disable controls for events, slots, and expose - #26751, thanks @shilman!
  • Webpack: Bump webpack-dev-middleware to patch high security issue - #26655, thanks @jwilliams-met!

8.1.0-alpha.6

  • CLI: Add --config-dir flag to migrate command - #26721, thanks @yannbf!
  • Core: Add duration and onClick support to Notification API and improve Notification UI - #26696, thanks @ghengeveld!
  • Dependency: Bump es-module-lexer - #26737, thanks @valentinpalkovic!
  • Dependency: Update globby dependency - #26733, thanks @valentinpalkovic!
  • Dependency: Update postcss-loader in Next.js framework - #26707, thanks @valentinpalkovic!
  • Next.js: Fix next/font usage on Windows machines - #26700, thanks @valentinpalkovic!
  • Webpack: Fix sourcemap generation in webpack react-docgen-loader - #26676, thanks @valentinpalkovic!

8.1.0-alpha.5

  • Addon-docs: Fix react-dom/server imports breaking stories and docs - #26557, thanks @JReinhold!
  • Args: Add possibility to mark controls as read-only - #26577, thanks @valentinpalkovic!
  • Automigrations: Add migration note about new react-docgen default - #26620, thanks @valentinpalkovic!
  • Automigrations: Fix missing support for mts vite config - #26441, thanks @drik98!
  • CLI: Automigrations copy edits - #26342, thanks @joevaugh4n!
  • CLI: Improve Yarn berry error parsing - #26616, thanks @yannbf!
  • Codemods: Escape filename given as argument - #26430, thanks @YukiKitagata!
  • NextJS: Support path aliases when no base url is set - #26651, thanks @yannbf!
  • Node: Safe use of document for preview - #24248, thanks @DylanPiercey!
  • React-Docgen: Make sure to be able to handle empty unions - #26639, thanks @kasperpeulen!
  • Test: Add @storybook/test as dev dependency - #26458, thanks @arnabsen!
  • Theming: Update emotion dependencies - #26623, thanks @SimenB!
  • Viewport: Fix missing style - #26530, thanks @jpzwarte!
  • Webpack: Hide runtime errors - #23175, thanks @donaldpipowitch!

8.1.0-alpha.4

  • Addon Docs: Support Stencil based display names in source snippets - #26592, thanks @yannbf!
  • Angular: Add type support for Angular's input signals - #26413, thanks @valentinpalkovic!
  • Angular: Add type support for Angular's output signals - #26546, thanks @valentinpalkovic!
  • CLI: Instruct the correct auto-migration command - #26515, thanks @ndelangen!
  • CLI: Throw an error when running upgrade command in incorrect cwd - #26585, thanks @yannbf!
  • CSF: Allow default export without title or component attributes - #26516, thanks @kasperpeulen!
  • Core: Fix preloading too early - #26442, thanks @ndelangen!
  • UI: Replace the icon prop in the Manager API - #26477, thanks @cdedreuille!

8.1.0-alpha.3

  • Addon Docs: Fix [Object object] displayName in some JSX components - #26566, thanks @yannbf!
  • CLI: Introduce package manager fallback for initializing Storybook in an empty directory with yarn1 - #26500, thanks @valentinpalkovic!
  • CSF: Make sure loaders/decorators can be used as array - #26514, thanks @kasperpeulen!
  • Controls: Fix disable condition in ArgControl component - #26567, thanks @valentinpalkovic!
  • Portable stories: Introduce experimental Playwright CT API and Support for more renderers - #26063, thanks @yannbf!
  • UI: Fix theming of elements inside bars - #26527, thanks @valentinpalkovic!
  • UI: Improve empty state of addon panel - #26481, thanks @yannbf!

8.1.0-alpha.2

  • CLI: Automigrate improve upgrade storybook related packages - #26497, thanks @ndelangen!
  • CLI: Improve vite-config-file.ts - #26375, thanks @joevaugh4n!
  • Controls: Fix number controls do not reset - #26372, thanks @jiyiru!
  • Core: Optimize clearNotification - #26415, thanks @ndelangen!
  • Portable stories: Make setProjectAnnotations accept multiple types of imports - #26316, thanks @yannbf!
  • UI: Add key property to list children in Highlight component - #26471, thanks @valentinpalkovic!
  • UI: Fix search result color contrast - #26287, thanks @winchesHe!

8.1.0-alpha.1

  • Maintenance: Fix performance regressions - #26411, thanks @kasperpeulen!

8.1.0-alpha.0

8.0.0-rc.5

  • CLI: Automigration fix version detection of upgrading related packages - #26410, thanks @ndelangen!

8.0.0-rc.4

  • Actions: Fix attaching action after a spy is restored to original function - #26364, thanks @kasperpeulen!
  • CLI: Add explicit actions to header story - #26352, thanks @kasperpeulen!
  • CLI: Automigration for upgrading storybook related dependencies - #26377, thanks @ndelangen!
  • CLI: Fix doctor compatibility check - #26363, thanks @yannbf!
  • CLI: Fix fn reference in preact templates - #26384, thanks @kasperpeulen!
  • CLI: Remove duplicated dependency warning - #26385, thanks @yannbf!
  • CLI: Vite migration link (shorter) - #26379, thanks @ndelangen!
  • Composition: Fix refs not loading when there's multiple - #26356, thanks @ndelangen!
  • Dependencies: Broaden esbuild version range - #26405, thanks @ndelangen!
  • Maintenance: Replace @storybook/testing-library with @storybook/test in monorepo - #26351, thanks @ndelangen!
  • Maintenance: What's new modal changes - #26355, thanks @kasperpeulen!
  • Portable Stories: Fix injected root element changing layout - #26387, thanks @JReinhold!
  • React: Support all React component types in JSX Decorator - #26382, thanks @yannbf!

8.0.0-rc.3

  • Addon-themes: Fix switcher initialization after first start - #26353, thanks @valentinpalkovic!
  • Build: Upgrade esbuild (0.20.1) - #26255, thanks @43081j!
  • Core: Fix path separator issue in check-addon-order - #26362, thanks @valentinpalkovic!
  • Dependencies: Remove qs from @storybook/manager-api & @storybook/channels - #26285, thanks @43081j!
  • UI: Fix sidebar scrolling to selected story when state changes - #26337, thanks @JReinhold!
  • UI: Remove 'left' property from TooltipLinkList and Link components - #26324, thanks @valentinpalkovic!
  • Viewport: Fix editing when default viewport is set - #26360, thanks @shilman!
  • Vue: Fix reference error when using re-exports with "vue-component-meta" - #26303, thanks @larsrickert!

8.0.0-rc.2

8.0.0-rc.1

  • CLI: Fix addon compatibility check error reporting in storybook dev - #26258, thanks @yannbf!
  • Onboarding: Fix manager dist reference - #26282, thanks @shilman!
  • ReactVite: Docgen ignore un-parsable files - #26254, thanks @ndelangen!

8.0.0-rc.0

Bumping 8.0.0-beta.6 to 8.0.0-rc.0. Please refer to the changelogs of previous beta releases.

8.0.0-beta.6

  • Addon-onboarding: Move onboarding to monorepo - #26176, thanks @ndelangen!
  • Angular: Fix Storybook startup after init - #26213, thanks @valentinpalkovic!
  • Angular: Use dedicated tsconfig for compodocs - #26214, thanks @kasperpeulen!
  • Automigration: Fix overflow bug by using a better link - #26203, thanks @kasperpeulen!
  • Automigration: Run the mdx-to-csf codemod during automigration - #26201, thanks @ndelangen!
  • Automigrations: Create addon-postcss automigration - #26228, thanks @valentinpalkovic!
  • Automigrations: Enhance experience for upgrades from Storybook 6 to 8 - #26067, thanks @valentinpalkovic!
  • Automigrations: General fixes for automigrations, blockers and codemods - #26210, thanks @valentinpalkovic!
  • Blocks: Fix Stories block rendering duplicate stories when globals are changed - #26110, thanks @JReinhold!
  • Builder Vite: Pass on errors about not having a real stats object in smoke tests - #26195, thanks @tmeasday!
  • CLI: Rename --webpack-stats-json to --stats-json as it works in Vite - #26128, thanks @tmeasday!
  • Codemods: Enhance mdx-to-csf codemod - #26164, thanks @valentinpalkovic!
  • Core: Export preview symbols for embedding - #26224, thanks @tmeasday!
  • Docs: Don't show how to setup controls for empty argTypes in doc pages - #26200, thanks @kasperpeulen!
  • Docs: Fix function prop rendering as noRefCheck in storybook docs - #26104, thanks @thisisanto!
  • Doctor: Add dynamic check for incompatible Storybook packages - #26219, thanks @yannbf!
  • Maintenance: Remove deprecation of manager-api's types export - #26202, thanks @ndelangen!
  • Revert "Revert: "Angular: Reduce the warnings from ts-loader via stricter list of includes"" - #26226, thanks @ndelangen!
  • Revert: "Angular: Reduce the warnings from ts-loader via stricter list of includes" - #26208, thanks @kasperpeulen!
  • UI: Improve sidebar performance when switching stories - #26184, thanks @literalpie!
  • UI: Update theme switcher to use toggle button for two themes - #25682, thanks @ivoilic!
  • Vue: Improve types for array, union and intersection when using vue-docgen-api - #26177, thanks @larsrickert!

8.0.0-beta.5

8.0.0-beta.4

  • Addon-actions: Warn when argTypesRegex is used together with the visual test addon - #26094, thanks @kasperpeulen!
  • Addon-docs: Fix Table of Contents heading leak - #23677, thanks @vmizg!
  • CLI: Add legacyMdx1 & @storybook/mdx1-csf automigration - #26102, thanks @ndelangen!
  • CLI: Add line ignoring storybook's .log files upon init - #26099, thanks @ndelangen!
  • CLI: Add support for custom vite config to autoblocker - #26087, thanks @ndelangen!
  • CLI: Add webpack5 compiler automigration - #26000, thanks @valentinpalkovic!
  • CLI: Remove argTypesRegex automigration - #26001, thanks @kasperpeulen!
  • CLI: Remove the logging to file feature from autoblockers - #26100, thanks @ndelangen!
  • Core: Add addon removal telemetry - #26077, thanks @shilman!
  • Core: Fix fail to load main.ts error message - #26035, thanks @ndelangen!
  • Core: Update ip version to fix CVE-2023-42282 - #26086, thanks @drik98!
  • Next.js: Support getImageProps API - #25745, thanks @piratetaco!
  • Svelte: Remove deprecated SvelteComponentTyped in favor of SvelteComponent - #26113, thanks @kasperpeulen!
  • Vite: Fix bug that meant we always warned about TS plugin - #26051, thanks @tmeasday!
  • Vite: Fix config typing issue of the typescript property - #26046, thanks @ndelangen!
  • Vite: Fix issue getting preview stats with Vite builder - #26093, thanks @tmeasday!

8.0.0-beta.3

8.0.0-beta.2

  • Core: Fix boolean true args in URL getting ignored - #25950, thanks @JReinhold!
  • Core: Move @types packages to dev deps in core-common - #25387, thanks @kyletsang!
  • Maintenance: Rename testing-utils paths to portable-stories - #25888, thanks @yannbf!
  • Portable stories: Pass story context to the play function of a composed story - #25943, thanks @yannbf!
  • UI: Fix display=true warning in console - #25951, thanks @JReinhold!
  • UI: Update deprecated Icons with the new @storybook/icons in addons - #25822, thanks @cdedreuille!
  • Vite: Add a rollup-plugin-webpack-stats to allow stats from preview builds - #25923, thanks @tmeasday!

8.0.0-beta.1

  • Addon-docs: Fix MDX components not applied in Vite and theme loading twice - #25925, thanks @JReinhold!
  • Core: Fix React peer dependency warnings - #25926, thanks @JReinhold!
  • Core: Remove CSF batching, as it isn't required any more - #25872, thanks @tmeasday!
  • Next.js: Fix frameworkOptions resolution - #25907, thanks @valentinpalkovic!
  • React Native: Fix init fails when package is already installed - #25908, thanks @dannyhw!
  • React Native: Remove watcher from init - #25895, thanks @dannyhw!
  • Test: Fix jest-dom matcher type imports - #25869, thanks @alitas!
  • UI: Fix overlapping on the ref button in the sidebar - #25914, thanks @cdedreuille!
  • UI: Remove keyboard shortcut hint in search bar on mobile viewports - #25866, thanks @tusharwebd!

8.0.0-beta.0

8.0.0-alpha.17

8.0.0-alpha.16

  • CLI: Fix upgrade detecting the wrong version of existing Storybooks - #25752, thanks @JReinhold!
  • CLI: Update init for react native v7 - #25780, thanks @dannyhw!
  • UI: Improve how the addon panel work on mobile - #25787, thanks @cdedreuille!

8.0.0-alpha.15

8.0.0-alpha.14

8.0.0-alpha.13

8.0.0-alpha.12

8.0.0-alpha.11

8.0.0-alpha.10

8.0.0-alpha.9

8.0.0-alpha.8

  • Addon Links: Remove LinkTo from direct import - #25418, thanks @yannbf!
  • Addon docs: Remove deprecated parameters - #25469, thanks @yannbf!
  • Builder Vite: Remove StorybookViteConfig type in favor of StorybookConfig - #25441, thanks @yannbf!
  • Core: Error on explicit actions while rendering or playing - #25238, thanks @kasperpeulen!
  • Core: Remove collapseAll and expandAll methods - #25486, thanks @yannbf!
  • Core: Remove storyIndexers in favor of experimental_indexers - #25468, thanks @yannbf!
  • Core: Remove unused staticDir type - #25415, thanks @yannbf!
  • Doc blocks: Remove deprecated props from Description block - #25457, thanks @yannbf!
  • Manager API: Remove deprecated navigateToSettingsPage method - #25467, thanks @yannbf!
  • React: Remove deprecated setGlobalConfig portable stories api - #25442, thanks @yannbf!
  • TypeScript: Remove deprecated addons module types - #25485, thanks @yannbf!
  • Types: Remove DecoratorFn, Story, ComponentStory, ComponentStoryObj, ComponentStoryFn and ComponentMeta types - #25477, thanks @yannbf!
  • Types: Remove Framework in favor of Renderer types - #25476, thanks @yannbf!
  • UI: Remove deprecated WithTooltip props - #25440, thanks @yannbf!

8.0.0-alpha.7

8.0.0-alpha.6

  • NextJS: Autoconfigure public directory for new projects - #25279, thanks @shilman!
  • Vite: Fix pre-transform error in Vite 5 - #25329, thanks @yannbf!
  • Vue3: Fix pnp by making compiler-core a dependency - #25311, thanks @shilman!

8.0.0-alpha.5

8.0.0-alpha.4

8.0.0-alpha.3

8.0.0-alpha.2

8.0.0-alpha.1

8.0.0-alpha.0

7.6.0-beta.2

  • Actions: Fix @storybook/core-events/preview-errors dependency missing for Yarn PnP - #24973, thanks @JReinhold!
  • Webpack5: Resolve circular dependency and fix HMR - #24974, thanks @valentinpalkovic!

7.6.0-beta.1

  • SvelteKit: Default to log an action for goto, invalidate and invalidateAll - #24955, thanks @paoloricciuti!

7.6.0-beta.0

7.6.0-alpha.7

7.6.0-alpha.6

  • Addon: Move Visual Test addon to the code directory - #24771, thanks @cdedreuille!
  • FastBuild: Improve config loading & naming - #24837, thanks @ndelangen!
  • TestBuild: Revert defaulting to SWC in test build, but keep using esbuild for minification - #24843, thanks @kasperpeulen!
  • Viewport: Add newer device viewports - #24777, thanks @Tomo5524!
  • Vite: Prevent non-deterministic build output - #24833, thanks @henkerik!

7.6.0-alpha.5

7.6.0-alpha.4

7.6.0-alpha.3

7.6.0-alpha.2

  • Actions: Fix missing crypto module crashing React Native - #24546, thanks @dannyhw!
  • Core: Fix post message channel location.search access for React Native - #24545, thanks @dannyhw!
  • ManagerBuilder: Fix "type": "commonjs" compatibility - #24534, thanks @ndelangen!
  • React: Upgrade react-docgen to v7 - #24530, thanks @shilman!

7.6.0-alpha.1

7.6.0-alpha.0

Empty release identical to 7.5.0.

7.5.0-alpha.7

  • Angular: Allow loading standalone directives - #24448, thanks @osnoser1!
  • Svelte: Fix docs generating when using lang="ts" or optional chaining - #24096, thanks @j3rem1e!
  • Vite: Support Vite 5 - #24395, thanks @IanVS!

7.5.0-alpha.6

7.5.0-alpha.5

  • Angular: Add CLI options (debugWebpack, webpackStatsJson, and more) - #24388, thanks @yannbf!
  • Angular: Fix Angular 15 support and add zone.js v0.14.x support - #24367, thanks @valentinpalkovic!
  • Core: Add class name to Storybook error name - #24371, thanks @yannbf!
  • ManagerAPI: Fix bug with story redirection when URL has partial storyId - #24345, thanks @ndelangen!
  • NextJS: Fix Image Context re-use via singleton - #24146, thanks @martinnabhan!
  • NextJS: Fix default next image loader when src has params - #24187, thanks @json-betsec!
  • React: Upgrade react-docgen to 6.0.x and improve argTypes - #23825, thanks @shilman!
  • Webpack: Display errors on build - #24377, thanks @yannbf!

7.5.0-alpha.4

  • CLI: Fix Nextjs project detection - #24346, thanks @yannbf!
  • Core: Deprecate storyStoreV6 (including storiesOf) and storyIndexers - #23938, thanks @JReinhold!
  • Core: Fix Promise cycle bug in useSharedState - #24268, thanks @ndelangen!
  • Core: Fix missing favicon during dev - #24356, thanks @ndelangen!
  • NextJS: Change babel plugins from proposal-... to transform-... - #24290, thanks @roottool!
  • Nextjs: Improve support for Windows-style paths - #23695, thanks @T99!
  • UI: Fix infinite hook call causing browsers to freeze - #24291, thanks @yannbf!
  • UI: Improve contrast ratio between focus / hover - #24205, thanks @chocoscoding!
  • Vite: Move mdx-plugin from @storybook/builder-vite to @storybook/addon-docs - #24166, thanks @bryanjtc!

7.5.0-alpha.3

7.5.0-alpha.2

  • Angular: Categorize legacy build options error - #24014, thanks @yannbf!
  • Builder-Webpack5: Categorize builder error - #24031, thanks @yannbf!
  • CI: Inform the user how to dedupe and strip color from info command - #24087, thanks @kasperpeulen!
  • CLI: Fix packageManager handling in sb add - #24079, thanks @Integrayshaun!
  • CLI: Improve sanitization logic in crash reports - #24028, thanks @yannbf!
  • Maintenance: Add more context to explanation in core-events errors - #24063, thanks @yannbf!
  • Monorepo: Fix svelte-vite detection - #24085, thanks @legnaleurc!
  • NextJS: Fix Image Context reuse (ensure singleton by externalizing it) - #23881, thanks @martinnabhan!
  • Source-loader: Fix property key validation - #24068, thanks @MrZillaGold!
  • Svelte: Fix generated properties on Svelte event handler - #24020, thanks @j3rem1e!
  • Telemetry: Add platform info to telemetry event - #24081, thanks @yannbf!
  • UI: Fix target id in searchfield label - #23464, thanks @plumpNation!
  • Vue3: Remove console.log in sourceDecorator - #24062, thanks @oruman!

7.5.0-alpha.1

  • Core: Add CJS entrypoints to errors in core events - #24038, thanks @yannbf!

7.5.0-alpha.0

7.4.0-alpha.2

  • Addon-docs: Resolve mdx-react-shim & @storybook/global correctly - #23941, thanks @ndelangen!
  • Addons: Fix key is not a prop warning - #23935, thanks @kasperpeulen!
  • CLI: Pass package manager to postinstall - #23913, thanks @Integrayshaun!
  • CLI: Provide guidance for users who try to initialize Storybook on an empty dir - #23874, thanks @yannbf!
  • Logger: Fix double error messages/stack - #23919, thanks @ndelangen!
  • Maintenance: Categorize server errors - #23912, thanks @yannbf!
  • Maintenance: Remove need for react as peerDependency - #23897, thanks @ndelangen!
  • Maintenance: Remove sourcemaps generation - #23936, thanks @ndelangen!
  • Preset: Add common preset overrides mechanism - #23915, thanks @yannbf!
  • UI: Add an experimental API for adding sidebar bottom toolbar - #23778, thanks @ndelangen!
  • UI: Add an experimental API for adding sidebar top toolbar - #23811, thanks @ndelangen!

7.4.0-alpha.1

  • Build: Migrate @storybook/scripts to strict-ts - #23818, thanks @stilt0n!
  • CLI: Exclude addon-styling from upgrade - #23841, thanks @Integrayshaun!
  • Core: Add error categorization framework - #23653, thanks @yannbf!
  • Core: Fix error thrown if docs.defaultName is unset - #23893, thanks @stilt0n!
  • Core: Fix race-condition relating to addons.setConfig - #23802, thanks @ndelangen!
  • Maintenance: Move filtering of sidebar into the state - #23911, thanks @ndelangen!
  • Maintenance: Revert "WebpackBuilder: Remove need for react as peerDependency" - #23882, thanks @vanessayuenn!
  • Manager API: Fix api.getAddonStatedefault value - #23804, thanks @sookmax!
  • Publish: Don't distribute src files or unnecessary template files - #23853, thanks @shilman!
  • UI: Add an experimental API for adding sidebar filter functions at runtime - #23722, thanks @ndelangen!
  • UI: Removal of experimental components - #23907, thanks @ndelangen!
  • Vue3: Add support for Global Apps install - #23772, thanks @chakAs3!
  • Vue3: Use slot value directly if it's a string in source decorator - #23784, thanks @nasvillanueva!

7.4.0-alpha.0

7.3.0-alpha.0

7.2.2-alpha.1

7.2.2-alpha.0

  • Indexer: Introduce new experimental indexer API - #23691, thanks @JReinhold!
  • Addon-docs, Core, Server: Use new indexer API - #23660, thanks @JReinhold!
  • Server: Add support for tags - #23660, thanks @JReinhold!
  • Core-server: Improve internal types - #23632, thanks @JReinhold!

7.2.0-rc.0

7.2.0-alpha.0

  • Angular: Make enableProdMode optional - #23489, thanks @valentinpalkovic!
  • Router: Support RegExp in Route component - #23292, thanks @ndelangen!
  • UI: Improve tabs component, more type correct, allow for FC as title - #23288, thanks @ndelangen!
  • Addons: Improve code quality by using title as FC & sharing state via useAddonState - #23298, thanks @ndelangen!
  • InteractionsAddon: Improve code quality by using title as FC & sharing state via useAddonState - #23291, thanks @ndelangen!
  • UI: Add storyStatus to sidebar UI - #23342, thanks @ndelangen!
  • Addon API: Add experimental page addon type - #23307, thanks @ndelangen!
  • UI: refactor Canvas component so we can improve types for PREVIEW addons and TAB addons - #23311, thanks @ndelangen!
  • UI: Improve Button layout and props - #23356, thanks @cdedreuille!
  • Dependencies: Remove references to api and the 2 deprecated channel packages - #23384, thanks @ndelangen!
  • UI: Show the story status in the search results - #23441, thanks @ndelangen!
  • UI: Create new form elements in the new Core UI (Input, TextArea, Select) - #23469, thanks @cdedreuille!
  • CLI: Improve support of mono repositories - #23458, thanks @valentinpalkovic!

7.1.0-rc.2

7.1.0-rc.1

7.1.0-rc.0

Promote beta to rc without any changes. 🎉

7.1.0-beta.3

7.1.0-beta.2

  • Next.js: Fix for @nx/react/plugin/storybook with stories containing SVGs - #23210, thanks @daves28!
  • Yarn: Downgrade yarnpkg packages and support virtual files properly - #23354, thanks @valentinpalkovic!

7.1.0-beta.1

7.1.0-beta.0

7.1.0-alpha.44

7.1.0-alpha.43

  • Addons: Remove deprecated addPanel use and misc improvements - #23284, thanks @ndelangen!
  • CSF-tools: Allow type checking in story title - #22791, thanks @honzahruby!

7.1.0-alpha.42

  • CLI: Fix pnp paths logic in storybook metadata - #23259, thanks @yannbf!

7.1.0-alpha.41

7.1.0-alpha.40

7.1.0-alpha.39

  • CLI: Add new Configure page to templates - #23171, thanks @yannbf!
  • CLI: Fix storybook package manager command in init - #23169, thanks @yannbf!
  • React: Add addon-onboarding as part of init - #22972, thanks @yannbf!

7.1.0-alpha.38

  • CLI: Fix installing user's project before init - #23145, thanks @ndelangen!
  • CLI: Fix storybook dev after storybook init via subprocess - #23144, thanks @yannbf!
  • CLI: Suppress dev-server info table when --quiet is true - #23133, thanks @syabro!
  • Core: Allow .mjs extension for CSF stories - #23125, thanks @idesigncode!
  • Core: Fix compat by disabling name mangling in esbuild require - #22486, thanks @youngboy!
  • Docs: Fix scroll location on docs navigation - #22714, thanks @gitstart-storybook!
  • Interactions: Fix deeply nested nodes in the panel debugger - #23108, thanks @yannbf!

7.1.0-alpha.37

7.1.0-alpha.36

7.1.0-alpha.35

7.1.0-alpha.34

7.1.0-alpha.33

7.1.0-alpha.32

7.1.0-alpha.31

  • Dependencies: Set vue-component-type-helpers to latest - #23015, thanks @ndelangen!
  • Dependencies: Upgrade nanoid, prebundle it, upgrade remark, cleanup some .md files for warnings - #23005, thanks @ndelangen!
  • Dependencies: Use latest version of vue-tsc & sync versions of angular - #23011, thanks @ndelangen!

7.1.0-alpha.30

7.1.0-alpha.29 (June 6, 2023)

Bug Fixes

  • CLI: Fix upgrade notification message #22933
  • Core: Fix indexing errors by excluding node_modules stories #22873

7.1.0-alpha.28 (June 6, 2023)

Bug Fixes

  • Docs: E2E tests for Source block update fix #22835
  • Docs: Fix Source block snippet updates #22807

7.1.0-alpha.27 (June 4, 2023)

Features

  • Webpack: Add option to minify using swc #22843

Bug Fixes

  • Server: Fix .stories.yml support #22906
  • Storysource: Fix StyledSyntaxHighlighter to wrap long lines #22541

Maintenance

  • TS: Migrate @storybook/web-components to strict TS #22399
  • TS: Migrate @storybook/addon-storyshots-puppeteer to strict TS #22407
  • TS: Migrate @storybook/addon-jest to strict TS #22389
  • TS: Migrate @storybook/addon-mdx-gfm to strict TS #22659
  • TS: Migrate @storybook/addon-storyshots to strict TS #22487

Build

  • Error on YN0060 - INCOMPATIBLE_PEER_DEPENDENCY #22398
  • Build: upgrade yarn #22855
  • Add CODEOWNERS #22869

7.1.0-alpha.26 (May 31, 2023)

Bug Fixes

  • Addons: Fix Addon_BaseAnnotations type #22771
  • Viewport: Fix viewport menu #22829

Maintenance

  • NextJS: Fix types #22836
  • React: Update babel dependencies to fix sandbox creation #22824

Build

  • Build: sort package json files #22847
  • Build: cleanup the test-storybooks #22846
  • Build: fix the theme output during development #22841
  • Build: move deprecated packages #22753
  • Build: move builders #22751

7.1.0-alpha.25 (May 26, 2023)

Bug Fixes

  • Vue3: Fix TS 5.0 compat with vue-component-type-helpers #22814

Build

  • Build: Fix the local storybook #22805
  • Build: Add more checks to ci:daily workflow #22815
  • Build: Revert conditional decorator story and downgrade Typescript version #22812

7.1.0-alpha.24 (May 26, 2023)

Bug Fixes

  • Vue3: Fix reactive args updates in decorators #22717

Build

  • Build: Update Nx to latest version #22694

7.1.0-alpha.23 (May 24, 2023)

Bug Fixes

  • Core: Fix managerHead preset in main.ts #22701

7.1.0-alpha.22 (May 24, 2023)

Bug Fixes

  • Vite: Fix pnpm support by replacing @storybook/global with window #22709

7.1.0-alpha.21 (May 23, 2023)

Features

  • Webpack: Add option to use swc instead of babel #22075

Bug Fixes

  • UI: Fix .mp3 support for builder-manager #22699
  • CLI: Fix support for BROWSER env var #21473
  • Vite: Fix missing @storybook/global dependency #22700
  • Next.js: Fix compatibility with Next 13.4.3 #22697
  • CLI: Fix error parsing on NPM proxy #22690
  • Core: Only connect to serverChannel in development mode #22575
  • CLI: Improve error handling when dealing with angular.json files #22663
  • CLI: Skip prompting for eslint plugin with --yes flag #22651
  • CLI: Fix upgrade to not upgrade nx packages #22419
  • CLI: Only handle CTRL + C on init event #22687
  • Angular: Remove console.log #22671

7.1.0-alpha.20 (May 20, 2023)

Bug Fixes

  • CLI: Account for windows paths when copying templates #22644
  • CLI: Fix pnpm init command #22635
  • UI: Add legacy font formats #22576
  • Webpack: Remove the alias for global #22393

Maintenance

  • CLI: Reduce installation noise and improve error handling #22554
  • Actions: Fix type of withActions #22455

Build

  • Build: add discord notification when generating sandboxes fails #22638
  • Build: set correct ref on sandboxes Github action #22625
  • Build: Fix sandbox generation scripts #22620

7.1.0-alpha.19 (May 16, 2023)

Bug Fixes

  • Normalize paths exposed to vite-builder's storybook-stories.js file #22327

7.1.0-alpha.18 (May 15, 2023)

Bug Fixes

  • CLI: Fix getFrameworkPackage logic #22559
  • CLI: Remove automigrate reference from init command #22561

Maintenance

  • CLI: Detach automigrate command from storybook init #22523

7.1.0-alpha.17 (May 12, 2023)

Bug Fixes

  • CLI: Fix storybook upgrade precheckfailure object #22517
  • CLI: Throw errors instead of rejecting promises #22515
  • CSF: Expose story id in composeStories #22471
  • CLI: Remove unsupported frameworks/renderers and improve builder detection #22492

7.1.0-alpha.16 (May 11, 2023)

Bug Fixes

  • Web-components: Fix source decorator to handle document fragments #22513
  • Angular: Adjust child process I/O for compodoc command #22441
  • Core: Fix windows path error in StoryStore v6 #22512

Maintenance

  • CLI: Prompt to force initialization when storybook is detected #22392
  • UI: Fix css inconsistency in Button and Icon components #22497

Build

  • Sandboxes: Pin @vitejs/plugin-react to avoid conflict #22501

7.1.0-alpha.15 (May 11, 2023)

Bug Fixes

  • CLI: Do not show a migration summary on sb init #22109
  • Toolbars: Fix title behavior in UI #22496
  • UI: Show current search shortcut in search box sidebar #21619
  • Measure: Deactivate when switching to Docs mode #21602
  • Outline: Fix additional outline border in docs mode #21773

7.1.0-alpha.14 (May 9, 2023)

Bug Fixes

  • CLI: Scope styles in sample components from the CLI templates #22162
  • CLI: Fix copyTemplate failures on init #22375
  • CLI: Fix server init #22443
  • Server: Add json indexer #22460
  • React: Use correct default annotations for composeStories #22308
  • UI: Fix opacity of list-item color #22074

Maintenance

  • CLI: Refactor package manager methods to be async #22401
  • Angular: Improve Error message for angular.json not found #22377
  • TypeScript: Migrate @storybook/instrumenter to strict TS #22370
  • TypeScript: Migrate @storybook/core-events to strict TS #22448
  • TypeScript: Migrate @storybook/core-client to strict TS #22447
  • TypeScript: Migrate @storybook/react-vite and @storybook/preact-vite to strict TS #22428
  • TypeScript: Migrate @storybook/svelte-vite to strict TS #22411
  • TypeScript: Migrate @storybook/types to strict TS #22397
  • TypeScript: Migrate @storybook/addon-storysource to strict TS #22367
  • TypeScript: Migrate @storybook/client-api to strict TS #22421
  • TypeScript: Migrate @storybook/sveltekit to strict TS #22412
  • TypeScript: Migrate @storybook/source-loader to strict TS #22420

7.1.0-alpha.13 (May 5, 2023)

Bug Fixes

  • Core: Fix virtual modules excluded for babel-loader #22331

Maintenance

  • Angular: Allow TypeScript 4.0.0 and 5.0.0 #22391
  • Angular: Enable Angular Unit tests #22355
  • TypeScript: Migrate @storybook/theming to strict TS #22376
  • TypeScript: Migrate @storybook/channel-websocket to strict TS #22364
  • TypeScript: Migrate @storybook/addon-outline to strict TS #22369
  • TypeScript: Migrate @storybook/addon-viewbook to strict ts #22339
  • TypeScript: Migrate @storybook/channels to strict TS #22365

Build

  • Add Angular Prerelease sandbox #22379

7.1.0-alpha.12 (May 3, 2023)

Bug Fixes

  • Migrate: skip the automigration for gf markdown when user isn't using mdx #22186
  • UI: Addon panel does not update after disabling/enabling an addon #22258
  • Typescript: Fix bad typings caused by tsup bug #22261
  • Core: Fix source snippets for stories with mapped args #22135

Maintenance

  • Telemetry: Persist sessionId across runs #22325
  • Packaging: Move types condition to the front in all package.json.exports maps #22321
  • Packaging: Don't generate ESM dist for preset files #22330
  • Typescript: Migrate @storybook/csf-tools to strict TS #22312
  • Typescript: Migrate @storybook/postinstall and @storybook/router to strict TS #22200
  • Maintenance: Fix urls for all packages in package.json #22101
  • Docs: Improve component typings #22050

Build

  • Build: Comment out flaky test #22310
  • Build: Migrate @storybook/web-components-vite to strict TS #22309
  • Build: Migrate @storybook/html-vite to strict TS #22293
  • Build: Migrate @storybook/preset-vue-webpack to strict TS #22320
  • Build: Use next branch for sandbox and repro commands #22238

7.1.0-alpha.11 (April 28, 2023)

Features

  • Feature: Add support for Angular 16 #22096

Bug Fixes

  • Vue3: Rollback v7 breaking change and keep reactive v6-compatible API #22229

Maintenance

  • Core: Add tests for mapping behaviour in #22169 #22301

Dependency Upgrades

  • Update glob to v10.0.0 #22171

7.1.0-alpha.10 (April 28, 2023)

Bug Fixes

  • Vue3: Fix compiler error when there is double tag #22286
  • Args: Fix multiple mapped args return array of labels #22169
  • Angular: Fix storyshots by removing deprecated import #22134
  • Ember: Fix wrong path #22203
  • CLI: Add web-components webpack5 to missing-babelrc automigration #22202
  • Docs: Fix inline story style #21870

Build

  • Fix vue-cli/default-js sandbox #22259
  • Core: Fix DOCS_RENDERED test #22255
  • Add regex to ignore outdated Browserslist in Jest initialization base file #22260

7.1.0-alpha.9 (April 26, 2023)

Features

  • NextJS: Allow disabling next/image lazy loading #21909
  • Core: Allow Flow syntax in stories #21859

Bug Fixes

  • Vue3: Support multiple setup functions #22170
  • UI: Fix shift + 7 shortcut to focus search field #22073
  • UI: Fix controls missing when navigating from story #21967

Maintenance

  • Core: Rename manager UI mjs to js #22247
  • Remove dead code #22019
  • Vue3: Move TS stories into a separate folder #22235

Build

  • Build: Migrate @storybook/addon-docs to strict-ts #22180
  • Build: Migrate @storybook/highlight to strict TS #22181
  • Build: Enable strict TS by default #22143

7.1.0-alpha.8 (April 24, 2023)

Features

  • Core: Support custom hosts using window.location server channel URL #22055

Bug Fixes

  • Addon-actions: Fix ESM by upgrading from uuid-browser to uuid #22037
  • Addon-actions: Fix decorator type #22175
  • NextJS: Fix tsconfig resolution #22160
  • Core: Pass parameters in SET_INDEX for docs entries #22154

Maintenance

  • CSF: Improve error message for bad default export #22190
  • CLI: Add addon query-params to list of SB7 incompatible addons #22095

Build

  • Build: Fix sandbox publish script #22206
  • Build: Fix lit sandboxes #22201
  • Vite sandboxes: use stable Vite 4.3 #22183

7.1.0-alpha.7 (April 19, 2023)

Bug Fixes

  • Vue3: Fix reactive decorators #21954

Build

  • Build: Improve sandboxes commit message #22136

7.1.0-alpha.6 (April 18, 2023)

Bug Fixes

  • Core: Restore Docs useParameter using DOCS_PREPARED #22118
  • Core: Add new tags to distinguish docs attachment #22120
  • Core: Fix module guard in non-webpack environments #22085

Build

  • Build: Skip docs pages e2e tests for ssv6 examples #22141
  • Build: Upgrade Playwright to 1.32.3 #22087

Dependency Upgrades

  • Remove unused babel dependencies #21984

7.1.0-alpha.5 (April 17, 2023)

Maintenance

  • CLI: Mark qwik as using addon-interactions #22000

Build

  • Revert "Build: Update dangerfile temporarily to check for patch label" #22108

7.1.0-alpha.4 (April 15, 2023)

Bug Fixes

  • Docs: Fix source snippets when parameters.docs.source.type = 'code' #22048
  • CLI: Mention how to setup a monorepo manually in babelrc automigration #22052

7.1.0-alpha.3 (April 13, 2023)

Bug Fixes

  • UI: Fix upgrade command in about page #22056
  • CLI: Fix sandbox command #21977

7.1.0-alpha.2 (April 12, 2023)

Features

  • UI: Add remount story shortcut #21401

Bug Fixes

  • CLI: Catch errors thrown on sanity check of SB installs #22039

Maintenance

  • Addon-docs: Remove mdx1-csf as optional peer dep #22038
  • Telemetry: Add CLI version to context #21999

Build

  • Build: Use vite@beta on sandboxes #22030
  • Fix e2e tests failing in Firefox #22022
  • Vite: Use vite 4.3 beta in sandboxes #21986

7.1.0-alpha.1 (April 11, 2023)

Bug Fixes

  • React: Fix default export docgen for React.FC and forwardRef #22024
  • Viewport: Remove transitions when switching viewports #21963
  • CLI: Fix JsPackageManager typo #22006
  • Viewport: Fix the defaultOrientation config option #21962
  • UI: Fix story data access for broken About page #21951

Maintenance

  • CLI: Update template code references to 7.0 #21845

Dependency Upgrades

  • React-vite: Fix perf regression by pinning vite-plugin-react-docgen-ts #22013
  • Use future version of satellite repo dependencies #22026

7.1.0-alpha.0 (April 5, 2023)

Bug Fixes

  • Angular: Fix components disappearing on docs page on property change #21944
  • React: Don't show decorators in JSX snippets #21907
  • Docs: Include decorators by default in source decorators #21902
  • CLI: Fix npm list command #21947
  • Core: Revert Emotion :first-child (etc) workarounds #21213
  • Addon-actions: Fix non-included type file #21922
  • Addon GFM: Fix node-logger dependency #21938

Build

  • Build: Update trigger circle ci workflow to include main #21888
  • Build: Update dangerfile temporarily to check for patch label #21945
  • Build: Re-enable Vue2 Vite sandbox #21940
  • Build: Fix release badge on repros #21923
  • Build: fix the workflows to generate sandboxes #21912
  • Build: bump the node version in CI #21917
  • Build: no pnp.cjs in the root, regen lockfiles #21908
  • Build: remove pnp sandbox template #21913
  • Build: make the CI config ready for 7.0 release #21808

Dependency Upgrades

  • Update @emotion/cache version #21941