Skip to content

Release: Prerelease 10.4.0-alpha.16#34695

Merged
JReinhold merged 86 commits into
next-releasefrom
version-non-patch-from-10.4.0-alpha.15
May 5, 2026
Merged

Release: Prerelease 10.4.0-alpha.16#34695
JReinhold merged 86 commits into
next-releasefrom
version-non-patch-from-10.4.0-alpha.15

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

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

  • 🔧 Maintenance: ReactNative: Add true entrypoint generation #34663
  • 🐛 Bug: Prompt: Run vitest fewer times, improve play functions #34651
  • 🐛 Bug: CLI: Improve self-healing scoring observability #34699
  • 🔧 Maintenance: Automigration: Move RN on-device addons to deviceAddons #34659
  • 🏗️ Build: Agentic Setup: Show Discord and human docs only to humans #34705
  • 🏗️ Build: Agentic Setup: Remove redundant ai-setup-evidence event #34698
  • 🏗️ Build: Chore: Move eslint-plugin lib formatting to oxfmt #34667
  • 🏗️ Build: Types: Fix coverage type #34700
  • 🏗️ Build: Agentic Setup: Fix onboarding copy prompt CTA appearing without hover #34696
  • 🏗️ Build: Test: Improve stack trace when failing on console.warn/error #34697
  • 📝 Documentation: Docs: Remove language from sh code snippets #34401
  • 📝 Documentation: docs: prefer userEvent in unit test examples #34632

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.4.0-alpha.16

  • Automigration: Move RN on-device addons to deviceAddons - #34659, thanks ndelangen!
  • CLI: Improve self-healing scoring observability - #34699, thanks yannbf!
  • Prompt: Run vitest fewer times, improve play functions - #34651, thanks yannbf!
  • ReactNative: Add true entrypoint generation - #34663, thanks ndelangen!

huang-julien and others added 30 commits March 30, 2026 14:40
…dons`

Adds a new `rn-ondevice-addons-to-device-addons` automigration that moves
on-device addons (packages whose name contains `ondevice`) from the shared
`addons` array into a new `deviceAddons` array in `.rnstorybook/main.ts`.

This is needed because Storybook Core evaluates every entry in `addons` as
a Node.js preset, which on-device addons are not, and that causes
`storybook extract` to fail.

Split out of #34333 (M8). Tracking issue: #34276.

Made-with: Cursor
Adds a self-contained generator that creates the `.rnstorybook/index.{ts,js}`
entry point for React Native projects, copying it from a static template and
choosing the file extension based on the project's language preference
(TypeScript vs JavaScript).

The entry point template registers a root component via
`AppRegistry.registerComponent` and configures `getStorybookUI` with storage,
producing a user-editable file.

Files added:
- `src/generators/REACT_NATIVE/generateEntrypoint.ts` — the generator
- `src/generators/REACT_NATIVE/generateEntrypoint.test.ts` — full coverage
- `templates/react-native/index.js` — the static template

This module is intentionally not yet wired into the React Native generator;
that orchestration arrives in M3.

Split out of #34333 (M2). Tracking issue: #34276.

Made-with: Cursor
Updated the migration documentation for React Native to specify that on-device addons must now be listed under the `deviceAddons` key in `.rnstorybook/main.ts`. Enhanced the automigration logic to ensure it correctly identifies and renames the `addons` key to `deviceAddons`, while also improving test coverage for various scenarios related to the migration process.
Co-authored-by: Copilot <copilot@github.com>
This change modifies the mock implementation of `findConfigFile` in the `rn-ondevice-addons-to-device-addons` test to return `null` instead of `undefined`, ensuring more accurate test behavior.
This change updates the type casting for the `node` variable in the `rn-ondevice-addons-to-device-addons` migration logic, ensuring compatibility when setting the `deviceAddons` field in the main configuration.
Sidnioulz and others added 7 commits May 4, 2026 14:50
…tegration

- Moved AsyncStorage import to the top of the `index.expo.js` file for better visibility.
- Updated `index.js` to use `shouldPersistSelection` instead of `enableWebsockets` for storage configuration.
- Added a user-editable comment in `index.expo.js` to clarify usage for developers.
Chore: Move eslint-plugin lib formatting to oxfmt
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.4.0-alpha.15 branch from 0eccc25 to 5ce91e9 Compare May 4, 2026 13:52
@JReinhold JReinhold added ci:daily Run the CI jobs that normally run in the daily job. freeze Freeze the Release PR with this label labels May 4, 2026
@JReinhold JReinhold self-assigned this May 4, 2026
ndelangen and others added 11 commits May 4, 2026 16:20
…pshots

- Replaced direct value assertions with inline snapshots for better readability and maintainability.
- Ensured that the tests accurately reflect the expected output for various entrypoint scenarios.
- Improved test coverage for the generated output paths and content checks.
…ne snapshots

- Updated assertions to use inline snapshots for improved clarity and maintainability.
- Ensured the tests accurately reflect the expected output structure and content for various entrypoint scenarios.
- Enhanced test coverage for the generated output, including imports and component registration.
…ration

ReactNative: Add true entrypoint generation
Co-authored-by: Copilot <copilot@github.com>
@yannbf yannbf removed the freeze Freeze the Release PR with this label label May 4, 2026
yannbf and others added 2 commits May 4, 2026 18:30
@storybook-bot storybook-bot force-pushed the version-non-patch-from-10.4.0-alpha.15 branch from 5ce91e9 to d347809 Compare May 4, 2026 16:32
@storybook-app-bot
Copy link
Copy Markdown

storybook-app-bot Bot commented May 4, 2026

Package Benchmarks

Commit: d347809, ran on 4 May 2026 at 16:58:36 UTC

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

@storybook/nextjs-vite

Before After Difference
Dependency count 93 93 0
Self size 1.12 MB 1.12 MB 0 B
Dependency size 23.78 MB 24.67 MB 🚨 +891 KB 🚨
Bundle Size Analyzer Link Link

@storybook/react-native-web-vite

Before After Difference
Dependency count 122 122 0
Self size 30 KB 30 KB 🎉 -18 B 🎉
Dependency size 24.85 MB 25.74 MB 🚨 +891 KB 🚨
Bundle Size Analyzer Link Link

@storybook/react-vite

Before After Difference
Dependency count 83 83 0
Self size 36 KB 36 KB 0 B
Dependency size 21.56 MB 22.45 MB 🚨 +891 KB 🚨
Bundle Size Analyzer Link Link

@storybook/cli

Before After Difference
Dependency count 184 184 0
Self size 836 KB 879 KB 🚨 +43 KB 🚨
Dependency size 68.27 MB 68.28 MB 🚨 +9 KB 🚨
Bundle Size Analyzer Link Link

@yannbf yannbf added the freeze Freeze the Release PR with this label label May 4, 2026
@JReinhold JReinhold merged commit c2fdbb4 into next-release May 5, 2026
292 of 295 checks passed
@JReinhold JReinhold deleted the version-non-patch-from-10.4.0-alpha.15 branch May 5, 2026 04:30
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.

9 participants