Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Prerelease 8.5.0-beta.5 #30124

Merged
merged 34 commits into from
Dec 23, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 22, 2024

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

  • 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:

  • 🐛 Bug: Addon Test: Only reset story count on file change when watch mode is enabled #30121
  • 🐛 Bug: Vite: Add extra entries to optimizeDeps #30117
  • 📦 Dependencies: Build: Revert Downgrade to esbuild 0.24.0 #30120
  • 🐛 Bug: Core: Fix ERR_PACKAGE_PATH_NOT_EXPORTED in @storybook/node-logger #30093
  • 🐛 Bug: React: Use Act wrapper in Storybook for component rendering #30037

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

8.5.0-beta.5

  • Addon Test: Only reset story count on file change when watch mode is enabled - #30121, thanks @ghengeveld!
  • Build: Revert Downgrade to esbuild 0.24.0 - #30120, thanks @yannbf!
  • Core: Fix ERR_PACKAGE_PATH_NOT_EXPORTED in @storybook/node-logger - #30093, thanks @JReinhold!
  • React: Use Act wrapper in Storybook for component rendering - #30037, thanks @valentinpalkovic!
  • Vite: Add extra entries to optimizeDeps - #30117, thanks @ndelangen!

valentinpalkovic and others added 28 commits December 12, 2024 14:06
- Introduced a new feature flag `developmentModeForBuild` to enhance testability in built Storybooks.
- Updated build configurations to set `process.env.NODE_ENV` to `development` when the feature is enabled.
- Cleaned up unnecessary definitions in various preset and configuration files.
…omponents

React: Use Act wrapper in Storybook for component rendering
@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Dec 22, 2024
@github-actions github-actions bot requested a review from kylegach as a code owner December 22, 2024 09:20
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

23 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile

@@ -35,9 +35,22 @@ export async function build(options: Options) {
}
: {}),
},
}).build;
} as InlineConfig).build;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Missing type assertion on config.build assignment could cause type errors

Comment on lines +39 to +40
// @ts-expect-error Ignore this error, because in the `webpack` preset the user actually hasn't defined a config yet.
...config.plugins,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Spreading undefined plugins will cause runtime error if config.plugins is not initialized

Comment on lines +54 to +57
if (jestFakeTimersAreEnabled()) {
// @ts-expect-error global jest
jest.advanceTimersByTime(0);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider using a more type-safe approach for Jest timer detection instead of @ts-expect-error

Comment on lines +65 to +72
eventWrapper: (cb) => {
let result;
act(() => {
result = cb();
return result;
});
return result;
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: eventWrapper does not handle async events - could cause issues with async event handlers

Core: Fix `ERR_PACKAGE_PATH_NOT_EXPORTED` in `@storybook/node-logger`
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.5.0-beta.4 branch from ecd0dd9 to 421fa8e Compare December 22, 2024 15:44
…ild-ci-issue

Build: Revert Downgrade to esbuild 0.24.0
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.5.0-beta.4 branch from 421fa8e to 5c86980 Compare December 23, 2024 08:29
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.5.0-beta.4 branch from 5c86980 to 2aec99f Compare December 23, 2024 11:08
yannbf and others added 2 commits December 23, 2024 12:12
Addon Test: Only reset story count on file change when watch mode is enabled
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.5.0-beta.4 branch from 2aec99f to e5c6c79 Compare December 23, 2024 11:15
@yannbf yannbf added freeze Freeze the Release PR with this label ci:daily Run the CI jobs that normally run in the daily job. labels Dec 23, 2024
Copy link

nx-cloud bot commented Dec 23, 2024

View your CI Pipeline Execution ↗ for commit e5c6c79.

Command Status Duration Result
nx affected -t check -c production --parallel=7 ✅ Succeeded <1s View ↗
nx run-many -t build -c production --parallel=3 ✅ Succeeded 2s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-23 13:09:56 UTC

@storybook-pr-benchmarking
Copy link

Package Benchmarks

Commit: e5c6c79, ran on 23 December 2024 at 13:17:08 UTC

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

@storybook/experimental-nextjs-vite

Before After Difference
Dependency count 153 153 0
Self size 231 KB 231 KB 🚨 +298 B 🚨
Dependency size 44.68 MB 44.70 MB 🚨 +19 KB 🚨
Bundle Size Analyzer Link Link

@storybook/nextjs

Before After Difference
Dependency count 589 589 0
Self size 471 KB 472 KB 🚨 +298 B 🚨
Dependency size 83.26 MB 83.28 MB 🚨 +16 KB 🚨
Bundle Size Analyzer Link Link

@storybook/react-native-web-vite

Before After Difference
Dependency count 105 105 0
Self size 42 KB 42 KB 0 B
Dependency size 18.02 MB 18.03 MB 🚨 +11 KB 🚨
Bundle Size Analyzer Link Link

@storybook/react-vite

Before After Difference
Dependency count 87 87 0
Self size 13 KB 13 KB 0 B
Dependency size 16.01 MB 16.03 MB 🚨 +11 KB 🚨
Bundle Size Analyzer Link Link

@yannbf yannbf merged commit 0abf3ce into next-release Dec 23, 2024
107 of 112 checks passed
@yannbf yannbf deleted the version-non-patch-from-8.5.0-beta.4 branch December 23, 2024 13:43
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.

6 participants