Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Prerelease 8.0.0-alpha.17 #25833

Merged
merged 57 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
4caffee
initial changes
jonniebigodes Jan 23, 2024
82b63d5
Update StorybookConfig import in core-webpack types.ts
valentinpalkovic Jan 24, 2024
661c7e7
initial changes
jonniebigodes Jan 24, 2024
ec359a4
Fix types in presets
valentinpalkovic Jan 25, 2024
dec75ae
Refactor preset.ts to use 'framework' instead of 'presetFramework' va…
valentinpalkovic Jan 26, 2024
56ad82d
additional changes
jonniebigodes Jan 27, 2024
c90ebeb
Merge branch 'next' into docs_react_ts_updates
jonniebigodes Jan 27, 2024
7987e76
Refactor isCorePackage function to use versions map
valentinpalkovic Jan 29, 2024
731531e
Update name of getStorybookVersion to getCoercedStorybookVersion
valentinpalkovic Jan 29, 2024
50238d9
Merge branch 'next' into docs_react_ts_updates
jonniebigodes Jan 30, 2024
25addc3
add note about @storybook/router#Route, remove duplicate React 18 notes.
JReinhold Jan 30, 2024
76d23e8
Bump e2e resource class to medium+
JReinhold Jan 30, 2024
fea8bb5
Fix bad docs paths
kylegach Jan 29, 2024
8ab9518
Re-document subcomponents
kylegach Jan 29, 2024
f183922
Update docs/writing-docs/autodocs.md
kylegach Jan 30, 2024
fd87a7f
Address comments
kylegach Jan 30, 2024
b644216
Consolidate snippets
kylegach Jan 30, 2024
de25f2e
Clarify subcomponents limitations
kylegach Jan 30, 2024
0c1c124
Update CHANGELOG.md for v7.6.11 [skip ci]
storybook-bot Jan 30, 2024
a96d348
Update Vue snippets
kylegach Jan 30, 2024
cf6c839
increase e2e resource classes to large
JReinhold Jan 30, 2024
bbd3f18
fix memo
ndelangen Jan 30, 2024
d3d998f
Merge branch 'next' into jeppe/increase-e2e-resources
JReinhold Jan 31, 2024
910d994
Merge pull request #25813 from storybookjs/jeppe/increase-e2e-resources
JReinhold Jan 31, 2024
02b5255
Merge pull request #25807 from storybookjs/jeppe/route-migration
JReinhold Jan 31, 2024
4e3f705
fix https://github.com/storybookjs/storybook/discussions/25695#discus…
ndelangen Jan 31, 2024
c7e066b
Merge branch 'next' into norbert/fix-memo-in-ui
ndelangen Jan 31, 2024
8c240d9
Merge branch 'next' into norbert/fix-testflag-addon-filtering
ndelangen Jan 31, 2024
63d7021
add test handling to angular build
ndelangen Jan 31, 2024
b7127d5
Merge branch 'norbert/fix-testflag-addon-filtering' of https://github…
ndelangen Jan 31, 2024
318c0cd
Don't notify code owners, as we have a triage meeting
kasperpeulen Jan 31, 2024
00de039
Merge pull request #25830 from storybookjs/kasper/codeowners
kasperpeulen Jan 31, 2024
5fb747d
Merge branch 'next' into norbert/fix-memo-in-ui
ndelangen Jan 31, 2024
69fcccd
Merge pull request #25825 from storybookjs/norbert/fix-memo-in-ui
ndelangen Jan 31, 2024
be42da5
Merge branch 'next' into docs-sub-components
jonniebigodes Jan 31, 2024
d1ce421
address feedback
jonniebigodes Jan 31, 2024
ebb6005
Merge branch 'next' into docs_react_ts_updates
jonniebigodes Jan 31, 2024
d9e1720
Merge pull request #25828 from storybookjs/norbert/fix-testflag-addon…
valentinpalkovic Jan 31, 2024
66010a2
Add documentation to getCoercedStorybookVersion func
valentinpalkovic Jan 31, 2024
5c368f2
Refactor package version retrieval in JsPackageManager
valentinpalkovic Jan 31, 2024
a91240a
Merge pull request #25740 from storybookjs/valentin/fix-storybook-con…
valentinpalkovic Jan 31, 2024
62be2a5
Revert "CI: Bump E2E resource class to large"
ndelangen Jan 31, 2024
ffdcd6f
Merge pull request #25839 from storybookjs/revert-25813-jeppe/increas…
ndelangen Jan 31, 2024
9418263
Update CHANGELOG.md for v7.6.12 [skip ci]
storybook-bot Jan 31, 2024
f70a6b9
Fix vitest patch
kasperpeulen Jan 31, 2024
8f52eac
Fix yarn.lock
kasperpeulen Jan 31, 2024
08800fe
Upgrade testing-library/jest-dom
kasperpeulen Jan 31, 2024
0f3d22c
Add a test for using storybook/test in vitest
kasperpeulen Jan 31, 2024
58316ad
Merge pull request #25840 from storybookjs/kaper/fix-vitest-patch
kasperpeulen Jan 31, 2024
b34c5dd
Merge pull request #25800 from storybookjs/docs-sub-components
kylegach Jan 31, 2024
8b0f6d0
Merge branch 'next' into docs_react_ts_updates
jonniebigodes Jan 31, 2024
de6d3f5
Merge pull request #25776 from storybookjs/docs_react_ts_updates
jonniebigodes Jan 31, 2024
b10ece6
Merge pull request #25791 from storybookjs/valentin/fix-add-command-f…
valentinpalkovic Jan 31, 2024
32327d3
Docs: Addon theme cleanup
jonniebigodes Jan 31, 2024
22ea90e
Merge branch 'next' into docs_addon_themes_cleanup
jonniebigodes Jan 31, 2024
69fcf16
Merge pull request #25844 from storybookjs/docs_addon_themes_cleanup
jonniebigodes Jan 31, 2024
07649d1
Write changelog for 8.0.0-alpha.17 [skip ci]
storybook-bot Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add note about @storybook/router#Route, remove duplicate React 18 notes.
JReinhold committed Jan 30, 2024
commit 25addc3de7ac5c4f98c80fa0c7103907bc4e9eea
37 changes: 17 additions & 20 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -19,14 +19,14 @@
- [Dropping support for Yarn 1](#dropping-support-for-yarn-1)
- [Dropping support for Node.js 16](#dropping-support-for-nodejs-16)
- [Autotitle breaking fixes](#autotitle-breaking-fixes)
- [React v18 in the manager UI (including addons)](#react-v18-in-the-manager-ui-including-addons)
- [Storyshots has been removed](#storyshots-has-been-removed)
- [UI layout state has changed shape](#ui-layout-state-has-changed-shape)
- [New UI and props for Button and IconButton components](#new-ui-and-props-for-button-and-iconbutton-components)
- [Icons is deprecated](#icons-is-deprecated)
- [Removed postinstall](#removed-postinstall)
- [Removed stories.json](#removed-storiesjson)
- [Removed `sb babelrc` command](#removed-sb-babelrc-command)
- [Changed interfaces for `@storybook/router` components](#changed-interfaces-for-storybookrouter-components)
- [Framework-specific changes](#framework-specific-changes)
- [React](#react)
- [`react-docgen` component analysis by default](#react-docgen-component-analysis-by-default)
@@ -72,17 +72,17 @@
- [Addon author changes](#addon-author-changes)
- [Removed `config` preset](#removed-config-preset-1)
- [From version 7.5.0 to 7.6.0](#from-version-750-to-760)
- [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated)
- [Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated)
- [typescript.skipBabel deprecated](#typescriptskipbabel-deprecated)
- [Primary doc block accepts of prop](#primary-doc-block-accepts-of-prop)
- [Addons no longer need a peer dependency on React](#addons-no-longer-need-a-peer-dependency-on-react)
- [CommonJS with Vite is deprecated](#commonjs-with-vite-is-deprecated)
- [Using implicit actions during rendering is deprecated](#using-implicit-actions-during-rendering-is-deprecated)
- [typescript.skipBabel deprecated](#typescriptskipbabel-deprecated)
- [Primary doc block accepts of prop](#primary-doc-block-accepts-of-prop)
- [Addons no longer need a peer dependency on React](#addons-no-longer-need-a-peer-dependency-on-react)
- [From version 7.4.0 to 7.5.0](#from-version-740-to-750)
- [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated)
- [`storyIndexers` is replaced with `experimental_indexers`](#storyindexers-is-replaced-with-experimental_indexers)
- [`storyStoreV6` and `storiesOf` is deprecated](#storystorev6-and-storiesof-is-deprecated)
- [`storyIndexers` is replaced with `experimental_indexers`](#storyindexers-is-replaced-with-experimental_indexers)
- [From version 7.0.0 to 7.2.0](#from-version-700-to-720)
- [Addon API is more type-strict](#addon-api-is-more-type-strict)
- [Addon-controls hideNoControlsWarning parameter is deprecated](#addon-controls-hidenocontrolswarning-parameter-is-deprecated)
- [Addon API is more type-strict](#addon-api-is-more-type-strict)
- [Addon-controls hideNoControlsWarning parameter is deprecated](#addon-controls-hidenocontrolswarning-parameter-is-deprecated)
- [From version 6.5.x to 7.0.0](#from-version-65x-to-700)
- [7.0 breaking changes](#70-breaking-changes)
- [Dropped support for Node 15 and below](#dropped-support-for-node-15-and-below)
@@ -108,7 +108,7 @@
- [Deploying build artifacts](#deploying-build-artifacts)
- [Dropped support for file URLs](#dropped-support-for-file-urls)
- [Serving with nginx](#serving-with-nginx)
- [Ignore story files from node_modules](#ignore-story-files-from-node_modules)
- [Ignore story files from node\_modules](#ignore-story-files-from-node_modules)
- [7.0 Core changes](#70-core-changes)
- [7.0 feature flags removed](#70-feature-flags-removed)
- [Story context is prepared before for supporting fine grained updates](#story-context-is-prepared-before-for-supporting-fine-grained-updates)
@@ -121,7 +121,7 @@
- [Addon-interactions: Interactions debugger is now default](#addon-interactions-interactions-debugger-is-now-default)
- [7.0 Vite changes](#70-vite-changes)
- [Vite builder uses Vite config automatically](#vite-builder-uses-vite-config-automatically)
- [Vite cache moved to node_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook)
- [Vite cache moved to node\_modules/.cache/.vite-storybook](#vite-cache-moved-to-node_modulescachevite-storybook)
- [7.0 Webpack changes](#70-webpack-changes)
- [Webpack4 support discontinued](#webpack4-support-discontinued)
- [Babel mode v7 exclusively](#babel-mode-v7-exclusively)
@@ -171,7 +171,7 @@
- [Dropped addon-docs manual babel configuration](#dropped-addon-docs-manual-babel-configuration)
- [Dropped addon-docs manual configuration](#dropped-addon-docs-manual-configuration)
- [Autoplay in docs](#autoplay-in-docs)
- [Removed STORYBOOK_REACT_CLASSES global](#removed-storybook_react_classes-global)
- [Removed STORYBOOK\_REACT\_CLASSES global](#removed-storybook_react_classes-global)
- [7.0 Deprecations and default changes](#70-deprecations-and-default-changes)
- [storyStoreV7 enabled by default](#storystorev7-enabled-by-default)
- [`Story` type deprecated](#story-type-deprecated)
@@ -629,13 +629,6 @@ export default {

Alternatively, if you need to achieve a different behavior for a large number of files, you can provide a [custom indexer](https://storybook.js.org/docs/7.0/vue/configure/sidebar-and-urls#processing-custom-titles) to generate the titles dynamically.

#### React v18 in the manager UI (including addons)

Storybook 7 used React 16 in the manager. In Storybook 8 this is upgraded to react v18.
Addons that inject UI into panels, tools, etc. are possibly affected by this.

Addon authors are advised to upgrade to react v18.

#### Storyshots has been removed

Storyshots was an addon for Storybook which allowed users to turn their stories into automated snapshot tests.
@@ -705,6 +698,10 @@ From version 8.0 onwards, Storybook is compiler-agnostic and does not depend on

The reasoning behind is to condense and provide some clarity to what's happened to both the command and what's shifted with the upcoming release.

#### Changed interfaces for `@storybook/router` components

The `hideOnly` prop has been removed from the `<Route />` component in `@storybook/router`. If needed this can be implemented manually with the `<Match />` component.

### Framework-specific changes

#### React