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.1 #25017

Merged
merged 265 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
265 commits
Select commit Hold shift + click to select a range
7b1be45
fix: ts error in argTypes converter
efrenaragon96 May 15, 2023
39404a0
fix: ts error on src/argTypes/docgen folder
efrenaragon96 May 16, 2023
d95b4c3
fix: ts error on src/argTypes/docgen/flow folder
efrenaragon96 May 16, 2023
6498a92
fix: ts error on src/argTypes/docgen/typeScript folder
efrenaragon96 May 16, 2023
e49d5fd
fix: ts error in utils files
efrenaragon96 May 16, 2023
3f791b5
fix: call parseJsDoc without second param
efrenaragon96 Jun 1, 2023
0dff3fe
Prefer `satisfies` over `as`
kasperpeulen May 31, 2023
e12279a
fix: change satisfies by static type
efrenaragon96 Jun 5, 2023
305d5da
fix: use only the fields for the JsDocTags type
efrenaragon96 Jun 5, 2023
61ce834
Merge branch 'next' into ts-migrate/lib-docs-tools
ndelangen Jun 7, 2023
8382350
Merge branch 'next' into ts-migrate/lib-docs-tools
kasperpeulen Jun 9, 2023
1c2a717
Fix getVersionSpecifier
0916dhkim Apr 22, 2023
84a6952
Fix.check returns null
0916dhkim Apr 22, 2023
3f28ddd
Fix getStorybookData params
0916dhkim Apr 22, 2023
fe60f6c
Cast error to string
0916dhkim Apr 22, 2023
4eadf30
Fix automigrate webpack 5 type errors
0916dhkim Apr 22, 2023
008880f
Fix AutodocsTrueFrameworkRunOptions
0916dhkim Apr 22, 2023
edb293d
Fix dryRun in bare-mdx-stories-glob
0916dhkim Apr 22, 2023
7bdd65a
Fix dryRun in builder-vite
0916dhkim Apr 22, 2023
ffd71bd
Fix eslintPlugin.check
0916dhkim Apr 22, 2023
cb3a600
Fix mdx1to2.check return type
0916dhkim Apr 22, 2023
533d35c
Fix mdxgfm dryRun
0916dhkim Apr 22, 2023
c083c0d
Add optional chaning in missing-babelrc
0916dhkim Apr 22, 2023
15fcbb7
Handle unhandled semver failures
0916dhkim Apr 22, 2023
08428fe
Fix type errors in sb-scripts
0916dhkim Apr 22, 2023
55986a8
Remove strict: false in tsconfig.json
kasperpeulen Apr 26, 2023
5c8c2a6
Remove strictNullChecks
kasperpeulen Apr 26, 2023
6845a06
Install tiny-invariant
0916dhkim May 14, 2023
f27df86
Group programming
0916dhkim May 14, 2023
f516d10
More fixes
0916dhkim May 15, 2023
14c32d5
Fix SearchTuple
0916dhkim May 15, 2023
74da582
Fix dev.ts
0916dhkim May 15, 2023
2b454f2
Fix dirs.ts
0916dhkim May 15, 2023
75a868f
Fix generate.ts
0916dhkim May 15, 2023
70a5a6b
Fix ANGULAR
0916dhkim May 15, 2023
d2e39bd
Fix REACT_NATIVE
0916dhkim May 15, 2023
b554e0e
Fix baseGenerator.ts
0916dhkim May 15, 2023
75300e3
Fix initiate.ts
0916dhkim May 15, 2023
44131b2
Fix JsPackageManager.ts
0916dhkim May 15, 2023
abc7d48
Fix link.ts
0916dhkim May 15, 2023
ab83e54
Fix repro-generators
0916dhkim May 15, 2023
dfe520f
Fix sandbox.ts
0916dhkim May 15, 2023
7a8a80c
Fix upgrade.ts
0916dhkim May 15, 2023
3e8af28
Fix missing versions
0916dhkim May 15, 2023
fd769b4
Fix mdx-gfm type errors
0916dhkim May 20, 2023
b687df4
Extract coerceSemver helper
0916dhkim May 20, 2023
6b9b8cb
change StoryFnReactReturnType to JSX.Element
chakAs3 Jun 23, 2023
7fa57a9
remove double export from
chakAs3 Jun 23, 2023
1c4692b
Merge branch 'next' into chaks/react-storyfn-returntype
chakAs3 Jun 26, 2023
3b54eac
Merge branch 'next' into ts-migrate/lib-docs-tools
efrenaragon96 Jun 27, 2023
2d2a3f2
Merge branch 'next' into chaks/react-storyfn-returntype
chakAs3 Jun 28, 2023
96afbdc
Merge branch 'next' into ts-migrate/lib-docs-tools
JReinhold Jul 3, 2023
d78e200
fix: doc tools types
efrenaragon96 Jul 3, 2023
e0f2773
Adding tyepscript strict compile option
Jul 8, 2023
d97a499
Updating yarn lock file in code
Jul 8, 2023
750408e
Removing invariant usage
Jul 8, 2023
051dc38
Fixing issue with undefined numebr
Jul 8, 2023
82346c2
Merge branch 'next' into fix/convert-to-strict-ts-codemod-pkg
aditya1 Jul 8, 2023
fa8ffa6
Merge branch 'next' into fix/convert-to-strict-ts-codemod-pkg
aditya1 Jul 12, 2023
7bf8ada
Merge branch 'next' into fix/convert-to-strict-ts-codemod-pkg
aditya1 Jul 16, 2023
0ce2f69
Merge branch 'next' into fix/convert-to-strict-ts-codemod-pkg
aditya1 Jul 26, 2023
f0d68a3
Merge branch 'next' into ts-migrate/lib-docs-tools
efrenaragon96 Aug 2, 2023
2356aad
Merge branch 'next' into ts-migrate/lib-docs-tools
kasperpeulen Aug 4, 2023
fad7582
Fix Angular sandboxes
Marklb Aug 21, 2023
90e2e7a
Merge branch 'next' into marklb/fix-angular-sandboxes
Marklb Sep 1, 2023
7c7d54c
Regenerate lock file
Marklb Sep 1, 2023
2cadd26
Addred strict ts to manager-api tsconfig file
subhajit20 Sep 4, 2023
13d3c7f
Merge branch 'next' into marklb/fix-angular-sandboxes
yannbf Sep 4, 2023
7da257d
Added strict ts to manager-api tsconfig file
subhajit20 Sep 4, 2023
e0cdf02
Migrate @storybook/manager-api to strict TS
subhajit20 Sep 6, 2023
b63a043
React: Set react-docgen as the default
shilman Sep 13, 2023
2e395b8
Don't ignore docgen cells
shilman Sep 13, 2023
325b0d7
Merge branch 'next' into ts-migrate/lib-docs-tools
yannbf Sep 19, 2023
f40ec49
Merge branch 'next' into ts-migrate/lib-docs-tools
ndelangen Sep 19, 2023
42a35ae
fix: handle button.group.stories.js in auto-title
agriffis Mar 30, 2023
8ce45d5
feat: handle stories.js as meaningless for auto-titling
agriffis Mar 30, 2023
59fc329
fix: don't remove redundant filename part if there won't be anything …
agriffis Sep 20, 2023
7df4fc0
Merge branch 'next' into shilman/default-to-react-docgen
shilman Sep 30, 2023
a6823db
React: Fix react-docgen handling for arrays, records, functions
shilman Oct 2, 2023
c54a3ae
Fix types
shilman Oct 3, 2023
3a59f73
Fix snapshots
shilman Oct 3, 2023
9f31bae
Merge branch 'release-8-0' into shilman/default-to-react-docgen
shilman Oct 4, 2023
183e5c9
Merge branch 'release-8-0' into shilman/default-to-react-docgen
valentinpalkovic Oct 5, 2023
9ade666
fix: check possible undefined or null values
efrenaragon96 Oct 9, 2023
cf83e3f
fix: use tiny-invariant in vue docs
efrenaragon96 Oct 9, 2023
fc0b847
Merge branch 'next' into ts-migrate/lib-docs-tools
ndelangen Oct 11, 2023
4aa689e
Merge branch 'next' into shilman/default-to-react-docgen
shilman Oct 22, 2023
acaa9f9
Merge branch 'release-8-0' into shilman/default-to-react-docgen
shilman Oct 22, 2023
66d1db8
Merge branch 'release-8-0' into fix/auto-title-dotted-component
shilman Nov 1, 2023
fcecff3
Add 8.0 autotitle migration docs
shilman Nov 1, 2023
cafe331
Improved migration
shilman Nov 1, 2023
6e40835
Add migration notes & automigration
shilman Nov 2, 2023
1ed5769
Merge branch 'release-8-0' into shilman/default-to-react-docgen
shilman Nov 2, 2023
a3d76db
Update yarn.lock
shilman Nov 2, 2023
e15dd64
Fix corner case Story.stories.js
shilman Nov 2, 2023
626f335
Update .nvmrc
shilman Nov 2, 2023
a1adfdb
Remove React.FC caveat for react-docgen
shilman Nov 2, 2023
2db6744
Merge branch 'shilman/default-to-react-docgen' of github.com:storyboo…
shilman Nov 2, 2023
2f863cc
Fix MIGRATION
shilman Nov 2, 2023
544393e
Merge branch 'release-8-0' into shilman/default-to-react-docgen
shilman Nov 2, 2023
da5d703
Merge branch 'release-8-0' into shilman/default-to-react-docgen
ndelangen Nov 2, 2023
37d0aed
Merge branch 'release-8-0' into shilman/default-to-react-docgen
shilman Nov 3, 2023
7526fee
Review comments
shilman Nov 3, 2023
2034c83
Update README.md
joevaugh4n Nov 22, 2023
146672c
add next-font-local-declarations-support
MauricioRobayo Nov 25, 2023
3958c6d
update docs
MauricioRobayo Nov 25, 2023
8c1ffcc
restore unwanted changes
MauricioRobayo Nov 25, 2023
279967c
use validateData
MauricioRobayo Nov 25, 2023
d9b0f46
proper undefined check
MauricioRobayo Nov 25, 2023
7e63c1d
default value at destructuring
MauricioRobayo Nov 25, 2023
68eca71
Merge branch 'release-8-0' into pr/agriffis/21840
ndelangen Nov 27, 2023
07ce1ea
Merge branch 'release-8-0' into pr/agriffis/21840
ndelangen Nov 27, 2023
9a2f349
Merge branch 'release-8-0' into patch-1
ndelangen Nov 28, 2023
7f67fa8
Merge branch 'next' into patch-1
ndelangen Nov 28, 2023
7c3349b
Merge branch 'next' into next-font-local-declarations-support
MauricioRobayo Nov 28, 2023
1d54bde
Merge branch 'next' of github.com:storybookjs/storybook into pr/42sha…
ndelangen Nov 28, 2023
dda0507
Merge pull request #21517 from Foxhoundn/patch-1
ndelangen Nov 28, 2023
0fc7145
Merge branch 'next' into pr/42shadow42/21671
ndelangen Nov 28, 2023
eedfeed
fixes
ndelangen Nov 28, 2023
2620af4
Merge branch 'mjs-jsx-tsx-raw-support' of github.com:42shadow42/story…
ndelangen Nov 28, 2023
901a34c
Merge branch 'next' into fix/auto-title-dotted-component
ndelangen Nov 28, 2023
d932d4f
Merge branch '42shadow42-mjs-jsx-tsx-raw-support' into next
ndelangen Nov 28, 2023
0b64464
Revert "Docs: Raw support for `mjs`, `jsx`, and `tsx` files"
ndelangen Nov 28, 2023
06fb59f
Merge pull request #25015 from storybookjs/revert-21671-mjs-jsx-tsx-r…
ndelangen Nov 28, 2023
39009b5
Merge branch 'next' into pr/0916dhkim/22254
ndelangen Nov 28, 2023
8f0b100
fix
ndelangen Nov 28, 2023
e7b3993
Merge branch 'next' into fix/auto-title-dotted-component
shilman Nov 28, 2023
ca659bd
Merge pull request #21840 from agriffis/fix/auto-title-dotted-component
shilman Nov 28, 2023
96135bf
fixes
ndelangen Nov 28, 2023
6a8644b
regen lockfiles
ndelangen Nov 28, 2023
d531dde
fixes
ndelangen Nov 28, 2023
ba9f329
Merge branch 'next' into pr/0916dhkim/22254
ndelangen Nov 28, 2023
1edcc46
fix tests
ndelangen Nov 28, 2023
679cd26
fixes
ndelangen Nov 28, 2023
9382504
Merge branch 'next' into patch-1
kylegach Nov 28, 2023
804cb50
Merge branch 'next' into pr/efrenaragon96/22567
ndelangen Nov 28, 2023
f8b3d2b
regen lockfile
ndelangen Nov 28, 2023
5a74d6e
fix
ndelangen Nov 28, 2023
c169660
Merge branch 'next' into valentin/stricter-types-for-syntaxhighlighte…
ndelangen Nov 28, 2023
bc16eb0
fix
ndelangen Nov 28, 2023
b739732
fix
ndelangen Nov 28, 2023
34a7c05
Merge pull request #22254 from 0916dhkim/typefix-cli
ndelangen Nov 28, 2023
b586722
Merge branch 'next' into valentin/stricter-types-for-syntaxhighlighte…
ndelangen Nov 28, 2023
428383f
Merge pull request #22790 from storybookjs/valentin/stricter-types-fo…
ndelangen Nov 29, 2023
9fecce2
Merge pull request #22567 from efrenaragon96/ts-migrate/lib-docs-tools
ndelangen Nov 29, 2023
74f20d9
Merge branch 'next' into pr/aditya1/23373
ndelangen Nov 29, 2023
1ed6a5b
regen lockfile
ndelangen Nov 29, 2023
5231268
fixes
ndelangen Nov 29, 2023
4a43f99
cleanup
ndelangen Nov 29, 2023
5d903a9
fix linting
ndelangen Nov 29, 2023
9c8084c
Merge branch 'next' into chaks/react-storyfn-returntype
ndelangen Nov 29, 2023
0754152
fix linting
ndelangen Nov 29, 2023
21b933d
Fix exclude regex in react-docgen-loader
valentinpalkovic Nov 29, 2023
f8489ef
return partial vite config instead of merged
JReinhold Nov 29, 2023
a735658
Next.js: Fix AppRouterProvider usage
valentinpalkovic Nov 29, 2023
0fa30d8
Merge pull request #25030 from storybookjs/valentin/fix-react-docgen-…
valentinpalkovic Nov 29, 2023
7ffc515
Merge pull request #25031 from storybookjs/25029-bug-sveltekit-hot-re…
JReinhold Nov 29, 2023
ab4e5ed
Merge pull request #25032 from storybookjs/valentin/fix-app-router-in…
valentinpalkovic Nov 29, 2023
f998cc9
Merge pull request #23373 from aditya1/fix/convert-to-strict-ts-codem…
ndelangen Nov 29, 2023
ea2acac
Merge pull request #23204 from storybookjs/chaks/react-storyfn-return…
ndelangen Nov 29, 2023
c5ccd6c
Merge pull request #19911 from cprecioso/patch-1
ndelangen Nov 29, 2023
0db9c48
Merge branch 'next' into pr/subhajit20/24069
ndelangen Nov 29, 2023
5a33607
fixes
ndelangen Nov 29, 2023
33eed07
cleanup
ndelangen Nov 29, 2023
f18dba3
improve findInstallations function for npm
yannbf Nov 29, 2023
b62a2ed
Update CHANGELOG.md for v7.6.1 [skip ci]
storybook-bot Nov 29, 2023
19e54ce
remove special characters when finding installation metadata
yannbf Nov 29, 2023
7b2d407
Merge pull request #25037 from storybookjs/yann/improve-doctor-cli
yannbf Nov 29, 2023
89e40b4
Merge branch 'next' into joevaugh4n-patch-3
jonniebigodes Nov 29, 2023
8d3a3b6
Merge pull request #24952 from storybookjs/joevaugh4n-patch-3
jonniebigodes Nov 29, 2023
a0c55d8
Merge pull request #24069 from subhajit20/subhajit/strict-ts-manager-api
ndelangen Nov 29, 2023
cc9ccee
Next.js: Fix next/font/local usage in babel mode
valentinpalkovic Nov 29, 2023
d05a99f
Add missing API details
kylegach Nov 29, 2023
57077ab
Merge pull request #25041 from storybookjs/update-arg-types-api-ref
kylegach Nov 29, 2023
f594744
Docs: Minor Fixes and cleanup
jonniebigodes Nov 29, 2023
c67852a
Merge branch 'next' into docs_minor_cleanuo
jonniebigodes Nov 29, 2023
dbc4f02
Merge pull request #25048 from storybookjs/docs_minor_cleanuo
jonniebigodes Nov 29, 2023
aebcbee
Merge pull request #25045 from storybookjs/valentin/nextjs-fix-local-…
valentinpalkovic Nov 29, 2023
a1889c5
Merge branch 'next' into shilman/default-to-react-docgen
shilman Nov 30, 2023
1fa44fc
Fix typos & ts check
shilman Nov 30, 2023
1bc5a84
React-Docgen: Make error-handling more gentle
valentinpalkovic Nov 30, 2023
33c8aa2
React-Docgen: Do not process stories files
valentinpalkovic Nov 30, 2023
e7c8f96
Update toc
jonniebigodes Nov 30, 2023
2c5d2b0
Fix tests
valentinpalkovic Nov 30, 2023
73c3d2f
Adds the missing pages and assets back
jonniebigodes Nov 30, 2023
b9e9a41
Add 'story' to exclude regex of webpack-react-docgen-loader
valentinpalkovic Nov 30, 2023
48cc869
Fix Links
jonniebigodes Nov 30, 2023
fc6022c
Merge pull request #25055 from storybookjs/valentin/react-docgen-erro…
valentinpalkovic Nov 30, 2023
8e285b5
Merge branch 'next' into docs_toc_snapshot_testing_add
jonniebigodes Nov 30, 2023
285d445
Merge pull request #25058 from storybookjs/docs_toc_snapshot_testing_add
jonniebigodes Nov 30, 2023
11a6ad0
refactor: Update validateData function for next/font compatibility
kkirby Nov 30, 2023
2e4e691
Merge pull request #24165 from storybookjs/shilman/default-to-react-d…
shilman Nov 30, 2023
4db3370
Update CHANGELOG.md for v7.6.2 [skip ci]
storybook-bot Nov 30, 2023
8e12e97
Docs: Test coverage add callout for configuration
jonniebigodes Nov 30, 2023
0aad1b4
Merge branch 'next' into docs_testing_fix_coverage
jonniebigodes Nov 30, 2023
a4b91ea
Merge pull request #25065 from storybookjs/docs_testing_fix_coverage
jonniebigodes Nov 30, 2023
527dee3
Merge remote-tracking branch 'origin/next' into pr/Marklb/23896-1
valentinpalkovic Dec 1, 2023
b2894da
Revert "always set --no-link when creating angular sandboxes"
valentinpalkovic Dec 1, 2023
0012b9b
Update CHANGELOG.md for v7.6.3 [skip ci]
storybook-bot Dec 1, 2023
6e33cf4
Skip lib check for Angular sandboxes
valentinpalkovic Dec 1, 2023
87abacf
Update lock file
valentinpalkovic Dec 1, 2023
be725d5
Fix an issue where Angular cannot find global.window typings
valentinpalkovic Dec 1, 2023
efc82a5
Automatic Manager exports update
valentinpalkovic Dec 1, 2023
e260f37
Merge remote-tracking branch 'origin/next' into pr/MauricioRobayo/24983
valentinpalkovic Dec 1, 2023
3ca286e
Linting and small bug fixes
valentinpalkovic Dec 1, 2023
6951f27
Merge remote-tracking branch 'origin/next' into pr/kkirby/25061
valentinpalkovic Dec 1, 2023
7b13db3
Merge branch 'next' into next-font-local-declarations-support
MauricioRobayo Dec 1, 2023
c3fa95b
Merge pull request #25061 from kkirby/fix-next-font-local
valentinpalkovic Dec 1, 2023
18ce18f
Docs: Fix ArgTypes links
jonniebigodes Dec 1, 2023
df6f75c
Merge branch 'next' into docs_fix_vite_link
jonniebigodes Dec 1, 2023
4a90af1
Merge pull request #25084 from storybookjs/docs_fix_vite_link
kylegach Dec 2, 2023
ca4cc16
NextJS: Add RSC support
shilman Dec 3, 2023
2960d3d
React: Add RSC type support
shilman Dec 3, 2023
048fa05
Revert "React: Add RSC type support"
shilman Dec 3, 2023
0cfe045
Skip intentional error stories
shilman Dec 4, 2023
0327b57
Merge pull request #24983 from MauricioRobayo/next-font-local-declara…
valentinpalkovic Dec 4, 2023
e206035
Merge pull request #23896 from Marklb/marklb/fix-angular-sandboxes
valentinpalkovic Dec 4, 2023
cdb5079
Fix CSF Plugin for Angular
valentinpalkovic Dec 4, 2023
e37e18b
Build: Remove link forced option for Angular sandboxes
valentinpalkovic Dec 4, 2023
a77d915
Merge pull request #25099 from storybookjs/valentin/remove-link-optio…
valentinpalkovic Dec 4, 2023
a708830
Move @storybook/source-loader to dependency section in storysource pa…
valentinpalkovic Dec 4, 2023
69b3cf0
Angular: Drop v14.x support
valentinpalkovic Dec 4, 2023
f1d5a19
DRY makeTitle in csf-plugin
valentinpalkovic Dec 4, 2023
8113eaf
Merge branch 'next' into valentin/fix-csf-loader-for-angular-second-a…
valentinpalkovic Dec 4, 2023
35275a9
Fix tests
valentinpalkovic Dec 4, 2023
ffbd24f
Add more RSC stories
shilman Dec 4, 2023
4a0e468
NextJS: Add experimentalNextRSC feature flag
shilman Dec 4, 2023
2be8433
Fix viewport dts files
kasperpeulen Dec 4, 2023
f27cb2b
NextJS: Add RSC support to README
shilman Dec 4, 2023
bef036f
Enable RSC in NextJS sandboxes
shilman Dec 4, 2023
80b2a9e
Fix review comments
shilman Dec 4, 2023
2a7052a
Merge branch 'next' into shilman/add-rsc
shilman Dec 4, 2023
96bcc58
Merge pull request #25098 from storybookjs/valentin/fix-csf-loader-fo…
valentinpalkovic Dec 4, 2023
8097dc7
Merge pull request #25101 from storybookjs/valentin/drop-angular-14-a…
valentinpalkovic Dec 4, 2023
db5ec1d
Next.js: Drop < 13.5.0 support
valentinpalkovic Dec 4, 2023
842db03
Drop Next.js 12 sandbox and introduce Next.js 13 sandbox
valentinpalkovic Dec 4, 2023
6f805c3
Update lock file
valentinpalkovic Dec 4, 2023
4bc6018
Fix Migration document
valentinpalkovic Dec 4, 2023
597ccec
Fix sandbox usage of Next.js 13
valentinpalkovic Dec 5, 2023
a0baf40
Next.js: Set Next.js 13 sandbox to inDevelopment=true
valentinpalkovic Dec 5, 2023
33aa426
Fix parallelism config for CircleCI
valentinpalkovic Dec 5, 2023
3bcca2d
Merge pull request #25104 from storybookjs/valentin/drop-nextjs-12-su…
valentinpalkovic Dec 5, 2023
b486b39
Merge pull request #25107 from storybookjs/kasper/fix-viewport-dts
kasperpeulen Dec 5, 2023
b4bbcfd
Docs: Fix Typo in A11y snippet
jonniebigodes Dec 5, 2023
867085c
Merge branch 'next' into docs_fix_a11y_snippets
jonniebigodes Dec 5, 2023
eb3e9bb
Merge pull request #25122 from storybookjs/docs_fix_a11y_snippets
jonniebigodes Dec 5, 2023
91db333
Merge branch 'next' into shilman/add-rsc
shilman Dec 5, 2023
6433e19
Fix typo
shilman Dec 5, 2023
e8fb099
Merge pull request #25091 from storybookjs/shilman/add-rsc
shilman Dec 5, 2023
cfade04
Write changelog for 8.0.0-alpha.1 [skip ci]
storybook-bot Dec 5, 2023
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
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -614,30 +614,30 @@ workflows:
requires:
- build
- create-sandboxes:
parallelism: 36
parallelism: 35
requires:
- build
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 36
parallelism: 35
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 33
parallelism: 32
requires:
- build-sandboxes
- e2e-production:
parallelism: 31
parallelism: 30
requires:
- build-sandboxes
- e2e-dev:
parallelism: 2
requires:
- create-sandboxes
- test-runner-production:
parallelism: 31
parallelism: 30
requires:
- build-sandboxes
# TODO: reenable once we find out the source of flakyness
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 7.6.3

