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.7 #29332

Merged
merged 13 commits into from
Oct 12, 2024

Conversation

github-actions[bot]
Copy link
Contributor

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

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

  • ✨ Feature Request: Manager: Add tags property to ComponentEntry objects #29343
  • 🔧 Maintenance: CLI: Install Svelte CSF v5 in Svelte5 projects #29323
  • 📝 Documentation: Docs: Add streamlined a11y setup docs #29296

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.7

  • CLI: Install Svelte CSF v5 in Svelte5 projects - #29323, thanks @shilman!
  • Manager: Add tags property to ComponentEntry objects - #29343, thanks @Sidnioulz!

@github-actions github-actions bot requested a review from kylegach as a code owner October 11, 2024 09:01
@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Oct 11, 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.

10 file(s) reviewed, 5 comment(s)
Edit PR Review Bot Settings | Greptile

['6.0.0', ''],
['3.0.0-next.0', ''],
['4.0.0-next.0', '4'],
['4.2.19::__archiveUrl=https%3A%2F%2Fregistry.npmjs.org%2Fsvelte%2F-%2Fsvelte-4.2.19.tgz', '4'],
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 constant for this long URL to improve readability

const packageManager = {
getInstalledVersion: async (pkg: string) => (pkg === 'svelte' ? svelteVersion : undefined),
getAllDependencies: async () => ({ svelte: `^${svelteVersion}` }),
} as any as JsPackageManager;
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Avoid using 'any' type casting. Consider creating a mock object that implements the JsPackageManager interface

const packageManager = {
getInstalledVersion: async (pkg: string) => undefined,
getAllDependencies: async () => ({ svelte: svelteSpecifier }),
} as any as JsPackageManager;
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Avoid using 'any' type casting here as well. Create a mock object implementing JsPackageManager

Comment on lines +8 to +17
const versionHelper = (svelteMajor?: number) => {
if (svelteMajor === 4) {
return '4';
}
// TODO: update when addon-svelte-csf v5 is released
if (svelteMajor === 5) {
return '^5.0.0-next.0';
}
return '';
};
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 switch statement for better readability and maintainability

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.4.0-alpha.6 branch from 2c33d2a to 48915df Compare October 12, 2024 20:33
@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 12, 2024
Copy link

nx-cloud bot commented Oct 12, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 48915df. 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 6670dfa into next-release Oct 12, 2024
109 of 110 checks passed
@shilman shilman deleted the version-non-patch-from-8.4.0-alpha.6 branch October 12, 2024 21:03
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.

4 participants