Skip to content

Release: Prerelease 10.5.0-alpha.1#34822

Merged
valentinpalkovic merged 53 commits into
next-releasefrom
version-non-patch-from-10.5.0-alpha.0
May 21, 2026
Merged

Release: Prerelease 10.5.0-alpha.1#34822
valentinpalkovic merged 53 commits into
next-releasefrom
version-non-patch-from-10.5.0-alpha.0

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 18, 2026

This is an automated pull request that bumps the version from 10.5.0-alpha.0 to 10.5.0-alpha.1.
Once this pull request is merged, it will trigger a new release of version 10.5.0-alpha.1.
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:

  • Add the "freeze" label to this PR, to ensure it doesn't get automatically forced pushed by new changes.
  • Add the "ci:daily" label to this PR, to trigger the full test suite to run on this PR.

And for each change below:

  1. Ensure the change is appropriate for the version bump. E.g. patch release should only contain patches, not new or de-stabilizing features. If a change is not appropriate, revert the PR.
  2. Ensure the PR is labeled correctly with one of: "BREAKING CHANGE", "feature request", "bug", "maintenance", "dependencies", "documentation", "build", "unknown".
  3. Ensure the PR title is correct, and follows the format "[Area]: [Summary]", e.g. "React: Fix hooks in CSF3 render functions". If it is not correct, change the title in the PR.
    • Areas include: React, Vue, Core, Docs, Controls, etc.
    • First word of summary indicates the type: “Add”, “Fix”, “Upgrade”, etc.
    • The entire title should fit on a line

This is a list of all the PRs merged and commits pushed directly to next, that will be part of this release:

  • ✨ Feature Request: Next.js Vite: Add Link mock with useLinkStatus to nextjs-vite framework #34736
  • 🐛 Bug: Core: Ignore story-like directories in indexer #34806
  • 🐛 Bug: Builder-Vite: Support configLoader via builder options #34080
  • 🐛 Bug: Angular: Fix custom paths for stats.json on angular #34551
  • 🐛 Bug: Test: Move testing-library/dom to dependencies #34604
  • 🐛 Bug: Next.js: Add useLinkStatus mock to next/link export mock #34593
  • 🐛 Bug: CLI: Run npx expo install --fix after init for Expo projects #34803 (will also be patched)
  • 🏗️ Build: Build: Disable yarn npmMinimalAgeGate inside sandboxes #34846
  • 📝 Documentation: Docs: Fix tanstack-react snippets #34814 (will also be patched)
  • 📝 Documentation: Docs: Update install prompt to use npm create #34828
  • 📝 Documentation: Docs: Add CSF Next .type FAQ #34813 (will also be patched)

If 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.5.0-alpha.1

  • Angular: Fix custom paths for stats.json on angular - #34551, thanks mrginglymus!
  • Builder-Vite: Support configLoader via builder options - #34080, thanks holvi-sebastian!
  • CLI: Run npx expo install --fix after init for Expo projects - #34803, thanks ndelangen!
  • Core: Ignore story-like directories in indexer - #34806, thanks MukundaKatta!
  • Next.js Vite: Add Link mock with useLinkStatus to nextjs-vite framework - #34736, thanks yatishgoel!
  • Next.js: Add useLinkStatus mock to next/link export mock - #34593, thanks philwolstenholme!
  • Test: Move testing-library/dom to dependencies - #34604, thanks XionWCFM!

holvi-sebastian and others added 30 commits March 9, 2026 15:48
Adds the `useLinkStatus` hook (introduced in Next.js 15.3) to the
`@storybook/nextjs/link.mock` module. Without this export, Storybook
fails at build and runtime when a component imports `useLinkStatus`
from `next/link`.

Also exports the `LinkStatus` type to match the Next.js public API.

https://claude.ai/code/session_01Hw1UdSNqtAb34tbqFFw14S
Adds two template stories to Link.stories.tsx:
- DefaultLinkStatus: asserts the mock returns { pending: false } by default
- PendingLinkStatus: demonstrates overriding via beforeEach + mockReturnValue

