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

367.md (13506B)


      1 # PR #367 Bump vitest from 0.27.3 to 0.29.2
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2023-03-02T09:14:05Z
      6 - **Branch:** dependabot/npm_and_yarn/vitest-0.29.2 → main
      7 - **Closed:** 2023-03-16T09:18:58Z
      8 - **Labels:** dependencies, javascript
      9 - **Assignees:** @MTRNord
     10 - **Reviewers:** @MTRNord
     11 - **Diff:** [367.diff](./367.diff)
     12 
     13 ---
     14 
     15 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.27.3 to 0.29.2.
     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.2</h2>
     21 <h3>   🐞 Bug Fixes</h3>
     22 <ul>
     23 <li>Optimize dependencies in setup files  -  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/2935">vitest-dev/vitest#2935</a> <a href="https://github.com/vitest-dev/vitest/commit/c169f980"><!-- raw HTML omitted -->(c169f)<!-- raw HTML omitted --></a></li>
     24 <li><strong>coverage</strong>: C8 provider to work when isolate:false  -  by <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/vitest-dev/vitest/issues/2929">vitest-dev/vitest#2929</a> <a href="https://github.com/vitest-dev/vitest/commit/8653830b"><!-- raw HTML omitted -->(86538)<!-- raw HTML omitted --></a></li>
     25 </ul>
     26 <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2">View changes on GitHub</a></h5>
     27 <h2>v0.29.1</h2>
     28 <h3>   🐞 Bug Fixes</h3>
     29 <ul>
     30 <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>
     31 </ul>
     32 <h5>    <a href="https://github.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1">View changes on GitHub</a></h5>
     33 <h2>v0.29.0</h2>
     34 <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>
     35 <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>
     36 <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>
     37 <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>
     38 <h3>   🚨 Breaking Changes</h3>
     39 <ul>
     40 <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>
     41 <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>
     42 <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>
     43 <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>
     44 <ul>
     45 <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>
     46 </ul>
     47 </li>
     48 <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>
     49 <ul>
     50 <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>
     51 </ul>
     52 </li>
     53 </ul>
     54 <h3>   🚀 Features</h3>
     55 <ul>
     56 <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>
     57 <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>
     58 <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>
     59 <li><strong>coverage</strong>:
     60 <ul>
     61 <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>
     62 <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>
     63 </ul>
     64 </li>
     65 <li><strong>spy</strong>:
     66 <ul>
     67 <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>
     68 </ul>
     69 </li>
     70 <li><strong>vite-node</strong>:
     71 <ul>
     72 <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>
     73 </ul>
     74 </li>
     75 </ul>
     76 <h3>   🐞 Bug Fixes</h3>
     77 <ul>
     78 <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>
     79 </ul>
     80 <!-- raw HTML omitted -->
     81 </blockquote>
     82 <p>... (truncated)</p>
     83 </details>
     84 <details>
     85 <summary>Commits</summary>
     86 <ul>
     87 <li><a href="https://github.com/vitest-dev/vitest/commit/bce5a9f8a8572805317ec336bb4289d18606679c"><code>bce5a9f</code></a> chore: release v0.29.2</li>
     88 <li><a href="https://github.com/vitest-dev/vitest/commit/c169f98089fa3db5e00bbf96fdbe45505b81cd7f"><code>c169f98</code></a> fix: optimize dependencies in setup files (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2935">#2935</a>)</li>
     89 <li><a href="https://github.com/vitest-dev/vitest/commit/20c99934ee66fd4aac33edae707d7add76f08576"><code>20c9993</code></a> chore: release v0.29.1</li>
     90 <li><a href="https://github.com/vitest-dev/vitest/commit/965f32a55eb1d5d594eebfda76e413f4fbd2c4ca"><code>965f32a</code></a> chore: release v0.29.0</li>
     91 <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>
     92 <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>
     93 <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>
     94 <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>
     95 <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>
     96 <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>
     97 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.29.2/packages/vitest">compare view</a></li>
     98 </ul>
     99 </details>
    100 <br />
    101 
    102 
    103 [![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.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    104 
    105 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`.
    106 
    107 [//]: # (dependabot-automerge-start)
    108 [//]: # (dependabot-automerge-end)
    109 
    110 ---
    111 
    112 <details>
    113 <summary>Dependabot commands and options</summary>
    114 <br />
    115 
    116 You can trigger Dependabot actions by commenting on this PR:
    117 - `@dependabot rebase` will rebase this PR
    118 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    119 - `@dependabot merge` will merge this PR after your CI passes on it
    120 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    121 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    122 - `@dependabot reopen` will reopen this PR if it is closed
    123 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    124 - `@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)
    125 - `@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)
    126 - `@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)
    127 
    128 
    129 </details>
    130 
    131 <!-- Replace -->
    132 ----
    133 ⌛ Deploy Preview - Build in Progress
    134 <!-- Replace -->
    135 
    136 
    137 
    138 ## Comments
    139 
    140 ### @dependabot[bot] — 2023-03-16T09:18:57Z
    141 
    142 Superseded by #383.
    143