Release: Prerelease 10.0.0-beta.9 (retry4)#32616
Conversation
…actor-svelte-renderer-types
…actor-svelte-renderer-types
…com/xeho91/storybook into feat/refactor-svelte-renderer-types
…Component.svelte Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…com/xeho91/storybook into feat/refactor-svelte-renderer-types
…s-backgrounds-automigrations
…tion logic with storiesPaths parameter
…ns special characters in value name
… improve formatting for better readability
…kgrounds-automigrations Automigrations: Add automigration for viewport and backgrounds
Telemetry: Log userAgent in onboarding
…ypes Svelte: Simplify public types - use modern `Component`
Release tooling: Use npm Trusted Publishing
…rybookjs/storybook into version-non-patch-from-10.0.0-beta.8
|
Caution Review failedThe pull request is closed. WalkthroughThe PR updates CI configurations (GitHub Actions permissions, environment name, npm upgrade step, token env removal, Discord message quoting) and bumps Yarn to 4.10.3 across multiple workspaces. It adds changelog entries and next.json for 10.0.0-beta.9. It introduces an automigration fixer to move viewport/backgrounds parameters to globals, with supporting AST utilities and tests, and registers the fix. Onboarding telemetry now includes navigator.userAgent. The Svelte renderer public types are simplified to use the modern Component API, with corresponding test and example updates. Minor package.json fields are adjusted, and a devDependency is removed. Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant CLI as cli-storybook automigrate
participant FS as File System
participant AST as AST Utils
participant Fix as addon-globals-api Fix
Dev->>CLI: Run automigrate
CLI->>Fix: check(previewPath)
Fix->>FS: read preview config
Fix-->>CLI: result (needsViewport/backgrounds?) or null
alt Needs migration
CLI->>Fix: run(options, dryRun?)
Fix->>FS: read preview config
Fix->>AST: transform preview (params -> globals)
par Transform story files
Fix->>FS: scan CSF files
loop each CSF
Fix->>AST: transformStoryFile (params -> globals)
AST-->>Fix: transformed? + code
alt write enabled
Fix->>FS: write file
end
end
end
alt write enabled
Fix->>FS: write preview config
end
Fix-->>CLI: summary
else No migration
CLI-->>Dev: No changes required
end
sequenceDiagram
autonumber
participant User as User
participant UI as Onboarding.tsx
participant Tel as Telemetry
participant Surv as Survey
Note over UI: userAgent = globalThis?.navigator?.userAgent
User->>UI: Navigate steps
UI->>Tel: emit(step-change, { userAgent })
User->>UI: Complete onboarding
UI->>Tel: emit(complete, { userAgent })
UI->>Surv: emit(survey, { userAgent })
Possibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (39)
Comment |
|
View your CI Pipeline Execution ↗ for commit 7a5a962
☁️ Nx Cloud last updated this comment at |
This is a retry of #32586 that failed due to a bad publishing workflow
This is an automated pull request that bumps the version from
10.0.0-beta.8to10.0.0-beta.9.Once this pull request is merged, it will trigger a new release of version
10.0.0-beta.9.If you're not a core maintainer with permissions to release you can ignore this pull request.
To do
Before merging the PR, there are a few QA steps to go through:
And for each change below:
This is a list of all the PRs merged and commits pushed directly to
next, that will be part of this release:Component#31394If you've made any changes doing the above QA (change PR titles, revert PRs), manually trigger a re-generation of this PR with this workflow and wait for it to finish. It will wipe your progress in this to do, which is expected.
Feel free to manually commit any changes necessary to this branch after you've done the last re-generation, following the Make Manual Changes section in the docs, especially if you're making changes to the changelog.
When everything above is done:
Generated changelog
10.0.0-beta.9
Component- #31394, thanks xeho91!Summary by CodeRabbit
New Features
Documentation
Chores