Skip to content

Latest commit

 

History

History
1432 lines (963 loc) · 81.3 KB

CHANGELOG.md

File metadata and controls

1432 lines (963 loc) · 81.3 KB

7.0.0-beta.4 (December 13, 2022)

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

7.0.0-beta.3 (December 10, 2022)

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

7.0.0-beta.2 (December 9, 2022)

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

7.0.0-beta.1 (December 9, 2022)

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

7.0.0-beta.0 (December 8, 2022)

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

7.0.0-alpha.62 (December 8, 2022)

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

7.0.0-alpha.61 (December 7, 2022)

Features

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

Maintenance

  • Vite/MDX: Fix mdx compiler for vite #20121
  • Fix more peerDependencies issues #20120

7.0.0-alpha.60 (December 7, 2022)

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

7.0.0-alpha.59 (December 6, 2022)

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

7.0.0-alpha.58 (December 5, 2022)

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

7.0.0-alpha.57 (December 3, 2022)

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

7.0.0-alpha.56 (December 1, 2022)

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

7.0.0-alpha.55 (November 30, 2022)

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

7.0.0-alpha.54 (November 25, 2022)

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

7.0.0-alpha.53 (November 24, 2022)

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

7.0.0-alpha.52 (November 21, 2022)

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

7.0.0-alpha.51 (November 19, 2022)

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

7.0.0-alpha.50 (November 17, 2022)

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

7.0.0-alpha.49 (November 13, 2022)

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

7.0.0-alpha.48 (November 7, 2022)

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

7.0.0-alpha.47 (November 1, 2022)

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

7.0.0-alpha.46 (October 28, 2022)

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

7.0.0-alpha.45 (October 28, 2022)

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

7.0.0-alpha.44 (October 27, 2022)

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

7.0.0-alpha.43 (October 25, 2022)

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

7.0.0-alpha.42 (October 24, 2022)

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

7.0.0-alpha.41 (October 21, 2022)

Features

  • Add @storybook/nextjs framework #19382
  • CLI: Enable @storybook/nextjs framework #19478
  • CLI: Automigrate from MDX1 to MDX2 #19568

Maintenance

  • Remove warning of removed feature in lib/client-api #19544
  • Remove vite-plugin-svelte-kit when detected #19522

Build

  • Delete Svelte example #19549
  • Fix circle test results #19552

Dependency Upgrades

  • Update the version of the "update-notifier" package #19569

7.0.0-alpha.40 (October 20, 2022)

Breaking Changes

  • Addon-docs: Upgrade to MDXv2 #19495

Bug Fixes

  • Addon-docs: Don't generate docs page entries for CSF files with no stories #19529

Maintenance

  • Remove deprecate features from preview-web #19540
  • Remove deprecated features in lib/api #19539
  • Remove default selection in docblocks #19537

Build

  • Remove .git folder when generating repros #19535
  • Some task runner tweaks + move test-runner into sandbox task. #19505
  • Build builder-webpack5 with ts-up #19435

7.0.0-alpha.39 (October 19, 2022)

Breaking Changes

  • Addons: Remove deprecations #19524

Features

  • Core: Throw an error if renderer is used as framework #19452
  • CLI: Add pnpm support #19425
  • CLI: support .json in eslint-plugin migration #19511

Bug Fixes

  • Vite/React: Align with webpack react docgen #19399
  • Core: Direct logs to stdout #19434
  • Telemetry: Send start/build events even when there is no generator #19507
  • Core: Fix inconsistent telemetry debug #19509

Maintenance

  • Addon-docs: Define children for DocsContainer #19437
  • Convert issue templates to forms #19370
  • Change once.warn to deprecate when that is the actual intent #19521
  • Cleanup framework angular dependencies #19389
  • Frameworks: Don't re-export renderer types from frameworks #19510
  • Core: Remove storyStore.getSelection #19491
  • CLI: rename "latest" to "v13" app name in angular v13 repro template #19498

