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.3.0-beta.5 #29075

Merged
merged 63 commits into from
Sep 11, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 9, 2024

This is an automated pull request that bumps the version from 8.3.0-beta.4 to 8.3.0-beta.5.
Once this pull request is merged, it will trigger a new release of version 8.3.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: Portable Stories: Improve Handling of React Updates and Errors #29044
  • 🐛 Bug: Vue: Add missing prop controls when using vue-component-meta docgen plugin #28760
  • 🐛 Bug: Vite: Fix missing source map warning #28984
  • 📝 Documentation: Docs: Fixes for 8.3 #29081
  • 📝 Documentation: Docs: Vitest plugin #28924
  • 📝 Documentation: Docs: Fix typo in setup.mdx #29068
  • 📝 Documentation: Docs: Fix broken links ending with ".mdx" #29051

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.3.0-beta.5

kylegach and others added 30 commits August 26, 2024 12:30
- Includes sidebar order updates
    - Use non-zero-indexed orders
* next:
  Address feedback
  Address comments
  Typo
  Further updates
  Address feedback
  Remove TK
  Futher updates to #28716
* next: (33 commits)
  fix lint
  Clarify requirements of Next.js with Vite
  Next.js-Vite: Update next and vite-plugin-storybook-nextjs dependencies
  Addon Vitest: Fix tests potentially not existing in non-isolate mode
  CLI: Update spawn options in proxy.ts to support Windows
  Builder-Vite: Fix 'condition node never be used' warning
  Bump version from "8.3.0-alpha.9" to "8.3.0-alpha.10" [skip ci]
  Write changelog for 8.3.0-alpha.10 [skip ci]
  make prettier a normal dependency of core again. restore formatter code
  Use relative path from workspace to vite.config in extends path
  CLI: Fix dedent import in package managers
  Support JSX file extensions as well
  Addon Vitest: Fix postinstall file types
  Remove (disable) isolate option because it sometimes doesn't show stories
  add TODO comment
  make prettier optional
  improve meta file generation
  patch babel traverse types to be compatible with our dts bundler
  minimize changes
  minimize changes
  ...
* next:
  Address feedback
  add link to docs for how to set feature flags.
  improve migration notes for globals project
  Fix typo
  ConfigFile: Fix `as const satisfies` modifiers
  Bump version from "8.3.0-alpha.11" to "8.3.0-beta.0" [skip ci]
  Update docs/versions/next.json
  Add description to empty 8.3.0-beta.0 release
  Write changelog for 8.3.0-beta.0 [skip ci]
  Bump version from "8.3.0-alpha.10" to "8.3.0-alpha.11" [skip ci]
  Write changelog for 8.3.0-alpha.11 [skip ci]
  Re-order sidebar
  Rename interaction test -> component test
- Limit to react, vue, and svelte renderers
- `addon-vitest` -> `addon-test`
- `addon-vitest/plugin` -> `addon-test/vite-plugin`
- Add requirements
- Add more details and examples about framework plugins
- Add more detail about test setup file
- Move comparison to previous test runner into its own section
- Format snippets
* next: (31 commits)
  add playwright eslint plugin, fix tests by rules
  fix tags e2e test
  fix urls in addon-test package.json
  use auto-retrying assertions in e2e tests
  renamed vitest addon import file name to 'test'
  Bump version from "8.3.0-beta.1" to "8.3.0-beta.2" [skip ci]
  Write changelog for 8.3.0-beta.2 [skip ci]
  fix package order in versions
  fix import
  fix
  add tests
  CLI: Handle Yarn PnP wrapper scenario when adding an addon
  cleanup
  Add type declaration for storybookTest in plugin module
  dont' use parameters for default backgrounds, as they are not overridable
  Fix type export for @storybook/experimental-nextjs-vite/vite-plugin
  don't use parameters for default viewports, as they are not overridable
  Nextjs-Vite: Re-export vite-plugin-storybook-nextjs
  refactor vite plugin export paths
  Bump version from "8.3.0-beta.0" to "8.3.0-beta.1" [skip ci]
  ...
