422.json (10220B)
1 { 2 "number": 422, 3 "title": "Bump @vitejs/plugin-react-swc from 3.0.1 to 3.3.0", 4 "state": "closed", 5 "diff_file": "422.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2023-04-10T09:10:50Z", 8 "closed_at": "2023-06-07T09:05:15Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/vitejs/plugin-react-swc-3.3.0", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [ 17 "MTRNord" 18 ], 19 "requested_reviewers": [ 20 "MTRNord" 21 ], 22 "body": "Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.0.1 to 3.3.0.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/vitejs/vite-plugin-react-swc/releases\"><code>@\u200bvitejs/plugin-react-swc</code>'s releases</a>.</em></p>\n<blockquote>\n<h2>v3.3.0</h2>\n<ul>\n<li>Support TS/JSX in node_modules to help the community experiment with it. Note that for now this not supported by TS and errors from these files cannot be silenced if the user is using a stricter configuration than the library author: <a href=\"https://redirect.github.com/microsoft/TypeScript/issues/30511\">microsoft/TypeScript#30511</a>. I advise to use it only for internal libraries for now (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/53\">#53</a>)</li>\n<li>Silence <code>"use client"</code> warning when building library like <code>@tanstack/react-query</code></li>\n<li>Fix fast refresh issue when exporting a component with a name that shadow another local component</li>\n</ul>\n<p>This release goes in hand with the upcoming Vite 4.3 release focusing on performances:</p>\n<ul>\n<li>Move resolve of runtime code into a "pre" plugin (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/79\">#79</a>)</li>\n<li>Wrap dynamic import to speedup analysis (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/80\">#80</a>)</li>\n</ul>\n<h2>v3.2.0</h2>\n<ul>\n<li>Support HMR for MDX (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/52\">#52</a>)</li>\n<li>Fix: when using plugins, apply SWC before esbuild so that automatic runtime is respected for JSX (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/56\">#56</a>)</li>\n<li>Fix: use jsxImportSource in optimizeDeps</li>\n</ul>\n<h2>v3.1.0</h2>\n<ul>\n<li>Support plugins via the new <code>plugins</code> options</li>\n<li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li>\n<li>Fix HMR for styled components exported alongside other components</li>\n<li>Update embedded refresh runtime to 0.14 (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/46\">#46</a>)</li>\n</ul>\n<h2>v3.1.0-beta.2</h2>\n<ul>\n<li>Fix HMR for styled components exported alongside other components</li>\n<li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li>\n<li>Support plugins via the new <code>plugins</code> options</li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md\"><code>@\u200bvitejs/plugin-react-swc</code>'s changelog</a>.</em></p>\n<blockquote>\n<h2>3.3.0</h2>\n<ul>\n<li>Support TS/JSX in node_modules to help the community experiment with it. Note that for now this not supported by TS and errors from these files cannot be silenced if the user is using a stricter configuration than the library author: <a href=\"https://redirect.github.com/microsoft/TypeScript/issues/30511\">microsoft/TypeScript#30511</a>. I advise to use it only for internal libraries for now (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/53\">#53</a>)</li>\n<li>Silence <code>"use client"</code> warning when building library like <code>@tanstack/react-query</code></li>\n<li>Fix fast refresh issue when exporting a component with a name that shadow another local component</li>\n</ul>\n<p>This release goes in hand with the upcoming Vite 4.3 release focusing on performances:</p>\n<ul>\n<li>Move resolve of runtime code into a "pre" plugin (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/79\">#79</a>)</li>\n<li>Wrap dynamic import to speedup analysis (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/80\">#80</a>)</li>\n</ul>\n<h2>3.2.0</h2>\n<ul>\n<li>Support HMR for MDX (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/52\">#52</a>)</li>\n<li>Fix: when using plugins, apply SWC before esbuild so that automatic runtime is respected for JSX (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/56\">#56</a>)</li>\n<li>Fix: use jsxImportSource in optimizeDeps</li>\n</ul>\n<h2>3.1.0</h2>\n<ul>\n<li>Support plugins via the new <code>plugins</code> options</li>\n<li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li>\n<li>Fix HMR for styled components exported alongside other components</li>\n<li>Update embedded refresh runtime to 0.14 (fixes <a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/46\">#46</a>)</li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/76e3288225fafda98e66c12bf60064f44ce7020c\"><code>76e3288</code></a> release: v3.3.0</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/e272817cf30418f62b06bc69e22371f2b9c0f6b1\"><code>e272817</code></a> fix: throw when refresh runtime is loaded twice</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/0ed5b22281876fc5dbf1df1ec0cc817535b9100b\"><code>0ed5b22</code></a> feat: silence "use client" warning (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/78\">#78</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/4371853c92f0055321682ff9448d96179bf351cf\"><code>4371853</code></a> perf: wrap dynamic import to skip analysis of dynamic imports (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/80\">#80</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/14767fca7a3f5e491d2a1cee6bf0aa253fc88208\"><code>14767fc</code></a> perf: move resolve of runtime code into a "pre" plugin (<a href=\"https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/79\">#79</a>)</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/a948dc1252be48e6a327c573e5f123f0a22d8e56\"><code>a948dc1</code></a> chore: fix ci</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/d90cb01453ad6c1dbe2ab2b77fb66427c4d153ee\"><code>d90cb01</code></a> chore: add missing entry in changelog</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/3fc3255639428b99dd0bba65709c1a6f44b90fea\"><code>3fc3255</code></a> chore: fix race condition in dev script</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/3811af415576da613bb6723aae96bf7134370382\"><code>3811af4</code></a> chore: rename ci script to qa</li>\n<li><a href=\"https://github.com/vitejs/vite-plugin-react-swc/commit/7ca3e2e526d4b48234930a31177c90b31a9d2feb\"><code>7ca3e2e</code></a> chore: pin generouted version for playground</li>\n<li>Additional commits viewable in <a href=\"https://github.com/vitejs/vite-plugin-react-swc/compare/v3.0.1...v3.3.0\">compare view</a></li>\n</ul>\n</details>\n<details>\n<summary>Maintainer changes</summary>\n<p>This version was pushed to npm by <a href=\"https://www.npmjs.com/~vitebot\">vitebot</a>, a new releaser for <code>@\u200bvitejs/plugin-react-swc</code> since your current version.</p>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nYou can trigger a rebase of this PR by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n</details>\n\n<!-- Replace -->\n----\n\u231b Deploy Preview - Build in Progress\n<!-- Replace -->\n> **Note**\n> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.\n", 23 "comments": [ 24 { 25 "author": "dependabot[bot]", 26 "created_at": "2023-06-07T09:05:14Z", 27 "body": "Superseded by #444." 28 } 29 ], 30 "review_comments": [] 31 }