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: Minor 7.5.0 #24481

Merged
merged 740 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
740 commits
Select commit Hold shift + click to select a range
128c71a
Docs: Adds theming video
jonniebigodes Sep 30, 2023
79f49b2
Merge pull request #24322 from wesgro/patch-1
jonniebigodes Sep 30, 2023
069e152
Merge branch 'next' into patch-1
jonniebigodes Sep 30, 2023
8c7d53c
Merge pull request #24295 from RohanPoojary1107/patch-1
jonniebigodes Sep 30, 2023
d9a0caa
Merge branch 'next' into patch-1
jonthenerd Oct 1, 2023
855d053
docs: fix import path
YossiSaadi Oct 1, 2023
f3ca8f4
Merge branch 'next' into feature/24070/convert-babel-plugins
roottool Oct 2, 2023
4c56698
Merge branch 'next' into next
valentinpalkovic Oct 2, 2023
039f65c
Merge branch 'next' into docs_adds_theming_video
jonniebigodes Oct 2, 2023
5cb3679
Merge pull request #24335 from storybookjs/docs_adds_theming_video
jonniebigodes Oct 2, 2023
e2aa53e
Merge pull request #23695 from T99/next
valentinpalkovic Oct 2, 2023
60ce17f
Merge branch 'next' into add_conditional_render_styling_docs
jonniebigodes Oct 2, 2023
74040b7
Merge branch 'next' into fix-next-image-search-params
valentinpalkovic Oct 2, 2023
2b29cfb
Add code to let the preview decide which story to view if the URL doe…
ndelangen Oct 2, 2023
773d650
Merge branch 'next' into norbert/fix-24292
ndelangen Oct 2, 2023
d2b8721
Merge branch 'next' into feature/24070/convert-babel-plugins
ndelangen Oct 2, 2023
dee3552
fix unit test
ndelangen Oct 2, 2023
543871f
Update docs to point to addon-styling-webpack
Oct 2, 2023
8570d0d
Merge branch 'next' into patch-1
jonniebigodes Oct 2, 2023
0cacd64
Merge branch 'next' into patch-1
jonniebigodes Oct 2, 2023
470aa54
Merge pull request #24338 from YossiSaadi/patch-1
jonniebigodes Oct 2, 2023
106bf9a
Merge branch 'next' into patch-1
jonniebigodes Oct 2, 2023
b861017
Merge branch 'next' into add_conditional_render_styling_docs
jonniebigodes Oct 2, 2023
c56bf31
Merge pull request #24145 from storybookjs/add_conditional_render_sty…
jonniebigodes Oct 2, 2023
c1b33d8
Merge pull request #22590 from jonthenerd/patch-1
jonniebigodes Oct 2, 2023
4e2d75c
Merge branch 'next' into feature/24070/convert-babel-plugins
roottool Oct 2, 2023
bc8a496
Use the same Image Context for ESM and CommonJS
martinnabhan Oct 3, 2023
6ee8dca
Fix Nextjs project detection
yannbf Oct 3, 2023
5c308f7
Merge pull request #24346 from storybookjs/yann/fix-nightly
yannbf Oct 3, 2023
4c49a5a
change test, to hopefully also pass on CI
ndelangen Oct 3, 2023
cea5d61
Fix zone.js legacy deep import
greut Oct 3, 2023
fa57f76
Merge pull request #24290 from roottool/feature/24070/convert-babel-p…
ndelangen Oct 3, 2023
f83a01b
move from serve-favicon to a custom route to support svg
ndelangen Oct 3, 2023
bd3abf2
disable Angular 15 sandbox in CI
JReinhold Oct 3, 2023
e8ca10c
Merge pull request #24358 from storybookjs/disable-angular-15-sandbox
JReinhold Oct 3, 2023
3270b62
Merge pull request #23938 from storybookjs/deprecate-storyindexers
JReinhold Oct 3, 2023
6f5dcd9
Add note about when to use styling addon
Oct 3, 2023
f23fa9c
Merge pull request #24356 from storybookjs/norbert/fix-missing-favico…
ndelangen Oct 3, 2023
090ba7f
Write changelog for 7.5.0-alpha.4
storybook-bot Oct 3, 2023
4ba3c3f
Merge pull request #24269 from storybookjs/version-prerelease-from-7.…
JReinhold Oct 3, 2023
149711c
Bump version from "7.5.0-alpha.3" to "7.5.0-alpha.4" [skip ci]
storybook-bot Oct 3, 2023
8dc11d5
Merge branch 'next' into fix-select-double-spaces
yannbf Oct 3, 2023
7da1046
Merge branch 'next' into storybook
jonniebigodes Oct 3, 2023
e1af53a
Remove file URL examples from storyshots-puppetteer docs
irangarcia Oct 3, 2023
31704fc
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Oct 3, 2023
c78890f
React: Fix react-docgen handling for arrays, records, functions
shilman Oct 2, 2023
617666d
Fix types
shilman Oct 3, 2023
60748de
Fix snapshots
shilman Oct 3, 2023
723481e
Update CHANGELOG.md for v7.4.6 [skip ci]
storybook-bot Oct 3, 2023
ac738ec
Restore chromatic ignore
shilman Oct 3, 2023
1073829
Merge branch 'next' into storybook
ATREAY Oct 4, 2023
9fe358f
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Oct 4, 2023
109eb20
Merge pull request #23825 from storybookjs/shilman/fix-react-docgen-enum
shilman Oct 4, 2023
fb3568f
Revert "disable Angular 15 sandbox in CI"
valentinpalkovic Oct 4, 2023
1404929
Add debugWebpack option to Angular schema
valentinpalkovic Oct 4, 2023
ca7f6f8
hotfix -> patch, next-release -> non-patch-release
JReinhold Oct 4, 2023
15b5933
more renaming
JReinhold Oct 4, 2023
37d6cd5
Downgrade file-system-cache
valentinpalkovic Oct 4, 2023
fb06301
Fix types
valentinpalkovic Oct 4, 2023
b2e5f4b
Merge branch 'next' into fix/gh-24297
valentinpalkovic Oct 4, 2023
614146d
Merge branch 'valentin/fix-angular-sandbox' into fix/gh-24297
valentinpalkovic Oct 4, 2023
d2ed2d4
Merge pull request #24354 from greut/fix/gh-24297
valentinpalkovic Oct 4, 2023
97e0c60
Restrict allowed zone.js version range
valentinpalkovic Oct 4, 2023
ed18a24
move ensure-next-ahead from a bash script to a tested node script
JReinhold Oct 4, 2023
19b8468
add error class to error name
yannbf Oct 4, 2023
1b7d792
Merge branch 'next' into docs/addon-styling
Oct 4, 2023
b4424c1
Pin some package versions
valentinpalkovic Oct 4, 2023
8e83b97
Fix types
valentinpalkovic Oct 4, 2023
abe0d61
Docs: Point to styling-webpack addon in styling docs #24348
Oct 4, 2023
39a7b27
Merge branch 'next' into docs/remove-deprecated-file-url
irangarcia Oct 4, 2023
556569e
update @storybook/jest
yannbf Oct 4, 2023
c028ce2
always set --no-link when creating angular sandboxes
yannbf Oct 4, 2023
930adf4
move bash script to cancel preparation runs to tested node script
JReinhold Oct 4, 2023
0b35c18
Merge branch 'next' into release-stable-to-latest
JReinhold Oct 4, 2023
72837ae
fix tests
JReinhold Oct 4, 2023
406e0a5
Merge branch 'release-stable-to-latest' of github.com:storybookjs/sto…
JReinhold Oct 4, 2023
f0a10f7
Merge pull request #24373 from storybookjs/yann/no-link-angular
valentinpalkovic Oct 5, 2023
6946369
Merge branch 'next' into valentin/fix-angular-sandbox
valentinpalkovic Oct 5, 2023
08efdbd
Pin overlayscrollbars to exact version
valentinpalkovic Oct 5, 2023
b838b29
Add Resolutions.md file
valentinpalkovic Oct 5, 2023
7d8a2c6
Merge pull request #24367 from storybookjs/valentin/fix-angular-sandbox
valentinpalkovic Oct 5, 2023
4e11f29
Merge pull request #24187 from json-betsec/fix-next-image-search-params
valentinpalkovic Oct 5, 2023
38de6fc
Merge branch 'next' into bugfix/nextjs-image-context-2
valentinpalkovic Oct 5, 2023
9139e90
Merge pull request #24106 from storybookjs/release-stable-to-latest
JReinhold Oct 5, 2023
33e564e
Merge pull request #24146 from martinnabhan/bugfix/nextjs-image-conte…
valentinpalkovic Oct 5, 2023
5e02480
always run registry when generating angular sandboxes
yannbf Oct 5, 2023
dac7e2f
display webpack errors on build
yannbf Oct 5, 2023
eec9eeb
Merge branch 'next' into storybook
ATREAY Oct 5, 2023
b079ed6
Revert "Release tooling: Release stable releases from `latest-release`"
JReinhold Oct 5, 2023
f4e13cd
Merge pull request #24379 from storybookjs/revert-24106-release-stabl…
JReinhold Oct 5, 2023
75e585d
Revert "Merge pull request #24379 from storybookjs/revert-24106-relea…
JReinhold Oct 5, 2023
ced815b
fix prerelease -> non-patch naming
JReinhold Oct 5, 2023
d8b6d67
improve merge conflict hnadling between next and latest-release
JReinhold Oct 5, 2023
cbac1a0
make merge conflict handling more resilient
JReinhold Oct 5, 2023
af74275
fix merging commit message
JReinhold Oct 5, 2023
bf592f1
test trigger non-patch workflow
JReinhold Oct 5, 2023
7823426
Merge pull request #24377 from storybookjs/yann/display-webpack-error…
ndelangen Oct 5, 2023
c457e1b
test stable preparation workflow
JReinhold Oct 5, 2023
a1963a3
Merge pull request #24345 from storybookjs/norbert/fix-24292
ndelangen Oct 5, 2023
b0d6838
test stable workflow
JReinhold Oct 5, 2023
15370fd
Add instructions for installing yarn
IanVS Oct 5, 2023
806ea52
Add step to cd into storybook directory
IanVS Oct 5, 2023
1a75c1c
Add Vite 5 to peer dependencies
IanVS Oct 5, 2023
12448d8
Install vite beta in sandboxes
IanVS Oct 5, 2023
77cd89c
Update @joshwooding/vite-plugin-react-docgen-typescript
IanVS Oct 5, 2023
cc10c62
Update yarn lock
IanVS Oct 5, 2023
3b276e7
Merge pull request #24376 from storybookjs/yann/angular-sandbox-registry
yannbf Oct 5, 2023
9619860
Merge pull request #24371 from storybookjs/yann/add-error-name
yannbf Oct 5, 2023
5184a7a
add more angular options
yannbf Oct 5, 2023
f262b63
Use dynamic import of Vite functions
IanVS Oct 5, 2023
80951d3
Merge pull request #24388 from storybookjs/yann/add-missing-angular-o…
yannbf Oct 5, 2023
954c76c
Use Vite 5 beta in devDependencies
IanVS Oct 5, 2023
619f838
Use dynamic import of slash
IanVS Oct 5, 2023
a7bff76
Try to use ESM mocks for jest test
IanVS Oct 5, 2023
73a8e8f
Revert "Try to use ESM mocks for jest test"
IanVS Oct 5, 2023
df43854
Revert "Use Vite 5 beta in devDependencies"
IanVS Oct 5, 2023
cf03660
Revert "Use dynamic import of slash"
IanVS Oct 5, 2023
d138cf6
Add missing await
IanVS Oct 5, 2023
4fa2fa5
Merge branch 'next' into vite-5
IanVS Oct 5, 2023
a05089d
revert testing workflow
JReinhold Oct 6, 2023
e651957
revert testing workflow
JReinhold Oct 6, 2023
64bf4b2
Merge branch 'release-to-latest-v2' of github.com:storybookjs/storybo…
JReinhold Oct 6, 2023
a03ddde
Merge branch 'next' into release-to-latest-v2
JReinhold Oct 6, 2023
c68bd21
cleanup
JReinhold Oct 6, 2023
c78267a
Merge branch 'next' into storybook
ATREAY Oct 6, 2023
0e0d01b
updated changes
ATREAY Oct 6, 2023
779c899
Update code/frameworks/react-vite/package.json
IanVS Oct 6, 2023
2aacb58
Update yarn.lock
IanVS Oct 6, 2023
1d52a86
updated alignment changes
ATREAY Oct 6, 2023
1593ff3
Merge pull request #24296 from ATREAY/storybook
jonniebigodes Oct 6, 2023
bcef966
Merge branch 'next' into docs/remove-deprecated-file-url
irangarcia Oct 7, 2023
a3d6ec8
Update my-component-story-basic-and-props.js.mdx
bkfarnsworth Oct 8, 2023
e508783
Update my-component-story-basic-and-props.ts-4-9.mdx
bkfarnsworth Oct 8, 2023
ee149dd
Update my-component-story-basic-and-props.ts.mdx
bkfarnsworth Oct 8, 2023
c653826
Merge pull request #24405 from bkfarnsworth/patch-2
jonniebigodes Oct 8, 2023
b8fc3dc
Merge branch 'next' into patch-3
jonniebigodes Oct 8, 2023
36796e8
Merge pull request #24404 from bkfarnsworth/patch-3
jonniebigodes Oct 8, 2023
455c704
Merge branch 'next' into patch-1
jonniebigodes Oct 8, 2023
162bbf3
Merge pull request #24403 from bkfarnsworth/patch-1
jonniebigodes Oct 8, 2023
c74abef
fix: pass when callee.name equals local.name
yoshi2no Oct 8, 2023
83c5b00
fix: use imported.name as a functionName
yoshi2no Oct 8, 2023
c304067
feat: update test of TransformFontImports
yoshi2no Oct 8, 2023
3368b85
Merge pull request #24382 from storybookjs/release-to-latest-v2
JReinhold Oct 9, 2023
d36bca3
Write changelog for 7.5.0-alpha.5 [skip ci]
storybook-bot Oct 9, 2023
95e642f
comment updates
JReinhold Oct 9, 2023
0c704d8
Merge branch 'next' into bug/24008
JReinhold Oct 9, 2023
ce74d4b
Merge pull request #24407 from storybookjs/version-non-patch-from-7.5…
JReinhold Oct 9, 2023
cbcea15
fix bad non-patch renaming
JReinhold Oct 9, 2023
89af803
Merge pull request #24361 from irangarcia/docs/remove-deprecated-file…
ndelangen Oct 9, 2023
64e1ac9
Merge pull request #24409 from storybookjs/fix-publishing
JReinhold Oct 9, 2023
151440b
Trigger release of 7.5.0-alpha.5 with empty commit [skip ci]
JReinhold Oct 9, 2023
05eb71f
Merge branch 'next' into fix-select-double-spaces
ndelangen Oct 9, 2023
212b2c4
Trigger CI to release 7.5.0-alpha.5 [skip ci]
JReinhold Oct 9, 2023
df45ee6
Trigger CI to release 7.5.0-alpha.5 [skip ci]
JReinhold Oct 9, 2023
77d2da2
Merge pull request #22334 from oxcened/fix-select-double-spaces
ndelangen Oct 9, 2023
270c94d
support javascript in Svelte Vite docgen
JReinhold Oct 9, 2023
6018ef7
Update packages
cdedreuille Oct 9, 2023
4581321
Remove old styles
cdedreuille Oct 9, 2023
3332ca2
Update ScrollArea
cdedreuille Oct 9, 2023
1820326
Fix Sidebar
cdedreuille Oct 9, 2023
cbbdeaa
Change to lowercase
cdedreuille Oct 9, 2023
ccffdc3
Merge pull request #24406 from yoshi2no/fix/rename-font-import/yoshi2no
valentinpalkovic Oct 9, 2023
4dd6782
Fix emotion issues
cdedreuille Oct 9, 2023
7a34d99
Stick with @joshwooding/vite-plugin-react-docgen-typescript: "0.3.0"
IanVS Oct 9, 2023
26bc234
empty commit [skip ci]
vanessayuenn Oct 9, 2023
2660c0a
another empty commit hoping it will trigger a release
vanessayuenn Oct 9, 2023
488a243
Merge branch 'next' into yarn-instructions
jonniebigodes Oct 9, 2023
e03993c
Fix capitalization
jonniebigodes Oct 9, 2023
4b83597
move preparation cancelation to later in the workflow
JReinhold Oct 9, 2023
816e86e
Bump version from "7.5.0-alpha.4" to "7.5.0-alpha.5" [skip ci]
storybook-bot Oct 9, 2023
4d3ff76
Merge branch 'next-release' into next
storybook-bot Oct 9, 2023
0a06536
Merge branch 'next' into yarn-instructions
jonniebigodes Oct 9, 2023
d42aae3
Merge pull request #24386 from storybookjs/yarn-instructions
jonniebigodes Oct 9, 2023
4e3fc89
Merge branch 'next' into vite-5
IanVS Oct 9, 2023
72ab5b3
Update chromatic-github-action.js.mdx
natehouk Oct 10, 2023
beeab50
Merge pull request #24413 from storybookjs/move-scrollarea-to-radix
cdedreuille Oct 10, 2023
1fc5ed4
upgrade to node18 in a backwards compatible way
ndelangen Oct 10, 2023
e9313b7
Update CI to Node.js v18
valentinpalkovic Oct 9, 2023
483eb52
Update @types/node to v18
valentinpalkovic Oct 10, 2023
b078e37
Apply suggestions from code review
ndelangen Oct 10, 2023
b23680c
Merge branch 'valentin/update-to-node-18' into norbert/node18
ndelangen Oct 10, 2023
edd0f61
Replace setting node version to nvmrc
valentinpalkovic Oct 10, 2023
dc9a774
Increase node version in scripts/.babelrc
valentinpalkovic Oct 10, 2023
f67071f
Merge pull request #24426 from storybookjs/norbert/node18
ndelangen Oct 10, 2023
9e1ec61
Update chromatic-github-action.js.mdx
natehouk Oct 10, 2023
7efefba
Merge branch 'next' into shaun/add-theming-icon
jonniebigodes Oct 10, 2023
37f33ab
Merge pull request #24414 from storybookjs/valentin/update-to-node-18
valentinpalkovic Oct 11, 2023
3146415
Add argsToTemplate helper function
valentinpalkovic Oct 11, 2023
c769e4b
Rewrite Angular Stories to CSF 3
valentinpalkovic Oct 11, 2023
a42f7b9
Support event bindings in argsToTemplate
valentinpalkovic Oct 11, 2023
79c2381
Update docs to mention argsToTemplate
valentinpalkovic Oct 11, 2023
7bec7b3
Replace 'storyName' with 'name' in Angular stories
valentinpalkovic Oct 11, 2023
a1fdb68
Add Stories to cover argsToTemplate functionality
valentinpalkovic Oct 11, 2023
55d6b8d
Web-components: Add Lit3 support
shilman Oct 11, 2023
7f337b1
Merge pull request #24437 from storybookjs/shilman/lit3
shilman Oct 11, 2023
f1494f6
Merge branch 'next' into shaun/add-theming-icon
Oct 11, 2023
1cdee6a
Update README.md gif
Oct 11, 2023
a9d1dfc
Merge pull request #24434 from storybookjs/valentin/angular-args-to-t…
yannbf Oct 11, 2023
f24058b
Merge branch 'next' into next
jonniebigodes Oct 11, 2023
1a455e5
Merge branch 'next' into shaun/add-theming-icon
Oct 11, 2023
77336f2
Merge branch 'next' into vite-5
IanVS Oct 11, 2023
1a16894
Addon: Add catalog icon for addon-themes #23995
Oct 11, 2023
a74ba7c
Merge branch 'next' into next
jonniebigodes Oct 11, 2023
0b5697f
Merge pull request #24054 from natehouk/next
jonniebigodes Oct 11, 2023
87ad0ab
Write changelog for 7.5.0-alpha.6 [skip ci]
storybook-bot Oct 11, 2023
e487766
Merge pull request #24419 from storybookjs/version-non-patch-from-7.5…
shilman Oct 12, 2023
25af33c
Bump version from "7.5.0-alpha.5" to "7.5.0-alpha.6" [skip ci]
storybook-bot Oct 12, 2023
08d3aac
fix: allow loading standalone directives
osnoser1 Oct 12, 2023
3ea404c
Fix sandbox creation scripts for main and next
valentinpalkovic Oct 12, 2023
e9f2e1f
Merge pull request #24454 from storybookjs/valentin/fix-sandbox-creation
valentinpalkovic Oct 12, 2023
11aeb97
Readd Angular 17 prerelease sandbox
valentinpalkovic Oct 12, 2023
4c43bc5
Add Next.js Canary sandbox
valentinpalkovic Oct 12, 2023
2a8ab8e
Fix CircleCI parallelism
valentinpalkovic Oct 12, 2023
99382b9
Temporarily change ref branch in generate-sandboxes-next.yml
valentinpalkovic Oct 12, 2023
20e69a6
Add inDevelopment for Next.js Prerelease sandbox
valentinpalkovic Oct 12, 2023
8c0453e
Fix creating Nextjs Sandbox
valentinpalkovic Oct 12, 2023
296202b
Temporarily only create angular/prerelease and nextjs/prerelease sand…
valentinpalkovic Oct 12, 2023
c083802
Merge branch 'next' into vite-5
IanVS Oct 12, 2023
10f11ed
Generate all sandboxes again
valentinpalkovic Oct 12, 2023
5f22901
fix: syntax error in property extractor test
osnoser1 Oct 12, 2023
13b5fc7
Merge branch 'next' into bugfix/standalone-angular-directives
osnoser1 Oct 12, 2023
6da3c0d
Fix Next.js canary
valentinpalkovic Oct 12, 2023
3c0f77a
Fix parallelism config for CircleCI
valentinpalkovic Oct 12, 2023
62e4b47
Revert ref in genreate-sandboxes-next.yml
valentinpalkovic Oct 12, 2023
66b15ff
Update code/frameworks/nextjs/src/dependency-map.ts
valentinpalkovic Oct 12, 2023
c8ec3a6
Fix Next.js 12
valentinpalkovic Oct 12, 2023
eb52b37
Fix Next.js default sandboxes
valentinpalkovic Oct 12, 2023
74bd3b0
Fix Next.js 12
valentinpalkovic Oct 12, 2023
6b2150c
Merge pull request #24453 from storybookjs/valentin/setup-sandboxes
valentinpalkovic Oct 12, 2023
8b0ffb0
Merge branch 'next' into vite-5
IanVS Oct 13, 2023
a427c33
Merge pull request #24395 from storybookjs/vite-5
JReinhold Oct 13, 2023
84d046d
Merge branch 'next' into bugfix/standalone-angular-directives
valentinpalkovic Oct 13, 2023
3a77b6c
Merge branch 'next' into bug/24008
JReinhold Oct 13, 2023
048272f
Merge pull request #24448 from osnoser1/bugfix/standalone-angular-dir…
valentinpalkovic Oct 13, 2023
995e064
Merge pull request #24096 from j3rem1e/bug/24008
yannbf Oct 13, 2023
c0f87fb
Write changelog for 7.5.0-alpha.7 [skip ci]
storybook-bot Oct 13, 2023
7036b77
Merge pull request #24455 from storybookjs/version-non-patch-from-7.5…
yannbf Oct 13, 2023
0a6e94c
Bump version from "7.5.0-alpha.6" to "7.5.0-alpha.7" [skip ci]
storybook-bot Oct 13, 2023
78297c6
use logger.warn on warnings
yannbf Oct 13, 2023
37632ba
set explicit version when using is-prerelease check
JReinhold Oct 15, 2023
d4fdd00
Merge pull request #24479 from storybookjs/fix-prerelease-detection
JReinhold Oct 15, 2023
9c5cd7f
Don't cancel non-patch preparation when triggered manually
JReinhold Oct 15, 2023
202d918
Merge pull request #24480 from storybookjs/dont-cancel-manual-run
JReinhold Oct 15, 2023
86ca497
Merge pull request #24472 from storybookjs/yann/use-warn-instead-of-e…
yannbf Oct 16, 2023
7ff8c70
Write changelog for 7.5.0 [skip ci]
storybook-bot Oct 17, 2023
7d3e225
Merge latest-release into version-non-patch-from-7.5.0-alpha.7 with c…
yannbf Oct 17, 2023
f76c69a
add changelog for 7.5.0 [skip ci]
yannbf Oct 17, 2023
0e1b990
fix merge conflicts
yannbf Oct 17, 2023
0a6b508
add className so colors are applied in syntaxhighlighter
ndelangen Oct 17, 2023
8133ead
fix e2e test flake
yannbf Oct 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ executors:
default: 'small'
working_directory: /tmp/storybook
docker:
- image: cimg/node:16.20.0
- image: cimg/node:18.18.0
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
Expand All @@ -30,7 +30,7 @@ executors:
default: 'small'
working_directory: /tmp/storybook
docker:
- image: cimg/node:16.20.0-browsers
- image: cimg/node:18.18.0-browsers
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
Expand Down Expand Up @@ -609,30 +609,30 @@ workflows:
requires:
- build
- create-sandboxes:
parallelism: 34
parallelism: 36
requires:
- build
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 34
parallelism: 36
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 31
parallelism: 33
requires:
- build-sandboxes
- e2e-production:
parallelism: 31
parallelism: 33
requires:
- build-sandboxes
- e2e-dev:
parallelism: 4
requires:
- create-sandboxes
- test-runner-production:
parallelism: 31
parallelism: 33
requires:
- build-sandboxes
# TODO: reenable once we find out the source of flakyness
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/**/.yarn/** linguist-generated
* -text
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ body:
attributes:
label: System
description: Please paste the results of `npx storybook@latest info` here.
render: shell
render: bash
- type: textarea
id: context
attributes:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/generate-sandboxes-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
CLEANUP_SANDBOX_NODE_MODULES: true
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
with:
ref: main
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Setup git user
run: |
git config --global user.name "Storybook Bot"
Expand All @@ -43,7 +43,7 @@ jobs:
run: yarn wait-on http://localhost:6001
working-directory: ./code
- name: Generate
run: yarn generate-sandboxes --local-registry --exclude=angular-cli/prerelease
run: yarn generate-sandboxes --local-registry
working-directory: ./code
- name: Publish
run: yarn publish-sandboxes --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/sandboxes.git --push --branch=main
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/generate-sandboxes-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
CLEANUP_SANDBOX_NODE_MODULES: true
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/checkout@v3
with:
ref: next
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Setup git user
run: |
git config --global user.name "Storybook Bot"
Expand All @@ -43,7 +43,7 @@ jobs:
run: yarn wait-on http://localhost:6001
working-directory: ./code
- name: Generate
run: yarn generate-sandboxes --local-registry --exclude=angular-cli/prerelease --debug
run: yarn generate-sandboxes --local-registry --debug
working-directory: ./code
- name: Publish
run: yarn publish-sandboxes --remote=https://storybook-bot:${{ secrets.PAT_STORYBOOK_BOT}}@github.com/storybookjs/sandboxes.git --push --branch=next
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Prepare prerelease PR
run-name: Prepare prerelease PR, triggered by ${{ github.triggering_actor }}
name: Prepare non-patch PR
run-name: Prepare non-patch PR, triggered by ${{ github.triggering_actor }}

on:
push:
Expand Down Expand Up @@ -34,8 +34,8 @@ concurrency:
cancel-in-progress: true

jobs:
prepare-prerelease-pull-request:
name: Prepare prerelease pull request
prepare-non-patch-pull-request:
name: Prepare non-patch pull request
runs-on: ubuntu-latest
environment: release
defaults:
Expand Down Expand Up @@ -93,13 +93,14 @@ jobs:
run: git fetch --tags origin

- name: Check for unreleased changes
if: github.event_name != 'workflow_dispatch'
id: unreleased-changes
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:unreleased-changes-exists

- name: Cancel when no release necessary
if: steps.unreleased-changes.outputs.has-changes-to-release == 'false'
if: steps.unreleased-changes.outputs.has-changes-to-release == 'false' && github.event_name != 'workflow_dispatch'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# From https://stackoverflow.com/a/75809743
Expand All @@ -112,21 +113,37 @@ jobs:
run: |
yarn release:version --deferred --release-type ${{ inputs.release-type || 'prerelease' }} ${{ inputs.pre-id && format('{0} {1}', '--pre-id', inputs.pre-id) || '' }} --verbose

- name: Check release vs prerelease
id: is-prerelease
run: yarn release:is-prerelease ${{ steps.bump-version.outputs.next-version }} --verbose

- name: Write changelog
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn release:write-changelog ${{ steps.bump-version.outputs.next-version }} --verbose

- name: 'Commit changes to branch: version-prerelease-from-${{ steps.bump-version.outputs.current-version }}'
- name: 'Commit changes to branch: version-non-patch-from-${{ steps.bump-version.outputs.current-version }}'
working-directory: .
run: |
git config --global user.name 'storybook-bot'
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
git checkout -b version-prerelease-from-${{ steps.bump-version.outputs.current-version }}
git checkout -b version-non-patch-from-${{ steps.bump-version.outputs.current-version }}
git add .
git commit -m "Write changelog for ${{ steps.bump-version.outputs.next-version }} [skip ci]" || true
git push --force origin version-non-patch-from-${{ steps.bump-version.outputs.current-version }}

- name: Resolve merge-conflicts with base branch
if: steps.is-prerelease.outputs.prerelease == 'false'
working-directory: .
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config pull.rebase false
git pull --no-commit --no-ff origin latest-release || true
git checkout --ours .
git add .
git commit -m "Write changelog for ${{ steps.bump-version.outputs.next-version }}" || true
git push --force origin version-prerelease-from-${{ steps.bump-version.outputs.current-version }}
git commit --no-verify -m "Merge latest-release into version-non-patch-from-${{ steps.bump-version.outputs.current-version }} with conflicts resolved to ours [skip ci]"

- name: Generate PR description
id: description
Expand All @@ -144,14 +161,15 @@ jobs:
gh pr edit \
--repo "${{github.repository }}" \
--title "Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \
--base ${{ steps.is-prerelease.outputs.prerelease == 'true' && 'next-release' || 'latest-release' }} \
--body "${{ steps.description.outputs.description }}"
else
gh pr create \
--repo "${{github.repository }}"\
--title "Release: $CAPITALIZED_RELEASE_TYPE ${{ inputs.pre-id && format('{0} ', inputs.pre-id) }}${{ steps.bump-version.outputs.next-version }}" \
--label "release" \
--base next-release \
--head version-prerelease-from-${{ steps.bump-version.outputs.current-version }} \
--base ${{ steps.is-prerelease.outputs.prerelease == 'true' && 'next-release' || 'latest-release' }} \
--head version-non-patch-from-${{ steps.bump-version.outputs.current-version }} \
--body "${{ steps.description.outputs.description }}"
fi

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ jobs:
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
yarn release:pick-patches

- name: Cancel when no patches to pick
if: steps.pick-patches.outputs.pr-count == '0' && steps.pick-patches.outputs.pr-count != null
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# From https://stackoverflow.com/a/75809743
run: |
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}

- name: Bump version deferred
id: bump-version
if: steps.unreleased-changes.outputs.has-changes-to-release == 'true'
Expand Down Expand Up @@ -121,7 +130,7 @@ jobs:
git config --global user.email '32066757+storybook-bot@users.noreply.github.com'
git checkout -b version-patch-from-${{ steps.versions.outputs.current }}
git add .
git commit -m "Write changelog for ${{ steps.versions.outputs.next }}" || true
git commit -m "Write changelog for ${{ steps.versions.outputs.next }} [skip ci]" || true
git push --force origin version-patch-from-${{ steps.versions.outputs.current }}

- name: Generate PR description
Expand Down
33 changes: 22 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,12 @@ jobs:
run: |
yarn install

- name: Cancel all release preparation runs
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:cancel-preparation-runs

- name: Apply deferred version bump and commit
id: version-bump
working-directory: .
run: |
CURRENT_VERSION=$(cat ./code/package.json | jq '.version')
Expand Down Expand Up @@ -94,7 +98,7 @@ jobs:
- name: Check release vs prerelease
if: steps.publish-needed.outputs.published == 'false'
id: is-prerelease
run: yarn release:is-prerelease
run: yarn release:is-prerelease ${{ steps.version.outputs.current-version }} --verbose

- name: Install code dependencies
if: steps.publish-needed.outputs.published == 'false'
Expand Down Expand Up @@ -122,12 +126,11 @@ jobs:
run: git fetch --tags origin

# when this is a patch release from main, label any patch PRs included in the release
# when this is a stable release from next, label ALL patch PRs found, as they will per definition be "patched" now
- name: Label patch PRs as picked
if: github.ref_name == 'latest-release' || (steps.publish-needed.outputs.published == 'false' && steps.target.outputs.target == 'next' && !steps.is-prerelease.outputs.prerelease)
if: github.ref_name == 'latest-release'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:label-patches ${{ steps.target.outputs.target == 'next' && '--all' || '' }}
run: yarn release:label-patches

- name: Create GitHub Release
if: steps.publish-needed.outputs.published == 'false'
Expand All @@ -151,16 +154,28 @@ jobs:
git merge ${{ github.ref_name }}
git push origin ${{ steps.target.outputs.target }}

- name: Ensure `next` is a minor version ahead of `main`
if: steps.target.outputs.target == 'main'
run: |
git checkout next
git pull

yarn release:ensure-next-ahead --main-version "${{ steps.version.outputs.current-version }}"

git add ..
git commit -m "Bump next to be one minor ahead of main [skip ci]"
git push origin next

- name: Sync CHANGELOG.md from `main` to `next`
if: github.ref_name == 'latest-release'
if: steps.target.outputs.target == 'main'
working-directory: .
run: |
git fetch origin next
git checkout next
git pull
git checkout origin/main ./CHANGELOG.md
git add ./CHANGELOG.md
git commit -m "Update CHANGELOG.md for v${{ steps.version.outputs.current-version }} [skip ci]"
git commit -m "Update CHANGELOG.md for v${{ steps.version.outputs.current-version }} [skip ci]" || true
git push origin next

- name: Sync version JSONs from `next-release` to `main`
Expand All @@ -176,10 +191,6 @@ jobs:
git commit -m "Update $VERSION_FILE for v${{ steps.version.outputs.current-version }}"
git push origin main

- name: Overwrite main with next
if: steps.target.outputs.target == 'next' && steps.is-prerelease.outputs.prerelease == 'false'
run: git push --force origin next:main

- name: Report job failure to Discord
if: failure()
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ on:

jobs:
build:
name: Core Unit Tests node-${{ matrix.node_version }}, ${{ matrix.os }}
name: Core Unit Tests, ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
node_version: [16]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set node version to ${{ matrix.node_version }}
- name: Set node version
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
node-version-file: '.nvmrc'
- name: install and compile
run: yarn task --task compile --start-from=auto --no-link
- name: test
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20
18.18
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
## 7.5.0

Storybook 7.5 enhances your Storybook experience with several key updates:

- 💃🏼 Now supports Lit 3.0 and Vite 5
- 👻 storiesOf and storyStoreV6 officially deprecated
- 🔨 Fix Webpack5 build errors not being propagated
- 🀄 Support rename font import for Next.js
- ⬆️ Upgrade react-docgen to 6.0.x and improve argTypes
- ✨ Many Angular improvements such as introducing argsToTemplate , new schema debugging options, support for standalone directives, etc.
<details>
<summary>
List of all updates
</summary>

- Angular: Introduce argsToTemplate for property and event Bindings - [#24434](https://github.com/storybookjs/storybook/pull/24434), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Angular: Add schema options (debugWebpack, webpackStatsJson, and more) - [#24388](https://github.com/storybookjs/storybook/pull/24388), thanks [@yannbf](https://github.com/yannbf)!
- Angular: Categorize legacy build options error - [#24014](https://github.com/storybookjs/storybook/pull/24014), thanks [@yannbf](https://github.com/yannbf)!
- Angular: Fix Angular 15 support and add zone.js v0.14.x support - [#24367](https://github.com/storybookjs/storybook/pull/24367), thanks [@valentinpalkovic](https://github.com/valentinpalkovic)!
- Angular: Allow loading standalone directives - [#24448](https://github.com/storybookjs/storybook/pull/24448), thanks [@osnoser1](https://github.com/osnoser1)!
- CLI: Inform the user how to dedupe and strip color from info command - [#24087](https://github.com/storybookjs/storybook/pull/24087), thanks [@kasperpeulen](https://github.com/kasperpeulen)!
- CLI: Add more information to storybook info command - [#24003](https://github.com/storybookjs/storybook/pull/24003), thanks [@JReinhold](https://github.com/JReinhold)!
- CLI: Change /Date$/ to /Dates$/i - [#24195](https://github.com/storybookjs/storybook/pull/24195), thanks [@arup1221](https://github.com/arup1221)!
- CLI: Improve sanitization logic in crash reports - [#24028](https://github.com/storybookjs/storybook/pull/24028), thanks [@yannbf](https://github.com/yannbf)!
- CLI: Remove random commas in storybook upgrade logs - [#22333](https://github.com/storybookjs/storybook/pull/22333), thanks [@joaonunomota](https://github.com/joaonunomota)!
- Controls: Fix select / multiselect when value contains multiple spaces - [#22334](https://github.com/storybookjs/storybook/pull/22334), thanks [@oxcened](https://github.com/oxcened)!
- Core: Add class name to Storybook error name - [#24371](https://github.com/storybookjs/storybook/pull/24371), thanks [@yannbf](https://github.com/yannbf)!
- Core: Deprecate storyStoreV6 (including storiesOf) and storyIndexers - [#23938](https://github.com/storybookjs/storybook/pull/23938), thanks [@JReinhold](https://github.com/JReinhold)!
- Doc Blocks: Add title to Meta prop types - [#23370](https://github.com/storybookjs/storybook/pull/23370), thanks [@iqbalcodes6602](https://github.com/iqbalcodes6602)!
- ManagerAPI: Fix bug with story redirection when URL has partial storyId - [#24345](https://github.com/storybookjs/storybook/pull/24345), thanks [@ndelangen](https://github.com/ndelangen)!
- NextJS: Support rename font import - [#24406](https://github.com/storybookjs/storybook/pull/24406), thanks [@yoshi2no](https://github.com/yoshi2no)!
- NextJS: Change babel plugins from proposal-... to transform-... - [#24290](https://github.com/storybookjs/storybook/pull/24290), thanks [@roottool](https://github.com/roottool)!
- NextJS: Fix default next image loader when src has params - [#24187](https://github.com/storybookjs/storybook/pull/24187), thanks [@json-betsec](https://github.com/json-betsec)!
- NextJS: Fix Image Context re-use via singleton - [#24146](https://github.com/storybookjs/storybook/pull/24146), thanks [@martinnabhan](https://github.com/martinnabhan)!
- NextJS: Improve support for Windows-style paths - [#23695](https://github.com/storybookjs/storybook/pull/23695), thanks [@T99](https://github.com/T99)!
- React: Upgrade `react-docgen` to `6.0.x` and improve argTypes - [#23825](https://github.com/storybookjs/storybook/pull/23825), thanks [@shilman](https://github.com/shilman)!
- Svelte: Fix docs generating when using `lang="ts"` or optional chaining - [#24096](https://github.com/storybookjs/storybook/pull/24096), thanks [@j3rem1e](https://github.com/j3rem1e)!
- UI: Filter some manager errors - [#24217](https://github.com/storybookjs/storybook/pull/24217), thanks [@yannbf](https://github.com/yannbf)!
- UI: Update ScrollArea with radix - [#24413](https://github.com/storybookjs/storybook/pull/24413), thanks [@cdedreuille](https://github.com/cdedreuille)!
- UI: Improve contrast ratio between focus / hover - [#24205](https://github.com/storybookjs/storybook/pull/24205), thanks [@chocoscoding](https://github.com/chocoscoding)!
- Vite: Move mdx-plugin from `@storybook/builder-vite` to `@storybook/addon-docs` - [#24166](https://github.com/storybookjs/storybook/pull/24166), thanks [@bryanjtc](https://github.com/bryanjtc)!
- Vite: Support Vite 5 - [#24395](https://github.com/storybookjs/storybook/pull/24395), thanks [@IanVS](https://github.com/IanVS)!
- Web-components: Add Lit3 support - [#24437](https://github.com/storybookjs/storybook/pull/24437), thanks [@shilman](https://github.com/shilman)!
- Webpack: Display errors on build - [#24377](https://github.com/storybookjs/storybook/pull/24377), thanks [@yannbf](https://github.com/yannbf)!
- Webpack: Categorize builder error - [#24031](https://github.com/storybookjs/storybook/pull/24031), thanks [@yannbf](https://github.com/yannbf)!
- Webpack: Use logger.warn on warnings - [#24472](https://github.com/storybookjs/storybook/pull/24472), thanks [@yannbf](https://github.com/yannbf)!
</details>


## 7.4.6

- CLI: Fix Nextjs project detection - [#24346](https://github.com/storybookjs/storybook/pull/24346), thanks [@yannbf](https://github.com/yannbf)!
Expand Down
Loading