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.1.0-alpha.3 #26539

Merged
merged 229 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
1cc9d97
add example storybook for PW+CY
yannbf Feb 13, 2024
e1feeca
Portable stories: Add support for loaders
yannbf Feb 14, 2024
e335a31
Portable stories: Add tests for React and Vue renderers
yannbf Feb 14, 2024
869f44d
Merge pull request #26027 from storybookjs/feature/portable-stories-l…
yannbf Feb 14, 2024
6cc11ac
"this looks slightly promising" 🤞
JReinhold Feb 14, 2024
34ed041
WIP
yannbf Feb 15, 2024
315629e
add modal example
yannbf Feb 16, 2024
c5a851f
add experimental playwright fixture to portable stories, react
JReinhold Feb 16, 2024
80b1de6
use fixture from @storybook/react in playwright tests
JReinhold Feb 16, 2024
a1db7f6
add CI checks for portable stories tests
yannbf Feb 16, 2024
f56d8f3
fix syntax
yannbf Feb 16, 2024
1428c45
fix cwd
yannbf Feb 16, 2024
71338d4
add latest playwright docker image
yannbf Feb 16, 2024
41e68a9
update cypress commands
yannbf Feb 16, 2024
fc004be
generate .d.ts files for preview entries in addons.
JReinhold Feb 16, 2024
01efb3b
reference preview types in addons' export map
JReinhold Feb 16, 2024
10ec693
Remove unnecessary expect error
JReinhold Feb 16, 2024
dd94772
refactor kitchen sink project, introduce vue3 tests
yannbf Feb 16, 2024
0ed4b31
remove the browser flag
yannbf Feb 16, 2024
a1e9e88
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Feb 16, 2024
fdd5bda
add addon annotations to PS kitchen sink
JReinhold Feb 16, 2024
13b1ca8
Remove unused exports from addon-highlight preview
JReinhold Feb 16, 2024
7eb353d
Merge branch 'next' of github.com:storybookjs/storybook into feature/…
JReinhold Feb 19, 2024
efb33a7
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Feb 19, 2024
49bc558
Merge branch 'feature/portable-stories-improvements' into playwright-…
yannbf Feb 19, 2024
8777581
cleanup
yannbf Feb 19, 2024
b59f6d0
rename exports path
yannbf Feb 19, 2024
be3a195
add vue3 playwright render fn
yannbf Feb 19, 2024
853cd88
add playwright experimental path in vue3
yannbf Feb 19, 2024
0e16151
add addon-interactions and addon-actions and test them in React
JReinhold Feb 19, 2024
cd6f526
use createTest in vue example
yannbf Feb 19, 2024
7f3d6ad
support multiple types of story references
JReinhold Feb 19, 2024
17867dd
fix it.only test
JReinhold Feb 19, 2024
b59f3ae
fix story unwrapping
JReinhold Feb 20, 2024
2248685
update cypress tests
yannbf Feb 20, 2024
d261319
Merge branch 'feature/portable-stories-improvements' of github.com:st…
yannbf Feb 20, 2024
61f9967
Merge branch 'next' into feature/portable-stories-improvements
yannbf Feb 20, 2024
84bd51a
update lockfile
yannbf Feb 20, 2024
8482f32
setup jest tests for react
yannbf Feb 20, 2024
d575ed5
update snapshots
JReinhold Feb 20, 2024
8a52856
cleanup
yannbf Feb 20, 2024
ac68237
Merge branch 'feature/portable-stories-improvements' into playwright-…
yannbf Feb 20, 2024
e0fc6aa
Merge pull request #26069 from storybookjs/jeppe/addon-preview-types
yannbf Feb 20, 2024
a9e6f66
Merge branch 'feature/portable-stories-improvements' into playwright-…
yannbf Feb 20, 2024
7453d4b
fix addon annotations import
JReinhold Feb 20, 2024
d41bf91
add jest tests to ci
yannbf Feb 20, 2024
5501bfd
fix project annotations
yannbf Feb 20, 2024
bc3a277
Merge branch 'next' into feature/portable-stories-improvements
yannbf Feb 20, 2024
37468d4
write playwright-react tests, minor test refactor
JReinhold Feb 21, 2024
a735803
Merge branch 'feature/portable-stories-improvements' into playwright-…
yannbf Feb 21, 2024
d581371
cleanup
yannbf Feb 21, 2024
84bcddd
remove unused import
yannbf Feb 21, 2024
be670d0
attempt on fixing type issues
yannbf Feb 21, 2024
1cfa411
remove global declarations
JReinhold Feb 21, 2024
ce7173b
Merge branch 'next' of github.com:storybookjs/storybook into feature/…
JReinhold Feb 21, 2024
27c1f6f
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Feb 21, 2024
653ec40
add back global declarations
JReinhold Feb 21, 2024
4c75858
fix cypress tests
yannbf Feb 21, 2024
b85a386
Merge pull request #26062 from storybookjs/playwright-ct-experiment
yannbf Feb 21, 2024
95278e8
fix globals bug
yannbf Feb 21, 2024
d413d53
Nextjs: Add portable stories API
yannbf Feb 22, 2024
b5b325e
initial work to get vue renderable in playwright ct
JReinhold Feb 23, 2024
f83b283
Add nextjs portable stories kitchen sink project
yannbf Feb 23, 2024
b8c3661
Bundling: Add cjs entries to addon annotations
yannbf Feb 23, 2024
5adf5cf
refactor portable stories kitchen sink directories
yannbf Feb 25, 2024
a89c18c
fix the code
yannbf Feb 26, 2024
3e3d98a
Merge pull request #26187 from storybookjs/yann/refactor-kitchen-sink…
yannbf Feb 26, 2024
40955bf
Merge branch 'feature/portable-stories-improvements' into feat/portab…
yannbf Feb 26, 2024
92031c8
move nextjs directory
yannbf Feb 26, 2024
b3c3b57
Merge branch 'feature/portable-stories-improvements' into jeppe/vue-p…
yannbf Feb 26, 2024
bba5967
add nextjs portable stories test to CI
yannbf Feb 26, 2024
59a0b2d
add mising dev deps
yannbf Feb 26, 2024
bb9a171
Merge branch 'feature/portable-stories-improvements' into yann/addon-…
yannbf Feb 26, 2024
973c778
fix format
yannbf Feb 26, 2024
cf4f3d3
update lockfile
yannbf Feb 26, 2024
8b25a35
simplify vue3 compose story
JReinhold Feb 26, 2024
6a697de
copy tests from react-pw to vue3-pw
JReinhold Feb 26, 2024
9cf14f6
fix @storybook/nextjs comments
JReinhold Feb 26, 2024
e896213
Fix label in story
JReinhold Feb 26, 2024
94fca73
Merge pull request #26170 from storybookjs/yann/addon-annotations-cjs
yannbf Feb 26, 2024
48570af
fix lockfile
yannbf Feb 26, 2024
7114566
fix lockfile
yannbf Feb 26, 2024
93c950f
WIP: Add portable stories API reference
kylegach Feb 16, 2024
248c7bd
Fix `setProjectAnnotations` snippet
kylegach Feb 21, 2024
d2ddcb3
WIP: More API referencin'
kylegach Feb 21, 2024
7997585
Fix typo
kylegach Feb 21, 2024
8355abd
Add conditional content and snippets
kylegach Feb 21, 2024
e09480a
Split into three separate pages
kylegach Feb 23, 2024
9df8ed3
Address comments
kylegach Feb 23, 2024
b09d37a
Add callouts for nextjs
kylegach Feb 26, 2024
08477ae
Simplify play function calls
kylegach Feb 26, 2024
b660d6b
Update placeholder story pipeline diagrams
kylegach Feb 26, 2024
6738ade
Add details about vue alias and Playwright types
kylegach Feb 27, 2024
1298ee1
Format snippets
kylegach Feb 27, 2024
709cdfc
fix decorator support in Vue3
JReinhold Feb 28, 2024
40bfba0
Merge branch 'jeppe/vue-pw-ct' of github.com:storybookjs/storybook in…
JReinhold Feb 28, 2024
59f46e5
fix Vue composeStory types, make mount work with multiple arguments
JReinhold Feb 29, 2024
03a11a5
Merge branch 'next' of github.com:storybookjs/storybook into feature/…
JReinhold Feb 29, 2024
979bf5b
Merge branch 'feature/portable-stories-improvements' into feat/portab…
yannbf Feb 29, 2024
e047ceb
remove todo
JReinhold Feb 29, 2024
b937909
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Feb 29, 2024
2309ac5
use all annotations from React in portable stories
JReinhold Feb 29, 2024
b3315ab
update lock files
JReinhold Mar 1, 2024
03ca102
don't call composedStories in Vue, instead pass props via render options
JReinhold Mar 1, 2024
708ffb4
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 4, 2024
9436ecb
Merge branch 'feature/portable-stories-improvements' into jeppe/vue-p…
yannbf Mar 4, 2024
20e1890
update kitchen sink code
yannbf Mar 4, 2024
c695368
Merge branch 'feature/portable-stories-improvements' into jeppe/vue-p…
yannbf Mar 4, 2024
b159749
Merge branch 'feature/portable-stories-improvements' into feat/portab…
yannbf Mar 4, 2024
0b57ba1
disable immutable installs on nextjs kitchen sink
yannbf Mar 4, 2024
cf53744
merge react annotations with nextjs annotations
yannbf Mar 4, 2024
8496981
Update code/frameworks/nextjs/src/portable-stories.ts
yannbf Mar 5, 2024
5167d3d
Merge pull request #26142 from storybookjs/feat/portable-stories-nextjs
yannbf Mar 5, 2024
e611085
update snippets
yannbf Mar 5, 2024
8b21aeb
minor adjustments
yannbf Mar 5, 2024
6933131
Merge pull request #26081 from storybookjs/api-ref-portable-stories
yannbf Mar 5, 2024
9b9d6be
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 5, 2024
c97fa73
add composeStories api for svelte
yannbf Feb 5, 2024
a9b74e5
add testing library for svelte
yannbf Mar 5, 2024
f721c8e
patch @testing-library/svelte to support Svelte 5 based on https://gi…
JReinhold Feb 5, 2024
17b0367
make basic composeStories test work in Svelte
yannbf Mar 5, 2024
e9a144e
cleanup basic svelte composeStories tests
JReinhold Feb 5, 2024
e7e8cc8
fix testing library patch
yannbf Mar 5, 2024
1d47ca3
add decorators support, write more tests
yannbf Mar 6, 2024
395addd
fix decorator path
yannbf Mar 7, 2024
b4326eb
add portable stories exports
yannbf Mar 7, 2024
6016142
add playwright experimental ct api for svelte
yannbf Mar 7, 2024
7c613aa
add svelte to CI tests
yannbf Mar 7, 2024
b71db43
add cypress ct
yannbf Mar 7, 2024
9d9bffd
remove wrapper id decorator
yannbf Mar 12, 2024
773f98f
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 12, 2024
e952402
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 12, 2024
586a135
more improvements
yannbf Mar 12, 2024
bbc3c07
change tests
yannbf Mar 12, 2024
96287f1
add svelte tests to kitchen sink
JReinhold Mar 12, 2024
eb023e5
add svelte 4 support
yannbf Mar 12, 2024
721a5a4
add portable stories + svelte + vitest docs
yannbf Mar 12, 2024
f782b89
update lockfile
yannbf Mar 12, 2024
9960880
update package json
yannbf Mar 12, 2024
3a8c7b7
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 12, 2024
70dcbfa
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 12, 2024
4a95c9b
update docs
kylegach Mar 12, 2024
2867d33
addons output preview.mjs+.js instead of preview.js+.cjs
JReinhold Mar 12, 2024
4f199c1
put "import" condition at the top of Svelte renderer exports
JReinhold Mar 13, 2024
149f6d0
disable lint errors
JReinhold Mar 13, 2024
61647d0
fix playwright setup
yannbf Mar 13, 2024
b83b558
update snapshots
yannbf Mar 13, 2024
1ae542f
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 13, 2024
2de7fa0
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Mar 13, 2024
aea8f46
update snapshots
yannbf Mar 13, 2024
21efbc1
update lockfiles
yannbf Mar 13, 2024
97b4701
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 13, 2024
5f241d3
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Mar 13, 2024
0466f7a
Update docs/snippets/svelte/portable-stories-vitest-compose-story.ts.mdx
yannbf Mar 13, 2024
2562b13
add preview cjs+mjs export maps to addon-essentials
JReinhold Mar 13, 2024
cee0bf6
update nextjs portable stories snapshots
JReinhold Mar 13, 2024
ef59fb1
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Mar 13, 2024
dbffc22
Merge pull request #26457 from storybookjs/jeppe/preview-cjs-extension
yannbf Mar 13, 2024
f225bea
fix prettier docs issue
yannbf Mar 14, 2024
d9e22dd
dedupe a few deps
yannbf Mar 14, 2024
9f1b772
add EOL to scripts package.json
yannbf Mar 14, 2024
893f3c3
cleanup
yannbf Mar 14, 2024
109ff50
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 14, 2024
9449d32
add vitest to ci checks
yannbf Mar 14, 2024
53599b4
remove nextjs readme
yannbf Mar 14, 2024
0851c77
remove canvas element from play functions in tests
yannbf Mar 14, 2024
6b6e8e5
update nextjs snapshots
yannbf Mar 14, 2024
cfcb378
bring back decorator check on vue3 tests
yannbf Mar 14, 2024
8dceaf8
add imagepropsstories test
yannbf Mar 14, 2024
b10d245
Merge branch 'feature/portable-stories-improvements' of github.com:st…
JReinhold Mar 14, 2024
3a74321
add addon annotations to setup files
yannbf Mar 14, 2024
1af778c
bring back eslint disables
JReinhold Mar 14, 2024
774d251
remove unnecessary type declaration
yannbf Mar 14, 2024
2704382
Merge branch 'feature/portable-stories-improvements' of github.com:st…
yannbf Mar 14, 2024
0916cdf
add vitest to ci checks
yannbf Mar 14, 2024
6b24e70
Merge branch 'feature/portable-stories-improvements' into jeppe/vue-p…
yannbf Mar 14, 2024
95ed6da
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 14, 2024
685b01d
fix lint errors
JReinhold Mar 14, 2024
860c72c
update playwright
yannbf Mar 14, 2024
875783f
fix nextjs jest setup
yannbf Mar 14, 2024
4eef9b4
Introduce package manager fallback for initializing Storybook in an e…
valentinpalkovic Mar 14, 2024
467ff77
Merge branch 'feature/portable-stories-improvements' into jeppe/vue-p…
yannbf Mar 14, 2024
58120f6
Make sure loaders/decorators can be used as array
kasperpeulen Mar 15, 2024
c8c7e7b
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 15, 2024
3b2054a
fix global in instrumenter
JReinhold Mar 15, 2024
5722ef7
turn elements into jsx in vue test
yannbf Mar 15, 2024
8ddbffc
Fix svelte types
kasperpeulen Mar 15, 2024
2a28b62
fix ts issue
yannbf Mar 15, 2024
f85ea13
Handle non-jsx states and throw an error warning uses
yannbf Mar 15, 2024
db4e08a
Fix theming of elements inside bars
valentinpalkovic Mar 15, 2024
bf8095c
Bump GitHub workflow actions to latest versions
deining Mar 15, 2024
4b54f37
Fix example with `@sveltejs/vite-plugin-svelte` in MIGRATION.md
inokawa Mar 17, 2024
0fea4c4
fix typo `@storybook/channel` to `@storybook/channels` in `MIGRATION.md`
takurinton Mar 17, 2024
51206f8
Merge pull request #26537 from takurinton/fix-typo-migrations-channels
valentinpalkovic Mar 17, 2024
eb5f439
Merge pull request #26536 from inokawa/patch-1
valentinpalkovic Mar 17, 2024
f958950
Merge pull request #26529 from deining/bump-workflows
valentinpalkovic Mar 17, 2024
c0fdb3e
Merge pull request #26500 from storybookjs/valentin/use-npm-over-yarn…
valentinpalkovic Mar 17, 2024
d67ef70
document vue limitations
yannbf Mar 18, 2024
f0dfc2a
Merge pull request #26198 from storybookjs/jeppe/vue-pw-ct
yannbf Mar 18, 2024
afee7be
Merge branch 'feature/portable-stories-improvements' into feature/por…
yannbf Mar 18, 2024
184e870
fix types for composeStories
yannbf Mar 18, 2024
fb1a02e
Merge pull request #26349 from storybookjs/feature/portable-stories-s…
yannbf Mar 18, 2024
b016a4f
Merge pull request #26514 from storybookjs/kasper/fix-single-loaders-…
kasperpeulen Mar 18, 2024
a76f857
Add comment to custom bar style for the Button component
valentinpalkovic Mar 18, 2024
773a6a8
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 18, 2024
3e0de54
Merge pull request #26527 from storybookjs/valentin/fix-theming-for-b…
valentinpalkovic Mar 18, 2024
811789a
Update addon migration commit pointer to addon-kit
JReinhold Mar 18, 2024
af79778
Merge pull request #26552 from storybookjs/jeppe/update-addon-migrati…
JReinhold Mar 18, 2024
e0f4315
rename ci playwright image name
yannbf Mar 18, 2024
89d7ef9
Merge branch 'next' into feature/portable-stories-improvements
yannbf Mar 18, 2024
7d282b2
Merge pull request #26063 from storybookjs/feature/portable-stories-i…
yannbf Mar 18, 2024
e4a9a41
add flaky tag to e2e test
yannbf Mar 18, 2024
409057a
Merge pull request #26556 from storybookjs/yann/flaky-tag-e2e-tags
yannbf Mar 18, 2024
84d4214
Improve portable stories docs
kylegach Mar 18, 2024
3e44cae
Update CHANGELOG.md for v8.0.1 [skip ci]
storybook-bot Mar 18, 2024
718ae4a
Merge pull request #26559 from storybookjs/docs-portable-stories-updates
yannbf Mar 19, 2024
91ec972
UI: Improve empty state of addon panel
yannbf Mar 15, 2024
0e4747d
use correct prop name
yannbf Mar 15, 2024
809471b
remove story
yannbf Mar 15, 2024
fb2e9f6
use document icon in empty args table state
yannbf Mar 18, 2024
34b5d26
misc fixes
yannbf Mar 18, 2024
ad2d423
remove unused import
yannbf Mar 18, 2024
5152b7c
fix story
yannbf Mar 18, 2024
ccc04e5
Merge pull request #26481 from storybookjs/feat/addon-panel-empty-state
yannbf Mar 19, 2024
2961cee
Addon Docs: Fix [Object object] displayName in some JSX components
yannbf Mar 19, 2024
ad373b9
Fix disable condition in ArgControl component
valentinpalkovic Mar 19, 2024
79abc6c
Merge pull request #26566 from storybookjs/yann/fix-docs-jsx-decorator
yannbf Mar 19, 2024
b00a1e2
Merge pull request #26567 from storybookjs/valentin/fix-control-false
valentinpalkovic Mar 19, 2024
3036ffe
Write changelog for 8.1.0-alpha.3 [skip ci]
storybook-bot Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 64 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ executors:
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>
sb_playwright_component_testing:
parameters:
class:
description: The Resource class
type: enum
enum: ["small", "medium", "medium+", "large", "xlarge"]
default: "small"
working_directory: /tmp/storybook
docker:
- image: mcr.microsoft.com/playwright:v1.42.1-jammy
environment:
NODE_OPTIONS: --max_old_space_size=6144
resource_class: <<parameters.class>>

