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.2.0-alpha.11 #28319

Open
wants to merge 712 commits into
base: next-release
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 23, 2024

This is an automated pull request that bumps the version from 8.2.0-alpha.10 to 8.2.0-alpha.11.
Once this pull request is merged, it will trigger a new release of version 8.2.0-alpha.11.
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: SWC: Set default targets for swc that align with our esbuild targets #28435
  • ✨ Feature Request: Core: Add support for beforeAll hook #28255
  • 📦 Dependencies: Dependency: Remove node-fetch #28160 (will also be patched)
  • 🐛 Bug: Blocks: Fix reference to storybook core #28422
  • 🐛 Bug: Addon Interactions: Use unique keys when rendering array nodes in panel #28423
  • 🐛 Bug: Telemetry: Stop prompting about crash reports in CI #28433
  • ✨ Feature Request: Angular: Allow format configuration of custom source preview #28305
  • 🐛 Bug: Angular: Fix enableProdMode setting #28415
  • ✨ Feature Request: Test: Add args to mount in react, svelte, and vue renderers #28385
  • ✨ Feature Request: Test: Add mount property to the story context #28383
  • ✨ Feature Request: Test: Enhance the context with canvas when the test package is used #28368
  • 🐛 Bug: Angular: Update outputPath default value in angular-cli-webpack.js #28418
  • 🐛 Bug: Build: Ignore ts stories in cra/default-js sandbox #28354
  • 🐛 Bug: Indexer: Improve locating stories with specials chars in path #22110
  • ✨ Feature Request: Addon Onboarding: Add icons for dev/test/doc to the splash screen #28389
  • 📦 Dependencies: CPC: Core Package Consolidation #27039
  • ✨ Feature Request: Core: Add context as a property of the context (self-referencing) #28353
  • ✨ Feature Request: Addon Onboarding: New design and flow based on Save from Controls #28327
  • 🐛 Bug: Next.js: Set env.bugfixes in SWC so destructuring is never transpiled #28363
  • 🐛 Bug: Config: Apply JavaScript-only story glob extensions for JavaScript projects #28338
  • 🐛 Bug: Telemetry: Detect Node version #28299 (will also be patched)
  • 🐛 Bug: CLI: Improve error message when fetching CLI version #28289
  • ✨ Feature Request: CLI: Add support for Nuxt to project init #26884
  • 📦 Dependencies: Deps: Migrate from read-pkg-up to fd-package-json #28272
  • 📦 Dependencies: Core: Migrate from pkg-dir to fd-package-json #28270
  • ⚠️ Direct commit: only show active sponsors f9474c0c7dc9adf73ba638b5fed283df2e5ab575
  • 🏗️ Build: Build: Opencollective update sponsors links #28438
  • 📝 Documentation: Angular: Enhance Error Handling and Entry Normalization #28217
  • 🏗️ Build: Build: Remove flakiness in Chromatic for error stories #28429
  • ⚠️ Direct commit: Fix type errors d21d317c51f898ca60c75f9b7c7bfed67201c451
  • 🏗️ Build: Build: Make sure CRA sandboxes are not transpiling destructuring expressions #28411
  • 🏗️ Build: CPC: Remove externalization of memoizerific and remove need for util-deprecate #28410
  • 🏗️ Build: Build: Remove packageManager field #28405
  • 🏗️ Build: Build: Fix portal linking temporarily #28402
  • 📝 Documentation: Docs: Fix malformed frontmatter #28387
  • 🏗️ Build: Build: Remove lockfiles & cleanup unused files #28379
  • 🏗️ Build: Build: Revert "Build: Remove unused files/properties & remove lockfiles from test-storybooks" #28378
  • 🏗️ Build: Build: Remove unused files/properties & remove lockfiles from test-storybooks #28366
  • 📝 Documentation: Docs: Fix incorrect relative links (round 2) #28376
  • 📝 Documentation: Docs: Fix incorrect relative links #28375
  • 📝 Documentation: Docs: Fix API typo #28371
  • 📝 Documentation: Docs: Update docs API index #28365
  • 🏗️ Build: Build: Fix caching issue with Verdaccio #28361
  • 🏗️ Build: Build: Readme update with opencollective data #28360
  • 📝 Documentation: Docs: Transform all docs to the new structure & format #28242
  • 📝 Documentation: Docs: Update Changelog by adding 7.6.x changes #28325
  • 🏗️ Build: Build: Use same version of yarn everywhere #28286
  • 🏗️ Build: Build: Fix the CRA sandbox not being link-able #28240
  • 📝 Documentation: Automigrations: Fix typo storyStoryV7 -> storyStoreV7 #28260

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.2.0-alpha.11

Greptile Summary

  • README.md: Corrected URLs for Open Collective sponsor badges and avatars.
  • /code/package.json: Added deferredNextVersion field with value 8.2.0-alpha.11.
  • /docs/versions/next.json: Updated to reflect version 8.2.0-alpha.11 with a summary of changes.

@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Jun 23, 2024
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch 3 times, most recently from bb51259 to a5e80df Compare June 24, 2024 12:28
@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 Jun 25, 2024
Copy link

