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

358.md (13994B)


      1 # PR #358 Bump vitest from 0.27.3 to 0.29.1
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-02-27T09:20:26Z
      6 - **Branch:** dependabot/npm_and_yarn/vitest-0.29.1 → main
      7 - **Closed:** 2023-03-02T09:14:11Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [358.diff](./358.diff)
     12 
     13 ---
     14 
     15 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.27.3 to 0.29.1.
     16 <details>
     17 <summary>Release notes</summary>
     18 <p><em>Sourced from <a href="https://github.com/vitest-dev/vitest/releases">vitest's releases</a>.</em></p>
     19 <blockquote>
     20 <h2>v0.29.1</h2>
     21 <h3>   🐞 Bug Fixes</h3>
     22 <ul>
     23 <li>Wait for optimized dependency to be bundled in non-pnpm package managers  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/d2460b7a"><!-- raw HTML omitted -->(d2460)<!-- raw HTML omitted --></a></li>
     24 </ul>
     25 <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1">View changes on GitHub</a></h5>
     26 <h2>v0.29.0</h2>
     27 <p>This release makes some significant changes to how tests are running. If you were using <code>--no-threads</code> before, you might consider enabling <code>--single-thread</code> instead (because your tests are now running in <code>child_process</code> instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like <code>process.chdir()</code>, you can now use this option.</p>
     28 <p>One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with <code>--no-isolate</code>, <code>--no-threads</code> or <code>--single-thread</code> - you might need to update your setup files if you were relying on a global variable before.</p>
     29 <p>If you had performance issues on large code bases before, try the new <a href="https://vitest.dev/config/#deps-experimentaloptimizer"><code>deps.experimentalOptimizer</code></a> option instead of disabling threads. Feedback is welcome!</p>
     30 <p>One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots.</p>
     31 <h3>   🚨 Breaking Changes</h3>
     32 <ul>
     33 <li>Vitest as peer dependency for coverage packages  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2836">vitest-dev/vitest#2836</a> <a href="https://github.com/vitest-dev/vitest/commit/94247f1b"><!-- raw HTML omitted -->(94247)<!-- raw HTML omitted --></a></li>
     34 <li>Coverage-c8 to use V8 profiler directly instead of <code>NODE_V8_COVERAGE</code>  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2786">vitest-dev/vitest#2786</a> <a href="https://github.com/vitest-dev/vitest/commit/095c6390"><!-- raw HTML omitted -->(095c6)<!-- raw HTML omitted --></a></li>
     35 <li>Add a link to the comment at the top of the snapshot file  -  by <a href="https://github.com/btea"><code>@​btea</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2867">vitest-dev/vitest#2867</a> <a href="https://github.com/vitest-dev/vitest/commit/615e150b"><!-- raw HTML omitted -->(615e1)<!-- raw HTML omitted --></a></li>
     36 <li>Always run separate environments in isolation  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2860">vitest-dev/vitest#2860</a> <a href="https://github.com/vitest-dev/vitest/commit/1f858e0c"><!-- raw HTML omitted -->(1f858)<!-- raw HTML omitted --></a>
     37 <ul>
     38 <li>Tests with <code>node</code> and <code>jsdom</code> (and other environments) now don't share the same global scope, if you run them with <code>--no-isolate</code> or <code>--no-threads</code> flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug.</li>
     39 </ul>
     40 </li>
     41 <li>Use child_process when --no-threads is used  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2772">vitest-dev/vitest#2772</a> <a href="https://github.com/vitest-dev/vitest/commit/7bf54505"><!-- raw HTML omitted -->(7bf54)<!-- raw HTML omitted --></a>
     42 <ul>
     43 <li>Tests inside <code>chid_process</code> might run longer due to the communication overhead. If you want to restore the previous behavior, use <code>--single-thread</code>.</li>
     44 </ul>
     45 </li>
     46 </ul>
     47 <h3>   🚀 Features</h3>
     48 <ul>
     49 <li>Add test seed to banner  -  by <a href="https://github.com/btkostner"><code>@​btkostner</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2877">vitest-dev/vitest#2877</a> <a href="https://github.com/vitest-dev/vitest/commit/bdb39569"><!-- raw HTML omitted -->(bdb39)<!-- raw HTML omitted --></a></li>
     50 <li>Use custom source-map-support implementation  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2905">vitest-dev/vitest#2905</a> <a href="https://github.com/vitest-dev/vitest/commit/6ff6c6eb"><!-- raw HTML omitted -->(6ff6c)<!-- raw HTML omitted --></a></li>
     51 <li>Add an option to enable Vite optimizer  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2912">vitest-dev/vitest#2912</a> <a href="https://github.com/vitest-dev/vitest/commit/af8de362"><!-- raw HTML omitted -->(af8de)<!-- raw HTML omitted --></a></li>
     52 <li><strong>coverage</strong>:
     53 <ul>
     54 <li>Add support for coverage reporter options  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2690">vitest-dev/vitest#2690</a> <a href="https://github.com/vitest-dev/vitest/commit/f8176182"><!-- raw HTML omitted -->(f8176)<!-- raw HTML omitted --></a></li>
     55 <li>Automatic threshold updating  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2886">vitest-dev/vitest#2886</a> <a href="https://github.com/vitest-dev/vitest/commit/e1652163"><!-- raw HTML omitted -->(e1652)<!-- raw HTML omitted --></a></li>
     56 </ul>
     57 </li>
     58 <li><strong>spy</strong>:
     59 <ul>
     60 <li>Implement mock.withImplementation API  -  by <a href="https://github.com/obadakhalili"><code>@​obadakhalili</code></a> and <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2835">vitest-dev/vitest#2835</a> <a href="https://github.com/vitest-dev/vitest/commit/610b1d46"><!-- raw HTML omitted -->(610b1)<!-- raw HTML omitted --></a></li>
     61 </ul>
     62 </li>
     63 <li><strong>vite-node</strong>:
     64 <ul>
     65 <li>Cli option for vite mode  -  by <a href="https://github.com/abarke"><code>@​abarke</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2893">vitest-dev/vitest#2893</a> <a href="https://github.com/vitest-dev/vitest/commit/0fc08032"><!-- raw HTML omitted -->(0fc08)<!-- raw HTML omitted --></a></li>
     66 </ul>
     67 </li>
     68 </ul>
     69 <h3>   🐞 Bug Fixes</h3>
     70 <ul>
     71 <li>Wait for console.log to print a message before terminating a worker  -  by <a href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2861">vitest-dev/vitest#2861</a> <a href="https://github.com/vitest-dev/vitest/commit/fbc54c91"><!-- raw HTML omitted -->(fbc54)<!-- raw HTML omitted --></a></li>
     72 <li>Cleanup last mocked cache when call vi.doMock  -  by <a href="https://github.com/mysteryven"><code>@​mysteryven</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2872">vitest-dev/vitest#2872</a> <a href="https://github.com/vitest-dev/vitest/commit/65d71b9e"><!-- raw HTML omitted -->(65d71)<!-- raw HTML omitted --></a></li>
     73 <li>Reload changed configuration file on watch mode  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2889">vitest-dev/vitest#2889</a> <a href="https://github.com/vitest-dev/vitest/commit/4d277d8d"><!-- raw HTML omitted -->(4d277)<!-- raw HTML omitted --></a></li>
     74 <li><strong>coverage</strong>: Custom providers to work inside worker threads  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2817">vitest-dev/vitest#2817</a> <a href="https://github.com/vitest-dev/vitest/commit/81604bce"><!-- raw HTML omitted -->(81604)<!-- raw HTML omitted --></a></li>
     75 </ul>
     76 <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0">View changes on GitHub</a></h5>
     77 <h2>v0.28.5</h2>
     78 <h3>   🚀 Features</h3>
     79 <!-- raw HTML omitted -->
     80 </blockquote>
     81 <p>... (truncated)</p>
     82 </details>
     83 <details>
     84 <summary>Commits</summary>
     85 <ul>
     86 <li><a href="https://github.com/vitest-dev/vitest/commit/20c99934ee66fd4aac33edae707d7add76f08576"><code>20c9993</code></a> chore: release v0.29.1</li>
     87 <li><a href="https://github.com/vitest-dev/vitest/commit/965f32a55eb1d5d594eebfda76e413f4fbd2c4ca"><code>965f32a</code></a> chore: release v0.29.0</li>
     88 <li><a href="https://github.com/vitest-dev/vitest/commit/7bf54505a127b976c7e69cbec25cbb2c5bc6219e"><code>7bf5450</code></a> feat!: use child_process when --no-threads is used (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2772">#2772</a>)</li>
     89 <li><a href="https://github.com/vitest-dev/vitest/commit/4d277d8d1dc5d9e663252d604ba54765e50dc8d3"><code>4d277d8</code></a> fix: reload changed configuration file on watch mode (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2889">#2889</a>)</li>
     90 <li><a href="https://github.com/vitest-dev/vitest/commit/e1652163564fef635a17d3e449de2e3bd9cc1818"><code>e165216</code></a> feat(coverage): automatic threshold updating (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2886">#2886</a>)</li>
     91 <li><a href="https://github.com/vitest-dev/vitest/commit/615e150b0f7d84e127cc9588036ad515a8350dd8"><code>615e150</code></a> feat: add a link to the comment at the top of the snapshot file (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2867">#2867</a>)</li>
     92 <li><a href="https://github.com/vitest-dev/vitest/commit/af8de36215960ffcccbe5658f5f3730413969b37"><code>af8de36</code></a> feat: add an option to enable Vite optimizer (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2912">#2912</a>)</li>
     93 <li><a href="https://github.com/vitest-dev/vitest/commit/6ff6c6eb4d6d2327c9f95d0e19488109660e2ee1"><code>6ff6c6e</code></a> feat: use custom source-map-support implementation (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2905">#2905</a>)</li>
     94 <li><a href="https://github.com/vitest-dev/vitest/commit/65d71b9e97e6d4a6d7e38e12ed2c436e41dc97e3"><code>65d71b9</code></a> fix: cleanup last mocked cache when call vi.doMock (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2872">#2872</a>)</li>
     95 <li><a href="https://github.com/vitest-dev/vitest/commit/bdb3956960c57813712bfb90079e517dd659ad60"><code>bdb3956</code></a> feat: add test seed to banner (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2877">#2877</a>)</li>
     96 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.29.1/packages/vitest">compare view</a></li>
     97 </ul>
     98 </details>
     99 <br />
    100 
    101 
    102 [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=0.27.3&new-version=0.29.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    103 
    104 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
    105 
    106 [//]: # (dependabot-automerge-start)
    107 [//]: # (dependabot-automerge-end)
    108 
    109 ---
    110 
    111 <details>
    112 <summary>Dependabot commands and options</summary>
    113 <br />
    114 
    115 You can trigger Dependabot actions by commenting on this PR:
    116 - `@dependabot rebase` will rebase this PR
    117 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    118 - `@dependabot merge` will merge this PR after your CI passes on it
    119 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    120 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    121 - `@dependabot reopen` will reopen this PR if it is closed
    122 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    123 - `@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)
    124 - `@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)
    125 - `@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)
    126 
    127 
    128 </details>
    129 
    130 <!-- Replace -->
    131 ----
    132 ⌛ Deploy Preview - Build in Progress
    133 <!-- Replace -->
    134 
    135 
    136 
    137 ## Comments
    138 
    139 ### @dependabot[bot] — 2023-03-02T09:14:10Z
    140 
    141 Superseded by #367.
    142