orbs:
git-shallow-clone: guitarrapc/git-shallow-clone@2.5.0
Expand Down Expand Up @@ -565,7 +578,39 @@ jobs:
STORYBOOK_INIT_EMPTY_TYPE: << parameters.template >>
STORYBOOK_DISABLE_TELEMETRY: true
- report-workflow-on-failure

test-portable-stories:
parameters:
directory:
type: string
executor:
name: sb_playwright_component_testing
class: medium
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
- attach_workspace:
at: .
- run:
name: Install dependencies
command: yarn install
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >>
- run:
name: Run Jest tests
command: yarn jest
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >>
- run:
name: Run Vitest tests
command: yarn vitest
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >>
- run:
name: Run Playwright CT tests
command: yarn playwright
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >>
- run:
name: Run Cypress CT tests
command: yarn cypress
working_directory: test-storybooks/portable-stories-kitchen-sink/<< parameters.directory >>
- report-workflow-on-failure
workflows:
docs:
when:
Expand Down Expand Up @@ -624,6 +669,12 @@ workflows:
parallelism: 5
requires:
- build-sandboxes
- test-portable-stories:
requires:
- build
matrix:
parameters:
directory: ["react", "vue3", "nextjs", "svelte"]
# TODO: reenable once we find out the source of flakyness
# - test-runner-dev:
# requires:
Expand Down Expand Up @@ -676,6 +727,12 @@ workflows:
parallelism: 14
requires:
- build-sandboxes
- test-portable-stories:
requires:
- build
matrix:
parameters:
directory: ["react", "vue3", "nextjs", "svelte"]
- bench:
parallelism: 5
requires:
Expand Down Expand Up @@ -733,7 +790,12 @@ workflows:
parallelism: 30
requires:
- build-sandboxes

