383.md (12616B)
1 # PR #383 Bump vitest from 0.27.3 to 0.29.3 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-03-16T09:18:51Z 6 - **Branch:** dependabot/npm_and_yarn/vitest-0.29.3 → main 7 - **Closed:** 2023-03-21T09:11:21Z 8 - **Labels:** dependencies, javascript 9 - **Assignees:** @MTRNord 10 - **Reviewers:** @MTRNord 11 - **Diff:** [383.diff](./383.diff) 12 13 --- 14 15 Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 0.27.3 to 0.29.3. 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.3</h2> 21 <h3> 🚀 Features</h3> 22 <ul> 23 <li>Use custom colors implementation instead of picocolors - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> <a href="https://github.com/vitest-dev/vitest/commit/427b0622"><!-- raw HTML omitted -->(427b0)<!-- raw HTML omitted --></a></li> 24 <li>Uncaught errors to indicate env teardown - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2982">vitest-dev/vitest#2982</a> <a href="https://github.com/vitest-dev/vitest/commit/1fe8286c"><!-- raw HTML omitted -->(1fe82)<!-- raw HTML omitted --></a></li> 25 <li><strong>config</strong>: Add an option to run setupFiles in sequence - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3008">vitest-dev/vitest#3008</a> <a href="https://github.com/vitest-dev/vitest/commit/c2e25bb9"><!-- raw HTML omitted -->(c2e25)<!-- raw HTML omitted --></a></li> 26 </ul> 27 <h3> 🐞 Bug Fixes</h3> 28 <ul> 29 <li>Console log not visible - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2943">vitest-dev/vitest#2943</a> <a href="https://github.com/vitest-dev/vitest/commit/0280825f"><!-- raw HTML omitted -->(02808)<!-- raw HTML omitted --></a></li> 30 <li>Remove duplicate execArgv when deps.registerNodeLoader: true - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2965">vitest-dev/vitest#2965</a> <a href="https://github.com/vitest-dev/vitest/commit/a1954cc0"><!-- raw HTML omitted -->(a1954)<!-- raw HTML omitted --></a></li> 31 <li>Prevent running test cases timers after environment teardown - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2971">vitest-dev/vitest#2971</a> <a href="https://github.com/vitest-dev/vitest/commit/bde75a34"><!-- raw HTML omitted -->(bde75)<!-- raw HTML omitted --></a></li> 32 <li>Don't mark setupFiles as test files, if experimentaOptimizer is used - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2974">vitest-dev/vitest#2974</a> <a href="https://github.com/vitest-dev/vitest/commit/819c6cbe"><!-- raw HTML omitted -->(819c6)<!-- raw HTML omitted --></a></li> 33 <li>Config errors not visible - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2995">vitest-dev/vitest#2995</a> <a href="https://github.com/vitest-dev/vitest/commit/f01c7833"><!-- raw HTML omitted -->(f01c7)<!-- raw HTML omitted --></a></li> 34 <li>--inspect to work inside workers - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2983">vitest-dev/vitest#2983</a> <a href="https://github.com/vitest-dev/vitest/commit/36087d1e"><!-- raw HTML omitted -->(36087)<!-- raw HTML omitted --></a></li> 35 <li><strong>types</strong>: Use <code>any</code> as default value for TArgs in vi.fn() - by <a href="https://github.com/jessevanassen"><code>@jessevanassen</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/2947">vitest-dev/vitest#2947</a> <a href="https://github.com/vitest-dev/vitest/commit/1bdcc212"><!-- raw HTML omitted -->(1bdcc)<!-- raw HTML omitted --></a></li> 36 </ul> 37 <h3> 🏎 Performance</h3> 38 <ul> 39 <li><strong>reporters</strong>: Overall improvements - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.com/vitest-dev/vitest/issues/3006">vitest-dev/vitest#3006</a> <a href="https://github.com/vitest-dev/vitest/commit/22ca0b6b"><!-- raw HTML omitted -->(22ca0)<!-- raw HTML omitted --></a></li> 40 </ul> 41 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3">View changes on GitHub</a></h5> 42 <h2>v0.29.2</h2> 43 <h3> 🐞 Bug Fixes</h3> 44 <ul> 45 <li>Optimize dependencies in setup files - by <a href="https://github.com/sheremet-va"><code>@sheremet-va</code></a> in <a href="https://redirect.github.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> 46 <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://redirect.github.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> 47 </ul> 48 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2">View changes on GitHub</a></h5> 49 <h2>v0.29.1</h2> 50 <h3> 🐞 Bug Fixes</h3> 51 <ul> 52 <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> 53 </ul> 54 <h5> <a href="https://github.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1">View changes on GitHub</a></h5> 55 <h2>v0.29.0</h2> 56 <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> 57 <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> 58 <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> 59 <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> 60 <h3> 🚨 Breaking Changes</h3> 61 <ul> 62 <li>Vitest as peer dependency for coverage packages - by <a href="https://github.com/AriPerkkio"><code>@AriPerkkio</code></a> in <a href="https://redirect.github.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> 63 </ul> 64 <!-- raw HTML omitted --> 65 </blockquote> 66 <p>... (truncated)</p> 67 </details> 68 <details> 69 <summary>Commits</summary> 70 <ul> 71 <li><a href="https://github.com/vitest-dev/vitest/commit/d4d04257c0c47f0acd7e508fbac74d0a57330a58"><code>d4d0425</code></a> chore: release v0.29.3</li> 72 <li><a href="https://github.com/vitest-dev/vitest/commit/36087d1edf412735ca850ebb6613fbc2044fa2e7"><code>36087d1</code></a> fix: --inspect to work inside workers (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2983">#2983</a>)</li> 73 <li><a href="https://github.com/vitest-dev/vitest/commit/c2e25bb92ff6d98af323e59771bdef8386db3237"><code>c2e25bb</code></a> feat(config): add an option to run setupFiles in sequence (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3008">#3008</a>)</li> 74 <li><a href="https://github.com/vitest-dev/vitest/commit/22ca0b6bfe71308b0179874363221db690618f7a"><code>22ca0b6</code></a> perf(reporters): overall improvements (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/3006">#3006</a>)</li> 75 <li><a href="https://github.com/vitest-dev/vitest/commit/1fe8286c790cef9063b1f5f8147f6d41fc14bf79"><code>1fe8286</code></a> feat: uncaught errors to indicate env teardown (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2982">#2982</a>)</li> 76 <li><a href="https://github.com/vitest-dev/vitest/commit/f01c78339617f8f5aaee229f1bdd04a6c35410f4"><code>f01c783</code></a> fix: config errors not visible (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2995">#2995</a>)</li> 77 <li><a href="https://github.com/vitest-dev/vitest/commit/427b06221e558c7bda308c24a37c04616048f558"><code>427b062</code></a> feat: use custom colors implementation instead of picocolors</li> 78 <li><a href="https://github.com/vitest-dev/vitest/commit/819c6cbe40e4b670b5b3d77bc2cc53da4522a3c9"><code>819c6cb</code></a> fix: don't mark setupFiles as test files, if experimentaOptimizer is used (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2">#2</a>...</li> 79 <li><a href="https://github.com/vitest-dev/vitest/commit/bde75a344e734185ef0315a8dc48313b099e6f66"><code>bde75a3</code></a> fix: prevent running test cases timers after environment teardown (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2971">#2971</a>)</li> 80 <li><a href="https://github.com/vitest-dev/vitest/commit/a1954cc0de1f3ea6f60ea3e17a082cf795e09d52"><code>a1954cc</code></a> fix: remove duplicate execArgv when deps.registerNodeLoader: true (<a href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/2965">#2965</a>)</li> 81 <li>Additional commits viewable in <a href="https://github.com/vitest-dev/vitest/commits/v0.29.3/packages/vitest">compare view</a></li> 82 </ul> 83 </details> 84 <br /> 85 86 87 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 88 89 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`. 90 91 [//]: # (dependabot-automerge-start) 92 [//]: # (dependabot-automerge-end) 93 94 --- 95 96 <details> 97 <summary>Dependabot commands and options</summary> 98 <br /> 99 100 You can trigger Dependabot actions by commenting on this PR: 101 - `@dependabot rebase` will rebase this PR 102 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 103 - `@dependabot merge` will merge this PR after your CI passes on it 104 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 105 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 106 - `@dependabot reopen` will reopen this PR if it is closed 107 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 108 - `@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) 109 - `@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) 110 - `@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) 111 112 113 </details> 114 115 <!-- Replace --> 116 ---- 117 ⌛ Deploy Preview - Build in Progress 118 <!-- Replace --> 119 120 121 122 ## Comments 123 124 ### @dependabot[bot] — 2023-03-21T09:11:20Z 125 126 Superseded by #393. 127