Build

  • Improve misc build parts #19520
  • Build: Bundle addons/storysource with ts-up #19482
  • Build: Bundle lib/docs-tools & lib/instrumenter with ts-up #19206
  • Actions: update actions/setup-node to v3 #19444
  • Actions: update actions/checkout to v3 #19441
  • Build: Bundle lib/codemod with ts-up #19398
  • Build: Bundle addons/highlight with ts-up #19483
  • Enable preact templates and remove preact-kitchen-sink #19454

Dependency Upgrades

  • Addon-docs: Make babel-loader an optional peer dependency #19385
  • Add missing addons/docs dependency for fs-extra #19493

7.0.0-alpha.38 (October 15, 2022)

Bug Fixes

  • Vite: Fix bail not being defined for vite builder #19405

Maintenance

  • Breaking: Remove onBeforeRender #19489
  • Breaking: Upgrade to use node 16 everywhere #19458
  • Breaking: Remove the old showRoots config option #19440
  • CLI: Make the button component accept a label prop, (not children) #19461
  • Remove angular-cli example #19202
  • Breakimg: Remove the html entrypoint of lib/components #19487
  • Vite: Add partial SvelteKit support #19338

Build

  • Angular: Add angular 14 sandbox template #19181
  • Storybook for Storybook - step 1: ui/manager #19465
  • Don't pass the full path to repro generators #19480
  • Bundle lib/channel-postmessage with ts-up #19388
  • Disable smoke test #19475
  • Remove angular example from monorepo #19467
  • Add angular 13 repro template #19428
  • Add a TypeScript check task and configure ci to run it #19471
  • Add Preact/Webpack templates and update renderer/preset (2) #19451
  • Disable another smoke test #19466

Dependency Upgrades

7.0.0-alpha.37 (October 13, 2022)

Features

  • React: Sound arg types for CSF3 #19238
  • Vite: Add web-components/lit framework support #19164
  • UI: Update colors for 7.0 #19023

Bug Fixes

  • Server: Ensure consistent route handling by always starting managerBuilder before previewBuilder #19406
  • UI: Fix addon URL escaping in manager #19375
  • CLI: remove npx usage from storybook scripts #19366
  • Webpack5: Fix lazy compilation/fscache builderOptions when base config is disabled #19387

Maintenance

  • Breaking: remove the deprecated Preview component #19445
  • Breaking: remove deprecated channel apis #19443
  • Breaking: remove framework angulars storymodule story-component handling #19442
  • Breaking: remove deprecated glob fixing #19438
  • Refactor bootstrap+sandbox into "task" framework #19275
  • CI: Fix test-runner build step #19255
  • Angular: Drop support for angular < 13 #19368
  • Build: Add installScripts step in bootstrap command #19270
  • Vite: Move default cache dir to node_modules/.cache #19384

Build

  • Addon-docs: Refactor MDX examples to sandboxes #19301
  • Undo accidental push of tom/sb-557-typescript-2 #19450
  • Ensure we kill all controllers before exiting #19449
  • Examples: Remove official-storybook #19343
  • Build: Improve template stories #19402
  • Vue: Delete vue-cli/vue-kitchen-sink examples #19429
  • React: Remove react-ts example #19424
  • Web-components: Port template stories and delete web-components-kitchen-sink #19430
  • remove html-kitchen-sink example #19360
  • add template for html-webpack5 #19377
  • use a single version of yarn #19417
  • fix build command for netlify #19418
  • Re-enable svelte-vite/default-ts template #19369
  • Only persist the (single) built sandbox #19372

Dependency Upgrades

  • Replace @storybook/semver with semver #19292
  • Upgrade playwright #19416

7.0.0-alpha.36 (October 13, 2022)

Bad publish

7.0.0-alpha.35 (October 5, 2022)

Features

  • Angular: Disable ngcc when not needed #19307
  • Vite: Add vue-vite framework for Vue2 #19230
  • Storyshots-puppeteer: Add browserLaunchOptions to CommonConfig #18927

