Release: Prerelease 10.4.0-alpha.5#34322
Merged
Merged
Conversation
…using @storybook/nextjs-vite The regex /@storybook\/nextjs/g matches as a substring inside @storybook/nextjs-vite, rewriting it to @storybook/nextjs-vite-vite. Projects that had both @storybook/nextjs and @storybook/nextjs-vite installed simultaneously (valid in SB9) would hit this because their main.ts already referenced @storybook/nextjs-vite. Fix: add a negative lookahead so only bare @storybook/nextjs is replaced.
…ns with pnpm Replace the naive character-code-sum hash with djb2 to prevent collisions when pnpm peer dependency hash suffixes produce paths with identical sums. Closes #34270 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move the unsigned right shift inside the loop so the accumulator stays within 32-bit range on every iteration, avoiding precision loss when hashing long file paths (common with pnpm). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…flag Core: Add changeDetection feature flag
…llision Builder-Vite: Use djb2 hash to prevent variable name collisions in builder-vite
2bf29a5 to
ce8a0a0
Compare
…ut-on-unmount Addon-a11y: Clear status transition timer on unmount to prevent test flake
ce8a0a0 to
8297825
Compare
…to 0.7.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…cate code in pseudo-states stories Co-authored-by: valentinpalkovic <5889929+valentinpalkovic@users.noreply.github.com> Agent-Logs-Url: https://github.com/storybookjs/storybook/sessions/d64da8e9-5f2a-402f-92c2-bc4185d77af0
Manager: URL-based tag filter state + filter-aware initial story selection
…ocgen-typescript-0.7.0 React-Vite: Upgrade @joshwooding/vite-plugin-react-docgen-typescript to 0.7.0
8297825 to
aaaac23
Compare
…-regex CLI: Fix Next.js Vite automigration corrupting configs already using `@storybook/nextjs-vite`
aaaac23 to
f6a0007
Compare
Build: Don't check format of version JSON files
f6a0007 to
c6746db
Compare
…do-state-grid Refactor: Extract shared `PseudoStateGrid` component in pseudo-states stories
c6746db to
6de8c90
Compare
Package BenchmarksCommit: The following packages have significant changes to their size or dependencies:
|
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 92 | 92 | 0 |
| Self size | 1.12 MB | 1.12 MB | 0 B |
| Dependency size | 22.73 MB | 22.76 MB | 🚨 +33 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
@storybook/react-native-web-vite
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 121 | 121 | 0 |
| Self size | 30 KB | 30 KB | 0 B |
| Dependency size | 23.80 MB | 23.83 MB | 🚨 +33 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
@storybook/react-vite
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 82 | 82 | 0 |
| Self size | 35 KB | 35 KB | 0 B |
| Dependency size | 20.51 MB | 20.54 MB | 🚨 +33 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
@storybook/cli
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 184 | 184 | 0 |
| Self size | 780 KB | 780 KB | 🎉 -57 B 🎉 |
| Dependency size | 67.68 MB | 67.69 MB | 🚨 +12 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
@storybook/codemod
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 177 | 177 | 0 |
| Self size | 32 KB | 32 KB | 🚨 +36 B 🚨 |
| Dependency size | 66.21 MB | 66.22 MB | 🚨 +12 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated pull request that bumps the version from
10.4.0-alpha.4to10.4.0-alpha.5.Once this pull request is merged, it will trigger a new release of version
10.4.0-alpha.5.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:PseudoStateGridcomponent in pseudo-states stories #34334storybook/nextjs-vite#34249If 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.5
storybook/nextjs-vite- #34249, thanks nathanjessen!PseudoStateGridcomponent in pseudo-states stories - #34334, thanks copilot-swe-agent!