Release: Prerelease 10.5.0-alpha.2#34878
Closed
github-actions[bot] wants to merge 48 commits into
Closed
Conversation
When a bundler splits a CSF4 story module (no `export default meta`)
into a separate chunk, the namespace object passed to `<Meta of={...} />`
differs by object identity from the one Storybook registered. The
existing default-export fallback in `DocsContext.resolveModuleExport`
cannot handle this case because CSF4 modules have no `default` key.
Fall back to identifying the CSF file via any of its story exports.
Reject the lookup when story exports span multiple CSF files. Guard
against individual CSF4 Story objects so `<Canvas of={Stories.Primary} />`
keeps resolving to a story.
Fixes #34159
Fixes #34373
Distilled from recurring failure modes in agent-authored PRs: comments as investigation transcript, bending production to the test harness, unproven environment assumptions, over-engineered defensive tests, convention drift in generated files, and speculative generality. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Use ">= 4.9.x" (matching @storybook/react-webpack5 and the react renderer) instead of ">=4.9.x", and refresh yarn.lock. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The root `resolutions` field forced every package in the tree onto a single type-fest version. Raising it to v5 broke external packages whose typings target older type-fest majors (e.g. react-joyride, whose types rely on type-fest v2-era utilities). Drop the global `type-fest` resolution so each package resolves the version it declares, and scope react-joyride to type-fest v2 — the version it was effectively pinned to before this upgrade. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
`writePackageJson` defaults to `cwd`; pass the primary package's `operationDir` so the storybook ESLint config is written to the correct manifest in monorepos. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Reflect the type-fest resolution change in the ecosystem-ci `EXISTING_RESOLUTIONS` set so it stays in sync with the root package.json `resolutions` keys. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collapse the Map build / Array.from / filter / map / Object.fromEntries pipeline into one loop that builds the result object directly, preserving last-wins rule deduplication. Drops the type cast as well. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Build: Upgrade type-fest to latest version 5.6.0
the looser `unknown[]` type doesn't work well with Generic + conditional type logic
…meta-split-chunk Addon-Docs: Resolve CSF4 module exports without a default export
CSF-Next: Add tags type support for
…rules-34647 A11y-Addon: Preserve disabled a11y rules with runOnly
Add an optional TypeScript peer to react-vite
…ore-timeout Core: Categorize UniversalStore follower timeout error
Core: Add runtime instance registry
…ts-md Docs: Add Code Authoring Principles for agents
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.5.0-alpha.1to10.5.0-alpha.2.Once this pull request is merged, it will trigger a new release of version
10.5.0-alpha.2.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:resolveandresolve.exportswithoxc-resolver#34692peerDependenciesin framework detection for component libraries #34516 (will also be patched)prop-types#34854 (will also be patched)get-changed-storiestool #34643 (will also be patched)actions/checkout#34848If 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.2
peerDependenciesin framework detection for component libraries - #34516, thanks zhyd1997!resolveandresolve.exportswithoxc-resolver- #34692, thanks valentinpalkovic!