When I checked "How to contribute" page on storybook.js.org, a link
titled "Continue reading our contributor covenant" pointed to GitHub's
404 page. The last item of the URL path was "CODE_OF_CONDUCT.mdx", which
is not common filename people uses, therefore I suspected this is not
the only broken link in the docs.

And I was right. I ran the below command (rg = RipGrep) then found
several 404 links.

```
$ cd docs
$ rg "https?:[\S)]+mdx\)" --sort path
```

Git blame told me that some of ".md" to ".mdx" migration works
accidentally changed non-docs URLs ending with ".md" too.

StackBlitz URL in docs/api/main-config/main-config-indexers.mdx is not
actually a dead link, as the service redirects to the `README.md`.
However, the redirection takes loooong so I replaced that as well.

There are still two links that match to the above regexp:

* <https://github.com/storybookjs/storybook/blob/next/docs/get-started/setup.mdx>
  at docs/contribute/documentation/new-snippets.mdx L42
* <https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx>
  at docs/writing-docs/mdx.mdx

but those two are both valid (alive) URLs.
…ybookjs/storybook into valentin/propagate-error-in-testing
…ybookjs/storybook into valentin/propagate-error-in-testing
jonniebigodes and others added 9 commits September 9, 2024 20:30
* next: (25 commits)
  Bump version from "8.3.0-beta.3" to "8.3.0-beta.4" [skip ci]
  Write changelog for 8.3.0-beta.4 [skip ci]
  rename vitest plugin entrypoint
  add narrow story to Sidebar
  upgrade @radix-ui/react-scroll-area
  Bump version from "8.3.0-beta.2" to "8.3.0-beta.3" [skip ci]
  Write changelog for 8.3.0-beta.3 [skip ci]
  fix lint
  only append addon to main.js if not already added
  final fixes
  Next.js: Update dependencies
  only install the necessary dependencies
  Next.js-Vite: Fix vite plugin exports
  use named import from dedent
  review improvements
  add explanation in sb add command
  add helpful links
  additional fixes
  Consistently naming the 'Storybook Test' addon
  CONSTANT_CASE for constants
  ...
Docs: Fix broken links ending with ".mdx"
Docs: Fix typo in setup.mdx
…e-map-warning-second-attempt

Vite: Fix missing source map warning
@github-actions github-actions bot added the release For PRs that trigger new releases. Automated label Sep 9, 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, 2 comment(s)
Edit PR Review Bot Settings

// Speed up tests and better match how they run in Storybook itself
// https://vitest.dev/config/#isolate
// Consider removing this if you have flaky tests
isolate: false,
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Be cautious with isolate: false as it may lead to test interdependencies

Copy link
Member

@shilman shilman Sep 10, 2024

Choose a reason for hiding this comment

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

@kylegach @yannbf @kasperpeulen didn't we say isolate: true by default and then encourage users to opt-in to isolate: false if they want to make things faster?

Comment on lines 83 to 84
// 👇 If you're using Sveltekit, apply this framework plugin as well
// import { storybookNextjsPlugin } from '@storybook/sveltekit/vite-plugin';
Copy link
Contributor

Choose a reason for hiding this comment

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

syntax: Incorrect import for SvelteKit plugin. Should be storybookSvelteKitPlugin from '@storybook/sveltekit/vite-plugin'

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@shilman @kasperpeulen — Addressed here (along with some other small fixes): #29081

@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 Sep 10, 2024
Copy link

nx-cloud bot commented Sep 10, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 04f9849. 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.

@kasperpeulen kasperpeulen removed the freeze Freeze the Release PR with this label label Sep 11, 2024
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.3.0-beta.4 branch from ca21738 to 04f9849 Compare September 11, 2024 09:59
@kasperpeulen kasperpeulen added the freeze Freeze the Release PR with this label label Sep 11, 2024
@kasperpeulen kasperpeulen merged commit 799d5fe into next-release Sep 11, 2024
106 checks passed
@kasperpeulen kasperpeulen deleted the version-non-patch-from-8.3.0-beta.4 branch September 11, 2024 11:51
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.

10 participants