- test-portable-stories:
requires:
- build
matrix:
parameters:
directory: ["react", "vue3", "nextjs", "svelte"]
- test-empty-init:
requires:
- build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/canary-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ jobs:
echo "timestamp=$(date +%s)" >> $GITHUB_OUTPUT

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ steps.info.outputs.isFork == 'true' && steps.info.outputs.repository || null }}
ref: ${{ steps.info.outputs.sha }}
token: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.yarn/berry/cache
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cron-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: Markdown Links Check
# runs every monday at 9 am
on:
schedule:
- cron: '0 9 * * 1'
- cron: "0 9 * * 1"

jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from important folders including all subfolders
with:
# only show errors that occur instead of successful links + errors
use-quiet-mode: 'yes'
use-quiet-mode: "yes"
# output full HTTP info for broken links
use-verbose-mode: 'yes'
config-file: '.github/workflows/markdown-link-check-config.json'
use-verbose-mode: "yes"
config-file: ".github/workflows/markdown-link-check-config.json"
# Notify to Discord channel on failure
- name: Send Discord Notification
if: failure() # Only run this step if previous steps failed
Expand Down
6 changes: 3 additions & 3 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
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"
- name: Danger JS
uses: danger/danger-js@11.2.6
env:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/handle-release-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: ${{ needs.branch-checks.outputs.is-latest-branch == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: curl -X POST "https://api.netlify.com/build_hooks/${{ secrets.FRONTPAGE_HOOK }}"

Expand All @@ -32,7 +32,7 @@ jobs:
if: ${{ needs.branch-checks.outputs.is-next-branch == 'true' || needs.branch-checks.outputs.is-release-branch == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: next
path: next
Expand All @@ -54,7 +54,7 @@ jobs:
if: ${{ needs.branch-checks.outputs.is-next-branch == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -88,7 +88,8 @@ jobs:

request-create-frontpage-branch:
if: ${{ always() }}
needs: [branch-checks, next-release-branch-check, create-next-release-branch]
needs:
[branch-checks, next-release-branch-check, create-next-release-branch]
runs-on: ubuntu-latest
steps:
- if: ${{ needs.branch-checks.outputs.is-actionable-branch == 'true' && needs.branch-checks.outputs.is-latest-branch == 'false' && needs.next-release-branch-check.outputs.check == 'false' }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/prepare-non-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:
workflow_dispatch:
inputs:
release-type:
description: 'Which release type to use for bumping the version'
description: "Which release type to use for bumping the version"
required: true
default: 'prerelease'
default: "prerelease"
type: choice
options:
- prerelease
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
working-directory: scripts
steps:
- name: Checkout next
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: next
# this needs to be set to a high enough number that it will contain the last version tag
Expand All @@ -52,12 +52,12 @@ jobs:
token: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.yarn/berry/cache
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: |
yarn release:write-changelog ${{ steps.bump-version.outputs.next-version }} --verbose

- name: 'Commit changes to branch: version-non-patch-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'
Expand Down Expand Up @@ -180,4 +180,4 @@ jobs:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_MONITORING_URL }}
uses: Ilshidur/action-discord@master
with:
args: 'The GitHub Action for preparing the release pull request bumping from v${{ steps.bump-version.outputs.current-version }} to v${{ steps.bump-version.outputs.next-version }} (triggered by ${{ github.triggering_actor }}) failed! See run at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
args: "The GitHub Action for preparing the release pull request bumping from v${{ steps.bump-version.outputs.current-version }} to v${{ steps.bump-version.outputs.next-version }} (triggered by ${{ github.triggering_actor }}) failed! See run at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
6 changes: 3 additions & 3 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
working-directory: scripts
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.yarn/berry/cache
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
gh run watch ${{ github.run_id }}

- name: Checkout ${{ github.ref_name }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 100
token: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.yarn/berry/cache
Expand Down Expand Up @@ -197,4 +197,4 @@ jobs:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_MONITORING_URL }}
uses: Ilshidur/action-discord@master
with:
args: 'The GitHub Action for publishing version ${{ steps.version.outputs.current-version }} (triggered by ${{ github.triggering_actor }}) failed! See run at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
args: "The GitHub Action for publishing version ${{ steps.version.outputs.current-version }} (triggered by ${{ github.triggering_actor }}) failed! See run at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
12 changes: 6 additions & 6 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: 'Close stale issues that need reproduction or more info from OP'
name: "Close stale issues that need reproduction or more info from OP"
on:
schedule:
- cron: '30 1 * * *'
- cron: "30 1 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
stale-issue-message: "Hi there! Thank you for opening this issue, but it has been marked as `stale` because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!"
close-issue-message: "I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding."
any-of-labels: 'needs reproduction,needs more info'
exempt-issue-labels: 'needs triage'
labels-to-add-when-unstale: 'needs triage'
any-of-labels: "needs reproduction,needs more info"
exempt-issue-labels: "needs triage"
labels-to-add-when-unstale: "needs triage"
days-before-stale: 21
days-before-pr-stale: -1
6 changes: 3 additions & 3 deletions .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set node version
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"
- name: install and compile
run: yarn task --task compile --start-from=auto --no-link
- name: test
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 8.0.1

- Controls: Fix type summary when table.type unset - [#26283](https://github.com/storybookjs/storybook/pull/26283), thanks @shilman!
- Core: Fix addon bundling script - [#26145](https://github.com/storybookjs/storybook/pull/26145), thanks @ndelangen!
- Core: Fix fail to load `main.ts` error message - [#26035](https://github.com/storybookjs/storybook/pull/26035), thanks @ndelangen!
- Maintenance: Fix performance regressions - [#26411](https://github.com/storybookjs/storybook/pull/26411), thanks @kasperpeulen!

## 8.0.0

#### Storybook 8.0 is here
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 8.1.0-alpha.3

- Addon Docs: Fix [Object object] displayName in some JSX components - [#26566](https://github.com/storybookjs/storybook/pull/26566), thanks @yannbf!
- CLI: Introduce package manager fallback for initializing Storybook in an empty directory with yarn1 - [#26500](https://github.com/storybookjs/storybook/pull/26500), thanks @valentinpalkovic!
- CSF: Make sure loaders/decorators can be used as array - [#26514](https://github.com/storybookjs/storybook/pull/26514), thanks @kasperpeulen!
- Controls: Fix disable condition in ArgControl component - [#26567](https://github.com/storybookjs/storybook/pull/26567), thanks @valentinpalkovic!
- Portable stories: Introduce experimental Playwright CT API and Support for more renderers - [#26063](https://github.com/storybookjs/storybook/pull/26063), thanks @yannbf!
- UI: Fix theming of elements inside bars - [#26527](https://github.com/storybookjs/storybook/pull/26527), thanks @valentinpalkovic!
- UI: Improve empty state of addon panel - [#26481](https://github.com/storybookjs/storybook/pull/26481), thanks @yannbf!

## 8.1.0-alpha.2

- CLI: Automigrate improve upgrade storybook related packages - [#26497](https://github.com/storybookjs/storybook/pull/26497), thanks @ndelangen!
Expand Down
6 changes: 3 additions & 3 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,8 @@ For migrating to CSF, see: [`storyStoreV6` and `storiesOf` is deprecated](#story
In Storybook 7, these packages existed for backwards compatibility, but were marked as deprecated:

- `@storybook/addons` - this package has been split into 2 packages: `@storybook/preview-api` and `@storybook/manager-api`, see more here: [New Addons API](#new-addons-api).
- `@storybook/channel-postmessage` - this package has been merged into `@storybook/channel`.
- `@storybook/channel-websocket` - this package has been merged into `@storybook/channel`.
- `@storybook/channel-postmessage` - this package has been merged into `@storybook/channels`.
- `@storybook/channel-websocket` - this package has been merged into `@storybook/channels`.
- `@storybook/client-api` - this package has been merged into `@storybook/preview-api`.
- `@storybook/core-client` - this package has been merged into `@storybook/preview-api`.
- `@storybook/preview-web` - this package has been merged into `@storybook/preview-api`.
Expand Down Expand Up @@ -554,7 +554,7 @@ export default defineConfig({

```ts
import { defineConfig } from "vite";
import svelte from "@sveltejs/vite-plugin-svelte";
import { svelte } from "@sveltejs/vite-plugin-svelte";

export default defineConfig({
plugins: [svelte()],
Expand Down
Loading