PackageTrack

npm · #4406 most downloaded on npm

@storybook/router

8.6.18storybookjs/storybook

Core Storybook Router

Release timeline

2024 releases since 2019
20192026

Releases

  1. 7.0.0-beta.402 Feb 2023pre-release
    Release notes

    Features

    • Addo-docs: Turn on autodocs for CSF with attached meta #20867

    Bug Fixes

    • Vue3: Fix args losing reactivity when using decorators #20854
    • Doc Blocks: Fix styling and parameter bugs #20803
    • Addon-docs: Export controls from doc blocks #20806
    • Webpack: Support builder options from framework #20842
    Open source →
  2. 7.0.0-beta.391 Feb 2023pre-release
    Release notes

    Features

    • Core: return address of dev server from buildDevStandalone #20820
    • Addons: Fix env variables not available inside addons #20834
    • CLI: Add warning when main config does not use default exports #20802

    Bug Fixes

    • SvelteKit: Disable failing vite-plugin-sveltekit-guard #20870

    Maintenance

    • Core: Remove core-js as a dependency #20833

    Build

    • Build: cleanup CI config #20853
    • Change forceReRender story to forceRemount #20752
    Open source →
  3. 7.0.0-beta.3831 Jan 2023pre-release
    Release notes

    Features

    • CLI: Generate main config with default exports #20797

    Bug Fixes

    • CLI: Only add dependencies on sb init if they do not exist #20811
    • CLI: Install prerelease of @storybook/testing-library in CLI starters #20819

    Dependency Upgrades

    • Update lazy-universal-dotenv & regen lockfile #20832
    • Instrumenter: Remove unused core-js dependency #20831
    Open source →
  4. 7.0.0-beta.3628 Jan 2023pre-release
    Release notes

    Features

    • Core: Story context is prepared before for supporting fine grained updates #20755
    • Addon-docs: New Markdown block #20796
    • Addon-docs: Disable Markdown transclusion and support ?raw .md files #20790

    Bug Fixes

    • Addon-docs: Allow using <Source code=".." /> unattached. #20807
    • Vite: Replace vite-plugin-externals with custom plugin #20698
    • Sveltekit: Ensure SSR is disabled #20804
    Open source →
  5. 7.0.0-beta.3526 Jan 2023pre-release
    Release notes

    Bug Fixes

    • Storysource: Support CSF3 object exports, co-exist with addon-docs #20799
    • Vite: Do not pre-bundle @vitejs/plugin-vue #20787
    • CLI: Fix new-frameworks automigration in angular projects #20788
    Open source →
  6. 7.0.0-beta.3425 Jan 2023pre-release
    Release notes

    Features

    • Addon-docs: Add legacy transitional support for MDX1 #20747

    Bug Fixes

    • CLI: Fix global flag corner case #20776
    • Csf-tools: Fix ConfigFile string literal property handling #20785
    • Angular: Ensure docsMode flag has effect #20711
    • Angular: Use Providers in boostrapApplication option #20746
    • WebComponents: Fix Button type error #20722

    Build

    • Verify consistency of anonymous id #20781
    • Build: fix playwright unsynced version in CI #20778
    • Upgrade playwright #20777

    Dependency Upgrades

    • Deps: Upgrade fs-extra to 11.1.0 #20772
    Open source →
  7. 7.0.0-beta.3324 Jan 2023pre-release
    Release notes

    Features

    • Addon-docs: Allow <Story/> to reference the first story #20765

    Bug Fixes

    • Angular: Fix issue if BrowserAnimationsModule is imported #20709
    • Core: Fix issue with inconsistent CSF ordering in sandboxes #20705
    • Fixed paths in generated main.cjs for the default sandbox on Windows #20724
    • Blocks: Ignore known blocks with global CSS selector #20757

    Maintenance

    • Docs: Make reference stories consistent #20759
    • Blocks: New Canvas API #20723

    Build

    • Fix vue sandbox: remove the lang=ts in a file, that should remain agnostic #20768
    • Build: do not treat check as a cache-able operation && cleanup #20762
    Open source →
  8. 7.0.0-beta.3224 Jan 2023pre-release
    Release notes

    Features

    • CLI: Add init support for qwik projects #20411

    Bug Fixes

    • Vue3: Fix reactive args + many vue app creation issue #20712
    • Docs: Allow "declaring" stories with story={} #20702
    • Addon-links: Fix the d.ts file, deprecate LinkTo #20671
    • CLI: Fix package execution for npm package manager #20708

    Maintenance

    • Upgrade react-popper-tooltip #20736
    • CLI: Upgrade automigrations to use new safe helpers #20693
    • Csf-tools: Add helpers to get name from node path #20691
    • Build: remove preact-webpack5 from babelrc automigration #20706

    Build

    Open source →
  9. 7.0.0-beta.3120 Jan 2023pre-release
    Release notes

    Features

    • Docs: Added source stories and updated API #20603
    • Docs: Implement Controls block #20683
    • Docs: Created ArgTypes component and stories #20664
    • Docs: Show primary story description and headline in autodocs #20604

    Bug Fixes

    • Source-loader: Fix export default variable references #20688

    Maintenance

    • CLI: Make missing-babelrc an automatic migration #20689
    • Addon-docs: Update story index generator glob #20679
    • Docs: Move validation logic into context.resolveOf #20662
    • Csf-plugin: Move source to docs.source.originalSource #20665

    Build

    Open source →
  10. 7.0.0-beta.3018 Jan 2023pre-release
    Release notes

    Features

    • UI: Add Sun, Moon, Sidebyside, and stacked icons #20621
    • Angular: Add multi-project setup for ng workspaces #20559
    • Addon-docs: Support @deprecated jsdoc tag #20154
    • Csf-plugin: Support meta description comments #20632

    Bug Fixes

    • Core: Fix core preset default value #20646
    • Addon-docs: Fix issue with unattached .mdx files #20661
    • Webpack: aAd error catching when template is not set #20669
    • Addons: Fix Viewport resetting shortcut key not working #20167
    • Core: Show "booting" progress until story is specified or errors #20425
    • Vue: Update events binding in Vue render #19860
    • Addon-actions: Fix webpack hot reload code in manager bundle #20649
    • UI: Fix HMR issue in Manager UI #20654

    Maintenance

    • Docs: Refactor props of Story block #20530
    • Vite: TypeScript type cleanup #20642

    Build

    • Add required jobs to daily workflow #20263
    • Fix typings files to ensure this the check command succeeds #20598

    Dependency Upgrades

    • Svelte: Remove babel/core peer dep #20650
    Open source →
  11. 7.0.0-beta.2917 Jan 2023pre-release
    Release notes

    Features

    • CLI: Add codemod to upgrade deprecated types #20618
    • CLI: overhaul storybook repro command and rename it to storybook sandbox #20507
    • Vue3: Add source decorator vue template and setup script + supports of multi slots #20498

    Bug Fixes

    • Angular: Fix handling of docsMode option in angular builder #20608
    • UI: Bring back support for favicon.ico #20612
    • CLI: Fix missing css import on Vue3 button #20470
    • Codemods: Fix csf-2-to-3 ignores Typescript types #20273
    • NextJS: Fix image loader #20615
    • Storyshots: Fix transpilation #20630

    Maintenance

    • React: Change deprecated React.VFC to React.FC #20619

    Dependency Upgrades

    • Upgrade babel-loader to ^9.0.0 #20577
    Open source →
  12. 7.0.0-beta.2815 Jan 2023pre-release
    Release notes

    Maintenance

    • CSF: Remove deprecated ArgTypes.defaultValue #19492

    Dependency Upgrades

    • Addon-controls: Fix version of preview api #20622
    Open source →
  13. 7.0.0-beta.2714 Jan 2023pre-release
    Release notes

    Features

    • CLI: Add "missing-babelrc" automigration #20341

    Bug Fixes

    • Angular: Fix isStandaloneComponent check #20295
    • Blocks: Do not copy code snippet when text inside preview is selected #19788
    • Vue: Fix type.name check in extractArgTypes #19956
    • TypeScript: Add children to CanvasProps #20451
    • CLI: Fix angular/core version in init using devDependencies #20609

    Maintenance

    • Svelte: don't add svelte-loader nor svelte when initializing Svelte projects #18799
    • Core: prepareMeta function similar to prepareStory #20592

    Build

    • Build: Enable Scorecard Github Action and Badge #19755
    • Build: Add e2e test for static JSON files #19463
    Open source →
  14. 7.0.0-beta.2613 Jan 2023pre-release
    Release notes

    Features

    • Core: Expose port from buildDevStandalone #20575
    • CLI: Add auto-migration for MDX html-type comments to JS-type comments #20349

    Bug Fixes

    • API: Fix typing on useArgs #20610
    • Addon-docs: Fix docs crash by simplifying element before stringify #19188
    • Vite: Fix duplicate code in preview #20594
    • Addons: Warn when addon is not installed #20455
    • Blocks: Handle undefined extractComponentDescription #20590

    Maintenance

    • CLI: Fix removal of --no-dll flag #20589
    • SvelteKit: Automatically support Kit-specific features #20239

    Build

    • Build: Fix issue with jest projects matching ui/node_modules #20601
    • TypeScript: Fix typings files to ensure check command succeeds #20605
    • CLI: Fix repros creation not working on windows #20606
    • Build: Fix template stories to make them work with stricter Typescript settings #20591
    • Build: Allow creating internal templates that extend others and pass main.js options #20054
    Open source →
  15. 7.0.0-beta.2511 Jan 2023pre-release
    Release notes

    Features

    • Vue3: Rendering slots passed from controls #20536

    Bug Fixes

    • Core: Export build from core-server instead of standalone #20574

    Maintenance

    • Blocks: New Description API, introduce useOf #20563
    Open source →
  16. 7.0.0-beta.2410 Jan 2023pre-release
    Release notes

    Maintenance

    • Migrations: Add preact-vite to new frameworks automigration #20542

    Build

    • Build: remove unneeded dependencies & upgrades #20533
    • Build: upgrade verdaccio #20561
    • Build: remove usage of enzyme #20534
    Open source →
  17. 7.0.0-beta.2310 Jan 2023pre-release
    Release notes

    Features

    • Composition: Add basic auth support #20488

    Bug Fixes

    • UI: Fix managerEntries containing long paths with hidden folders #20550
    • Addon-docs: Fix attachment logic #20531

    Maintenance

    • Addon-docs: Move reactPeerCheck to docs package #20560
    • Addon-docs: Rename storyByModuleExport to resolveModuleExport #20517
    • Telemetry: Filter out example stories/docs from summary #20553
    • Telemetry: Count play function usage #20541
    • Telemetry: Add pageStoryCount #20539
    • Vite/Vue3: Pre-bundle @vitejs/plugin-vue #20343

    Build

    • Build: downgrade slash to non-ESM #20543

    Other

    • Update GH action to use "linear-ghaction" label for sync #20546
    Open source →
  18. 7.0.0-beta.219 Jan 2023pre-release
    Release notes

    Maintenance

    • Ember: Build with tsc #20524
    • Storyshots: Build with tsc #20523

    Dependencies

    • Downgrade find-cache-dir #20532

    Build

    • Build: Cleanup babel prepare related code & dependencies #20156
    • Build: Create a tsc prepare script, use it for angular framework, add ESM to angular dist #20516
    • Build: Fix InternalCanvas story tests #20521
    Open source →
  19. 7.0.0-beta.206 Jan 2023pre-release
    Release notes

    Bug Fixes

    • Telemetry: Move 'dev'/'build' events to the end of the process #20380
    • Blocks: Export Unstyled block in index.ts #20489
    • Vite: Fix missing await in builder #20409

    Maintenance

    • Build: use tsup for csf-plugin #20150
    • Migration: Update autodocs migration to deal with docs.docsPage #20379

    Build

    • Blocks: Use example Button for stories #20483
    • Build: cleanup prep script where possible #20151
    • cleanup CI config #20510
    • Build: Fix CI parallelism #20476
    • Web-components: Restore missing script stories #20477
    Open source →
  20. 7.0.0-beta.191 Jan 2023pre-release
    Release notes

    Features

    • NextJS: Add next/head support #20436

    Bug Fixes

    • CLI: Do not use legacy-peer-deps for npm #20456
    • CLI: Use closest lockfile to determine package manager #20464
    • CLI: Use correct package manager for automigrate #20428
    • CLI: Add prop-types dependency if not using TypeScript #20449
    • CLI: Add peer dependency on react #20459

    Maintenance

    • Vue3: Add TS / legacy TS CLI templates #20434
    • Core: Delete outdated onerror handler #20462

    Build

    • Build: Add extensions to lodash imports #20443
    Open source →
  21. 7.0.0-beta.181 Jan 2023pre-release
    Release notes

    Bad npm publish

    Open source →
  22. 7.0.0-beta.1730 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Svelte: Do not warn about .svelte files in storyStoreV7 #20442
    • Core: Fix import paths on Windows #20430
    • UI: Set min-height relative to the viewport and the zoom level. #20352

    Maintenance

    • Docs: Use stories-mdx and autodocs tags instead of standalone: false in index #20424
    • Docs: Use 'stories-mdx' tag to indicate story defined in MDX file #20417
    • Preact-Vite: Minor readme and dependency cleanups #20432

    Build

    • Tech: ESLint allow devDependencies imports in prebundled packages #20440
    • Fix yarn task command on Windows machines #20431
    Open source →
  23. 7.0.0-beta.1628 Dec 2022pre-release
    Release notes

    Features

    • Preact-Vite: Add framework #20390

    Maintenance

    • NextJS: Fix unnecessary addon-actions dev dep #20426
    Open source →
  24. 7.0.0-beta.1524 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Codemods: Fix peer dependency issue #20399
    • Core: Wrap manager entries to handle exports using a cache directory #20331
    • UI: fix deprecated ReactDOM.findDOMNode calls #20368

    Maintenance

    • Build: Use tsup for core-server #20134

    Build

    • Build: Make tests use SWC, not babel #20397
    • Build: Fix trim vulnerability #20371
    Open source →
  25. 7.0.0-beta.1423 Dec 2022pre-release
    Release notes

    Features

    • CLI: Write into a log file if automigrations fail #20310
    • CLI: Add nodejs check in automigrations #20342

    Bug Fixes

    • UI: Disable React.strictmode to avoid findNode deprecation warnings #20345
    • Vite: Fix peerDep warning by updating @joshwooding/vite-plugin-react-docgen-typescript #20359

    Maintenance

    • Don't allow setting Meta of={X} if X is tagged with 'autodocs' #20373
    • Rename docsPage => autodocs #20364
    • Rename docsOptions.enabled to docsOptions.disable #20363
    • Angular: Switch to default to inlineStories=true #20118
    • Types: Add Addon_OptionsParameterV7 type #20384

    Build

    • Build: regen lockfiles #20386
    • Build: fix prettydocs CI flakyness #20385
    • Build: Update Playwright to 1.29.1 #20372
    • Build: store extra metadata for each sandbox test #20365
    • Build: Remove the non-cross-platform dash-S option #20360
    • Build: sync issues of next packages #20354
    Open source →
  26. 7.0.0-beta.1320 Dec 2022pre-release
    Release notes

    Features

    • Angular: Support compodoc output arg #20338
    • NextJS: Support @next/font #20291
    • NextJS: Support useSelectedLayoutSegment and useSelectedLayoutSegments #20330
    • Preview Api: export userOrAutoTitle function #20325

    Bug Fixes

    • Fix: peer dependency warning for vite-react #20328
    • UI: swap react-sizeme for react-resize-detector #20333
    • Vite: Detect React SWC plugin #20335
    • CLI: Fix automigrate filtering #20329
    • Vite: Include user config optimizeDeps in final optimizeDeps #20313

    Maintenance

    • Tech: improve global types #20184
    • CLI: Fix sb migrate csf-2-to-3 for multiple file extensions #20290
    • CLI: Replace update-notifier with simple-update-notifier #20266

    Build

    • Build: remove borders in task error message #20305
    • Build: Fix pretty-docs CI job #20319
    • Build: Update Playwright to 1.29 #20318

    Dependencies

    • NextJS: Make addon-actions a regular dependency #20324
    • NextJS: Fix addon-actions peerdependency #20324
    • Vite-react: Fix peer dependency warning #20328
    Open source →
  27. 7.0.0-beta.1216 Dec 2022pre-release
    Release notes

    Other

    • Revert "Core: Wrap manager entries to handle exports" #20311
    Open source →
  28. 7.0.0-beta.1116 Dec 2022pre-release
    Release notes

    Features

    • CLI: Improve automigration to show prompt-only migrations #20292

    Bug Fixes

    • Angular: Fix webpackStatsJson types in angular-builder #20296
    • Fix: addon-storysource has no managerEntry, but defines a register and preset #20304

    Maintenance

    • Core: Wrap manager entries to handle exports #20308
    • Core: improve manager-entries failure message #20306
    • Telemetry: Fix flakey test #20282

    Dependency Upgrades

    • Vite: Make vite a peer dependency, update plugins #20281
    • Vite/Svelte: Remove addon-svelte-csf dep #20280
    Open source →
  29. 7.0.0-beta.1016 Dec 2022pre-release
    Release notes

    Build

    • Build: compile detection was using a non-conforming package, causing cache to miss always. #20297

    Dependency Upgrades

    • React-vite: Pin react-docgen version #20300
    Open source →
  30. 7.0.0-beta.915 Dec 2022pre-release
    Release notes

    Features

    • CLI: Add interactive babel config file generation #20234
    • CLI: Add automigration summary #20276

    Bug Fixes

    • UI: Fix enableShortcuts support in manager.ts #20264
    • UI: Ensure manager entries load even if preceding ones failed #20286
    • Addon-viewport: Fix composition support #20289
    • Support Angular 15.0.4 #20287
    • Fix: peerDependencies issues reported #20279

    Build

    • Build: ui/.storybook should not import from dist #20284
    • Build: bundle script a bit less repetitive, add a completion indicator #20277
    • Build: regen lockfiles #20278
    Open source →
  31. 7.0.0-beta.814 Dec 2022pre-release
    Release notes

    Features

    • Addon-docs: Use jsxOptions instead of mdxBabelOptions #20271

    Maintenance

    • Svelte-vite: remove svelteOptions in automigration #20270

    Build

    • Fix handling of inverted yes flag in task steps #20268
    Open source →
  32. 7.0.0-beta.714 Dec 2022pre-release
    Release notes

    Features

    • CLI: Add Next.js framework automigration #19574

    Bug Fixes

    • Don't export renderer from framework #20259
    • Upgrade sb dep as well in sb upgrade #20258
    • Vite: Make the bail function work if the server fails to start #20243
    • Csf-tools: Fix local vars handling in MDX-generated CSF #20255
    • Csf-plugin: Fix spurious storiesOf warnings #20256
    • Core: Remove unnecessary peer deps #20231
    • Fix issues with running SSv6 #20253
    • Core: Fix config.base relative paths #20232
    • Fix: vite devmode with storyStoreV6 by ensuring singleton via global #20207

    Maintenance

    • Addon-docs: Upgrade mdx2-csf and use its JSX handling #20261
    • Vite: Use mdx2 babel pre-processing #20241
    • Addon-docs: Restore deprecated blocks entry point #20246

    Build

    Dependency Upgrades

    • Add optional TypeScript peer dependency #20244
    Open source →
  33. 7.0.0-beta.613 Dec 2022pre-release
    Release notes

    Dependency Upgrades

    • Vite: Use Vite 3 (temporarily) #20216
    Open source →
  34. 7.0.0-beta.513 Dec 2022pre-release
    Release notes

    Features

    • CLI: Split sb-scripts into two different migrations #20223

    Bug Fixes

    • Vite: Support async Vite plugins #20194
    • Telemetry: Don't send boot event when cliOptions.disableTelemetry is passed #20144

    Maintenance

    • CLI: Add React peer dep runtime check #20206

    Dependency Upgrades

    Open source →
  35. 7.0.0-beta.413 Dec 2022pre-release
    Release notes

    Features

    • Re-enable TS 4.9 CLI templates #20159

    Bug Fixes

    • CLI: execute automigrations when pressing enter in the prompts #20208
    • Interactions: Fix storyId access in instrumenter #20201
    • Typescript: Fix bug with meta not working well as generic parameter for StoryObj #20165
    • SvelteKit: Support v1.0.0-next.574 and above #20181

    Build

    • Svelte: Fix argTypes inference in Button component #20212
    • React-Vite: Ignore React MDX stories in sandbox #20210
    Open source →
  36. 7.0.0-beta.310 Dec 2022pre-release
    Release notes

    Bug Fixes

    • CLI: Fix sb migrate codemods #20191
    • Measure: Fix measure not working on disabled elements #19985

    Maintenance

    • SvelteKit: Automigration #20094
    • Tech: change package.json engines fields, set to minimal node16 and up #20170
    Open source →
  37. 7.0.0-beta.29 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Core: Catch and do nothing to avoid triggering unhandled exception problems #20177
    • Controls: Fix color control not resetting when initial value is defined #20049
    • Core: Fix typescript.checkOptions not a valid interface #20166
    • NextJS: Fixlogic around next/future/image #20173

    Maintenance

    • Revert "Revert "Telemetry: Add precedingUpgrade data to dev/build/error events"" #20176
    • Telemetry: Add chromatic to addons list #20143
    • Vite: Support vite 4 #20139
    Open source →
  38. 7.0.0-beta.18 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Revert "Telemetry: Add precedingUpgrade data to dev/build/error events" #20168
    • Controls: Fix file controls not resetting #19998

    Dependency Upgrades

    • Upgrade express to fix security warning #20152
    Open source →
  39. 7.0.0-beta.08 Dec 2022pre-release
    Release notes

    We made it to beta, folks! 🎉

    SB7 overhauls our build architecture, modernizes our output to ESM only, promotes Vite to a first-class peer to Webpack, rethinks our Docs addon, cleans up the UI, and contains hundreds of improvements at every level of the stack. We've been sharing some of these changes on the Storybook blog and will share more over the coming weeks.

    Beta means that we don't have any more major changes on the radar for 7.0 and it's mostly stabilization from here on out. The core team is doing some basic testing now, and once we have a good QA plan, we'd love your help to make that happen. Please keep an eye out on the blog and on our Twitter or Mastadon (coming soon!) or Discord if you're interested in helping.

    Bug Fixes

    • Extend Angular Zone.js peer dependency range #20107
    • Vite: Fix static source handling for addon-docs #20147
    • Controls: Arrow keys don't work on number controls #19954
    Open source →
  40. 7.0.0-alpha.627 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Fix new-frameworks automigration failing to read frameworkOptions field #20128
    • Fix Next.js lower than 12.2.0 #20129
    • Fix iframe.html not available upon early browser opening #20123

    Maintenance

    • Add args generic to CSFExports #20135
    • Modernize favicon #20130
    • Telemetry: Add precedingUpgrade data to dev/build/error events #20136
    • CLI: Replace addon-docs Meta with blocks and add blocks dep #20133
    • CLI: Fix upgrade --prerelease to upgrade to the next tag #20126
    Open source →
  41. 7.0.0-alpha.617 Dec 2022pre-release
    Release notes

    Features

    • NextJS: Support next/navigation in Next.js v13 #20065

    Maintenance

    • Vite/MDX: Fix mdx compiler for vite #20121
    • Fix more peerDependencies issues #20120
    Open source →
  42. 7.0.0-alpha.607 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Deal with a lot of different edge cases for git URLs #20115

    Maintenance

    • Clean up babelModeV7 migration and code #20117
    • Fix peer dependencies for npm8/pnpm/yarn pnp #20110
    • Remove peer deps from core-common #20109

    Build

    • Add more linting config to vs-code settings.json #20101
    Open source →
  43. 7.0.0-alpha.596 Dec 2022pre-release
    Release notes

    Features

    • CSF: Add satisfies support to csf-tools #20088

    Bug Fixes

    • Next.js: only set next/future/image mocks from version 12.2 #20098
    • Core: Batch the loading of CSF files for extract() etc #20055
    • Fix SSR in external docs via node exports #20083
    • CLI: Improve sb-scripts automigration logic #20035

    Maintenance

    • Revert "Telemetry: Add precedingUpgrade data to dev/build events" #20105
    • Telemetry: Instrument init event #20097

    Build

    • Fix next #20106
    • Build: Run sb init locally in sandbox creation #20100
    • Build: Add missing dependencies to manager, unify TS to ~4.9.3 #20021

    Dependency Upgrades

    • Bump store2 to 2.14.2 license clarification #19899
    Open source →
  44. 7.0.0-alpha.585 Dec 2022pre-release
    Release notes

    Features

    • Add --tag option to upgrade script #20075
    • HTML: Add html-vite framework #19698
    • SvelteKit: Create framework #20039

    Maintenance

    • Core: Remove postcss feature flag #20003
    • Telemetry: Add precedingUpgrade data to dev/build events #20084
    • Core: make managerEntries load as ESM, for improved tree-shaking #20070
    Open source →
  45. 7.0.0-alpha.573 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Vite: Reinstate (deprecated) StorybookViteConfig #20057
    • Docs: using targeted styles, not components to style MDX #19958
    • Docs: Return to filtering toolbars in docs mode, but don't filter menu #19959
    • Angular: Don't set argType.defaultValue in angular/compodoc #19935
    • NextJS: Support next/image component in v12/13 properly #20028
    • Svelte: Use JSDocs in JS CLI templates and put manual enum arg type back as it is not inferred #20042

    Maintenance

    • CLI: Add a new version-update check telemetry event #20074
    • CLI: Add upgrade telemetry details #20064
    • Core: added .entries property to error thrown when duplicate stories are present #20038

    Build

    • Improve framework version specific story handling #20027
    • Fix repro templates script #20063
    • Build: replace image placeholder url in example stories for nextjs #20069
    • Build: improve inDevelopment mode for yarn task #20067
    • Build: revamp interactions e2e test #20060

    Dependency Upgrades

    • Build: Update jest pretty-format to 29 #20047
    Open source →
  46. 7.0.0-alpha.561 Dec 2022pre-release
    Release notes

    Bug Fixes

    • Addon-interactions: Fix duplicated elements in the panel #20004
    • Core: Fix ability to use component-level play functions #17817
    • CLI: Fix docsPage automatic migration #19982

    Build

    • e2e: change onClick to click to support svelte examples #20034
    Open source →
  47. 7.0.0-alpha.5530 Nov 2022pre-release
    Release notes

    Features

    • CLI: Add TS 4.9 CLI templates #19986
    • CLI: Remove render functions and infer argTypes for svelte CLI templates #20007

    Bug Fixes

    • Svelte: Fix decorators with slots #19987
    • Core: Open browser after manager is ready #20005
    • Core: Add backwards support for manager-api package rename #20006
    • Vite: Fix prebundling #19978

    Maintenance

    • Maintenance: Use typescript legacy templates until our ecosystem fully supports ts 4.9 #20032
    • CLI: Rollback next TS 4.9 templates as the next babel preset doesn't support satisfies #20029
    • Addon-docs: Use .mdx globs in templates and defaults #19795
    • Types: Rationalize story-based types and de-prefix #19919
    • API: Export the controlOrMetaKey fn from manager-api #19972
    • Blocks: Description stories #19806

    Build

    • Upgrade yarn #20025
    • Build: Add a retry mechanism for exports file generation #20018
    • Build: Rollback forking off git-shallow-clone-orb #20020
    • Build: Clean up @storybook/preview dependencies #19997
    • No unused locals in tsconfig to disable deepscan #20012
    • Build: generate the exports.ts file in a single pass without exec #20002
    • Build a mechanism to E2E telemetry #19946
    • Add debug to chromatic task #19933
    • Build: Sanitise user input in github workflow #19980
    • Blocks: Add story for Canvas className prop, cleanup UI SB `preview.tsx #19886
    • Change export-generating script to use exec util instead of shelljs #19979
    • Regen lockfiles #19967

    Dependency Upgrades

    • Build: Upgrade jest-specific-snapshot #19996
    • Upgrade telejson #19983
    Open source →
  48. 7.0.0-alpha.5425 Nov 2022pre-release
    Release notes

    Bug Fixes

    • Vite: Support environment variables in viteFinal define config #19905

    Maintenance

    • Build: split lib/addons into manager & preview part, move code to manager-api #19952
    • TypeScript: Satisfy stricter compilerOption rules #19953
    • API: Rename api to manager-api #19944
    • API: Add preview-api package #19749

    Build

    • Build: Improve security in Github actions #19949

    Dependencies

    • NextJS: Add Next13 peer dependency #19932
    Open source →
  49. 7.0.0-alpha.5324 Nov 2022pre-release
    Release notes

    Bug Fixes

    • Angular: Fix "webpack_require.nmd is not a function" in v15 #19937
    • Controls: Exclude { table: { disable: true } } from panel count #19877

    Maintenance

    • Core: Prebundle the preview #19718
    • Builder-vite: Build with tsup #19895
    • Components: Fix missing export #19923

    Build

    • Remove the fix we added when enhanced-resolve was broken #19942
    • Fix CI which was broken by enhanced-resolve #19936
    • Drop inDevelopment from cra/default-js #19934
    • Fix execa import in get-report-message #19913
    Open source →
  50. 7.0.0-alpha.5221 Nov 2022pre-release
    Release notes

    Bug Fixes

    • NextJS: Fix v13 next/link #19834
    • Docs: Fix ordering of entries in Stories block #19907

    Build

    • Maintenance: fix execa usage in build and check scripts #19909
    • Use execa 6.x in scripts #19759
    • Build: Create a generate task and use in the sandbox process #19840

    Dependency Upgrades

    • Upgrade docs-mdx to fix yarn pnp #19835
    Open source →
  51. 7.0.0-alpha.5119 Nov 2022pre-release
    Release notes

    Bug Fixes

    • NextJS: Fix out-of-the-box babel handling #19842
    • NextJS: Fix import url on windows #19798
    • UI: Fix panel invisible for any addon listed after the interactions panel #19771
    • Core: Bail preview builder on failure #19849
    • Core: Fix double esbuild-register register #19852
    • Composition: Fix regression in the #root to #storybook-root change #19848
    • UI: Fix showPanel=false doesn't work on mobile view #19807

    Maintenance

    • CLI: Replace degit with giget #19870
    • Build: Bundle lib/channel-websocket with tsup #19694
    • Maintenance: Upgrade monorepo to TS 4.9 #19869

    Build

    • Build: Downgrade @types/node #19890
    • Maintenance: Add angular 14 template and skip test runner on angular 15 for now #19871
    • Build: Upgrade Jest to 29 #19863
    • Build: Fix chromatic version to 6.11.2 in local scripts #19889
    • Build: Pin chromatic version to 6.11.2 to temporary fix flakiness #19874

    Dependency Upgrades

    • Bump mdx2-csf dependency #19885
    Open source →
  52. 7.0.0-alpha.5017 Nov 2022pre-release
    Release notes

    Features

    • Expose more CSF types in all renderers #19833
    • CSF: Renamed Framework to Renderer #19802

    Bug Fixes

    • Next.js: use file path instead of image contents for next-image-loader-stub #19858
    • TypeScript: Fix type inference bug with decorators #19839
    • Vite: Keep using absolute path node_modules splitting #19836
    • Vite: Fix preview annotation paths on Windows #19822
    • Fix csf-plugin ignoring options #19823
    • Controls: Checkbox does not update when using useArgs hook #19508

    Maintenance

    • Jest: switch from Parameters to StorybookInternalParameters #19853
    • Blocks: Story stories #19805
    • Blocks: Canvas stories #19804
    • Tech: TypeScript should check stories and tests as well #19831

    Build

    • UI Storybook: Disable sourcemaps when building in CI #19862
    • Build: Increase max node memory for jobs #19856
    • CI: improve error reporting mechanism #19841
    • Fix tests on Windows #19777
    • Build: Fix benchmark to run on local packages #19832
    • CI: Report failures on discord #19801
    Open source →
  53. 7.0.0-alpha.4913 Nov 2022pre-release
    Release notes

    Bug Fixes

    • Essentials: Fix preview annotations for Vite pnpm support #19689

    Maintenance

    • Build: convert addon-docs to use ts-up #19790
    • Core: Allow overriding WebView and UrlStore #19623
    • Storyshots: Support .cjs and .mjs file extensions #19726

    Build

    • Build: less noise when compiling #19808
    • Build: Upgrade bench to next #19791
    • Maintenance: improve error feedback when tasks fail in CI #19786
    • UI: Enable TurboSnap for UI Storybook #19767
    • CI: Use a new cadence (ci, pr, merged, daily) and trigger CircleCI from github actions #19768
    • Maintenance: provide expected failure metadata in junit reports #19775
    Open source →
  54. 7.0.0-alpha.487 Nov 2022pre-release
    Release notes

    Breaking Changes

    • Preact: Make preact use inline stories (without iframe) by default in docs #19741

    Features

    • Angular: Undo template gen removal during deprecation property removal #19614
    • CSF-tools: Support main.js default exports #19738
    • Addon-docs: Disable play functions in docs mode unless you set parameters.docs.autoplay #19659
    • Addon-docs: Add docsPage automatic to create docs entries for all components #19713
    • CLI: Add docsPage to all Button/Header story templates #19715

    Bug Fixes

    • Svelte: Fix docs rendering #19705
    • React: Expose ReactFramework type #19704

    Maintenance

    • Core: Update index generation to use tags to detect MDX stories #19712
    • CI: Fix cross OS github actions #19754
    • Blocks: Redo stories for controls #19744
    • Blocks: Setup and create example story for blocks with context #19740
    • Client-api: Fix export from store #19720
    • Pull renderer+builder from framework's package.json + a known list #19717
    • CLI: Add automigration to set docsPage = 'automatic' for existing Storybooks #19716
    • Builder-webpack5: Use import.meta.webpackHot instead of module.hot for check #19686
    • Fix: Point to correct .d.ts files from export maps #19724
    • CLI: Remove deprecated -s flag on sb init #19585

    Build

    • Build: Fix eslint formatting in scripts #19765
    • Sandboxes: Fix up stories entry to allow HMR #19750
    • Fix prepare script on Windows machines #19762
    • CI: Fix fix handle-release-branches workflow #19756
    • Build: Cancel workflow in CI on steps failure #19748
    • CI: Schedule a daily job that runs all sandboxes #19699
    • Build: Delete node_modules in repro generation #19734
    • Fix: dts facade generator did not support deep links #19723
    • Build: Re-enable test-runner for vue-cli #19706

    Dependency Upgrades

    • Upgrade mdx2-csf to fix mdxSource generation #19766
    • Dependencies: Bump prettier dependency, cleanup config #19672
    • Vue: Add babel loader 9.0.0 to vue-webpack5 peer dependencies #19697
    Open source →
  55. 7.0.0-alpha.471 Nov 2022pre-release
    Release notes

    Features

    • CSF-tools: Turn story comments into docs descriptions #19684
    • CLI: Migrate CLI templates to CSF3 #19665
    • Vite: Set default base for subfolder deployments #19383

    Bug Fixes

    • Disable keyboard shortcuts during (docs) play functions and add tests #19668

    Maintenance

    • Addon-docs: Replace source-loader with csf-plugin #19680
    • CLI: Move all templates out of cli into renderers #19664
    • Addon-docs: Remove mdx-compiler-plugin #19681
    Open source →
  56. 7.0.0-alpha.4628 Oct 2022pre-release
    Release notes

    Features

    • Addon-docs: Don't show docspage unless the user opts in #19627
    • Core: Allow setting tags in storiesOf via parameters. #19642

    Bug Fixes

    • Addon-docs: Fix React Profiler in source snippets #19004

    Maintenance

    • Telemetry: Measure version update check #19660
    • Build: Bundle lib/preview-web with ts-up #19655
    • CSF-tools: Make ESM node compatible #19661
    • Telemetry: Measure docs usage #19648
    • Go back to csf@next #19657

    Build

    • Build: Reduce parallelism in check task #19662
    Open source →
  57. 7.0.0-alpha.4527 Oct 2022pre-release
    Release notes

    Bug Fixes

    • Svelte: Fix regression causing all stories to error #19653
    • CSF: Fix StoryObj<typeof Cmp> to work the same as old ComponentStoryObj #19651

    Maintenance

    • Core: Misc dead code removal #19654
    • Addon-actions: Move decorator to its own entrypoint #19650

    Build

    • Build: Reduce resource classes #19652
    Open source →
  58. 7.0.0-alpha.4427 Oct 2022pre-release
    Release notes

    Features

    • Add tags to story and index #19625
    • CSF tools: Add tags support #19626
    • Vue2: Improve CSF3 types #19603
    • Vue3: Improve CSF3 types #19602

    Bug Fixes

    • Core: Fix v6 store when no explicit renderer #19624
    • CLI/React native: Fix addons template to import register instead of manager #19620

    Maintenance

    • Build-storybook: Only copy .mjs files for manager build #19647
    • Rename storybook/ui to storybook/manager #19635
    • Addons: Support SSR by not using global.window to store hooks context #19631
    • Breaking: Final few deprecations removal in a batch #19553
    • TypeScript: Misc types improvements #19633
    • TypeScript: Restructure storybook types #19580
    • TypeScript: cleanup types #19621

    Build

    • Build: Reduce CI usage by 60% #19644
    • Remove netlify.toml #19645
    • Small fixes for check task #19643
    • Storybook for @storybook/blocks only #19630
    • Fix broken stories in UI Storybook #19632
    • Ugrade eslint #19601
    • Integrate standalone Storybook with Chromatic #19619
    Open source →
  59. 7.0.0-alpha.4325 Oct 2022pre-release
    Release notes

    Bug Fixes

    • Core: Add renderer field to frameworks, and use to drive v6 store entrypoints #19595
    • Core: Add new SET_INDEX event #19590
    • CLI: Don't run MDX2 automigration on node_modules #19611
    • Core: Ensure preview annotations are resolved relative to the cwd #19594
    • Core: Fix addon URLs on Windows #19589

    Maintenance

    • Vite: Tidy up mdx-plugin #19563
    • Web-components/Vite: remove unused dependencies #19583

    Build

    • Remove DocBlocks example Storybook #19616
    • Move and include @storybook/blocks in standalone Storybook #19615
    • Move and include @storybook/components in standalone Storybook #19598
    • Move examples -> test-storybooks #19599
    • MDX iframe stories #19586

    Dependency Upgrades

    • Upgrade mdx2-csf to next #19600
    Open source →
  60. 7.0.0-alpha.4224 Oct 2022pre-release
    Release notes

    Features

    • Svelte: Improve CSF3 types #19512

    Maintenance

    • Telemetry: Use a wrapper around all CLI commands to send boot and error events #19566

    Build

    • Add ability to run tasks from code dir #19588
    • Make the reporter dynamic #19587
    • Add vite-react benchmark #19558

    Dependency Upgrades

    • Fix test-runner version conflicts #19581
    Open source →