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

TEST3 Release: Prerelease 7.5.0-alpha.5 #24385

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
547 commits
Select commit Hold shift + click to select a range
939bf89
Adds video to the Install page
jonniebigodes Sep 11, 2023
b253aeb
Adds conditional render to the Styling and CSS docs
jonniebigodes Sep 11, 2023
0600f1f
Merge branch 'next' into rename-index-fn
JReinhold Sep 12, 2023
e11c946
align the icon
ndelangen Sep 12, 2023
9a2bc75
Merge pull request #24075 from storybookjs/rename-index-fn
JReinhold Sep 12, 2023
6860953
regen lockfiles
ndelangen Sep 12, 2023
966aa79
cleanup
ndelangen Sep 12, 2023
6235cab
downgrade swc/core because of https://github.com/TypeStrong/ts-node/i…
ndelangen Sep 12, 2023
87ca927
fix types issues, after upgrading by regenerating lockfiles
ndelangen Sep 12, 2023
dd31957
fix linting after
ndelangen Sep 12, 2023
291fb03
downgrade zone.js
ndelangen Sep 12, 2023
10efbd5
downgrade zone.js
ndelangen Sep 12, 2023
22bc762
Merge pull request #24110 from storybookjs/kasper/fix-types
kasperpeulen Sep 12, 2023
a985a6f
downgrade of sb/jest and sb/expect and add prettier types
ndelangen Sep 12, 2023
4f6881e
downgrade overlayscrollbars
ndelangen Sep 12, 2023
49f7577
Merge branch 'next' into norbert/regen-lockfile-september
ndelangen Sep 12, 2023
5446cc0
Merge branch 'next' into docs_add_video_install
jonniebigodes Sep 12, 2023
323b0bf
do not override the path fill if the path has a fill of it's own
ndelangen Sep 12, 2023
b8eb185
add 2 stories for testing the colored left icon in active list
ndelangen Sep 12, 2023
86c218b
Remove unnecessary cast
kasperpeulen Sep 12, 2023
4be9ce5
UI: fix keydown focusInInput check when input is in a shadow dom
stropitek Sep 12, 2023
f86a652
Merge pull request #24152 from storybookjs/norbert/regen-lockfile-sep…
ndelangen Sep 12, 2023
5dce21a
Merge branch 'next' into docs_add_video_install
jonniebigodes Sep 12, 2023
01aa0e8
Merge pull request #24144 from storybookjs/docs_add_video_install
jonniebigodes Sep 12, 2023
cd3e9bd
Merge branch 'next' into add_conditional_render_styling_docs
jonniebigodes Sep 12, 2023
bad34e1
Merge pull request #22677 from sookmax/node-options-quotes
JReinhold Sep 12, 2023
f626c74
docs(vite): add the option to install via pnpm
pure-js Sep 13, 2023
65bca16
fix(builder-vite): Fix missing @storybook/addon-docs dependency
bryanjtc Sep 13, 2023
0545e3b
Merge branch 'next' into norbert/improve-status-ui-sidebar
ndelangen Sep 13, 2023
5df147c
Merge branch 'next' into norbert/improve-svg-recoloration
ndelangen Sep 13, 2023
dd1b48d
explicitly disable crlf to match prettier rules
decherneyge Sep 13, 2023
796f4a5
Merge branch 'next' into shilman/fix-react-docgen-enum
shilman Sep 13, 2023
d620a34
Update snapshots for improved react-docgen enum handling
shilman Sep 13, 2023
0ae48b0
Merge pull request #24164 from decherneyge/my-first-storybook-contrib…
ndelangen Sep 14, 2023
2330cb6
pixel shifting shenanigans
ndelangen Sep 14, 2023
33e042d
Merge branch 'next' into norbert/improve-status-ui-sidebar
ndelangen Sep 14, 2023
f5e2565
bump up esbuild-register to 3.5.0
Sep 14, 2023
9c49e16
Merge pull request #24099 from storybookjs/norbert/improve-status-ui-…
ndelangen Sep 14, 2023
624cb51
Merge branch 'next' into bump-up/esbuild-register
ndelangen Sep 14, 2023
588643e
fix lockfile
ndelangen Sep 14, 2023
72400c6
Merge pull request #24156 from storybookjs/norbert/improve-svg-recolo…
ndelangen Sep 14, 2023
c05b719
throw an error when critical presets fail to load
yannbf Sep 14, 2023
1c7e01f
throw error when Storybook builder is missing
yannbf Sep 14, 2023
2b68630
migrate from config to previewAnnotations
yannbf Sep 14, 2023
9e7c93b
Merge pull request #22221 from bdriguesdev/fix/tree-node-alignment
ndelangen Sep 14, 2023
52aeae7
Docs: Update link to Story "Parameters" section
kBazilio Sep 14, 2023
fe6f5d7
Move mdx plugin from builder-vite to addon-docs
bryanjtc Sep 14, 2023
d8a0049
Await mdxPlugin
bryanjtc Sep 14, 2023
3acfceb
Replace createFilter import from vite with @rollup/pluginutils
bryanjtc Sep 14, 2023
39fa071
Use StorybookConfig type from @storybook/builder-vite
bryanjtc Sep 14, 2023
ab089d4
Replace parameter for mdxPlugin
bryanjtc Sep 14, 2023
aabf48e
Move mdxPlugin import
bryanjtc Sep 14, 2023
fc7fc7f
Replace types in viteFinal to fix error
bryanjtc Sep 14, 2023
72a8744
Fix default next image loader when src has params
hazzard993 Sep 15, 2023
1964e33
Merge pull request #24180 from kBazilio/parameters-doc-link-update
kasperpeulen Sep 15, 2023
d91b7d1
Merge pull request #24175 from anneau/bump-up/esbuild-register
kasperpeulen Sep 15, 2023
896b2e7
Merge pull request #24178 from storybookjs/yann/nextjs-config-to-prev…
ndelangen Sep 15, 2023
0b5dc9a
Merge pull request #24176 from storybookjs/yann/critical-preset-error
yannbf Sep 15, 2023
3d0d8a1
Merge pull request #24177 from storybookjs/yann/missing-sb-builder-error
yannbf Sep 15, 2023
9c6469d
Update CHANGELOG.md for v7.4.2 [skip ci]
storybook-bot Sep 15, 2023
984d156
Use URL to fix next image loader src params
hazzard993 Sep 15, 2023
c4ba760
Remove double default in next image default loader
hazzard993 Sep 15, 2023
41a1ee3
Change the Date$/ to Dates$/i
arup1221 Sep 15, 2023
c823fac
Merge branch 'next' into docs-add-pnpm-option-to-vite-build-page
jonniebigodes Sep 16, 2023
0e4106b
Merge branch 'next' into fix/hover-color-inconsistency
yoshi2no Sep 16, 2023
7f98bff
fix: #22199 modify LeafNodeStyleWrapper hover and focus background
yoshi2no Sep 16, 2023
04ced71
Merge pull request #24160 from pure-js/docs-add-pnpm-option-to-vite-b…
jonniebigodes Sep 16, 2023
9f73c2e
Upgrade Chromatic addon to v77 and use `chromatic.config.json`
tmeasday Sep 18, 2023
f97552c
(fix):Adjust the contrast ratio for focus and hover
chocoscoding Sep 18, 2023
3dbf199
Merge branch 'next' into next
chocoscoding Sep 18, 2023
a941216
Merge branch 'next' into make-font-failed-to-load-error-message-useful
yannbf Sep 18, 2023
dd144a0
Merge pull request #23891 from nsheaps/make-font-failed-to-load-error…
yannbf Sep 18, 2023
f395933
Merge pull request #24160 from pure-js/docs-add-pnpm-option-to-vite-b…
ndelangen Sep 18, 2023
7add65b
enable sandbox filtering
ndelangen Sep 18, 2023
836bea3
wip
ndelangen Sep 18, 2023
2bf4dc5
Merge pull request #24206 from storybookjs/norbert/improve-type-of-st…
ndelangen Sep 18, 2023
7758e8f
Keep the previous providerImportSource value
bryanjtc Sep 18, 2023
73183e9
filter some manager errors
yannbf Sep 18, 2023
5d4c78c
Discard changes to .github/workflows/generate-sandboxes-next.yml
ndelangen Sep 18, 2023
29ea85e
Update .github/workflows/generate-sandboxes-next.yml
ndelangen Sep 18, 2023
f49c9a2
Merge pull request #24208 from storybookjs/norbert/filter-angular-pre…
ndelangen Sep 19, 2023
63f3384
Merge pull request #24217 from storybookjs/yann/filter-certain-manage…
yannbf Sep 19, 2023
c297b5d
fix `sb add` adding the same addon even if already present
ndelangen Sep 19, 2023
b3983c3
Merge branch 'next' into fix/hover-color-inconsistency
cdedreuille Sep 19, 2023
4fbbc31
Merge branch 'next' into nextjs-precompiled-react
yannbf Sep 19, 2023
d4d799c
Merge pull request #23976 from mastrzyz/mastrzyz/remove_concurency_ts…
yannbf Sep 19, 2023
0370753
Merge branch 'next' into seriouz-next
ndelangen Sep 19, 2023
26806a5
Merge branch 'next' into kasper/strict-ts-backgrounds
yannbf Sep 19, 2023
a683939
Merge branch 'next' into fix-next-image-search-params
ndelangen Sep 19, 2023
cee6a1e
cleanup
ndelangen Sep 19, 2023
93aa568
Merge pull request #1 from seriouz/next
seriouz Sep 19, 2023
80e55ea
Merge pull request #24203 from storybookjs/upgrade-to-VT-version-77
ndelangen Sep 19, 2023
e00fe77
Merge branch 'next' into nextjs-precompiled-react
ndelangen Sep 19, 2023
5c9099c
Merge branch 'next' into expand-refs
ndelangen Sep 19, 2023
c548c72
Merge branch 'next' into 24120-fix-date
arup1221 Sep 19, 2023
aae03b0
Merge pull request #22178 from storybookjs/kasper/strict-ts-backgrounds
ndelangen Sep 19, 2023
cf5519b
Merge pull request #24232 from seriouz/next_20230919
ndelangen Sep 19, 2023
85ce31e
Merge pull request #23781 from joaonunomota/expand-refs
ndelangen Sep 19, 2023
48356ea
fix lockfile
ndelangen Sep 19, 2023
f02573f
Merge branch 'next' into pr/arup1221/24195
ndelangen Sep 19, 2023
def1784
fix snapshots
ndelangen Sep 19, 2023
2b9bf9a
Merge pull request #23671 from sookmax/nextjs-precompiled-react
ndelangen Sep 19, 2023
16968f0
implement fallback to composedPath in the unlikely case that it doesn…
stropitek Sep 19, 2023
0f5e6c1
Move @rollup/pluginutils to devDependencies
bryanjtc Sep 19, 2023
927bdd9
light mode error fix
chocoscoding Sep 19, 2023
e15e51d
Merge branch 'next' into next
chocoscoding Sep 19, 2023
8beddfa
hoverable color change
chocoscoding Sep 19, 2023
08ae741
Merge pull request #24195 from arup1221/24120-fix-date
ndelangen Sep 19, 2023
b2c69ee
Merge pull request #22262 from yoshi2no/fix/hover-color-inconsistency
ndelangen Sep 19, 2023
960154a
Merge pull request #23932 from mastrzyz/mastrzyz/fix_two_ts_tests
ndelangen Sep 19, 2023
9439d4c
Merge branch 'next' into next
ndelangen Sep 19, 2023
04a5b3e
Merge branch 'next' into next
chocoscoding Sep 19, 2023
4a29bbb
Merge pull request #24229 from storybookjs/norbert/sb-add-no-duplicat…
yannbf Sep 20, 2023
ffd4e53
fix a bug in useAddonState when using a setter function
ndelangen Sep 20, 2023
901f2ae
Merge branch 'next' into norbert/use-addon-state-bug
ndelangen Sep 20, 2023
80ee481
Make Nextjs 13.5 work again by mapping it's dependencies to aliasses
ndelangen Sep 20, 2023
0d827bf
Merge pull request #24179 from stropitek/fix-shortcuts-shadow-dom
ndelangen Sep 20, 2023
1ce0548
improve the mapping of versions so we can easily change which version…
ndelangen Sep 20, 2023
da8f097
Merge branch 'next' into norbert/fix-nextjs-13-5-compatibility
ndelangen Sep 20, 2023
afe4c53
Apply suggestions from code review
ndelangen Sep 20, 2023
85b63e0
Merge pull request #24239 from storybookjs/norbert/fix-nextjs-13-5-co…
ndelangen Sep 20, 2023
64d4536
Update CHANGELOG.md for v7.4.3 [skip ci]
storybook-bot Sep 20, 2023
c4feec4
Merge branch 'next' into norbert/use-addon-state-bug
ndelangen Sep 20, 2023
ec0aaba
Merge pull request #24237 from storybookjs/norbert/use-addon-state-bug
ndelangen Sep 20, 2023
a49d41b
WIP: Add indexers API reference
kylegach Aug 31, 2023
db17655
indexFn -> createIndex, as per https://github.com/storybookjs/storybo…
JReinhold Sep 8, 2023
0e0ab5c
add indexer title code snippets
JReinhold Sep 8, 2023
907ff2a
add example for json stories
JReinhold Sep 8, 2023
ade1681
replace examples with real use cases
JReinhold Sep 8, 2023
ab79dfc
add ts 4.9 snippets.
JReinhold Sep 8, 2023
59ff6d1
Further improvements
kylegach Sep 12, 2023
48e5a2c
Fix broken link
kylegach Sep 12, 2023
f56d8f0
Revise architectural diagrams
kylegach Sep 14, 2023
3f60b60
Adjust related docs
kylegach Sep 20, 2023
1a0d84f
Merge pull request #23947 from storybookjs/indexer-api-ref
kylegach Sep 20, 2023
34db5b2
Merge branch 'next' into next
chocoscoding Sep 20, 2023
c1e3a99
Write changelog for 7.5.0-alpha.3
storybook-bot Sep 21, 2023
cb39a1f
Merge branch 'next' into fix-next-image-search-params
ndelangen Sep 21, 2023
855ab5f
Merge pull request #24138 from storybookjs/version-prerelease-from-7.…
vanessayuenn Sep 21, 2023
a12a65b
Bump version from "7.5.0-alpha.2" to "7.5.0-alpha.3" [skip ci]
storybook-bot Sep 21, 2023
5ef917a
feat: Convert from proposal plugins to transform plugins
roottool Sep 21, 2023
25e38c0
add an await when setting state
ndelangen Sep 22, 2023
45f6153
Merge pull request #24268 from storybookjs/norbert/await-setState-in-…
ndelangen Sep 22, 2023
961790e
Merge branch 'next' into next
cdedreuille Sep 22, 2023
379d1b0
Merge pull request #24205 from chocoscoding/next
cdedreuille Sep 22, 2023
df96c9d
Update CHANGELOG.md for v7.4.4 [skip ci]
storybook-bot Sep 22, 2023
b308e54
Merge pull request #24166 from storybookjs/fix-yarn-pnp
ndelangen Sep 22, 2023
2fa0afa
cancel an action when the PR count is 0
ndelangen Sep 22, 2023
cf3fdaf
Merge pull request #24274 from storybookjs/norbert/gh-pr-creation-bug…
ndelangen Sep 22, 2023
00a9089
Merge branch 'next' of github.com:storybookjs/storybook into release-…
JReinhold Sep 24, 2023
4bf6ba4
cleanup
JReinhold Sep 24, 2023
25ebf5c
fix type errors
JReinhold Sep 24, 2023
26a8309
Merge branch 'next' into feature/24070/convert-babel-plugins
roottool Sep 24, 2023
09c793b
add missing dependency in useEffect hook
yannbf Sep 24, 2023
bf3c377
Merge pull request #24291 from storybookjs/yann/fix-infinite-effect-call
shilman Sep 24, 2023
12be604
Revert "Build: Cancel when the PR count is 0"
shilman Sep 24, 2023
43b7366
Merge pull request #24293 from storybookjs/revert-24274-norbert/gh-pr…
shilman Sep 24, 2023
b61d71b
Update storybook-addons-api-usechannel.js.mdx
RohanPoojary1107 Sep 24, 2023
a3cdabb
Update CHANGELOG.md for v7.4.5 [skip ci]
storybook-bot Sep 24, 2023
91f0c28
Merge branch 'next' into patch-1
jonniebigodes Sep 24, 2023
dd44720
Merge branch 'next' of github.com:storybookjs/storybook into deprecat…
JReinhold Sep 25, 2023
bbe075a
deprecate storyIndexers on usage
JReinhold Sep 25, 2023
0b7f436
add docs link to migration
JReinhold Sep 25, 2023
130154b
fix migration title
JReinhold Sep 25, 2023
7e6b56a
add migration note about support both versions
JReinhold Sep 25, 2023
32ba0d9
Merge branch 'next' of github.com:storybookjs/storybook into release-…
JReinhold Sep 25, 2023
9ca7ed4
cancel when 0 patches to pick
JReinhold Sep 25, 2023
22f12e6
temp rename workflow to test
JReinhold Sep 25, 2023
e719c53
try number when reading pr-count
JReinhold Sep 25, 2023
d757590
compare less than 1
JReinhold Sep 25, 2023
01db751
Merge branch 'next' into feature/24070/convert-babel-plugins
roottool Sep 25, 2023
8466a08
check non-null in pr count
JReinhold Sep 25, 2023
d83d422
rename patch workflow
JReinhold Sep 25, 2023
5d07fb4
Updates snippet to reference an existing import
wesgro Sep 28, 2023
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
d2b8721
Merge branch 'next' into feature/24070/convert-babel-plugins
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
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
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
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
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
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
b41f769
Write changelog for 7.5.0-alpha.5 [skip ci]
storybook-bot Oct 5, 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
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -609,30 +609,30 @@ workflows:
requires:
- build
- create-sandboxes:
parallelism: 35
parallelism: 34
requires:
- build
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 35
parallelism: 34
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 32
parallelism: 31
requires:
- build-sandboxes
- e2e-production:
parallelism: 32
parallelism: 31
requires:
- build-sandboxes
- e2e-dev:
parallelism: 4
requires:
- create-sandboxes
- test-runner-production:
parallelism: 32
parallelism: 31
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
3 changes: 1 addition & 2 deletions .github/workflows/canary-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