Bug Fixes

  • Vite: Fix svelte docgen and svelte-native stories #19339
  • CLI: Exclude @storybook/testing-react from outdated check #19272
  • Interactions: Fix path to checkActionsLoaded #19334
  • Webpack: Fix resolution of webpack config relating to resolve fallbacks (assert) #19358
  • Vite: Add vite framework plugin if not found #19259
  • Vue2: Fix play function within & args updating in decorators #19207

Maintenance

  • Addon-docs: Remove STORYBOOK_REACT_CLASSES and global/globals.ts #19300
  • Cleanup premature merge #19332
  • CLI: Update sb add for main.js #19312
  • React: Move argType stories to template/stories folder #19265

Build

  • Build: Add react17 + webpack5 template #19342
  • Build: Add react18 + webpack5 template #19341
  • Build: Forward parameters in nx command execution #19283
  • Build: cleanup after moving to tsup #19268
  • Build: change the vue e2e test to use webpack5, since we stopped supporting webpack4 in 7.0 #19257
  • Build: Add vue-cli/vue2 repro template #19314
  • Build: Bundle addons-actions with ts-up #18775
  • Build: Bundle lib/addons with ts-up #18805
  • Build: improve the tsconfig #19346
  • Build: Bundle lib/telemetry with ts-up #19317
  • Build: Bundle lib/store with tsup #19308
  • Build: Bundle lib/source-loader with ts-up #19313
  • Build: Bundle lib/csf-tools with ts-up #18914
  • Build: Bundle lib/core-client with ts-up #19276
  • Build: Bundle lib/client-api with ts-up #19271
  • Build: Bundle lib/postinstall with ts-up #19327
  • Build: Add react18 + webpack5 template #19341
  • Build: Remove cypress from monorepo #19303
  • Build: Disable smoke test on cra/default-ts #19352
  • Build: Fix prepare bundle on Windows #19243
  • Build: Bundle addons/essentials with ts-up #19322

7.0.0-alpha.34 (September 27, 2022)

Features

  • Vite: Export storybook utilities from frameworks for better pnpm support #19216

Bug Fixes

  • Vite: Do not add Webpack loaders when using Vite builder #19263
  • Source-loader: Fix invalid call to CSF sanitize #18930
  • Svelte: generate preview file with js extension always #19253
  • UI: Fix react runtime for addons in manager #19226
  • Svelte: Fix button component not accepting the onClick handler #19249
  • Vite: Support runStep in Vite builder SSv6 #19235
  • Angular: Alias decorateStory as applyDecorators #19189
  • UI: Recalculate height of ZoomElement when child element updates #15472
  • UI: Fix copy button copying outdated snippet #18888
  • UI: Fix clipboard issue #18999
  • CLI: Do not remove framework dependency in automigration #19129
  • TS: Type storyIdToEntry explicitly #19123

Maintenance

  • Vue3: Add generic renderer stories & delete vue3 example #19219
  • Build: Remove unused angular_modern_inline_rendering #19254
  • Build: bundle csf-tools with tsup #19141
  • Build: Enforce @ts-expect-error via eslint #19198
  • Vue: Add repro template for vue-cli #19165
  • Build: Link renderer-specific stories inside the sandbox's real stories dir #19185
  • Build: Remove cra-kitchen-sink example #19179
  • Build: Fix the check script #19184
  • Build: Build lib/node-logger with ts-up #19173
  • Build: Fix sandbox running multiple versions of react #19156
  • Build: fix playwright version again #19250
  • Build: upgrade playwright version (and lock it) #19227

Dependency Upgrades

  • Remove @nicolo-ribaudo/chokidar-2 #19244

7.0.0-alpha.33 (September 13, 2022)

Features

  • Core: Add a new throwPlayFunctionExceptions parameter #19143

Bug Fixes

  • Fix issue in instrumenter with waitFor #19145
  • Core: Fix static dirs targeting same destination #19064
  • React: Fix issue with react 18 implementation #19125
  • CLI: Fix spawning child processes on windows #19019
  • Vite: Ensure we set DOCS_OPTIONS in the vite builder #19127