- Next.js: Fix next/font/local usage in babel mode - [#25045](https://github.com/storybookjs/storybook/pull/25045), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!

## 7.6.2

- CLI: Improve dependency metadata detection in storybook doctor - [#25037](https://github.com/storybookjs/storybook/pull/25037), thanks [@yannbf](https://github.com/yannbf)!
- React-Docgen: Make error-handling more gentle - [#25055](https://github.com/storybookjs/storybook/pull/25055), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!

## 7.6.1

- Next.js: Fix AppRouterProvider usage - [#25032](https://github.com/storybookjs/storybook/pull/25032), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- SvelteKit: Fix HMR not working - [#25031](https://github.com/storybookjs/storybook/pull/25031), thanks [@JReinhold](https://github.com/JReinhold)!
- Test: Downgrade @testing-library/user-event to 14.3.0 - [#25004](https://github.com/storybookjs/storybook/pull/25004), thanks [@kasperpeulen](https://github.com/kasperpeulen)!
- Webpack: Fix exclude regex in react-docgen-loader - [#25030](https://github.com/storybookjs/storybook/pull/25030), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!

## 7.6.0

Storybook 7.6 is here with increased performance and much more!
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 8.0.0-alpha.1

- Angular: Drop v14.x support - [#25101](https://github.com/storybookjs/storybook/pull/25101), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Angular: Fix CSF Plugin - [#25098](https://github.com/storybookjs/storybook/pull/25098), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Build: Fix Angular sandbox - [#23896](https://github.com/storybookjs/storybook/pull/23896), thanks [@Marklb](https://github.com/Marklb)!
- CLI: Improve dependency metadata detection in storybook doctor - [#25037](https://github.com/storybookjs/storybook/pull/25037), thanks [@yannbf](https://github.com/yannbf)!
- CLI: Point the update-notice to the changelog in the suggested version - [#19911](https://github.com/storybookjs/storybook/pull/19911), thanks [@cprecioso](https://github.com/cprecioso)!
- CLI: Typescript strict mode - [#22254](https://github.com/storybookjs/storybook/pull/22254), thanks [@0916dhkim](https://github.com/0916dhkim)!
- CSF: Autotitle fix multiple dots and handle stories.js - [#21840](https://github.com/storybookjs/storybook/pull/21840), thanks [@agriffis](https://github.com/agriffis)!
- Next.js: Add next/font/local declarations support - [#24983](https://github.com/storybookjs/storybook/pull/24983), thanks [@MauricioRobayo](https://github.com/MauricioRobayo)!
- Next.js: Drop Next.js < v13.5 support - [#25104](https://github.com/storybookjs/storybook/pull/25104), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Next.js: Fix AppRouterProvider usage - [#25032](https://github.com/storybookjs/storybook/pull/25032), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Next.js: Fix next/font/local usage in babel mode - [#25045](https://github.com/storybookjs/storybook/pull/25045), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Next.js: Update validateData function for next/font compatibility - [#25061](https://github.com/storybookjs/storybook/pull/25061), thanks [@kkirby](https://github.com/kkirby)!
- NextJS: Add experimental RSC support - [#25091](https://github.com/storybookjs/storybook/pull/25091), thanks [@shilman](https://github.com/shilman)!
- React-Docgen: Make error-handling more gentle - [#25055](https://github.com/storybookjs/storybook/pull/25055), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- React: Change `StoryFnReactReturnType` to `JSX.Element` - [#23204](https://github.com/storybookjs/storybook/pull/23204), thanks [@chakAs3](https://github.com/chakAs3)!
- React: Set `react-docgen` to default TS docgen - [#24165](https://github.com/storybookjs/storybook/pull/24165), thanks [@shilman](https://github.com/shilman)!
- SvelteKit: Fix HMR not working - [#25031](https://github.com/storybookjs/storybook/pull/25031), thanks [@JReinhold](https://github.com/JReinhold)!
- TypeScript: Migrate `@storybook/docs-tools` to strict TS - [#22567](https://github.com/storybookjs/storybook/pull/22567), thanks [@efrenaragon96](https://github.com/efrenaragon96)!
- UI: Add stricter types to the language property of the SyntaxHighlighter - [#22790](https://github.com/storybookjs/storybook/pull/22790), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Viewport: Fix viewport dts files - [#25107](https://github.com/storybookjs/storybook/pull/25107), thanks [@kasperpeulen](https://github.com/kasperpeulen)!
- Webpack: Fix exclude regex in react-docgen-loader - [#25030](https://github.com/storybookjs/storybook/pull/25030), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!

## 8.0.0-alpha.0

- Addon Viewport: Expose types for user parameter validation - [#24896](https://github.com/storybookjs/storybook/pull/24896), thanks [@piratetaco](https://github.com/piratetaco)!
Expand Down
48 changes: 46 additions & 2 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
- [From version 7.x to 8.0.0](#from-version-7x-to-800)
- [Implicit actions can not be used during rendering (for example in the play function)](#implicit-actions-can-not-be-used-during-rendering-for-example-in-the-play-function)
- [Core changes](#core-changes)
- [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)
- [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)
- [React-docgen component analysis by default](#react-docgen-component-analysis-by-default)
- [Framework-specific changes](#framework-specific-changes)
- [Angular: Drop support for Angular \< 15](#angular-drop-support-for-angular--15)
- [Next.js: Drop support for version \< 13.5](#nextjs-drop-support-for-version--135)
- [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)
Expand Down Expand Up @@ -320,6 +325,7 @@
- [Packages renaming](#packages-renaming)
- [Deprecated embedded addons](#deprecated-embedded-addons)


## From version 7.x to 8.0.0

### Implicit actions can not be used during rendering (for example in the play function)
Expand Down Expand Up @@ -373,14 +379,26 @@ To summarize:

### Core changes

#### Autotitle breaking fixes

In Storybook 7, the file name `path/to/foo.bar.stories.js` would result in the [autotitle](https://storybook.js.org/docs/react/configure/overview#configure-story-loading) `path/to/foo`. In 8.0, this has been changed to generate `path/to/foo.bar`. We consider this a bugfix but it is also a breaking change if you depended on the old behavior. To get the old titles, you can manually specify the desired title in the default export of your story file. For example:

```js
export default {
title: 'path/to/foo',
}
```

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 has been removed

Storyshots was an addon for storybook which allowed users to turn their stories into automated snapshot-tests.

Expand Down Expand Up @@ -429,6 +447,32 @@ The `IconButton` doesn't have any deprecated props but it now uses the new `Butt

In Storybook 8.0 we are introducing a new icon library available with `@storybook/icons`. We are deprecating the `Icons` component in `@storybook/components` and recommend that addon creators and Storybook maintainers use the new `@storybook/icons` component instead.

#### React-docgen component analysis by default

In Storybook 7, we used `react-docgen-typescript` to analyze React component props and auto-generate controls. In Storybook 8, we have moved to `react-docgen` as the new default. `react-docgen` is dramatically more efficient, shaving seconds off of dev startup times. However, it only analyzes basic TypeScript constructs.

We feel `react-docgen` is the right tradeoff for most React projects. However, if you need the full fidelity of `react-docgen-typescript`, you can opt-in using the following setting in `.storybook/main.js`:

```js
export default {
typescript: {
reactDocgen: 'react-docgen-typescript',
}
}
```

For more information see: https://storybook.js.org/docs/react/api/main-config-typescript#reactdocgen

### Framework-specific changes

#### Angular: Drop support for Angular \< 15

Starting in 8.0, we drop support for Angular < 15

#### Next.js: Drop support for version \< 13.5

Starting in 8.0, we drop support for Next.js < 13.5.

## From version 7.5.0 to 7.6.0

#### CommonJS with Vite is deprecated
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Storybook comes with a lot of [addons](https://storybook.js.org/docs/react/confi

### Community

For additional help, join us in the [Storybook Discord](https://discord.gg/storybook).
For additional help, share your issue in [the repo's GitHub Discussions](https://github.com/storybookjs/storybook/discussions/new?category=help).

## Projects

Expand Down
2 changes: 1 addition & 1 deletion code/addons/controls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Addon-knobs is one of Storybook's most popular addons with over 1M weekly downlo

Therefore, rather than deprecating addon-knobs immediately, we will continue to release knobs with the Storybook core distribution until 7.0. This will give us time to improve Controls based on user feedback, and also give knobs users ample time to migrate.

If you are somehow tied to knobs or prefer the knobs interface, we are happy to take on maintainers for the knobs project. If this interests you, hop on our [Discord](https://discord.gg/storybook).
If you are somehow tied to knobs or prefer the knobs interface, we are happy to take on maintainers for the knobs project. If this interests you, please get in touch with us in the [`#contributing`](https://discord.com/channels/486522875931656193/839297503446695956) Discord channel.

### How do I migrate from addon-knobs?

Expand Down
40 changes: 6 additions & 34 deletions code/addons/docs/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To learn more about Storybook Docs, read the [general documentation](../README.m
- [Props tables](#props-tables)
- [MDX](#mdx)
- [Inline stories](#inline-stories)
- [TypeScript props with `react-docgen`](#typescript-props-with-react-docgen)
- [TypeScript props with `react-docgen-typescript`](#typescript-props-with-react-docgen-typescript)
- [More resources](#more-resources)

## Installation
Expand Down Expand Up @@ -108,17 +108,17 @@ To do so for all stories, update `.storybook/preview.js`:
export const parameters = { docs: { story: { inline: false } } };
```

## TypeScript props with `react-docgen`
## TypeScript props with `react-docgen-typescript`

If you're using TypeScript, there are two different options for generating props: `react-docgen-typescript` (default) or `react-docgen`.
If you're using TypeScript, there are two different options for generating props: `react-docgen` (default) or `react-docgen-typescript`.

You can add the following lines to your `.storybook/main.js` to switch between the two (or disable docgen):

```js
export default {
typescript: {
// also valid 'react-docgen-typescript' | false
reactDocgen: 'react-docgen',
// also valid 'react-docgen' | false
reactDocgen: 'react-docgen-typescript',
},
};
```
Expand All @@ -129,7 +129,7 @@ Neither option is perfect, so here's everything you should know if you're thinki
| --------------- | ------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Features** | **Great**. The analysis produces great results which gives the best props table experience. | **OK**. React-docgen produces basic results that are fine for most use cases. |
| **Performance** | **Slow**. It's doing a lot more work to produce those results, and may also have an inefficient implementation. | **Blazing fast**. Adding it to your project increases build time negligibly. |
| **Bugs** | **Many**. There are a lot of corner cases that are not handled properly, and are annoying for developers. | **Few**. But there's a dealbreaker, which is lack for imported types (see below). |
| **Bugs** | **Some**. There are corner cases that are not handled properly, and are annoying for developers. | **Some**. There are corner cases that are not handled properly, and are annoying for developers. |
| **SB docs** | **Good**. Our prop tables have supported `react-docgen-typescript` results from the beginning, so it's relatively stable. | **OK**. There are some obvious improvements to fully support `react-docgen`, and they're coming soon. |

**Performance** is a common question, so here are build times from a random project to quantify. Your mileage may vary:
Expand All @@ -140,34 +140,6 @@ Neither option is perfect, so here's everything you should know if you're thinki
| react-docgen | 29s |
| none | 28s |

The biggest limitation of `react-docgen` is lack of support for imported types. What that means is that when a component uses a type defined in another file or package, `react-docgen` is unable to extract props information for that type.

```tsx
import React, { FC } from 'react';
import SomeType from './someFile';

type NewType = SomeType & { foo: string };
const MyComponent: FC<NewType> = ...
```

So in the previous example, `SomeType` would simply be ignored! There's an [open PR for this in the `react-docgen` repo](https://github.com/reactjs/react-docgen/pull/352) which you can upvote if it affects you.

Another common pitfall when switching to `react-docgen` is [lack of support for `React.FC`](https://github.com/reactjs/react-docgen/issues/387). This means that the following common pattern **DOESN'T WORK**:

```tsx
import React, { FC } from 'react';
interface IProps { ... };
const MyComponent: FC<IProps> = ({ ... }) => ...
```

Fortunately, the following workaround works:

```tsx
const MyComponent: FC<IProps> = ({ ... }: IProps) => ...
```

Please upvote [the issue](https://github.com/reactjs/react-docgen/issues/387) if this is affecting your productivity, or better yet, submit a fix!

## More resources

Want to learn more? Here are some more articles on Storybook Docs:
Expand Down
2 changes: 1 addition & 1 deletion code/addons/storysource/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/addon-bundle.ts"
},
"dependencies": {
"@storybook/source-loader": "workspace:*",
"estraverse": "^5.2.0",
"tiny-invariant": "^1.3.1"
},
Expand All @@ -56,7 +57,6 @@
"@storybook/manager-api": "workspace:*",
"@storybook/preview-api": "workspace:*",
"@storybook/router": "workspace:*",
"@storybook/source-loader": "workspace:*",
"@storybook/theming": "workspace:*",
"@types/react": "^18.0.37",
"@types/react-syntax-highlighter": "11.0.5",
Expand Down
5 changes: 0 additions & 5 deletions code/addons/viewport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
"import": "./dist/index.mjs"
},
"./manager": "./dist/manager.js",
"./preview": "./dist/preview.ts",
"./register": "./dist/manager.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
Expand Down Expand Up @@ -74,9 +72,6 @@
],
"managerEntries": [
"./src/manager.tsx"
],
"previewEntries": [
"./src/preview.ts"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",
Expand Down
4 changes: 1 addition & 3 deletions code/addons/viewport/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
export * from './constants';
export * from './defaults';
export * from './models';
export * from './shortcuts';
export type * from './models';
4 changes: 2 additions & 2 deletions code/addons/viewport/src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './Viewport';
export * from './ViewportAddonParameter';
export type * from './Viewport';
export type * from './ViewportAddonParameter';
1 change: 0 additions & 1 deletion code/addons/viewport/src/preview.ts

This file was deleted.

Loading