Follows the same pattern used in Navigation.stories.tsx and ServerActions.stories.tsx.

https://claude.ai/code/session_01Hw1UdSNqtAb34tbqFFw14S
No other mock manually exports types — they rely on re-exporting from
the real Next.js dist modules. Keeping this consistent; the inline
return type on useLinkStatus is sufficient for type inference.

https://claude.ai/code/session_01Hw1UdSNqtAb34tbqFFw14S
Align native module versions with the installed Expo SDK after the user's
package manager pins latest, avoiding runtime warnings like
"AsyncStorageError: Native module is null, cannot access legacy storage".

Adds a generic `postInstall` lifecycle hook to generator modules and uses
it from the React Native generator (and the React Native + RNW combo) to
run `npx expo install --fix` only when `expo` or `expo-router` is present.

Co-authored-by: Cursor <cursoragent@cursor.com>
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.5.0-alpha.0 branch from b3529c3 to 08027c6 Compare May 18, 2026 21:15
…atus-hook-ctuWL

Next.js: Add useLinkStatus mock to next/link export mock
Test: Move @testing-library/dom to dependencies
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.5.0-alpha.0 branch from 08027c6 to 519d2bd Compare May 19, 2026 09:00
valentinpalkovic and others added 4 commits May 19, 2026 11:05
- Make `configLoader` an optional param in bootTestRunner/runTestRunner so
  existing boot-test-runner tests typecheck (fixes typescript-validation CI)
- Move the configLoader test inside the `describe('commonConfig')` block and
  document the intentional inline mock (CodeRabbit)
- Add trailing semicolon + JSDoc noting `configLoader` requires Vite 6.1.0+
- Reformat `loadConfigFromFile` call to satisfy oxfmt (fixes format-check CI)

The `private` -> `public readonly` fix for `TestManager.configLoader`
(CodeRabbit critical) landed with the `next` merge resolution.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…tart-storybook

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Angular: Fix custom paths for stats.json on angular
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.5.0-alpha.0 branch from 519d2bd to b052ba7 Compare May 19, 2026 10:01
Builder-Vite: Support configLoader via builder options
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.5.0-alpha.0 branch from b052ba7 to 061ed10 Compare May 19, 2026 10:57
valentinpalkovic and others added 4 commits May 19, 2026 15:39
The original PR added `${globPattern}/**` as a globby ignore pattern to
prevent story-like directories from being indexed. However, micromatch's
`/**` suffix can match zero-length trailing paths, causing the pattern to
also match the story files themselves. This caused ALL stories to be
ignored, resulting in 44 test failures and all sandbox dev/e2e/chromatic
CI failures.

The correct fix is to rely on globby's `onlyFiles: true` option (which is
the fast-glob default but is now explicit) to prevent directories from
being returned. This correctly excludes the `Button.stories.tsx` directory
from being indexed while keeping all legitimate story files.

Note: A secondary attempt with `${globPattern}/**/*` also failed because
globby tries to stat() the ignore pattern path and throws ENOTDIR when
the pattern resolves through an actual file (e.g., errors/A.mdx/**/*).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ory-directories

Core: Ignore story-like directories in indexer
Next.js Vite: Add Link mock with useLinkStatus to nextjs-vite framework
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.5.0-alpha.0 branch from 061ed10 to 8f9db32 Compare May 19, 2026 15:08
valentinpalkovic and others added 3 commits May 20, 2026 11:45
Yarn 4.15.0 enables `npmMinimalAgeGate: 1d` by default, which quarantines
freshly-published packages from the local Verdaccio registry and breaks
sandbox creation:

    YN0016: create-storybook@npm:10.5.0-alpha.0: All versions satisfying
    "10.5.0-alpha.0" are quarantined

Set `npmMinimalAgeGate 0` in the sandbox yarn config to unblock the team
while a more targeted preapproval-based fix is being worked on.
…imal-age-gate-disable