Maintenance

  • Build: Bundle @storybook/cli with tsup #19138
  • Examples: Remove cra-ts-essentials #19170
  • Added some basic interactions stories #19153
  • Presets: Replace config with previewAnnotations, remove previewEntries #19152
  • Addon-links: Move stories into addon #19124
  • Addon-a11y: Move stories into addon #19114
  • Toolbars: Generic example stories #19166
  • TypeScript: Revert a few @ts-expect-errors #19168
  • Addon-docs: Generic stories for DocsPage #19162
  • Controls: Generic stories for sorting #19161
  • Build: Generic stories for addon-controls #19149
  • remove node12 from the matrix #19147
  • Build libs/router with ts-up #19140
  • Build: Bundle addon-interactions with tsup #19139
  • Generic stories for remaining core features #19118
  • Add parameter, loader and decorator stories to lib/store #19105
  • Convert @ts-ignore to @ts-expect-error #19122

Dependency Upgrades

  • Upgrade emotion deps again #19054

7.0.0-alpha.31 (September 7, 2022)

Maintenance

  • Doc blocks: Update ArgTable Reset button to use IconButton #19052
  • UI: Update a handful of icons #19084
  • Build: Update to latest nx #19078
  • Vite: Fix plugin types #19095

Dependency Upgrades

  • Chore: Remove unused dependencies in /lib #19100

7.0.0-alpha.30 (September 6, 2022)

Bug Fixes

  • CLI: Fix include rendererAssets in npm bundle #19115

Maintenance

  • CLI: remove outdated comment in Angular starter #19097

Dependency Upgrades

  • Remove deprecated stable dependency #19103
  • Svelte: Update sveltedoc dependencies #19111
  • Deps: Remove core-js from most packages #19098
  • Deps: Upgrade react-element-to-jsx-string and react-inspector for React 18 #19104

7.0.0-alpha.29 (September 2, 2022)

Bug Fixes

  • CLI/Vite: Don't add babel dependencies during init #19088
  • CLI: Fix sb init to use renderer assets instead of frameworks #19091
  • Core: Ensure if a docs render is torndown during preparation, it throws #19071

Maintenance

  • Addon-viewport: Move stories into addon #19086
  • Addon-backgrounds: Move stories into addon #19085
  • Addon-actions: Move stories into addon #19082
  • Build: Exit yarn bootstrap with nonzero code if failed #19089
  • Vite: cleanup custom plugins #19087
  • Build: Prefix generic addon stories in sandbox storybooks #19092

7.0.0-alpha.28 (September 2, 2022)

Features

  • Vite: Automatically use vite.config.js #19026

Bug Fixes

  • CLI: Fix race condition in sb init #19083
  • Vite: Fix framework option checks, and SSv6 #19062
  • Core: Fix WebProjectAnnotations export in preview-web for back-compat #19048
  • Blocks: Fix Checkbox control update when using useArgs hook

Maintenance

  • Update to new TS reference format (?) #19072
  • Build: Conditionally force vite rebuilds in sandbox #19063
  • Build: Fix CRA bench #19066

7.0.0-alpha.27 (August 31, 2022)

Features

  • Vite: Set resolve.preserveSymlinks based on env vars #19039

Bug Fixes

  • Core: Restore /preview etc package exports; return unresolved path from presets. #19045

Maintenance

  • Core: Add previewHead and previewBody to StorybookConfig interface #19047
  • Build: Fix the sb-bench CI step #19029
  • Remove sandbox from .ignore #19040
  • Build: Use new test runner with builtin junit #19028

Dependency Upgrades

  • Vite: Clean up framework dependencies / unused files #19035

7.0.0-alpha.26 (August 26, 2022)

Features

  • CLI: Add react, vue3, and svelte vite to new-frameworks automigration #19016
  • Svelte: Add svelte-vite framework #18978

Bug Fixes

  • Core: Fix default story glob #19018

