matrix-art.meta

Issues/PRs archive for MTRNord/matrix-art
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.meta.git
Log | Files | Refs

422.md (9818B)


      1 # PR #422 Bump @vitejs/plugin-react-swc from 3.0.1 to 3.3.0
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-04-10T09:10:50Z
      6 - **Branch:** dependabot/npm_and_yarn/vitejs/plugin-react-swc-3.3.0 → main
      7 - **Closed:** 2023-06-07T09:05:15Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [422.diff](./422.diff)
     12 
     13 ---
     14 
     15 Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.0.1 to 3.3.0.
     16 <details>
     17 <summary>Release notes</summary>
     18 <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react-swc/releases"><code>@​vitejs/plugin-react-swc</code>'s releases</a>.</em></p>
     19 <blockquote>
     20 <h2>v3.3.0</h2>
     21 <ul>
     22 <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>
     23 <li>Silence <code>&quot;use client&quot;</code> warning when building library like <code>@tanstack/react-query</code></li>
     24 <li>Fix fast refresh issue when exporting a component with a name that shadow another local component</li>
     25 </ul>
     26 <p>This release goes in hand with the upcoming Vite 4.3 release focusing on performances:</p>
     27 <ul>
     28 <li>Move resolve of runtime code into a &quot;pre&quot; plugin (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/79">#79</a>)</li>
     29 <li>Wrap dynamic import to speedup analysis (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/80">#80</a>)</li>
     30 </ul>
     31 <h2>v3.2.0</h2>
     32 <ul>
     33 <li>Support HMR for MDX (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/52">#52</a>)</li>
     34 <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>
     35 <li>Fix: use jsxImportSource in optimizeDeps</li>
     36 </ul>
     37 <h2>v3.1.0</h2>
     38 <ul>
     39 <li>Support plugins via the new <code>plugins</code> options</li>
     40 <li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li>
     41 <li>Fix HMR for styled components exported alongside other components</li>
     42 <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>
     43 </ul>
     44 <h2>v3.1.0-beta.2</h2>
     45 <ul>
     46 <li>Fix HMR for styled components exported alongside other components</li>
     47 <li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li>
     48 <li>Support plugins via the new <code>plugins</code> options</li>
     49 </ul>
     50 </blockquote>
     51 </details>
     52 <details>
     53 <summary>Changelog</summary>
     54 <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md"><code>@​vitejs/plugin-react-swc</code>'s changelog</a>.</em></p>
     55 <blockquote>
     56 <h2>3.3.0</h2>
     57 <ul>
     58 <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>
     59 <li>Silence <code>&quot;use client&quot;</code> warning when building library like <code>@tanstack/react-query</code></li>
     60 <li>Fix fast refresh issue when exporting a component with a name that shadow another local component</li>
     61 </ul>
     62 <p>This release goes in hand with the upcoming Vite 4.3 release focusing on performances:</p>
     63 <ul>
     64 <li>Move resolve of runtime code into a &quot;pre&quot; plugin (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/79">#79</a>)</li>
     65 <li>Wrap dynamic import to speedup analysis (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/80">#80</a>)</li>
     66 </ul>
     67 <h2>3.2.0</h2>
     68 <ul>
     69 <li>Support HMR for MDX (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/52">#52</a>)</li>
     70 <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>
     71 <li>Fix: use jsxImportSource in optimizeDeps</li>
     72 </ul>
     73 <h2>3.1.0</h2>
     74 <ul>
     75 <li>Support plugins via the new <code>plugins</code> options</li>
     76 <li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li>
     77 <li>Fix HMR for styled components exported alongside other components</li>
     78 <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>
     79 </ul>
     80 </blockquote>
     81 </details>
     82 <details>
     83 <summary>Commits</summary>
     84 <ul>
     85 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/76e3288225fafda98e66c12bf60064f44ce7020c"><code>76e3288</code></a> release: v3.3.0</li>
     86 <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>
     87 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/0ed5b22281876fc5dbf1df1ec0cc817535b9100b"><code>0ed5b22</code></a> feat: silence &quot;use client&quot; warning (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/78">#78</a>)</li>
     88 <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>
     89 <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 &quot;pre&quot; plugin (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/79">#79</a>)</li>
     90 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/a948dc1252be48e6a327c573e5f123f0a22d8e56"><code>a948dc1</code></a> chore: fix ci</li>
     91 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/d90cb01453ad6c1dbe2ab2b77fb66427c4d153ee"><code>d90cb01</code></a> chore: add missing entry in changelog</li>
     92 <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>
     93 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/3811af415576da613bb6723aae96bf7134370382"><code>3811af4</code></a> chore: rename ci script to qa</li>
     94 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/7ca3e2e526d4b48234930a31177c90b31a9d2feb"><code>7ca3e2e</code></a> chore: pin generouted version for playground</li>
     95 <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>
     96 </ul>
     97 </details>
     98 <details>
     99 <summary>Maintainer changes</summary>
    100 <p>This version was pushed to npm by <a href="https://www.npmjs.com/~vitebot">vitebot</a>, a new releaser for <code>@​vitejs/plugin-react-swc</code> since your current version.</p>
    101 </details>
    102 <br />
    103 
    104 
    105 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitejs/plugin-react-swc&package-manager=npm_and_yarn&previous-version=3.0.1&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    106 
    107 You can trigger a rebase of this PR by commenting `@dependabot rebase`.
    108 
    109 [//]: # (dependabot-automerge-start)
    110 [//]: # (dependabot-automerge-end)
    111 
    112 ---
    113 
    114 <details>
    115 <summary>Dependabot commands and options</summary>
    116 <br />
    117 
    118 You can trigger Dependabot actions by commenting on this PR:
    119 - `@dependabot rebase` will rebase this PR
    120 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    121 - `@dependabot merge` will merge this PR after your CI passes on it
    122 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    123 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    124 - `@dependabot reopen` will reopen this PR if it is closed
    125 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    126 - `@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)
    127 - `@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)
    128 - `@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)
    129 
    130 
    131 </details>
    132 
    133 <!-- Replace -->
    134 ----
    135 ⌛ Deploy Preview - Build in Progress
    136 <!-- Replace -->
    137 > **Note**
    138 > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
    139 
    140 
    141 
    142 ## Comments
    143 
    144 ### @dependabot[bot] — 2023-06-07T09:05:14Z
    145 
    146 Superseded by #444.
    147