Build: Disable yarn npmMinimalAgeGate inside sandboxes
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.5.0-alpha.0 branch from 8f9db32 to 47284eb Compare May 20, 2026 11:34
@valentinpalkovic valentinpalkovic self-assigned this May 20, 2026
@valentinpalkovic valentinpalkovic added freeze Freeze the Release PR with this label ci:daily Run the CI jobs that normally run in the daily job. labels May 20, 2026
@storybook-app-bot
Copy link
Copy Markdown

Package Benchmarks

Commit: 47284eb, ran on 20 May 2026 at 12:18:23 UTC

The following packages have significant changes to their size or dependencies:

@storybook/builder-webpack5

Before After Difference
Dependency count 186 184 🎉 -2 🎉
Self size 79 KB 79 KB 0 B
Dependency size 33.07 MB 33.22 MB 🚨 +150 KB 🚨
Bundle Size Analyzer Link Link

storybook

Before After Difference
Dependency count 60 72 🚨 +12 🚨
Self size 20.52 MB 20.30 MB 🎉 -222 KB 🎉
Dependency size 32.84 MB 36.17 MB 🚨 +3.34 MB 🚨
Bundle Size Analyzer Link Link

@storybook/ember

Before After Difference
Dependency count 190 188 🎉 -2 🎉
Self size 15 KB 15 KB 0 B
Dependency size 29.79 MB 29.94 MB 🚨 +150 KB 🚨
Bundle Size Analyzer Link Link

@storybook/nextjs

Before After Difference
Dependency count 536 534 🎉 -2 🎉
Self size 651 KB 662 KB 🚨 +12 KB 🚨
Dependency size 61.20 MB 61.35 MB 🚨 +150 KB 🚨
Bundle Size Analyzer Link Link

@storybook/nextjs-vite

Before After Difference
Dependency count 93 93 0
Self size 1.37 MB 1.38 MB 🚨 +13 KB 🚨
Dependency size 24.78 MB 24.78 MB 🚨 +394 B 🚨
Bundle Size Analyzer Link Link

@storybook/react-webpack5

Before After Difference
Dependency count 273 271 🎉 -2 🎉
Self size 23 KB 23 KB 🚨 +12 B 🚨
Dependency size 45.73 MB 45.88 MB 🚨 +150 KB 🚨
Bundle Size Analyzer Link Link

@storybook/server-webpack5

Before After Difference
Dependency count 198 196 🎉 -2 🎉
Self size 16 KB 16 KB 🚨 +12 B 🚨
Dependency size 34.33 MB 34.48 MB 🚨 +150 KB 🚨
Bundle Size Analyzer Link Link

@storybook/cli

Before After Difference
Dependency count 194 203 🚨 +9 🚨
Self size 908 KB 908 KB 0 B
Dependency size 84.57 MB 87.59 MB 🚨 +3.02 MB 🚨
Bundle Size Analyzer Link Link

@storybook/codemod

Before After Difference
Dependency count 187 196 🚨 +9 🚨
Self size 32 KB 32 KB 0 B
Dependency size 83.06 MB 86.08 MB 🚨 +3.02 MB 🚨
Bundle Size Analyzer Link Link

create-storybook

Before After Difference
Dependency count 61 73 🚨 +12 🚨
Self size 1.08 MB 1.08 MB 🚨 +2 KB 🚨
Dependency size 53.36 MB 56.48 MB 🚨 +3.12 MB 🚨
Bundle Size Analyzer node node

@storybook/preset-react-webpack

Before After Difference
Dependency count 166 164 🎉 -2 🎉
Self size 18 KB 18 KB 0 B
Dependency size 32.08 MB 32.23 MB 🚨 +150 KB 🚨
Bundle Size Analyzer Link Link

@valentinpalkovic valentinpalkovic merged commit f28d259 into next-release May 21, 2026
301 of 312 checks passed
@valentinpalkovic valentinpalkovic deleted the version-non-patch-from-10.5.0-alpha.0 branch May 21, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:daily Run the CI jobs that normally run in the daily job. freeze Freeze the Release PR with this label release For PRs that trigger new releases. Automated

Projects

None yet

Development

Successfully merging this pull request may close these issues.