Dependency Upgrades

  • React-vite: update/cleanup dependencies #19025
  • Remove babel-loader from core-common #19022

7.0.0-alpha.25 (August 25, 2022)

Features

  • Vite: Add builder-vite, react-vite, and vue3-vite #19007

Maintenance

  • CI: use runner with playwright installed for cra_bench #18951
  • Replace rollup-plugin-node-polyfills to analogs #18975

7.0.0-alpha.24 (August 24, 2022)

Breaking changes

  • Preview: Rename Storybook DOM root IDs #10638

Features

  • Interactions: Add step function and support multiple levels of nesting #18555

Bug Fixes

  • Addon-docs: Fix canvas support expand code for non-story #18808
  • Components: Avoid including line numbers when copying the code #18725
  • Vue: Fix enum check in extractArgTypes #18959
  • Core: Fix frameworkOptions preset #18979

Maintenance

  • Addon-a11y: Remove achromatomaly color filter #18852
  • Build: Use ts-up to build core-webpack #18912
  • Build: Use ts-up to build addon-viewport #18943
  • Build: Improve generate-repros-next #19001
  • Examples: Remove refs in angular example #18986
  • Build: Use ts-up to build client-logger #18893
  • Generate-repros: Run local registry on --local-registry option #18997
  • Build: Remove unused bootstrap --cleanup #18981
  • CLI: Fix local repro publishing #18977
  • Build: Run verdaccio on 6001 to enable web UI #18983
  • CLI: determine whether to add interactive stories from renderer rather than framework #18968
  • CLI: Auto-accept migrations when running generate-repros-next #18969

7.0.0-alpha.23 (August 18, 2022)

Features

  • UI: Polish canvas and sidebar for 7.0 #18894

Maintenance

  • Sandbox: Add ability to run from local repro #18950
  • Repros: Add ability to generate repros using local registry #18948
  • CLI: Move write/read package json into JsPackageManager #18942

7.0.0-alpha.22 (August 18, 2022)

Failed publish to npm

7.0.0-alpha.21 (August 17, 2022)

Maintenance

  • UI: Update every icon for v7 design #18809

7.0.0-alpha.20 (August 16, 2022)

Features

  • CLI: Automigration for new frameworks #18919

Bug Fixes

  • UI: Fix the order of addons appearing in prebuilt manager #18918

Maintenance

  • Exit sandbox gracefully on cancel #18936
  • Disable telemetry in monorepo and CI #18935
  • Convert cypress e2e tests to playwright #18932
  • CI: Refactor to use tasks #18922
  • Angular: Add renderer components / stories #18934
  • Examples: Add angular repro template and refactor #18931

7.0.0-alpha.19 (August 12, 2022)

Features

  • CLI: add "storybook scripts 7.0" automigrate command #18769
  • Interactions: Run conditionally based on query param #18706

Bug Fixes

  • API: Return defaultValue in useParameter if story is not prepared #18887
  • Store: always call composeConfigs in setProjectAnnotations #18916
  • CLI: install the same version as the user in sb-scripts automigration #18917
  • Theming: Add create export for lib/theming #18906
  • Telemetry: Improve addon extraction logic #18868
  • UI: Add image support to builder-manager #18857
  • ArgTypes: Fix check for undefined before #18710

Maintenance

  • Build: use ts-up to build addon-toolbars #18847
  • Build: Use ts-up to build channels #18882
  • Build: Use ts-up to build addon-links #18908
  • CLI: Fix remove dependencies logic #18905
  • CLI: Add uninstall deps to jsPackageManager #18900
  • Examples: Improve sandbox command error handling and debugging #18869
  • Examples: Change to self-hosted placeholder images #18878
  • CLI: add --no-init to repro-next command #18866
  • Build: Got verdaccio working, borrowing heavily from the old repro command #18844
  • Core-server: Move webpack to be a devDependency #18856

7.0.0-alpha.18 (August 2, 2022)