node-version-file: '.nvmrc'
- name: Cache dependencies
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/danger-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
name: Danger JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- uses: actions/checkout@v3
node-version-file: '.nvmrc'
- name: Danger JS
uses: danger/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-sandboxes-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: yarn wait-on http://localhost:6001
working-directory: ./code
- name: Generate
run: yarn generate-sandboxes --local-registry
run: yarn generate-sandboxes --local-registry --exclude=angular-cli/prerelease
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
2 changes: 1 addition & 1 deletion .github/workflows/generate-sandboxes-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: yarn wait-on http://localhost:6001
working-directory: ./code
- name: Generate
run: yarn generate-sandboxes --local-registry
run: yarn generate-sandboxes --local-registry --exclude=angular-cli/prerelease --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
Expand Up @@ -34,7 +34,7 @@ concurrency:
cancel-in-progress: true

jobs:
prepare-prerelease-pull-request:
prepare-non-patch-pull-request:
name: Prepare prerelease pull request
runs-on: ubuntu-latest
environment: release
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version-file: '.nvmrc'

- name: Cache dependencies
uses: actions/cache@v3
Expand Down Expand Up @@ -112,21 +112,35 @@ 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 }}

- 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 '[email protected]'
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 == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git pull origin latest-release
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 -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 +158,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
13 changes: 11 additions & 2 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version-file: '.nvmrc'

