-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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.1 #29118
Release: Prerelease 8.4.0-alpha.1 #29118
Conversation
Unblocks loading Storybook instances built with Vite devices with pre-2022 browser versions. Resolves #29030
Addon-Interactions: Use ansi-to-html for colored test errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings
@@ -135,7 +136,7 @@ export const Exception = ({ exception }: { exception: Call['exception'] }) => { | |||
const more = paragraphs.length > 1; | |||
return ( | |||
<RowMessage> | |||
<pre>{paragraphs[0]}</pre> | |||
<pre dangerouslySetInnerHTML={{ __html: filter.toHtml(paragraphs[0]) }}></pre> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Use of dangerouslySetInnerHTML could pose a security risk if the input is not properly sanitized
dangerouslySetInnerHTML={{ | ||
__html: filter.toHtml(printSerializedError(caughtException)), | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Use of dangerouslySetInnerHTML might pose security risks if the input is not properly sanitized
<span | ||
key={line + index} | ||
dangerouslySetInnerHTML={{ __html: filter.toHtml(line) }} | ||
></span>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: Using dangerouslySetInnerHTML can be a security risk if the input is not properly sanitized. Ensure that the filter.toHtml() method properly escapes any potentially malicious content.
e8e2e90
to
f93f6ba
Compare
Addon Test: Support story name as test description
f93f6ba
to
99c7d58
Compare
Chore: Add jiti as dev dependency to core
CLI: Show constraints in error when getting depndencies
99c7d58
to
3a93f6d
Compare
Vite: Add jsdoc-type-pratt-parser to `optimizeDeps`
Fix composed storybook TooltipLinkList bug where href isn't passed forward
3a93f6d
to
7914eb4
Compare
Add InitialViewportKeyUnion type to viewport addon
7914eb4
to
bac063f
Compare
…ed-via-cli-ends-with-a-newline Ensure `.gitignore` updated via CLI ends with a newline
Builder-vite: Replace .at() call with [] in codegen
bac063f
to
02598e5
Compare
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 02598e5. 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 targetsSent with 💌 from NxCloud. |
This is an automated pull request that bumps the version from
8.4.0-alpha.0
to8.4.0-alpha.1
.Once this pull request is merged, it will trigger a new release of version
8.4.0-alpha.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:
And for each change below:
This is a list of all the PRs merged and commits pushed directly to
next
, that will be part of this release:.gitignore
updated via CLI ends with a newline #29124optimizeDeps
#29179storybook dev
#29152 (will also be patched)fs-extra
with the native APIs #29126If 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.1
.gitignore
updated via CLI ends with a newline - #29124, thanks @3w36zj6!storybook dev
- #29152, thanks @valentinpalkovic!fs-extra
with the native APIs - #29126, thanks @ziebam!optimizeDeps
- #29179, thanks @tobiasdiez!