Features

  • CLI: Add temporary sb repro-next command that only degits repros #18834
  • Interactions: Add step function to play context #18673
  • UI: Add preloading to stories highlighted in the sidebar #17964

Bug Fixes

  • UI: Fix refs with authentication being broken if the fetch for iframe.html succeeds (but with a request to authenticate) #18160
  • HTML: Fix missing ability to set docs.extractArgTypes #18831
  • React: Fix callback behavior in react@18 #18737
  • CLI: Throw error on failure in sb init #18816
  • CLI: Fix package.json version detection #18806

Maintenance

  • Build: Use ts-up to build addon-outline #18842
  • Core: Fix default framework options handling #18676
  • Build: Use tsup to build addon-measure and fix related imports in examples/official-storybook #18837
  • Build: Use tsup to build addon-jest #18836
  • Examples: Use repro-next in the example script! #18839
  • Examples: Rename example => sandbox #18838
  • Examples: Use a set of test components in addon stories #18825
  • Examples: Copy example stories over from renderer + addons #18824
  • Examples: Set resolve.symlinks based on node option #18827
  • Examples: Add command to publish repros + GH action #18800
  • Examples: Create a new yarn example command #18781
  • Build: Fix yarn build command #18817
  • Build: Use tsup to build core-event #18798

7.0.0-alpha.17 (July 27, 2022)

Features

  • Addon-docs: Support DocsPage in v6 store #18763

Bug Fixes

  • Preact: Typescript pragma fix #15564
  • Core: Clear addon cache directory before starting the manager #18731
  • UI: Pass full docs options to manager #18762
  • Preview: Fix standalone MDX files not HMR-ing #18747

Maintenance

  • CLI: Add next-repro command #18787
  • Build: Remove old scripts that are no longer used #18790
  • Build: Addon-backgrounds with ts-up #18784
  • Build: Addon-controls with tsup #18786
  • Build: Use updated circleci node images #18785
  • Build: Move all code into a code directory #18759
  • Build: Lint css, html, json, md, mdx, yml files #18735

7.0.0-alpha.16 (July 25, 2022)

Bug Fixes

  • Addon docs: Pass remarks plugins to mdx loader #18740
  • Preview: Ensure docs container re-renders when globals change #18711
  • Core: Set other manager-side constants in build #18728
  • CLI: Fix detection of type: module when initializing storybook #18714
  • UI: Include full URL in the "Copy Canvas Link" button #17498
  • Toolbars: Fallback to name if title and icon are unspecified #17430
  • CLI: Fix addons register in RN template #18693
  • Index: Support { csfData as default } CSF exports #18588
  • Svelte: Always create main with cjs extension #18648

Maintenance

  • Build addons/a11y with ts-up #18772
  • Typescript: Drop Emotion 10 types in lib/theming #18598
  • Tests: Don't run the docs e2e in react@18 #18736
  • Addon-docs: Localize channel to docs context #18730
  • Addon-docs: Move DocsRenderer back to addon-docs #18708
  • Addon-docs: Remove AddContext from mdx packages #18709
  • Preview: Simplify docsMode #18729
  • Examples: Upgrade @storybook/jest in examples #18582
  • Svelte: Make svelte-loader optional dependency #18645
  • Build: Fix dts-localize script for windows #18664

Dependency Upgrades

  • Storyshots: Allow react-test-renderer 18 #18296
  • Core: Remove unnecessary webpack dependency #18651

7.0.0-alpha.15 (July 25, 2022)

Failed publish

7.0.0-alpha.14 (July 25, 2022)

Failed publish

7.0.0-alpha.13 (July 11, 2022)

