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.4.0-alpha.5 #29292

Merged
merged 68 commits into from
Oct 8, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 7, 2024

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

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

  • 📦 Dependencies: Core: Migrate from express to polka #29230
  • 🔧 Maintenance: Core: Remove dependence on file-system-cache #29256
  • 🏗️ Build: Build: Filter out @storybook/root from buildable packages #29285
  • 🏗️ Build: Build: Disallowed certain packages via ESlint #29266

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

43081j and others added 30 commits May 6, 2024 23:27
Migrates away from express, instead using connect and the underlying
node server directly.

Both express and connect support the same middleware structure, which
means most middleware packages work for both and have remained the same
in this change.

A few notes:

- Express' router has been replaced by basic connect mount points
(though the two are not equivalent exactly)
- Express static has been replaced by sirv

This trims a large sub-tree of dependencies from our packages which
express was pulling in. We in fact use very little of the functionality
express gives us, only really making use of the connect-style API
anyway.
Migrates from express to polka 1.x.
@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Oct 7, 2024
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.

28 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings

const options = {
...cliOptions,
configDir: cliOptions.configDir || './.storybook',
configType: 'DEVELOPMENT',
ignorePreview: !!cliOptions.previewUrl && !cliOptions.forceBuildPreview,
cache,
cache: cache as any,
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Cast cache to 'any' to avoid potential type conflicts

Comment on lines +54 to +57
private parseCacheData<T>(data: string, fallback: T | null): T | null {
const parsed = JSON.parse(data);
return this.isExpired(parsed, Date.now()) ? fallback : (parsed.content as T);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Add error handling for JSON.parse to prevent crashes on invalid data

Comment on lines +10 to 11
// eslint-disable-next-line depend/ban-dependencies
import execa from 'execa';
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 moving this eslint-disable comment to a more specific line or finding an alternative to 'execa' that doesn't require disabling the rule.

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.4.0-alpha.4 branch from 11d5e25 to 633da81 Compare October 7, 2024 16:09
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.4.0-alpha.4 branch from 633da81 to f0e4c35 Compare October 8, 2024 09:13
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.4.0-alpha.4 branch from f0e4c35 to 6e32f1c Compare October 8, 2024 13:16
@shilman shilman added freeze Freeze the Release PR with this label ci:daily Run the CI jobs that normally run in the daily job. labels Oct 8, 2024
Copy link

nx-cloud bot commented Oct 8, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6e32f1c. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@shilman shilman merged commit 0251c05 into next-release Oct 8, 2024
108 of 110 checks passed
@shilman shilman deleted the version-non-patch-from-8.4.0-alpha.4 branch October 8, 2024 13:58
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