Skip to content

Release: Prerelease 8.6.0-beta.1#30543

Merged
shilman merged 36 commits into
next-releasefrom
version-non-patch-from-8.6.0-beta.0
Feb 17, 2025
Merged

Release: Prerelease 8.6.0-beta.1#30543
shilman merged 36 commits into
next-releasefrom
version-non-patch-from-8.6.0-beta.0

Conversation

@github-actions

@github-actions github-actions Bot commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

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

  • 🔧 Maintenance: Tags: Add story/meta usage telemetry #30555
  • 🐛 Bug: React: Fix incorrect import in preview.ts #30542
  • 🐛 Bug: UI: Fix tags sort for browser back-compat #30547 (will also be patched)
  • 🐛 Bug: Builder-Vite: Fix defaulting to allowing all hosts #30523 (will also be patched)
  • 📝 Documentation: Docs: Add documentation for parameters.a11y.test #30538
  • 📝 Documentation: Docs: Fix test tags description #30548 (will also be patched)
  • 📝 Documentation: Docs: Add CSF factory API documentation #30343

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.6.0-beta.1

@github-actions github-actions Bot added the release For PRs that trigger new releases. Automated label Feb 14, 2025

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

13 file(s) reviewed, 6 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines +85 to +89
document.getElementById('storybook-root').innerHTML =
`<p style="color: red; max-width: 70ch">${message.replaceAll(
'\n',
'<br/>'
)}<ul>${docs.map((doc) => `<li><a href='${doc}' target='_blank'>${doc}</a></li>`).join('')}<ul></p>`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

logic: Potential XSS vulnerability - hostname is inserted into innerHTML without sanitization

// Import all stories from the stories file
import * as stories from './Button.stories';

const { Primary, Secondary } = stories;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

style: Secondary is destructured but never used in the tests

Suggested change
const { Primary, Secondary } = stories;
const { Primary } = stories;

// Import all stories from the stories file
import * as stories from './Button.stories';

const { Primary, Secondary } = stories;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

style: Secondary is destructured but never used in the tests

Suggested change
const { Primary, Secondary } = stories;
const { Primary } = stories;


const { Primary, Secondary } = stories;

test('renders primary button with default args', async () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

logic: test is marked async but no await is used in the test

Suggested change
test('renders primary button with default args', async () => {
test('renders primary button with default args', () => {

expect(buttonElement).not.toBeNull();
});

test('renders primary button with overridden props', async () => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

logic: test is marked async but no await is used in the test

Suggested change
test('renders primary button with overridden props', async () => {
test('renders primary button with overridden props', () => {

Comment on lines +261 to +263
Previously, story properties such as `Story.args` or `Story.parameters` were accessed directly when reusing them in another story. While accessing them like this is still supported, it is deprecated in CSF Factories.

All of the story properties are now contained within a new property called `composed` and should be accessed from that property instead. For instance, `Story.composed.args` or `Story.composed.parameters`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

style: Important deprecation notice about direct property access. Consider highlighting this more prominently with a warning callout

@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.6.0-beta.0 branch from 85f3fe4 to d8fdfbb Compare February 14, 2025 12:16
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.6.0-beta.0 branch from d8fdfbb to b7c3e43 Compare February 14, 2025 13:49
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.6.0-beta.0 branch from b7c3e43 to b2cb3c0 Compare February 14, 2025 16:49
kylegach and others added 4 commits February 14, 2025 13:37
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
Docs: Add documentation for `parameters.a11y.test`
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.6.0-beta.0 branch from b2cb3c0 to 6989cf5 Compare February 14, 2025 20:01
@storybook-bot storybook-bot force-pushed the version-non-patch-from-8.6.0-beta.0 branch from 6989cf5 to 4d27fdc Compare February 17, 2025 07:59
@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 Feb 17, 2025
@nx-cloud

nx-cloud Bot commented Feb 17, 2025

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 4d27fdc.

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 4s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-17 08:11:11 UTC

@shilman shilman merged commit 335596b into next-release Feb 17, 2025
@shilman shilman deleted the version-non-patch-from-8.6.0-beta.0 branch February 17, 2025 08:46
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.

8 participants