Features

  • UI: Remove docs tab (#18677)

Bug Fixes

  • Index: Don't prepend titlePrefix to a docs entry that references a CSF file's title (#18634)

Maintenance

  • Addon-dcos: Refactor DocsRender/Context (#18635)
  • Instrumenter: SyncPayload type for sync event (#18674)

7.0.0-alpha.12 (July 7, 2022)

Features

  • Addon-docs: Produce docs page entries in the index (#18574)
  • Svelte: Supports action auto configuration (#18174)
  • Addon-docs: Add docs index configuration via main.js (#18573)
  • Preview: Handle new docs-page index entries (#18595)

Bug Fixes

  • CLI: Remove addon-actions install from sb init (#18255)
  • Angular: Fix compodoc with spaces in workspace root (#18140)
  • Core: Add type guard for globalWindow (#18251)
  • Core: Fix builder stats typings to be optional (#18377)

Maintenance

  • Core: Async load presets, replace interpret with esbuild-register (#18619)
  • Build: Improve linting a bit (#18642)

Dependency Upgrades

  • Deps: Use dequal for equality checks (#18608)

7.0.0-alpha.11 (July 6, 2022)

Features

  • Interactions: Show exceptions by non-instrumented code in panel (#16592)

Maintenance

  • Build: Add linter for ejs (#18637)
  • Core: Improve interopRequireDefault (#18638)
  • Core: Pre-built manager using esbuild (#18550)
  • Build: Add check-packages script plus misc improvements (#18633)
  • Core: Typing useArgs (#17735)
  • Build: Add a check script to each package (#18603)
  • Build: Use playwright in benchmark (#18606)

7.0.0-alpha.10 (July 2, 2022)

Features

  • Addon-docs: Include Vue methods in ArgsTable (#18609)
  • UI: Fix default theme according to preferred color scheme (#17311)
  • Storyshots: Add SnapshotsWithOptionsArgType (#15712)
  • Controls: Add max length config to text control (#14396)

Bug Fixes

  • CLI/HTML: Improve HTML typescript stories (#18618)
  • Controls: Throttle color controls and make updateArgs and resetArgs stable (#18335)
  • Controls: Silence unexpected control type enum for color matchers (#16334)
  • UI: Stop add-on Draggable from overlapping the vertical scrollbar when stories overflow (#17663)
  • React: Fix source snippet decorator for story functions with suspense (#17915)
  • Core: Avoid logging an object on compilation errors (#15885)
  • UI: Fix router handling of URLs containing "settings" (#16245)
  • UI: Fix viewMode handling on navigation (#16912)
  • UI: Fix loading title (#17935)

Maintenance

  • Examples/Vue: Fix missing a vue-template-compiler dependency (#17485)
  • Fix homepage core-server (#18121)
  • UI: Replace references to themes.normal with themes.light (#17034)

Dependency Upgrades

  • Upgrade file-system-cache to 2.0.0 and remove custom types (#18253)
  • Security: Update x-default-browser and fix issue with package. (#18277)
  • Update puppeteer dependencies version (#15163)
  • Upgrade react-syntax-highlighter to v15.5.0 (#18009)

7.0.0-alpha.9 (July 2, 2022)

Failed publish

7.0.0-alpha.8 (June 29, 2022)

Features

  • Webpack: Support .cjs extension (#18502)

Maintenance

  • Docs2: Extract doc blocks into a separate package (#18587)

7.0.0-alpha.7 (June 29, 2022)

Features

  • TypeScript: Re-structure types for frameworks and presets (#18504)
  • UI: Add parent wildcard sortOrder (#18243)

Bug Fixes

  • UI: Fix typo in CSS pseudo selector (#17708)
  • UI: Fix sidebar a11y by moving aria-expanded attribute to button (#18354)
  • CLI: Hook up the npm7 migration (#18522)

Maintenance

  • Build: Use TSUP to compile core-common (#18546)
  • Build: Use TSUP to compile the presets (#18544)
  • Build: Use TSUP to compile the frameworks (#18543)
  • Build: Use TSUP to compile the renderers (#18534)
  • Essentials: Add highlight addon (#17800)
  • Core: Replace cpy with fs-extra copy/copyFile (#18497)
  • Build: Enable Template.bind({}) TS support in our repo (#18540)
  • Turn on strict types in store + preview-web (#18536)
  • Addon-highlight: Convert to simplified addon style (#17991)

Dependency Upgrades

  • Upgrade @storybook/testing-library to 0.0.14-next.0 (#18539)

7.0.0-alpha.6 (June 21, 2022)

Bug Fixes

  • Interactions: Reset instrumenter state on HMR (#18516)
  • Interactions: Prevent showing child exception while parent is still playing (#18518)

Maintenance

  • Docs2 core: Fetch index.json for composition (#18521)
  • Addon-docs: Switch Meta block to receive all module exports (#18514)
  • Re-add deprecated fields to lib/api (#18488)
  • Core: Handle v3 index in composition (#18498)
  • Story index: Ensure that extract script works and SBs can be composed into v6 storybooks (#18409)
  • Docs2: Handle new docs entries in the preview (#18099)
  • Docs2: Refactor manager to use new index data (#18023)

7.0.0-alpha.5 (June 20, 2022)

Bug Fixes

  • Core: Allow a teardown function to be returned from renderToDOM (#18457)
  • CLI: Add npm7 migration for legacy peer deps (#18510)
  • Interactions: Fix broken UI on nested interactions (#18499)

Maintenance

  • Build: Upgrade yarn to 3.2.1 (#18511)

7.0.0-alpha.4 (June 19, 2022)

Breaking Changes

  • Core: Remove standalone node APIs (#18089)

Maintenance

  • Build: Add logFilters to yarn config (#18500)
  • Build: Set typescript strict-mode (#18493)

7.0.0-alpha.3 (June 17, 2022)

Features

  • Interactions: Collapse child interactions (#18484)

Bug Fixes

  • Interactions: Fix waitFor behavior while debugging (#18460)
  • UI: Fix display skip to sidebar button (#18479)

Maintenance

  • CLI: Use storybook instead of sb (#18430)
  • Components: Re-bundle the syntax highlighter (#18425)

7.0.0-alpha.2 (June 15, 2022)

Features

  • UI: Update manager to respect parameters.docsOnly in stories.json (#18433)
  • CLI: Add additional files api to sb repro (#18389)

Bug Fixes

  • Core: Fix process is not defined when using components (#18469)
  • Story index: Warn on storyName in CSF3 exports (#18464)
  • Telemetry: Strip out preset from addon name (#18442)

Maintenance

  • CLI: Improve to be more async & cleanup (#18475)
  • 7.0.0 pnp support (#18461)
  • Build: Use playright version of sb-bench (#18458)
  • Angular: Support Angular 14 standalone components (#18272)
  • Build: Fix prebundle script on Windows (#18365)
  • Scripts: Clean verdaccio cache when running locally (#18359)
  • Core: fix PnP compatibility for @storybook/ui and @storybook/router packages (#18412)

7.0.0-alpha.1 (June 7, 2022)

Bug Fixes

  • CLI: Fix init to install correct version of sb/storybook (#18417)

7.0.0-alpha.0 (June 7, 2022)

Breaking Changes

  • Build chain upgrades: TS4, Webpack5, modern ESM, TSUP (#18205)
  • Create frameworks & rename renderers (#18201)
  • Core-webpack: Factor out webpack dependencies (#18114)
  • Core: Remove start-/build-storybook from all frameworks (#17899)

Features

  • Core: Add pluggable indexers (#18355)
  • CLI: Add dev/build commands (#17898)
  • CLI: Add support for angular/cli v14 (#18334)

Bug Fixes

  • Vue/Vue3: Fix decorators in StoryStoreV7 (#18375)
  • Preview: Default select to viewMode story (#18370)

Maintenance

  • Core: Split webpack presets out of frameworks (#18018)
  • Core: Renderer refactor (#17982)
  • Core: Allow builders to be set in presets (#18182)
  • Core: Minimize webpack deps (#18024)
  • Core: Make renderers presets (#18004)
  • Examples: Simplify sb usage in package.json scripts (#18065)

Older versions

For older versions of the changelog, see CHANGELOG.v6.md, CHANGELOG.v1-5.md