- name: Cache dependencies
uses: actions/cache@v3
Expand Down Expand Up @@ -88,6 +88,15 @@ jobs:
git config --global user.email '[email protected]'
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 '[email protected]'
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
35 changes: 23 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- latest-release
- next-release
- non-patch-release

env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
Expand Down Expand Up @@ -36,6 +36,11 @@ jobs:
gh run cancel ${{ github.run_id }}
gh run watch ${{ github.run_id }}

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

- name: Checkout ${{ github.ref_name }}
uses: actions/checkout@v3
with:
Expand All @@ -45,7 +50,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version-file: '.nvmrc'

- name: Cache dependencies
uses: actions/cache@v3
Expand All @@ -63,7 +68,6 @@ jobs:
yarn install

- 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 @@ -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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ coverage/
/**/LICENSE
code/docs/public
package-lock.json
.nvmrc
storybook-static
.jest-test-results.json
*.jar
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.20
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## 7.4.6

- CLI: Fix Nextjs project detection - [#24346](https://github.com/storybookjs/storybook/pull/24346), thanks [@yannbf](https://github.com/yannbf)!
- Core: Fix missing favicon during dev - [#24356](https://github.com/storybookjs/storybook/pull/24356), thanks [@ndelangen](https://github.com/ndelangen)!

## 7.4.5

- UI: Fix infinite hook call causing browsers to freeze - [#24291](https://github.com/storybookjs/storybook/pull/24291), thanks [@yannbf](https://github.com/yannbf)!

## 7.4.4

- Core: Fix Promise cycle bug in useSharedState - [#24268](https://github.com/storybookjs/storybook/pull/24268), thanks [@ndelangen](https://github.com/ndelangen)!
- Manager: Fix useAddonState when using a setter function - [#24237](https://github.com/storybookjs/storybook/pull/24237), thanks [@ndelangen](https://github.com/ndelangen)!

## 7.4.3

- CLI: Fix `sb add` adding duplicative entries - [#24229](https://github.com/storybookjs/storybook/pull/24229), thanks [@ndelangen](https://github.com/ndelangen)!
- NextJS: Add compatibility with nextjs `13.5` - [#24239](https://github.com/storybookjs/storybook/pull/24239), thanks [@ndelangen](https://github.com/ndelangen)!
- NextJS: Aliases `react` and `react-dom` like `next.js` does - [#23671](https://github.com/storybookjs/storybook/pull/23671), thanks [@sookmax](https://github.com/sookmax)!
- Types: Allow `null` in value of `experimental_updateStatus` to clear status - [#24206](https://github.com/storybookjs/storybook/pull/24206), thanks [@ndelangen](https://github.com/ndelangen)!

## 7.4.2

- Addon API: Improve the updateStatus API - [#24007](https://github.com/storybookjs/storybook/pull/24007), thanks [@ndelangen](https://github.com/ndelangen)!
- Nextjs: Migrate from config to previewAnnotations - [#24178](https://github.com/storybookjs/storybook/pull/24178), thanks [@yannbf](https://github.com/yannbf)!
- UI: Fix SVG override fill when path has a fill attribute - [#24156](https://github.com/storybookjs/storybook/pull/24156), thanks [@ndelangen](https://github.com/ndelangen)!
- UI: Improve look and feel of status UI in sidebar - [#24099](https://github.com/storybookjs/storybook/pull/24099), thanks [@ndelangen](https://github.com/ndelangen)!

## 7.4.1

- CLI: Add uncaughtException handler - [#24018](https://github.com/storybookjs/storybook/pull/24018), thanks [@yannbf](https://github.com/yannbf)!
- CLI: Fix packageManager handling in `sb add` - [#24079](https://github.com/storybookjs/storybook/pull/24079), thanks [@Integrayshaun](https://github.com/Integrayshaun)!
- Core: Add CJS entrypoints to errors in core events - [#24038](https://github.com/storybookjs/storybook/pull/24038), thanks [@yannbf](https://github.com/yannbf)!
- Docs: Fix TOC import - [#24047](https://github.com/storybookjs/storybook/pull/24047), thanks [@shilman](https://github.com/shilman)!
- Telemetry: Filter addon options to protect sensitive info - [#24000](https://github.com/storybookjs/storybook/pull/24000), thanks [@shilman](https://github.com/shilman)!
- Types: Remove `@types/react` dep from `@storybook/types` - [#24042](https://github.com/storybookjs/storybook/pull/24042), thanks [@JReinhold](https://github.com/JReinhold)!
- Vue3: Remove console.log in sourceDecorator - [#24062](https://github.com/storybookjs/storybook/pull/24062), thanks [@oruman](https://github.com/oruman)!

## 7.4.0

- Addon-docs: Resolve `mdx-react-shim` & `@storybook/global` correctly - [#23941](https://github.com/storybookjs/storybook/pull/23941), thanks [@ndelangen](https://github.com/ndelangen)!
Expand Down
Loading