Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c423088
WIP
valentinpalkovic Apr 25, 2025
91edda3
remove ancient code 😅
xeho91 May 6, 2025
7358b5b
simplify to use modern `Component` type from svelte
xeho91 May 6, 2025
a936c26
delete old svelte 4 component from testing
xeho91 May 6, 2025
835e6c4
remove `expect-type` - is bundled into `vitest`
xeho91 May 6, 2025
99bbc59
refactor svelte renderer public-types - simplifcation by using `Compo…
xeho91 May 6, 2025
08d1797
update test types
xeho91 May 6, 2025
10b1563
migrate test decorators to Svelte 5 syntax
xeho91 May 7, 2025
493ece5
Merge branch 'next' into feat/refactor-svelte-renderer-types
JReinhold May 19, 2025
1c97fbd
Merge branch 'next' of github.com:storybookjs/storybook into feat/ref…
JReinhold Sep 24, 2025
726c34f
use runes in portable stories test
JReinhold Sep 25, 2025
6d14a2e
Telemetry: Log userAgent in onboarding
shilman Sep 26, 2025
edfc194
Merge branch 'next' of github.com:storybookjs/storybook into feat/ref…
JReinhold Sep 26, 2025
1a0d999
upgrade to runes, fix types
JReinhold Sep 26, 2025
8ee4df6
Fix: Update userAgent retrieval to use globalThis for compatibility
ndelangen Sep 26, 2025
3eadd2c
Merge branch 'next' into feat/refactor-svelte-renderer-types
JReinhold Sep 26, 2025
4c110f7
fix lock file
JReinhold Sep 26, 2025
8b2c965
Merge branch 'feat/refactor-svelte-renderer-types' of https://github.…
JReinhold Sep 26, 2025
480f8b0
Update code/renderers/svelte/src/__test__/composeStories/CustomRender…
JReinhold Sep 26, 2025
4c9ef90
Merge branch 'next' into shilman/onboarding-user-agent
shilman Sep 26, 2025
d428a27
fix type tests
JReinhold Sep 26, 2025
01c7e0d
Merge branch 'feat/refactor-svelte-renderer-types' of https://github.…
JReinhold Sep 26, 2025
49291b2
Merge branch 'next' into feat/refactor-svelte-renderer-types
JReinhold Sep 26, 2025
357e15f
Merge branch 'next' into shilman/onboarding-user-agent
shilman Sep 28, 2025
b78f74c
Merge remote-tracking branch 'origin/next' into valentin/add-viewport…
valentinpalkovic Sep 29, 2025
541e516
Finalize viewport/backgrounds automigration
valentinpalkovic Sep 29, 2025
6d01ccf
Refactor addonGlobalsApi to remove common dependency and update migra…
valentinpalkovic Sep 29, 2025
3a9018a
Add logic to cover background and viewport configuration which contai…
valentinpalkovic Sep 30, 2025
65b5dfc
Update CHANGELOG.md for v9.1.9 [skip ci]
storybook-bot Sep 30, 2025
0f35994
Update addon-globals-api tests to use dedent for inline snapshots and…
valentinpalkovic Sep 30, 2025
b31cae2
Refactor transform function type in addon-globals-api tests for impro…
valentinpalkovic Sep 30, 2025
fc539b3
Using single quotes in tests for recast results
valentinpalkovic Sep 30, 2025
346ccac
Merge pull request #31614 from storybookjs/valentin/add-viewports-bac…
valentinpalkovic Sep 30, 2025
f6a70e2
Merge pull request #32566 from storybookjs/shilman/onboarding-user-agent
shilman Oct 1, 2025
f825cd5
Update CHANGELOG.md for v9.1.10 [skip ci]
storybook-bot Oct 1, 2025
764c7c2
Merge pull request #31394 from xeho91/feat/refactor-svelte-renderer-t…
JReinhold Oct 1, 2025
87b890d
upgrade yarn to v4.10.3
JReinhold Oct 2, 2025
19c67c7
remove npm token from publish workflow
JReinhold Oct 2, 2025
b0b5902
Merge pull request #32607 from storybookjs/jeppe/trusted-publishing
JReinhold Oct 2, 2025
3e3be7e
Write changelog for 10.0.0-beta.9 [skip ci]
storybook-bot Oct 2, 2025
7389c93
add id-token to publish permissions
JReinhold Oct 2, 2025
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
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1

permissions:
id-token: write
contents: write
pull-requests: write

Expand Down Expand Up @@ -45,7 +46,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Cache dependencies
uses: actions/cache@v4
Expand Down Expand Up @@ -107,8 +108,6 @@ jobs:

- name: Publish
if: steps.publish-needed.outputs.published == 'false'
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release:publish --tag ${{ steps.is-prerelease.outputs.prerelease == 'true' && 'next' || 'latest' }} --verbose

- name: Get target branch
Expand Down Expand Up @@ -206,4 +205,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 }}"
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

948 changes: 0 additions & 948 deletions .yarn/releases/yarn-4.9.1.cjs

This file was deleted.

3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ compressionLevel: mixed

enableGlobalCache: false

yarnPath: .yarn/releases/yarn-4.9.1.cjs
installStatePath: ./.yarn/root-install-state.gz

nodeLinker: node-modules

npmPublishAccess: public

yarnPath: .yarn/releases/yarn-4.10.3.cjs
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 9.1.10

- Automigrations: Add automigration for viewport and backgrounds - [#31614](https://github.com/storybookjs/storybook/pull/31614), thanks @valentinpalkovic!
- Telemetry: Log userAgent in onboarding - [#32566](https://github.com/storybookjs/storybook/pull/32566), thanks @shilman!

## 9.1.9

- Angular: Enable experimental zoneless detection on Angular v21 - [#32580](https://github.com/storybookjs/storybook/pull/32580), thanks @yannbf!
- Svelte: Ignore inherited `HTMLAttributes` docgen when using utility types - [#32173](https://github.com/storybookjs/storybook/pull/32173), thanks @steciuk!

## 9.1.8

- PreactVite: Add `node` entry point - [#32534](https://github.com/storybookjs/storybook/pull/32534), thanks @ndelangen!
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.prerelease.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 10.0.0-beta.9

- Automigrations: Add automigration for viewport and backgrounds - [#31614](https://github.com/storybookjs/storybook/pull/31614), thanks @valentinpalkovic!
- Svelte: Simplify public types - use modern `Component` - [#31394](https://github.com/storybookjs/storybook/pull/31394), thanks @xeho91!
- Telemetry: Log userAgent in onboarding - [#32566](https://github.com/storybookjs/storybook/pull/32566), thanks @shilman!

## 10.0.0-beta.8

- Addon-docs: Add eject button to canvas toolbar - [#29825](https://github.com/storybookjs/storybook/pull/29825), thanks @mihkeleidast!
Expand Down
2 changes: 1 addition & 1 deletion code/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ compressionLevel: 0

enableGlobalCache: true

yarnPath: ../.yarn/releases/yarn-4.9.1.cjs
yarnPath: ../.yarn/releases/yarn-4.10.3.cjs
installStatePath: ../.yarn/code-install-state.gz

logFilters:
Expand Down
11 changes: 8 additions & 3 deletions code/addons/onboarding/src/Onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ export default function Onboarding({ api }: { api: API }) {
sourceFileName: string;
} | null>();

// eslint-disable-next-line compat/compat
const userAgent = globalThis?.navigator?.userAgent;

const selectStory = useCallback(
(storyId: string) => {
try {
Expand Down Expand Up @@ -111,15 +114,17 @@ export default function Onboarding({ api }: { api: API }) {
api.emit(STORYBOOK_ADDON_ONBOARDING_CHANNEL, {
step: '7:FinishedOnboarding' satisfies StepKey,
type: 'telemetry',
userAgent,
});
api.emit(STORYBOOK_ADDON_ONBOARDING_CHANNEL, {
answers,
type: 'survey',
userAgent,
});
selectStory('configure-your-project--docs');
disableOnboarding();
},
[api, selectStory, disableOnboarding]
[api, selectStory, disableOnboarding, userAgent]
);

useEffect(() => {
Expand Down Expand Up @@ -177,8 +182,8 @@ export default function Onboarding({ api }: { api: API }) {
}, [api]);

useEffect(
() => api.emit(STORYBOOK_ADDON_ONBOARDING_CHANNEL, { step, type: 'telemetry' }),
[api, step]
() => api.emit(STORYBOOK_ADDON_ONBOARDING_CHANNEL, { step, type: 'telemetry', userAgent }),
[api, step, userAgent]
);

if (!enabled) {
Expand Down
Loading
Loading