nx-cloud bot commented Jun 25, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 18f096d. 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 removed ci:daily Run the CI jobs that normally run in the daily job. freeze Freeze the Release PR with this label labels Jun 27, 2024
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from a5e80df to c2588ee Compare June 27, 2024 02:24
@shilman shilman added freeze Freeze the Release PR with this label ci:daily Run the CI jobs that normally run in the daily job. and removed ci:daily Run the CI jobs that normally run in the daily job. freeze Freeze the Release PR with this label labels Jun 27, 2024
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from c2588ee to f939cd4 Compare June 27, 2024 03:58
Copy link

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

PR Summary

(updates since last review)

  • /code/core/src/core-server/withTelemetry.ts: Removed NODE_ENV 'test' check for crash report prompts in CI environments.
  • /code/package.json: Added deferredNextVersion field set to 8.2.0-alpha.11.
  • /docs/versions/next.json: Updated to reflect version 8.2.0-alpha.11 with detailed changelog.

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

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from 0377e01 to cfd2f7e Compare July 3, 2024 13:03
Copy link

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

PR Summary

(updates since last review)

  • /code/frameworks/angular/src/server/plugins/storybook-normalize-angular-entry-plugin.js: Improved handling of Webpack entry points for Angular projects; merged 'main' and 'styles' entries; added error logging.
  • /code/package.json: Added deferredNextVersion property set to 8.2.0-alpha.11.
  • /docs/versions/next.json: Updated to reflect version 8.2.0-alpha.11 with a detailed changelog.

No major changes found since last review.

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

Addon Interactions: Use unique keys when rendering array nodes in panel
Blocks: Fix reference to storybook core
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from cfd2f7e to bf1aa31 Compare July 3, 2024 13:19
Copy link

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

PR Summary

(updates since last review)

  • /code/addons/interactions/src/components/MethodCall.tsx: Modified key generation for Node component to include index and stringified value.
  • /code/lib/blocks/src/blocks/Source.tsx: Updated import paths to reference internal modules.
  • /code/package.json: Added deferredNextVersion field for version bump to 8.2.0-alpha.11.
  • /docs/versions/next.json: Updated to reflect new version 8.2.0-alpha.11 with changelog.

4 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from bf1aa31 to 4df4bf1 Compare July 3, 2024 14:26
Core: Add support for `beforeAll` hook
Copy link

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

PR Summary

(updates since last review)

  • Removed node-fetch import from multiple files (/scripts/release/utils/github-client.ts, /scripts/release/utils/get-github-info.ts, /scripts/release/publish.ts, /scripts/release/is-version-published.ts, /scripts/event-log-checker.ts, /scripts/sandbox/utils/git.ts, /scripts/utils/githubClient.ts)
  • Updated /code/package.json to include deferredNextVersion field for version bump to 8.2.0-alpha.11
  • Simplified code examples in /docs/_snippets/loader-story.md and /docs/_snippets/storybook-preview-global-loader.md by removing node-fetch
  • Updated /docs/versions/next.json to reflect new version 8.2.0-alpha.11 with detailed changelog
  • Removed @types/node-fetch and node-fetch dependencies from /scripts/package.json

12 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from 4df4bf1 to 0b5df9c Compare July 3, 2024 14:31
Copy link

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

PR Summary

(updates since last review)

  • Added beforeAll hook in /code/core/src/preview-api/modules/preview-web/Preview.tsx
  • Introduced composeBeforeAllHooks in /code/core/src/preview-api/modules/store/csf/beforeAll.ts
  • Added tests for beforeAll in /code/core/src/preview-api/modules/store/csf/beforeAll.test.ts
  • Updated composeConfigs to include beforeAll in /code/core/src/preview-api/modules/store/csf/composeConfigs.ts
  • Enhanced type safety in setProjectAnnotations across multiple files (/code/frameworks/nextjs/src/portable-stories.ts, /code/renderers/react/src/portable-stories.tsx, /code/renderers/svelte/src/portable-stories.ts, /code/renderers/vue3/src/portable-stories.ts)

17 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

return async () => {
const cleanups: CleanupCallback[] = [];
for (const hook of hooks) {
const cleanup = await hook();
Copy link

Choose a reason for hiding this comment

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

🧠 logic: Check if hook returns a cleanup function before adding it to the cleanups array.

…-target

SWC: Set default targets for swc that align with our esbuild targets
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from 0b5df9c to d0c21fe Compare July 3, 2024 15:17
Copy link

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

PR Summary

(updates since last review)

  • Updated code/package.json with deferredNextVersion set to 8.2.0-alpha.11
  • Updated docs/versions/next.json to reflect version 8.2.0-alpha.11
  • Changelog updates: unique keys for rendering array nodes in Addon Interactions panel
  • Added new icons for Addon Onboarding splash screen
  • Several Angular-specific improvements

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from d0c21fe to 068dd74 Compare July 3, 2024 15:33
Copy link

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

PR Summary

(updates since last review)

  • Updated sponsor section in /README.md with individual avatars and links
  • Added deferredNextVersion field in /code/package.json
  • Updated version and changelog in /docs/versions/next.json

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

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.2.0-alpha.10 branch from 068dd74 to e6d2a30 Compare July 3, 2024 16:01
Copy link

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

LGTM

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release For PRs that trigger new releases. Automated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet