Release: Prerelease 10.2.0-beta.2#33563
Merged
Merged
Conversation
Previously, CSF factory files would throw a `MixedFactoryError` if any named export was not a factory story (e.g., `meta.story()`). This caused issues when: - Files had helper exports that were excluded via `excludeStories` - Files had utility functions or constants exported alongside stories Now, non-factory exports in factory files are simply skipped during indexing. This means: - Helper exports no longer need `excludeStories` to avoid errors - `excludeStories`/`includeStories` still work for factory stories - Only actual factory stories (`meta.story()` / `meta.extend()`) are indexed Fixes #33549 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
…ies-exclude-stories
Co-authored-by: JReinhold <5678122+JReinhold@users.noreply.github.com>
…gation-error Onboarding: Fix navigation to first story when configure-your-project entry missing
Core: Fix viewport args handling and reset option
Zoom: Keyboardshortcut for the `plus` key
d6088fb to
7e140d0
Compare
…xclude-stories CSF-Factories: Skip non-factory exports instead of throwing error
7e140d0 to
d456214
Compare
d456214 to
4921801
Compare
Core: Fix Checklist behavior with hidden sidebar
4921801 to
2b45c8f
Compare
Build: Update Visual Tests addon
Dependencies: Update `baseline-browser-mapping`
2b45c8f to
3666ac1
Compare
Package BenchmarksCommit: The following packages have significant changes to their size or dependencies:
|
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 159 | 159 | 0 |
| Self size | 30 KB | 30 KB | 🎉 -10 B 🎉 |
| Dependency size | 23.00 MB | 23.12 MB | 🚨 +115 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
@storybook/cli
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 183 | 183 | 0 |
| Self size | 775 KB | 775 KB | 🚨 +276 B 🚨 |
| Dependency size | 67.38 MB | 67.45 MB | 🚨 +78 KB 🚨 |
| Bundle Size Analyzer | Link | Link |
@storybook/codemod
| Before | After | Difference | |
|---|---|---|---|
| Dependency count | 176 | 176 | 0 |
| Self size | 30 KB | 30 KB | 🎉 -40 B 🎉 |
| Dependency size | 65.95 MB | 66.03 MB | 🚨 +78 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.2.0-beta.1to10.2.0-beta.2.Once this pull request is merged, it will trigger a new release of version
10.2.0-beta.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:baseline-browser-mapping#33576pluskey #33565If 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.2.0-beta.2
baseline-browser-mapping- #33576, thanks ndelangen!pluskey - #33565, thanks ndelangen!