-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(coverage): add allowExternal
option
#3894
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for fastidious-cascaron-4ded94 canceled.
|
allowExternal
option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if setting allowExternal: true
for all coverage tests is good approach. But let's do that for now and I'll see if better way to test this is possible.
test/coverage-test/coverage-report-tests/generic.report.test.ts
Outdated
Show resolved
Hide resolved
test/coverage-test/coverage-report-tests/generic.report.test.ts
Outdated
Show resolved
Hide resolved
test/coverage-test/coverage-report-tests/generic.report.test.ts
Outdated
Show resolved
Hide resolved
@AriPerkkio I had the idea to run the tests via cli argument (e.g. |
Maybe we should have a separate Something like: // vitest/test/coverage-test/testing-options.mjs
import { startVitest } from 'vitest/node'
const testCases = [
{
testConfig: {
include: ['test/allow-external.test.ts'],
coverage: { allowExternal: true, include: ['**/src/**', '**/test-utils/fixtures/**'] },
},
assertionConfig: {
include: ['coverage-report-tests/allow-external.test.ts'],
},
},
]
for (const provider of ['v8', 'istanbul']) {
for (const { testConfig, assertionConfig } of testCases) {
// Run test case
await startVitest('test', ['tests/'], {
name: `With settings: ${JSON.stringify(testConfig)}`,
...testConfig,
coverage: {
enabled: true,
provider,
...testConfig.coverage,
},
})
// Check generated coverage report
await startVitest('test', ['coverage-report-tests'], {
...assertionConfig,
})
}
} And then we could leave the regular |
639830a
to
5df6aa4
Compare
5df6aa4
to
25cf08b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've refactored the testing setup of test/coverage-test
. Now both true|false
values of allowExternal
are tested.
Thanks @vojvodics!
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.34.2` -> `^0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fwouts/previewjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`20.5.1` -> `20.5.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.5.1/20.5.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.5.1/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.5.1/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://togithub.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://togithub.com/vitejs/vite-plugin-vue)) | [`4.3.1` -> `4.3.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.10.4` -> `10.11.0`](https://renovatebot.com/diffs/npm/happy-dom/10.10.4/10.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.10.4/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.10.4/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.6` -> `5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v4.3.3`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small433-2023-08-22-small) [Compare Source](https://togithub.com/vitejs/vite-plugin-vue/compare/833a7a6fadde5337551aa12d6003194fb7fa695f...75bec031a64623b32db8f10bf6153e385e5f3dde) - fix: conditionally get descriptor on hmr ([#​236](https://togithub.com/vitejs/vite-plugin-vue/issues/236)) ([b7b1383](https://togithub.com/vitejs/vite-plugin-vue/commit/b7b1383)), closes [#​236](https://togithub.com/vitejs/vite-plugin-vue/issues/236) ### [`v4.3.2`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small432-2023-08-21-small) [Compare Source](https://togithub.com/vitejs/vite-plugin-vue/compare/76ffd55cf5a846d60ba3ec4bad3dd7237a0887ae...833a7a6fadde5337551aa12d6003194fb7fa695f) - fix(plugin-vue): distinguish HMR and transform descriptor ([#​232](https://togithub.com/vitejs/vite-plugin-vue/issues/232)) ([9119d4d](https://togithub.com/vitejs/vite-plugin-vue/commit/9119d4d)), closes [#​232](https://togithub.com/vitejs/vite-plugin-vue/issues/232) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v10.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.4...v10.11.0) ##### 🎨 Features - Implement the properties `childNodes` and `children` as getters. ([#​960](https://togithub.com/capricorn86/happy-dom/issues/960)) *** Thank you [@​edoardocavazza](https://togithub.com/edoardocavazza) for your contribution! </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.2.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.2.2): TypeScript 5.2 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.2.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42NC44IiwidXBkYXRlZEluVmVyIjoiMzYuNjQuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`20.5.1` -> `20.5.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.5.1/20.5.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.5.1/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.5.1/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://togithub.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://togithub.com/vitejs/vite-plugin-vue)) | [`4.3.1` -> `4.3.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.10.4` -> `10.11.0`](https://renovatebot.com/diffs/npm/happy-dom/10.10.4/10.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.10.4/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.10.4/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.6` -> `5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v4.3.3`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small433-2023-08-22-small) [Compare Source](https://togithub.com/vitejs/vite-plugin-vue/compare/833a7a6fadde5337551aa12d6003194fb7fa695f...75bec031a64623b32db8f10bf6153e385e5f3dde) - fix: conditionally get descriptor on hmr ([#​236](https://togithub.com/vitejs/vite-plugin-vue/issues/236)) ([b7b1383](https://togithub.com/vitejs/vite-plugin-vue/commit/b7b1383)), closes [#​236](https://togithub.com/vitejs/vite-plugin-vue/issues/236) ### [`v4.3.2`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small432-2023-08-21-small) [Compare Source](https://togithub.com/vitejs/vite-plugin-vue/compare/76ffd55cf5a846d60ba3ec4bad3dd7237a0887ae...833a7a6fadde5337551aa12d6003194fb7fa695f) - fix(plugin-vue): distinguish HMR and transform descriptor ([#​232](https://togithub.com/vitejs/vite-plugin-vue/issues/232)) ([9119d4d](https://togithub.com/vitejs/vite-plugin-vue/commit/9119d4d)), closes [#​232](https://togithub.com/vitejs/vite-plugin-vue/issues/232) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v10.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.4...v10.11.0) ##### 🎨 Features - Implement the properties `childNodes` and `children` as getters. ([#​960](https://togithub.com/capricorn86/happy-dom/issues/960)) *** Thank you [@​edoardocavazza](https://togithub.com/edoardocavazza) for your contribution! </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.2.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.2.2): TypeScript 5.2 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.2.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42NC44IiwidXBkYXRlZEluVmVyIjoiMzYuNjQuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`20.5.1` -> `20.5.6`](https://renovatebot.com/diffs/npm/@types%2fnode/20.5.1/20.5.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.5.1/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.5.1/20.5.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://togithub.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://togithub.com/vitejs/vite-plugin-vue)) | [`4.3.1` -> `4.3.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/4.3.1/4.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`10.10.4` -> `10.11.0`](https://renovatebot.com/diffs/npm/happy-dom/10.10.4/10.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/10.10.4/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/10.10.4/10.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.6` -> `5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v4.3.3`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small433-2023-08-22-small) [Compare Source](https://togithub.com/vitejs/vite-plugin-vue/compare/833a7a6fadde5337551aa12d6003194fb7fa695f...75bec031a64623b32db8f10bf6153e385e5f3dde) - fix: conditionally get descriptor on hmr ([#​236](https://togithub.com/vitejs/vite-plugin-vue/issues/236)) ([b7b1383](https://togithub.com/vitejs/vite-plugin-vue/commit/b7b1383)), closes [#​236](https://togithub.com/vitejs/vite-plugin-vue/issues/236) ### [`v4.3.2`](https://togithub.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small432-2023-08-21-small) [Compare Source](https://togithub.com/vitejs/vite-plugin-vue/compare/76ffd55cf5a846d60ba3ec4bad3dd7237a0887ae...833a7a6fadde5337551aa12d6003194fb7fa695f) - fix(plugin-vue): distinguish HMR and transform descriptor ([#​232](https://togithub.com/vitejs/vite-plugin-vue/issues/232)) ([9119d4d](https://togithub.com/vitejs/vite-plugin-vue/commit/9119d4d)), closes [#​232](https://togithub.com/vitejs/vite-plugin-vue/issues/232) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v10.11.0`](https://togithub.com/capricorn86/happy-dom/releases/tag/v10.11.0) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v10.10.4...v10.11.0) ##### 🎨 Features - Implement the properties `childNodes` and `children` as getters. ([#​960](https://togithub.com/capricorn86/happy-dom/issues/960)) *** Thank you [@​edoardocavazza](https://togithub.com/edoardocavazza) for your contribution! </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.2.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.2.2): TypeScript 5.2 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.2.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42NC44IiwidXBkYXRlZEluVmVyIjoiMzYuNjQuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.2` -> `0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.2/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.2/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/David-Duefrene/dataviewer). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzYuNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`18.2.18` -> `18.2.21`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.18/18.2.21) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.18/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.18/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.34.1` -> `0.34.3`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.34.1/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`11.0.1` -> `11.0.2`](https://renovatebot.com/diffs/npm/happy-dom/11.0.1/11.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/11.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/11.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/11.0.1/11.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/11.0.1/11.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`14.0.0` -> `14.0.1`](https://renovatebot.com/diffs/npm/lint-staged/14.0.0/14.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/14.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/14.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/14.0.0/14.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/14.0.0/14.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`3.0.0` -> `3.0.3`](https://renovatebot.com/diffs/npm/prettier/3.0.0/3.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.0.0/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.0.0/3.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [semantic-release](https://togithub.com/semantic-release/semantic-release) | [`21.0.7` -> `21.1.1`](https://renovatebot.com/diffs/npm/semantic-release/21.0.7/21.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/semantic-release/21.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semantic-release/21.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semantic-release/21.0.7/21.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semantic-release/21.0.7/21.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typedoc](https://typedoc.org) ([source](https://togithub.com/TypeStrong/TypeDoc)) | [`0.24.8` -> `0.25.1`](https://renovatebot.com/diffs/npm/typedoc/0.24.8/0.25.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typedoc/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typedoc/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typedoc/0.24.8/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typedoc/0.24.8/0.25.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.1.6` -> `5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.1` -> `0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.1/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v11.0.2`](https://togithub.com/capricorn86/happy-dom/releases/tag/v11.0.2) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v11.0.1...v11.0.2) ##### 👷♂️ Patch fixes - Fixes documentation for packages in README.md. ([#​1047](https://togithub.com/capricorn86/happy-dom/issues/1047)) </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v14.0.1`](https://togithub.com/okonet/lint-staged/releases/tag/v14.0.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v14.0.0...v14.0.1) ##### Bug Fixes - fix reading config from stdin, introduced in v14.0.0 ([#​1317](https://togithub.com/okonet/lint-staged/issues/1317)) ([fc3bfea](https://togithub.com/okonet/lint-staged/commit/fc3bfeabae29b65f99b6911a989b0b41d3d1128e)) </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.0.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#303) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) [diff](https://togithub.com/prettier/prettier/compare/3.0.2...3.0.3) ##### Add `preferUnplugged: true` to `package.json` ([#​15169](https://togithub.com/prettier/prettier/pull/15169) by [@​fisker](https://togithub.com/fisker) and [@​so1ve](https://togithub.com/so1ve)) Prettier v3 uses dynamic imports, user [will need to unplug Prettier](https://togithub.com/yarnpkg/berry/pull/5411#issuecomment-1523502224) when Yarn's PnP mode is enabled, add [`preferUnplugged: true`](https://yarnpkg.com/configuration/manifest#preferUnplugged) to `package.json`, so Yarn will install Prettier as unplug by default. ##### Support shared config that forbids `require()` ([#​15233](https://togithub.com/prettier/prettier/pull/15233) by [@​fisker](https://togithub.com/fisker)) If an external shared config package is used, and the package `exports` don't have `require` or `default` export. In Prettier 3.0.2 Prettier fails when attempt to `require()` the package, and throws an error. ```text Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <packageName>/package.json ``` ##### Allow argument of `require()` to break ([#​15256](https://togithub.com/prettier/prettier/pull/15256) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```jsx // Input const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); // Prettier 3.0.2 const plugin = require(global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..")); // Prettier 3.0.3 const plugin = require( global.STANDALONE ? path.join(__dirname, "../standalone.js") : path.join(__dirname, "..") ); ``` ##### Do not print trailing commas in arrow function type parameter lists in `ts` code blocks ([#​15286](https://togithub.com/prettier/prettier/pull/15286) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) <!-- prettier-ignore --> ````md <!-- Input --> ```ts const foo = <T>() => {} ``` <!-- Prettier 3.0.2 --> ```ts const foo = <T,>() => {} ``` <!-- Prettier 3.0.3 --> ```ts const foo = <T>() => {} ``` ```` ##### Support TypeScript 5.2 `using` / `await using` declaration ([#​15321](https://togithub.com/prettier/prettier/pull/15321) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for the upcoming Explicit Resource Management feature in ECMAScript. [`using` / `await using` declaration](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#using-declarations-and-explicit-resource-management) <!-- prettier-ignore --> ```tsx { using foo = new Foo(); await using bar = new Bar(); } ``` ### [`v3.0.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#302) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) [diff](https://togithub.com/prettier/prettier/compare/3.0.1...3.0.2) ##### Break after `=` of assignment if RHS is poorly breakable AwaitExpression or YieldExpression ([#​15204](https://togithub.com/prettier/prettier/pull/15204) by [@​seiyab](https://togithub.com/seiyab)) <!-- prettier-ignore --> ```js // Input const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); // Prettier 3.0.1 const { section, rubric, authors, tags } = await utils.upsertCommonData( mainData, ); // Prettier 3.0.2 const { section, rubric, authors, tags } = await utils.upsertCommonData(mainData); ``` ##### Do not add trailing comma for grouped scss comments ([#​15217](https://togithub.com/prettier/prettier/pull/15217) by [@​auvred](https://togithub.com/auvred)) <!-- prettier-ignore --> ```scss /* Input */ $foo: ( 'property': (), // comment 1 // comment 2 ) /* Prettier 3.0.1 */ $foo: ( "property": (), // comment 1 // comment 2, ); /* Prettier 3.0.2 */ $foo: ( "property": (), // comment 1 // comment 2 ); ``` ##### Print `declare` and `export` keywords for nested namespace ([#​15249](https://togithub.com/prettier/prettier/pull/15249) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) <!-- prettier-ignore --> ```tsx // Input declare namespace abc1.def {} export namespace abc2.def {} // Prettier 3.0.1 namespace abc1.def {} namespace abc2.def {} // Prettier 3.0.2 declare namespace abc1.def {} export namespace abc2.def {} ``` ### [`v3.0.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) [diff](https://togithub.com/prettier/prettier/compare/3.0.0...3.0.1) ##### Fix cursor positioning for a special case ([#​14812](https://togithub.com/prettier/prettier/pull/14812) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```js // <|> is the cursor position /* Input */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|> } from "fs" /* Prettier 3.0.0 */ // All messages are represented in JSON. // So, the prettier.py <|>controls a subprocess which spawns "node {this_file}". import {} from "fs" /* Prettier 3.0.1 */ // All messages are represented in JSON. // So, the prettier.py controls a subprocess which spawns "node {this_file}". import {<|>} from "fs" ``` ##### Fix plugins/estree.d.ts to make it a module ([#​15018](https://togithub.com/prettier/prettier/pull/15018) by [@​kingyue737](https://togithub.com/kingyue737)) Add `export {}` in `plugins/estree.d.ts` to fix the "File is not a module" error ##### Add parenthesis around leading multiline comment in return statement ([#​15037](https://togithub.com/prettier/prettier/pull/15037) by [@​auvred](https://togithub.com/auvred)) <!-- prettier-ignore --> ```jsx // Input function fn() { return ( /** * @​type {...} */ expresssion ) } // Prettier 3.0.0 function fn() { return /** * @​type {...} */ expresssion; } // Prettier 3.0.1 function fn() { return ( /** * @​type {...} */ expresssion ); } ``` ##### Add support for Vue "Generic Components" ([#​15066](https://togithub.com/prettier/prettier/pull/15066) by [@​auvred](https://togithub.com/auvred)) https://blog.vuejs.org/posts/vue-3-3#generic-components <!-- prettier-ignore --> ```vue <!-- Input --> <script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean"></script> <!-- Prettier 3.0.0 --> <script setup lang="ts" generic="T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean" ></script> <!-- Prettier 3.0.1 --> <script setup lang="ts" generic=" T extends Type1 & Type2 & (Type3 | Type4), U extends string | number | boolean " ></script> ``` ##### Fix comments print in `IfStatement` ([#​15076](https://togithub.com/prettier/prettier/pull/15076) by [@​fisker](https://togithub.com/fisker)) <!-- prettier-ignore --> ```js function a(b) { if (b) return 1; // comment else return 2; } /* Prettier 3.0.0 */ Error: Comment "comment" was not printed. Please report this error! /* Prettier 3.0.1 */ function a(b) { if (b) return 1; // comment else return 2; } ``` ##### Add missing type definition for `printer.preprocess` ([#​15123](https://togithub.com/prettier/prettier/pull/15123) by [@​so1ve](https://togithub.com/so1ve)) ```diff export interface Printer<T = any> { // ... + preprocess?: + | ((ast: T, options: ParserOptions<T>) => T | Promise<T>) + | undefined; } ``` ##### Add missing `getVisitorKeys` method type definition for `Printer` ([#​15125](https://togithub.com/prettier/prettier/pull/15125) by [@​auvred](https://togithub.com/auvred)) ```tsx const printer: Printer = { print: () => [], getVisitorKeys(node, nonTraversableKeys) { return ["body"]; }, }; ``` ##### Add typing to support `readonly` array properties of AST Node ([#​15127](https://togithub.com/prettier/prettier/pull/15127) by [@​auvred](https://togithub.com/auvred)) <!-- prettier-ignore --> ```tsx // Input interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath<TestNode>; path.map(() => "", "readonlyArray"); // Prettier 3.0.0 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath<TestNode>; path.map(() => "", "readonlyArray"); // ^ Argument of type '"readonlyArray"' is not assignable to parameter of type '"regularArray"'. ts(2345) // Prettier 3.0.1 interface TestNode { readonlyArray: readonly string[]; } declare const path: AstPath<TestNode>; path.map(() => "", "readonlyArray"); ``` ##### Add space before unary minus followed by a function call ([#​15129](https://togithub.com/prettier/prettier/pull/15129) by [@​pamelalozano](https://togithub.com/pamelalozano)) <!-- prettier-ignore --> ```less // Input div { margin: - func(); } // Prettier 3.0.0 div { margin: -func(); } // Prettier 3.0.1 div { margin: - func(); } ``` </details> <details> <summary>semantic-release/semantic-release (semantic-release)</summary> ### [`v21.1.1`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.1.1) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.1.0...v21.1.1) ##### Bug Fixes - **types:** included the definitions file in the published package ([#​2920](https://togithub.com/semantic-release/semantic-release/issues/2920)) ([4c95c97](https://togithub.com/semantic-release/semantic-release/commit/4c95c97d8f15ab2620183009bc1c2a9d946d78d1)) ### [`v21.1.0`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.1.0) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.9...v21.1.0) ##### Features - Added TypeScript definitions ([#​2916](https://togithub.com/semantic-release/semantic-release/issues/2916)) ([c21a1ac](https://togithub.com/semantic-release/semantic-release/commit/c21a1ac7938e5b51122b92b3b107cb3b2a326e24)) ### [`v21.0.9`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.0.9) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.8...v21.0.9) ##### Bug Fixes - **deps:** update dependency hosted-git-info to v7 ([#​2908](https://togithub.com/semantic-release/semantic-release/issues/2908)) ([eba86ac](https://togithub.com/semantic-release/semantic-release/commit/eba86ac8e520d143db3853b24a7c5b5158b71ad3)) ### [`v21.0.8`](https://togithub.com/semantic-release/semantic-release/releases/tag/v21.0.8) [Compare Source](https://togithub.com/semantic-release/semantic-release/compare/v21.0.7...v21.0.8) ##### Bug Fixes - **deps:** update dependency execa to v8 ([#​2914](https://togithub.com/semantic-release/semantic-release/issues/2914)) ([7bc21fc](https://togithub.com/semantic-release/semantic-release/commit/7bc21fcdc7c9962e27770cdfb268290d7ff610d2)) </details> <details> <summary>TypeStrong/TypeDoc (typedoc)</summary> ### [`v0.25.1`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0251-2023-09-04) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.25.0...v0.25.1) ##### Features - Added `stripYamlFrontmatter` config option to remove YAML frontmatter from README.md, [#​2381](https://togithub.com/TypeStrong/TypeDoc/issues/2381). - Added `--excludeCategories` config option to remove reflections present in any excluded category, [#​1407](https://togithub.com/TypeStrong/TypeDoc/issues/1407). - If no tsconfig.json file is present, TypeDoc will now attempt to compile without setting any compiler options, [#​2304](https://togithub.com/TypeStrong/TypeDoc/issues/2304). - Navigation is now written to a JS file and built dynamically, which significantly decreases document generation time with large projects and also provides large space benefits. Themes may now override `DefaultTheme.buildNavigation` to customize the displayed navigation tree, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). Note: This change renders `navigation.fullTree` obsolete. If you set it, TypeDoc will warn that it is being ignored. It will be removed in v0.26. - The search index is now compressed before writing, which reduces most search index sizes by ~5-10x. - TypeDoc will now attempt to cache icons when `DefaultThemeRenderContext.icons` is overwritten by a custom theme. Note: To perform this optimization, TypeDoc relies on `DefaultThemeRenderContext.iconCache` being rendered within each page. TypeDoc does it in the `defaultLayout` template. - Cache URL derivation during generation, [#​2386](https://togithub.com/TypeStrong/TypeDoc/issues/2386). ##### Bug Fixes - `@property` now works as expected if used to override a method's documentation. - Deprecated functions/methods are now correctly rendered with a struck-out name. - `--watch` mode works again, [#​2378](https://togithub.com/TypeStrong/TypeDoc/issues/2378). - Improved support for optional names within JSDoc types, [#​2384](https://togithub.com/TypeStrong/TypeDoc/issues/2384). - Fixed duplicate rendering of reflection flags on signature parameters, [#​2385](https://togithub.com/TypeStrong/TypeDoc/issues/2385). - TypeDoc now handles the `intrinsic` keyword if TS intrinsic types are included in documentation. - `--exclude` is now respected when expanding globs in entry points, [#​2376](https://togithub.com/TypeStrong/TypeDoc/issues/2376). ##### Thanks! - [@​ajesshope](https://togithub.com/ajesshope) - [@​HemalPatil](https://togithub.com/HemalPatil) - [@​hrueger](https://togithub.com/hrueger) - [@​typhonrt](https://togithub.com/typhonrt) ### [`v0.25.0`](https://togithub.com/TypeStrong/TypeDoc/blob/HEAD/CHANGELOG.md#v0250-2023-08-25) [Compare Source](https://togithub.com/TypeStrong/TypeDoc/compare/v0.24.8...v0.25.0) ##### Breaking Changes - Bump minimum Node version to 16. - Removed `legacy-packages` option for `--entryPointStrategy`. - Changed default value of `--categorizeByGroup` to `false`. - Specifying a link as the `gitRemote` is no longer supported. - An `Application` instance must now be retrieved via `Application.bootstrap` or `Application.bootstrapWithPlugins`, [#​2268](https://togithub.com/TypeStrong/TypeDoc/issues/2268). - Removed `ReflectionKind.ObjectLiteral` that was never used by TypeDoc. - Removed deprecated members `DefaultThemeRenderContext.comment` and `DefaultThemeRenderContext.attemptExternalResolution`. ##### Features - Added support for TypeScript 5.2, [#​2373](https://togithub.com/TypeStrong/TypeDoc/issues/2373). - TypeDoc config files now support options default-exported from an ESM config file, [#​2268](https://togithub.com/TypeStrong/TypeDoc/issues/2268). - TypeDoc config files may now export a promise containing configuration, [#​2268](https://togithub.com/TypeStrong/TypeDoc/issues/2268). - Added `--preserveLinkText` option (defaults to true) which determines whether the reflection name or full link text is included in the output when no override is specified, [#​2355](https://togithub.com/TypeStrong/TypeDoc/issues/2355). - Added a no-results placeholder when no search results are available, [#​2347](https://togithub.com/TypeStrong/TypeDoc/issues/2347). - Implemented several miscellaneous performance improvements to generate docs faster, this took the time to generate TypeDoc's site from ~5.6 seconds to ~5.4 seconds. - Added `--disableGit` option to prevent TypeDoc from using Git to try to determine if sources can be linked, [#​2326](https://togithub.com/TypeStrong/TypeDoc/issues/2326). - Added support for tags `@showGroups`, `@hideGroups`, `@showCategories`, `@hideCategories` to configure the navigation pane on a per-reflection basis, [#​2329](https://togithub.com/TypeStrong/TypeDoc/issues/2329). - With `--jsDocCompatibility.defaultTags` set, `@defaultValue` is now implicitly a code block if the text contains no code, [#​2370](https://togithub.com/TypeStrong/TypeDoc/issues/2370). ##### Bug Fixes - Fixed link discovery if nested (`Foo#bar`) links were used and `--useTsLinkResolution` is enabled in some cases, [#​2360](https://togithub.com/TypeStrong/TypeDoc/issues/2360). - Links with invalid declaration references will no longer silently link to the wrong page in some cases, [#​2360](https://togithub.com/TypeStrong/TypeDoc/issues/2360). - Fixed duplicate definitions in type hierarchy when using packages mode, [#​2327](https://togithub.com/TypeStrong/TypeDoc/issues/2327). - `@inheritDoc` was not properly resolved across packages in packages mode, [#​2331](https://togithub.com/TypeStrong/TypeDoc/issues/2331). - Added warning for attempted `@interface` use on union types, [#​2352](https://togithub.com/TypeStrong/TypeDoc/issues/2352). - Fixed misleading type annotation on `Theme.getUrls`, [#​2318](https://togithub.com/TypeStrong/TypeDoc/issues/2318). - Fixed duplicate namespace in documentation if `@namespace` is used on a variable with an associated namespace, [#​2364](https://togithub.com/TypeStrong/TypeDoc/issues/2364). - Fixed `@namespace` property discovery if merged with a type and the type was declared first [#​2364](https://togithub.com/TypeStrong/TypeDoc/issues/2364). - Tables in markdown are now styled, [#​2366](https://togithub.com/TypeStrong/TypeDoc/issues/2366). - Sidebar links no longer open in a new tab, [#​2353](https://togithub.com/TypeStrong/TypeDoc/issues/2353). - Headers now include some padding before rendering text, [#​2316](https://togithub.com/TypeStrong/TypeDoc/issues/2316). - Symbol locations for signatures on `reflection.sources` now considers the node's name like non-signature location discovery does. ##### Thanks! - [@​camc314](https://togithub.com/camc314) - [@​cprussin](https://togithub.com/cprussin) - [@​roggervalf](https://togithub.com/roggervalf) - [@​Th3S4mur41](https://togithub.com/Th3S4mur41) #### v0.24.8 (2023-06-04) ##### Features - Added support for TypeScript 5.1, [#​2296](https://togithub.com/TypeStrong/TypeDoc/issues/2296). - Added `navigation.fullTree` to control rendering the full navigation tree on each page, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). This option will likely be replaced in 0.25 with dynamic loading of the full tree. - TypeDoc's `--pretty` option now also controls whether generated HTML contains line breaks, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). - Optimized icon caching to reduce file size in generated HTML documentation, [#​2287](https://togithub.com/TypeStrong/TypeDoc/issues/2287). - Render property description of "roughly top level" object types, [#​2276](https://togithub.com/TypeStrong/TypeDoc/issues/2276). - Added `MarkdownEvent.INCLUDE` for plugins, [#​2284](https://togithub.com/TypeStrong/TypeDoc/issues/2284). ##### Bug Fixes - When rendering functions/methods, TypeDoc will now render the comment summary above the parameters/return type, and any other block tags in the order they are defined in the comment, [#​2285](https://togithub.com/TypeStrong/TypeDoc/issues/2285). - Comments are no longer removed from classes/interfaces containing call signatures, [#​2290](https://togithub.com/TypeStrong/TypeDoc/issues/2290). ##### Thanks! - [@​krisztianb](https://togithub.com/krisztianb) - [@​WikiRik](https://togithub.com/WikiRik) #### v0.24.7 (2023-05-08) ##### Features - TypeDoc will now allow conversion without any entry points to support "readme only" packages, [#​2264](https://togithub.com/TypeStrong/TypeDoc/issues/2264). ##### Bug Fixes - Category children are now sorted according to the `sort` option, [#​2272](https://togithub.com/TypeStrong/TypeDoc/issues/2272). - Inline tags no longer require a space after the tag name to be parsed as a tag, [#​2273](https://togithub.com/TypeStrong/TypeDoc/issues/2273). - Fixed module/namespace links in navigation when viewed in Safari, [#​2275](https://togithub.com/TypeStrong/TypeDoc/issues/2275). #### v0.24.6 (2023-04-24) ##### Features - Improved error messaging if a provided entry point could not be converted into a documented module reflection, [#​2242](https://togithub.com/TypeStrong/TypeDoc/issues/2242). - API: Added support for `g`, `circle`, `ellipse`, `polygon`, and `polyline` svg elements, [#​2259](https://togithub.com/TypeStrong/TypeDoc/issues/2259). - Extended `jsDocCompatibility` option with `inheritDocTag` to ignore fully lowercase `inheritDoc` tags and `ignoreUnescapedBraces` to disable warnings about unescaped `{` and `}` characters in comments. ##### Bug Fixes - `--useTsLinkResolution` is no longer ignored within block tags, [#​2260](https://togithub.com/TypeStrong/TypeDoc/issues/2260). - The current namespace will also be expanded in the navigation on page load, [#​2260](https://togithub.com/TypeStrong/TypeDoc/issues/2260). - Fixed flicker of navigation pane when reloading a page caused by updating expansion state after the page was loaded. - Fixed an infinite loop if more than one entry point was provided, and all entry points were the same. ##### Thanks! - [@​FlippieCoetser](https://togithub.com/FlippieCoetser) #### v0.24.5 (2023-04-22) ##### Features - Categories and groups can now be shown in the navigation, added `--navigation.includeCategories` and `--navigation.includeGroups` to control this behavior. The `--categorizeByGroup` option also effects this behavior. If `categorizeByGroup` is set (the default) and `navigation.includeGroups` is *not* set, the value of `navigation.includeCategories` will be effectively ignored since categories will be created only within groups, [#​1532](https://togithub.com/TypeStrong/TypeDoc/issues/1532). - Added support for discovering a "module" comment on global files, [#​2165](https://togithub.com/TypeStrong/TypeDoc/issues/2165). - Added copy code to clipboard button, [#​2153](https://togithub.com/TypeStrong/TypeDoc/issues/2153). - Function `@returns` blocks will now be rendered with the return type, [#​2180](https://togithub.com/TypeStrong/TypeDoc/issues/2180). - Added `--groupOrder` option to specify the sort order of groups, [#​2251](https://togithub.com/TypeStrong/TypeDoc/issues/2251). ##### Bug Fixes - Type parameter constraints now respect the `--hideParameterTypesInTitle` option, [#​2226](https://togithub.com/TypeStrong/TypeDoc/issues/2226). - Even more contrast fixes, [#​2248](https://togithub.com/TypeStrong/TypeDoc/issues/2248). - Fix semantic highlighting for predicate type's parameter references, [#​2249](https://togithub.com/TypeStrong/TypeDoc/issues/2249). - Fixed broken links to heading titles. - Fixed inconsistent styling between type parameter lists and parameter lists. - TypeDoc will now warn if more than one `@returns` block is is present in a function, and ignore the duplicate blocks as specified by TSDoc. ##### Thanks! - [@​FlippieCoetser](https://togithub.com/FlippieCoetser) #### v0.24.4 (2023-04-16) ##### Bug Fixes - Fixed broken semantic coloring, [#​2247](https://togithub.com/TypeStrong/TypeDoc/issues/2247). - Increased contrast for parameter titles in dark mode to meet WCAG AA contrast requirements, [#​2244](https://togithub.com/TypeStrong/TypeDoc/issues/2244). - Underline color of index links now matches the text color, [#​2245](https://togithub.com/TypeStrong/TypeDoc/issues/2245). - Increased contract for active menu item text in dark mode. #### v0.24.3 (2023-04-16) ##### Bug Fixes - Fixed path expansion on Windows preventing generation, [#​2243](https://togithub.com/TypeStrong/TypeDoc/issues/2243) and [#​2241](https://togithub.com/TypeStrong/TypeDoc/issues/2241). #### v0.24.2 (2023-04-15) ##### Features - Added semantic link coloring for reflection names & links, [#​2227](https://togithub.com/TypeStrong/TypeDoc/issues/2227). Note: This resulted in function signatures becoming too busy for easy scanning with even slightly complicated signatures as such, TypeDoc now only renders parameter names in the signature title and includes the type in the parameter details as usual. This can be controlled with the new `--hideParameterTypesInTitle` option. - Conditional types will now render their branches on the next line for easier comprehension. ##### Bug Fixes - Fixed `&` showing as `&` and HTML text showing up in page contents navigation, [#​2224](https://togithub.com/TypeStrong/TypeDoc/issues/2224). - Increased padding between sections when one navigation column is displayed, [#​2225](https://togithub.com/TypeStrong/TypeDoc/issues/2225). - Correct padding for navigation elements with a displayed icon, [#​2229](https://togithub.com/TypeStrong/TypeDoc/issues/2229). - Fixed `source-order` sort strategy failing to compare reflections within a file. - Added `enum-member-source-order` specialization of the `source-order` sort strategy which only compares enum members, [#​2237](https://togithub.com/TypeStrong/TypeDoc/issues/2237). - Updated highlight colors for semantic links to meet WCAG AA contrast requirements, [#​2228](https://togithub.com/TypeStrong/TypeDoc/issues/2228). - Type parameters are now highlighted consistently, [#​2230](https://togithub.com/TypeStrong/TypeDoc/issues/2230). - Fixed semantic coloring in type and function signatures, [#​2227](https://togithub.com/TypeStrong/TypeDoc/issues/2227). - Fixed issue where removing a reflection indirectly containing an object/function type would only partially remove the reflection, [#​2231](https://togithub.com/TypeStrong/TypeDoc/issues/2231). - Fixed "Implementation of X.y" links if a mixture of methods and property-methods are used, [#​2233](https://togithub.com/TypeStrong/TypeDoc/issues/2233). - "Implementation of" text to symbol-properties not contained in the documentation will now use the resolved name instead of a `__@​` symbol name, [#​2234](https://togithub.com/TypeStrong/TypeDoc/issues/2234). - Fix expansion of globs if a single entry point is provided, [#​2235](https://togithub.com/TypeStrong/TypeDoc/issues/2235). - Validation will no longer be skipped for sub packages when running with `--entryPointStrategy packages`. - Fixed broken theme toggle if the page contained a member named "theme". ##### Thanks! - [@​RunDevelopment](https://togithub.com/RunDevelopment) #### v0.24.1 (2023-04-09) ##### Bug Fixes - Improve detection for legacy JSDoc `@example` tags, [#​2222](https://togithub.com/TypeStrong/TypeDoc/issues/2222). - The page footer will now appear at the bottom of the page even if the page is short, [#​2223](https://togithub.com/TypeStrong/TypeDoc/issues/2223). </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.2.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.2.2): TypeScript 5.2 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.2.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.2.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.2.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/ui](https://togithub.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.34.1` -> `^0.34.3`](https://renovatebot.com/diffs/npm/@vitest%2fui/0.34.1/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.34.1` -> `^0.34.3`](https://renovatebot.com/diffs/npm/vitest/0.34.1/0.34.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.1/0.34.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/ui)</summary> ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/likec4/likec4). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.33.0` -> `0.34.4`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.33.0` -> `0.34.4`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/specfy/stack-analyser). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6ImNob3JlL3Jlbm92YXRlQmFzZUJyYW5jaCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint)) | [`^17.6.6` -> `^17.7.1`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/17.6.6/17.7.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/17.6.6/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/17.6.6/17.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.16.19` -> `^18.18.0`](https://renovatebot.com/diffs/npm/@types%2fnode/18.16.19/18.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/18.16.19/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/18.16.19/18.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.33.0` -> `^0.34.5`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [cz-git](https://cz-git.qbb.sh) ([source](https://togithub.com/Zhengqbbb/cz-git)) | [`^1.7.0` -> `^1.7.1`](https://renovatebot.com/diffs/npm/cz-git/1.7.0/1.7.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cz-git/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cz-git/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cz-git/1.7.0/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cz-git/1.7.0/1.7.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.45.0` -> `^8.50.0`](https://renovatebot.com/diffs/npm/eslint/8.45.0/8.50.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.45.0/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.45.0/8.50.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://togithub.com/okonet/lint-staged) | [`^13.2.3` -> `^13.3.0`](https://renovatebot.com/diffs/npm/lint-staged/13.2.3/13.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/13.2.3/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/13.2.3/13.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`^5.1.6` -> `^5.2.2`](https://renovatebot.com/diffs/npm/typescript/5.1.6/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.1.6/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://togithub.com/vitejs/vite/tree/main/#readme) ([source](https://togithub.com/vitejs/vite)) | [`^4.4.4` -> `^4.4.9`](https://renovatebot.com/diffs/npm/vite/4.4.4/4.4.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.4.4/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.4.4/4.4.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.5`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v17.7.1`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1771-2023-08-10) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.7.0...v17.7.1) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v17.7.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1770-2023-08-09) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.7...v17.7.0) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.7](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.6...v17.6.7) (2023-07-19) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.6](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.5...v17.6.6) (2023-06-24) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.5](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.4...v17.6.5) (2023-05-30) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.3](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.2...v17.6.3) (2023-05-04) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [17.6.1](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.0...v17.6.1) (2023-04-14) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v17.6.7`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1767-2023-07-19) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v17.6.6...v17.6.7) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> <details> <summary>Zhengqbbb/cz-git (cz-git)</summary> ### [`v1.7.1`](https://togithub.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#171-2023-08-08) [Compare Source](https://togithub.com/Zhengqbbb/cz-git/compare/v1.7.0...v1.7.1) ##### Bug Fixes - **cli:** `--api-key` not work ([0a65673](https://togithub.com/Zhengqbbb/cz-git/commit/0a65673b2b501d2c5bc8562652a75098a29f4ae9)), closes [#​141](https://togithub.com/Zhengqbbb/cz-git/issues/141) </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.50.0`](https://togithub.com/eslint/eslint/releases/tag/v8.50.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.49.0...v8.50.0) #### Features - [`27d5a9e`](https://togithub.com/eslint/eslint/commit/27d5a9e57ad347982a68fcd0e75eafee42d344f0) feat: add suggestions to array-callback-return ([#​17590](https://togithub.com/eslint/eslint/issues/17590)) (Tanuj Kanti) - [`f9082ff`](https://togithub.com/eslint/eslint/commit/f9082ff3f3956a0a5a7d7659de63640a21c4de0f) feat: flat-rule-tester make sure default config always matches ([#​17585](https://togithub.com/eslint/eslint/issues/17585)) (fnx) - [`83914ad`](https://togithub.com/eslint/eslint/commit/83914adbfd5fce7d11b33d095ba6d6a39be0dbbc) feat: Implement SourceCode#applyInlineConfig() ([#​17351](https://togithub.com/eslint/eslint/issues/17351)) (Nicholas C. Zakas) - [`22a5582`](https://togithub.com/eslint/eslint/commit/22a558228ff98f478fa308c9ecde361acc4caf20) feat: add rule `no-object-constructor`, deprecate `no-new-object` ([#​17576](https://togithub.com/eslint/eslint/issues/17576)) (Francesco Trotta) - [`85a3d9e`](https://togithub.com/eslint/eslint/commit/85a3d9e967b19cb4a0189746499d81ef2f93e14e) feat: allowVoid option in array-callback-return ([#​17564](https://togithub.com/eslint/eslint/issues/17564)) (Tanuj Kanti) #### Bug Fixes - [`cc4d26b`](https://togithub.com/eslint/eslint/commit/cc4d26b5a59d510f2c878e973fd245e8eff27c2a) fix: Ensure deprecated context.parserServices warns ([#​17593](https://togithub.com/eslint/eslint/issues/17593)) (Nicholas C. Zakas) - [`1ea4cfb`](https://togithub.com/eslint/eslint/commit/1ea4cfb585dcb52ac3cb1522a32f25cfe507121b) fix: Ensure all RuleTester tests all deprecated context methods ([#​17587](https://togithub.com/eslint/eslint/issues/17587)) (Nicholas C. Zakas) - [`aa1b657`](https://togithub.com/eslint/eslint/commit/aa1b657a9febcd03e9298c03ae2888762795e322) fix: wrong suggestion and message in `no-misleading-character-class` ([#​17571](https://togithub.com/eslint/eslint/issues/17571)) (Yosuke Ota) #### Documentation - [`1800537`](https://togithub.com/eslint/eslint/commit/180053759c6cf05a326c710353b4717fbf289ee0) docs: Fix and standardize JSX code examples ([#​17591](https://togithub.com/eslint/eslint/issues/17591)) (Francesco Trotta) - [`48a44a7`](https://togithub.com/eslint/eslint/commit/48a44a73ac456739bdee348bbaf1840d2b1e4830) docs: Add correct/incorrect tags to `prefer-arrow-callback` ([#​17589](https://togithub.com/eslint/eslint/issues/17589)) (Francesco Trotta) - [`20893d4`](https://togithub.com/eslint/eslint/commit/20893d48b9012f2b61bbbfeac8bee70d68d90e5e) docs: fix incorrect tag's place ([#​17575](https://togithub.com/eslint/eslint/issues/17575)) (Tanuj Kanti) - [`bd7a71f`](https://togithub.com/eslint/eslint/commit/bd7a71fd6b7efb0445393304e2d48c5c06d46a45) docs: Update README (GitHub Actions Bot) #### Chores - [`f8a8a2d`](https://togithub.com/eslint/eslint/commit/f8a8a2d6b45c82f94a574623759b6e3d2af193f3) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).50.0 ([#​17599](https://togithub.com/eslint/eslint/issues/17599)) (Milos Djermanovic) - [`38ada6d`](https://togithub.com/eslint/eslint/commit/38ada6df8f4a0313b7d0739b28f0af6b4897b8ce) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) ### [`v8.49.0`](https://togithub.com/eslint/eslint/releases/tag/v8.49.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.48.0...v8.49.0) #### Features - [`da09f4e`](https://togithub.com/eslint/eslint/commit/da09f4e641141f585ef611c6e9d63d4331054706) feat: Implement onUnreachableCodePathStart/End ([#​17511](https://togithub.com/eslint/eslint/issues/17511)) (Nicholas C. Zakas) - [`32b2327`](https://togithub.com/eslint/eslint/commit/32b2327aafdd3b911fabab69ed75c9ff97658c60) feat: Emit deprecation warnings in RuleTester ([#​17527](https://togithub.com/eslint/eslint/issues/17527)) (Nicholas C. Zakas) - [`acb7df3`](https://togithub.com/eslint/eslint/commit/acb7df35b9a7485f26bc6b3e1f9083d1c585dce9) feat: add new `enforce` option to `lines-between-class-members` ([#​17462](https://togithub.com/eslint/eslint/issues/17462)) (Nitin Kumar) #### Documentation - [`ecfb54f`](https://togithub.com/eslint/eslint/commit/ecfb54ff4cdd18f28b4f9b78f0a78fb4cf80f1b8) docs: Update README (GitHub Actions Bot) - [`de86b3b`](https://togithub.com/eslint/eslint/commit/de86b3b2e58edd5826200c23255d8325abe375e1) docs: update `no-promise-executor-return` examples ([#​17529](https://togithub.com/eslint/eslint/issues/17529)) (Nitin Kumar) - [`032c4b1`](https://togithub.com/eslint/eslint/commit/032c4b1476a7b8cfd917a66772d2221950ea87eb) docs: add typescript template ([#​17500](https://togithub.com/eslint/eslint/issues/17500)) (James) - [`cd7da5c`](https://togithub.com/eslint/eslint/commit/cd7da5cc3154f86f7ca45fb58929d27a7af359ed) docs: Update README (GitHub Actions Bot) #### Chores - [`b7621c3`](https://togithub.com/eslint/eslint/commit/b7621c3b16cf7d5539f05336a827e1b32d95e6ac) chore: remove browser test from `npm test` ([#​17550](https://togithub.com/eslint/eslint/issues/17550)) (Milos Djermanovic) - [`cac45d0`](https://togithub.com/eslint/eslint/commit/cac45d04b890b0700dd8908927300608adad05fe) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).49.0 ([#​17549](https://togithub.com/eslint/eslint/issues/17549)) (Milos Djermanovic) - [`cd39508`](https://togithub.com/eslint/eslint/commit/cd395082bffcb4b68efa09226d7c682cef56179e) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`203a971`](https://togithub.com/eslint/eslint/commit/203a971c0abc3a95ae02ff74104a01e569707060) ci: bump actions/checkout from 3 to 4 ([#​17530](https://togithub.com/eslint/eslint/issues/17530)) (dependabot\[bot]) - [`a40fa50`](https://togithub.com/eslint/eslint/commit/a40fa509922b36bb986eb1be9394591f84f62d9e) chore: use eslint-plugin-jsdoc's flat config ([#​17516](https://togithub.com/eslint/eslint/issues/17516)) (Milos Djermanovic) - [`926a286`](https://togithub.com/eslint/eslint/commit/926a28684282aeec37680bbc52a66973b8055f54) test: replace Karma with Webdriver.IO ([#​17126](https://togithub.com/eslint/eslint/issues/17126)) (Christian Bromann) - [`f591d2c`](https://togithub.com/eslint/eslint/commit/f591d2c88bf15af72e3a207b34fa872b4b90464b) chore: Upgrade config-array ([#​17512](https://togithub.com/eslint/eslint/issues/17512)) (Nicholas C. Zakas) ### [`v8.48.0`](https://togithub.com/eslint/eslint/releases/tag/v8.48.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.47.0...v8.48.0) ##### Features - [`1fbb3b0`](https://togithub.com/eslint/eslint/commit/1fbb3b0b477c814c0d179564fe495f4c50a451e9) feat: correct update direction in `for-direction` ([#​17483](https://togithub.com/eslint/eslint/issues/17483)) (Francesco Trotta) - [`d73fbf2`](https://togithub.com/eslint/eslint/commit/d73fbf2228631d6c468cd24710e2579fe6cb70fd) feat: rule tester do not create empty valid or invalid test suites ([#​17475](https://togithub.com/eslint/eslint/issues/17475)) (fnx) - [`ee2f718`](https://togithub.com/eslint/eslint/commit/ee2f718188d32e9888b1932fe6b9bd2a62c529a4) feat: Allow `void` in rule `no-promise-executor-return` ([#​17282](https://togithub.com/eslint/eslint/issues/17282)) (nopeless) ##### Bug Fixes - [`7234f6a`](https://togithub.com/eslint/eslint/commit/7234f6a706a209aa2d79259110328752e9ae3928) fix: update RuleTester JSDoc and deprecations ([#​17496](https://togithub.com/eslint/eslint/issues/17496)) (Jonas Berlin) ##### Documentation - [`7a51d77`](https://togithub.com/eslint/eslint/commit/7a51d77c0a066e461ff288568fdfee0e9539a2b5) docs: no-param-reassign mention strict mode ([#​17494](https://togithub.com/eslint/eslint/issues/17494)) (Stephen Hardy) - [`9cd7ac2`](https://togithub.com/eslint/eslint/commit/9cd7ac2fdb6b1d71a9fb1b8297a478cafacbdafd) docs: add `fetch` script to package.json conventions ([#​17459](https://togithub.com/eslint/eslint/issues/17459)) (Nitin Kumar) - [`cab21e6`](https://togithub.com/eslint/eslint/commit/cab21e64a8f79779c641178f825945958667c6e4) docs: advice for inline disabling of rules ([#​17458](https://togithub.com/eslint/eslint/issues/17458)) (Ashish Yadav) - [`056499d`](https://togithub.com/eslint/eslint/commit/056499de31a139dbc965d18652b0b520e11b408d) docs: fix example of flat config from plugin ([#​17482](https://togithub.com/eslint/eslint/issues/17482)) (Francesco Trotta) - [`9e9edf9`](https://togithub.com/eslint/eslint/commit/9e9edf93ecfa0658e8b79e71bc98530ade150081) docs: update documentation URL in error message ([#​17465](https://togithub.com/eslint/eslint/issues/17465)) (Nitin Kumar) ##### Chores - [`8dd3cec`](https://togithub.com/eslint/eslint/commit/8dd3cec90c97ed97d243a83b87ad4ea9e6b4781a) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).48.0 ([#​17501](https://togithub.com/eslint/eslint/issues/17501)) (Milos Djermanovic) - [`6d0496e`](https://togithub.com/eslint/eslint/commit/6d0496e9476fb2210fba0a3d541df8c052ecf73a) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`9d4216d`](https://togithub.com/eslint/eslint/commit/9d4216d638d39844decffac33ee3d5a47413c80a) chore: Refactor and document CodePathSegment ([#​17474](https://togithub.com/eslint/eslint/issues/17474)) (Nicholas C. Zakas) ### [`v8.47.0`](https://togithub.com/eslint/eslint/releases/tag/v8.47.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.46.0...v8.47.0) #### Features - [`53d7508`](https://togithub.com/eslint/eslint/commit/53d750800b1c0c1f8c29393c488bb3167bb1d2a5) feat: update regex for methods with `thisArg` ([#​17439](https://togithub.com/eslint/eslint/issues/17439)) (Francesco Trotta) #### Bug Fixes - [`631648e`](https://togithub.com/eslint/eslint/commit/631648ee0b51a8951ce576ccd4430e09c9c8bcae) fix: do not report on shadowed constructors in `no-new-wrappers` ([#​17447](https://togithub.com/eslint/eslint/issues/17447)) (Francesco Trotta) #### Documentation - [`a766a48`](https://togithub.com/eslint/eslint/commit/a766a48030d4359db76523d5b413d6332130e485) docs: document lack of config file names ([#​17442](https://togithub.com/eslint/eslint/issues/17442)) (James) - [`a1635d6`](https://togithub.com/eslint/eslint/commit/a1635d6198a8baf6571b3351e098e5ac960be887) docs: Update README (GitHub Actions Bot) - [`47a0859`](https://togithub.com/eslint/eslint/commit/47a08597966651975126dd6726939cd34f13b80e) docs: update `require-unicode-regexp.md` as following up [#​17402](https://togithub.com/eslint/eslint/issues/17402) ([#​17441](https://togithub.com/eslint/eslint/issues/17441)) (SUZUKI Sosuke) - [`fcdc85d`](https://togithub.com/eslint/eslint/commit/fcdc85d3a6bc14970c3349cc8d6f3a47eca172a3) docs: Update README (GitHub Actions Bot) - [`2a92b6c`](https://togithub.com/eslint/eslint/commit/2a92b6cc9520a27255520369206556e9841a3af8) docs: update with "Specifying Parser Options" ([#​17435](https://togithub.com/eslint/eslint/issues/17435)) (Cheol-Won) - [`d743ed3`](https://togithub.com/eslint/eslint/commit/d743ed3c06c62a639da0389ad27907b324ea1715) docs: add metadata for parser/processor ([#​17438](https://togithub.com/eslint/eslint/issues/17438)) (Huáng Jùnliàng) - [`224376c`](https://togithub.com/eslint/eslint/commit/224376cd99a08394291a9584ad9c1ea1283673c6) docs: Update README (GitHub Actions Bot) - [`a41a8e4`](https://togithub.com/eslint/eslint/commit/a41a8e4a7da14726d6fce71a023f12101fd52fdb) docs: update script names in README ([#​17432](https://togithub.com/eslint/eslint/issues/17432)) (Nitin Kumar) #### Chores - [`bf69aa6`](https://togithub.com/eslint/eslint/commit/bf69aa6408f5403a88d8c9b71b0e58232b1ea833) chore: Update dependencies ([#​17456](https://togithub.com/eslint/eslint/issues/17456)) (Nicholas C. Zakas) - [`0e45760`](https://togithub.com/eslint/eslint/commit/0e4576012ab938b880e6f27641bff55fb4313d20) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`757bfe1`](https://togithub.com/eslint/eslint/commit/757bfe1c35b5ddab7042d388f8d21e834875fff5) chore: Remove add-to-triage ([#​17450](https://togithub.com/eslint/eslint/issues/17450)) (Nicholas C. Zakas) - [`b066640`](https://togithub.com/eslint/eslint/commit/b066640b7040ec30f740dcc803511244fe19473b) chore: standardize npm script names ([#​17431](https://togithub.com/eslint/eslint/issues/17431)) (Nitin Kumar) - [`6b2410f`](https://togithub.com/eslint/eslint/commit/6b2410f911dd2e3d915c879041c6e257d41a2f4e) chore: Update add-to-triage.yml ([#​17444](https://togithub.com/eslint/eslint/issues/17444)) (Nicholas C. Zakas) ### [`v8.46.0`](https://togithub.com/eslint/eslint/releases/tag/v8.46.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.45.0...v8.46.0) #### Features - [`8a93438`](https://togithub.com/eslint/eslint/commit/8a9343871f7dade19d910ca8e2a4177bfca28b64) feat: `require-unicode-regexp` support `v` flag ([#​17402](https://togithub.com/eslint/eslint/issues/17402)) (SUZUKI Sosuke) - [`1a2f966`](https://togithub.com/eslint/eslint/commit/1a2f966fabe35103141d2f936180d2f1a72154db) feat: `no-useless-escape` support `v` flag ([#​17420](https://togithub.com/eslint/eslint/issues/17420)) (Yosuke Ota) - [`ee68d1d`](https://togithub.com/eslint/eslint/commit/ee68d1d9630892d99ae0d8dabe2f9f8d3b1338be) feat: `no-empty-character-class` support `v` flag ([#​17419](https://togithub.com/eslint/eslint/issues/17419)) (Milos Djermanovic) - [`853d32b`](https://togithub.com/eslint/eslint/commit/853d32baa8934c08b59a738470b72522e1505f6f) feat: deprecate no-return-await ([#​17417](https://togithub.com/eslint/eslint/issues/17417)) (Carlos Lopez) - [`d4f02e4`](https://togithub.com/eslint/eslint/commit/d4f02e4bf1b9ae4e1fc8f2bc4e4851ae3c36a127) feat: `no-control-regex` support `v` flag ([#​17405](https://togithub.com/eslint/eslint/issues/17405)) (Yosuke Ota) - [`2a35f3e`](https://togithub.com/eslint/eslint/commit/2a35f3e6ed27deafbebba48b6aec570d3abf9974) feat: `prefer-named-capture-group` support `v` flag ([#​17409](https://togithub.com/eslint/eslint/issues/17409)) (Yosuke Ota) - [`8ca8b50`](https://togithub.com/eslint/eslint/commit/8ca8b50b0425b3bad34a9505bc3095168e2f59d8) feat: Better error message for flat config plugins ([#​17399](https://togithub.com/eslint/eslint/issues/17399)) (Nicholas C. Zakas) - [`509f753`](https://togithub.com/eslint/eslint/commit/509f75395035822280245772e2a95732a0dde0e1) feat: `no-misleading-character-class` support `v` flag ([#​17406](https://togithub.com/eslint/eslint/issues/17406)) (Yosuke Ota) - [`3caf514`](https://togithub.com/eslint/eslint/commit/3caf51487decdf93a4b17765a2af2a51c337e974) feat: `no-regex-spaces` support `v` flag ([#​17407](https://togithub.com/eslint/eslint/issues/17407)) (Yosuke Ota) - [`b7fad2b`](https://togithub.com/eslint/eslint/commit/b7fad2b52f23667628cf209663795a721c88d0ba) feat: `prefer-regex-literals` support `v` flag ([#​17410](https://togithub.com/eslint/eslint/issues/17410)) (Yosuke Ota) - [`a6a3ad4`](https://togithub.com/eslint/eslint/commit/a6a3ad4ae438ea7fc3a1d97cd2555f6534b565f1) feat: `no-useless-backreference` support `v` flag ([#​17408](https://togithub.com/eslint/eslint/issues/17408)) (Yosuke Ota) - [`94954a7`](https://togithub.com/eslint/eslint/commit/94954a715448d5794f2892bf212fe986b43228ed) feat: `no-invalid-regexp` support `v` flag ([#​17404](https://togithub.com/eslint/eslint/issues/17404)) (Yosuke Ota) - [`1af6eac`](https://togithub.com/eslint/eslint/commit/1af6eac5727080c809e37c07dc729b44ef24483c) feat: adds option for allowing empty object patterns as parameter ([#​1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Wednesday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/changeset-changelog). Co-authored-by: Alex Böhm <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.0` -> `0.34.6`](https://renovatebot.com/diffs/npm/vitest/0.34.0/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/buape/utilities). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM3LjAuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.34.1` -> `0.34.6`](https://renovatebot.com/diffs/npm/vitest/0.34.1/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.1/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.1/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kivra/toybox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzcuMC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcus Tisäter <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/s1adem4n/soundcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzcuMC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` -> `^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/s1adem4n/soundcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzcuMC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/coverage-istanbul)) | [`^0.34.0` -> `^1.0.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.34.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-istanbul/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-istanbul/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-istanbul/0.34.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-istanbul/0.34.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-istanbul)</summary> ### [`v1.0.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1) ##### 🐞 Bug Fixes - Bump vitest packages `peerDependencies` versions - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4654](https://togithub.com/vitest-dev/vitest/issues/4654) [<samp>(42070)</samp>](https://togithub.com/vitest-dev/vitest/commit/420707fc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1) ### [`v1.0.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.6...v1.0.0) Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-from-vitest-0-34-6). ##### 🚨 Breaking Changes - Add support for `pool` and `poolOptions`, remove old flags - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4172](https://togithub.com/vitest-dev/vitest/issues/4172) [<samp>(114a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/114a993c) - Support multiple parallel `child_process` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3925](https://togithub.com/vitest-dev/vitest/issues/3925) [<samp>(8b4a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b4a44ad) - Make snapshots more visually pleasing by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/pull/3961](https://togithub.com/vitest-dev/vitest/pull/3961) - Set `vitest` peer dependency range for sub packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4299](https://togithub.com/vitest-dev/vitest/issues/4299) [<samp>(cd03c)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd03cb51) - Bump minimum node version to 18 and match Vite 5 requirement - by [@​ghiscoding](https://togithub.com/ghiscoding) in [https://github.com/vitest-dev/vitest/issues/4296](https://togithub.com/vitest-dev/vitest/issues/4296) [<samp>(263b7)</samp>](https://togithub.com/vitest-dev/vitest/commit/263b7167) - Remove deprecated node loader - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4371](https://togithub.com/vitest-dev/vitest/issues/4371) [<samp>(29299)</samp>](https://togithub.com/vitest-dev/vitest/commit/29299f3c) - Move browser providers to [@​vitest/browser](https://togithub.com/vitest/browser) package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4364](https://togithub.com/vitest-dev/vitest/issues/4364) [<samp>(5cdeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cdeb558) - Remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/4400](https://togithub.com/vitest-dev/vitest/issues/4400) [<samp>(d40b3)</samp>](https://togithub.com/vitest-dev/vitest/commit/d40b3a58) - **runner**: Correctly process custom tasks, update runner hooks naming by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/pull/4076](https://togithub.com/vitest-dev/vitest/pull/4076) - **coverage**: - glob based coverage thresholds by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/pull/4442](https://togithub.com/vitest-dev/vitest/pull/4442) [<samp>(18300)</samp>](https://togithub.com/vitest-dev/vitest/commit/4953410e8d96bf95f9d92bb2c8413f25b5b371b8) - Use `transformMode` and workspace project based source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4309](https://togithub.com/vitest-dev/vitest/issues/4309) [<samp>(28109cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/28109cc) - Enable `coverage.all` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4265](https://togithub.com/vitest-dev/vitest/issues/4265) [<samp>(5a741)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a741ca2) ##### 🚀 Features - Add Marko example and include code coverage for Marko files - by [@​DylanPiercey](https://togithub.com/DylanPiercey) in [https://github.com/vitest-dev/vitest/issues/4263](https://togithub.com/vitest-dev/vitest/issues/4263) [<samp>(eac77)</samp>](https://togithub.com/vitest-dev/vitest/commit/eac77765) - Update magic-string - by [@​bluwy](https://togithub.com/bluwy) in [https://github.com/vitest-dev/vitest/issues/4345](https://togithub.com/vitest-dev/vitest/issues/4345) [<samp>(fde18)</samp>](https://togithub.com/vitest-dev/vitest/commit/fde1843e) - Implement provide/inject API to transfer data from the main thread - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4422](https://togithub.com/vitest-dev/vitest/issues/4422) [<samp>(a7522)</samp>](https://togithub.com/vitest-dev/vitest/commit/a75228f1) - Improve expectTypeOf error messages - by [@​mmkal](https://togithub.com/mmkal), **Misha Kaletsky** and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4206](https://togithub.com/vitest-dev/vitest/issues/4206) [<samp>(18300)</samp>](https://togithub.com/vitest-dev/vitest/commit/183005e9) - Add test.sequential() api - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4512](https://togithub.com/vitest-dev/vitest/issues/4512) [<samp>(c3619)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3619c78) - Allow custom pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4417](https://togithub.com/vitest-dev/vitest/issues/4417) [<samp>(a3fd5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3fd5f85) - Add --project option to limit what projects are running - by [@​sheremet-va](https://togithub.com/sheremet-va), [@​dammy001](https://togithub.com/dammy001) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4561](https://togithub.com/vitest-dev/vitest/issues/4561) [<samp>(58ef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/58ef51a9) - **benchmark**: - Move importTinybench to runner - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4376](https://togithub.com/vitest-dev/vitest/issues/4376) [<samp>(c36d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/c36d2b97) - **browser**: - Support "none" provider and update lit example to use it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4427](https://togithub.com/vitest-dev/vitest/issues/4427) [<samp>(d03a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/d03a2a21) - **coverage**: - Support `/* v8 ignore...` ignore hints - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4573](https://togithub.com/vitest-dev/vitest/issues/4573) [<samp>(f9e4a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f9e4ad83) - **expect**: - Support `expect.closeTo` api - by [@​Dunqing](https://togithub.com/Dunqing) and **golebiowskib** in [https://github.com/vitest-dev/vitest/issues/4260](https://togithub.com/vitest-dev/vitest/issues/4260) [<samp>(7f91c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f91c6f6) - ToContain can handle classList and Node.contains - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4239](https://togithub.com/vitest-dev/vitest/issues/4239) [<samp>(ce84f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce84f069) - Compare URL objects by href - by [@​kleinfreund](https://togithub.com/kleinfreund) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4615](https://togithub.com/vitest-dev/vitest/issues/4615) [<samp>(f7a73)</samp>](https://togithub.com/vitest-dev/vitest/commit/f7a73338) - **snapshot**: - Add option to configure snapshot directory - by [@​d3lm](https://togithub.com/d3lm) in [https://github.com/vitest-dev/vitest/issues/4651](https://togithub.com/vitest-dev/vitest/issues/4651) [<samp>(20b2a)</samp>](https://togithub.com/vitest-dev/vitest/commit/20b2a857) - **vite-node**: - Support import.meta.hot.off for vite 5 - by [@​bluwy](https://togithub.com/bluwy) in [https://github.com/vitest-dev/vitest/issues/4315](https://togithub.com/vitest-dev/vitest/issues/4315) [<samp>(01b1c)</samp>](https://togithub.com/vitest-dev/vitest/commit/01b1c55c) - **vitest**: - Expose getBenchFn, getBenchOptions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4208](https://togithub.com/vitest-dev/vitest/issues/4208) [<samp>(8e5e4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e5e42dc) - Run typecheck during tests - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4324](https://togithub.com/vitest-dev/vitest/issues/4324) [<samp>(a1aad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1aadd71) - Filter stacktraces - by [@​clarkf](https://togithub.com/clarkf) in [https://github.com/vitest-dev/vitest/issues/1999](https://togithub.com/vitest-dev/vitest/issues/1999) and [https://github.com/vitest-dev/vitest/issues/4338](https://togithub.com/vitest-dev/vitest/issues/4338) [<samp>(6b734)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b73473f) - Expose execArgv to the different pools - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/4383](https://togithub.com/vitest-dev/vitest/issues/4383) [<samp>(9021e)</samp>](https://togithub.com/vitest-dev/vitest/commit/9021e8b8) ##### 🐞 Bug Fixes - Add multiple globals in VM+JSDOM - by [@​nstepien](https://togithub.com/nstepien) in [https://github.com/vitest-dev/vitest/issues/4199](https://togithub.com/vitest-dev/vitest/issues/4199) and [https://github.com/vitest-dev/vitest/issues/4202](https://togithub.com/vitest-dev/vitest/issues/4202) [<samp>(fc947)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc947ce6) - Ignore "plugins" field in snapshotFormat option - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4204](https://togithub.com/vitest-dev/vitest/issues/4204) [<samp>(db1ff)</samp>](https://togithub.com/vitest-dev/vitest/commit/db1ff438) - `nextTick` mocking error message to mention correct config option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4215](https://togithub.com/vitest-dev/vitest/issues/4215) [<samp>(98fe3)</samp>](https://togithub.com/vitest-dev/vitest/commit/98fe3d55) - Export VitestUtils interface - by [@​fbritoferreira](https://togithub.com/fbritoferreira) in [https://github.com/vitest-dev/vitest/issues/4301](https://togithub.com/vitest-dev/vitest/issues/4301) [<samp>(b1439)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1439852) - Assertion diff message handle non-writable sub-properties - by [@​bfamchon](https://togithub.com/bfamchon) in [https://github.com/vitest-dev/vitest/issues/4278](https://togithub.com/vitest-dev/vitest/issues/4278) [<samp>(7e1a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e1a0f83) - Don't bundle import from rollup - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4392](https://togithub.com/vitest-dev/vitest/issues/4392) [<samp>(3b584)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b58487b) - Support accessing fixture at same index of dependency fixture - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4387](https://togithub.com/vitest-dev/vitest/issues/4387) [<samp>(4cd1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cd1d3ce) - Make asynchronous fixtures work concurrently - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4403](https://togithub.com/vitest-dev/vitest/issues/4403) [<samp>(3c9f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c9f920a) - Coverage.100 crash when using as an cli argument - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4346](https://togithub.com/vitest-dev/vitest/issues/4346) [<samp>(0db38)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db386dc) - Support typechecking with Yarn PnP - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4412](https://togithub.com/vitest-dev/vitest/issues/4412) [<samp>(1ecbe)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ecbe74d) - Support accessing task from test context without accessing fixtures - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4419](https://togithub.com/vitest-dev/vitest/issues/4419) [<samp>(3397f)</samp>](https://togithub.com/vitest-dev/vitest/commit/3397fdc4) - Copy custom asymmetric matchers to local `expect` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4405](https://togithub.com/vitest-dev/vitest/issues/4405) [<samp>(9fe38)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fe38737) - Apply serializer to `Error` instance for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4396](https://togithub.com/vitest-dev/vitest/issues/4396) [<samp>(ac309)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac309726) - Throw an error when running "vitest typecheck" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4439](https://togithub.com/vitest-dev/vitest/issues/4439) [<samp>(7f502)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f502299) - Don't expand snapshot diff by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4430](https://togithub.com/vitest-dev/vitest/issues/4430) [<samp>(8983c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8983cd48) - Handle errors thrown in fixtures - by [@​dsyddall](https://togithub.com/dsyddall) [<samp>(f6844)</samp>](https://togithub.com/vitest-dev/vitest/commit/f6844ad6) - Default --open to !process.env.CI - by [@​collinstevens](https://togithub.com/collinstevens) in [https://github.com/vitest-dev/vitest/issues/4477](https://togithub.com/vitest-dev/vitest/issues/4477) [<samp>(088a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/088a047d) - Disable ESBuild when user config disables it - by [@​Namchee](https://togithub.com/Namchee) in [https://github.com/vitest-dev/vitest/issues/4492](https://togithub.com/vitest-dev/vitest/issues/4492) [<samp>(9abde)</samp>](https://togithub.com/vitest-dev/vitest/commit/9abde204) - Inherit concurrent/sequential in nested suites - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4482](https://togithub.com/vitest-dev/vitest/issues/4482) [<samp>(ca168)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca168a14) - Provide customTesters to asymmetric matchers - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(ac665)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac665c96) - Apply `retry` and `bail` from test config file - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4530](https://togithub.com/vitest-dev/vitest/issues/4530) [<samp>(94f9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/94f9a3ca) - Respect trailing slash when filtering by file path - by [@​ibuibu](https://togithub.com/ibuibu) in [https://github.com/vitest-dev/vitest/issues/4538](https://togithub.com/vitest-dev/vitest/issues/4538) [<samp>(f377a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f377a3bf) - Date prototype when using setSystemTime - by [@​spiroka](https://togithub.com/spiroka) in [https://github.com/vitest-dev/vitest/issues/4584](https://togithub.com/vitest-dev/vitest/issues/4584) [<samp>(3f8c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/3f8c3fb1) - BrowserTestRunner called incorrect super methods - by [@​samthor](https://togithub.com/samthor) in [https://github.com/vitest-dev/vitest/issues/4632](https://togithub.com/vitest-dev/vitest/issues/4632) [<samp>(8385c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8385c981) - Set process name for idle workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4641](https://togithub.com/vitest-dev/vitest/issues/4641) [<samp>(eca25)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca25dc9) - **bench**: - Extract ChainableBenchmarkAPI type - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4537](https://togithub.com/vitest-dev/vitest/issues/4537) [<samp>(79e9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/79e9bfaa) - **browser**: - Improve error handling and don't rely on Node.js builtin modules in browser mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4244](https://togithub.com/vitest-dev/vitest/issues/4244) [<samp>(e7e8c)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7e8c3cc) - Disable hijacking ES modules until vi.mock is implemented - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4414](https://togithub.com/vitest-dev/vitest/issues/4414) [<samp>(ab556)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab556376) - Add vitest/ imports to entries - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4514](https://togithub.com/vitest-dev/vitest/issues/4514) [<samp>(648bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/648bccb9) - Wait until vite finishes prebundling of vitest dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4518](https://togithub.com/vitest-dev/vitest/issues/4518) [<samp>(56ee7)</samp>](https://togithub.com/vitest-dev/vitest/commit/56ee7026) - Allow for `pretty-format` as a sibling dependency - by [@​nicojs](https://togithub.com/nicojs) in [https://github.com/vitest-dev/vitest/issues/4590](https://togithub.com/vitest-dev/vitest/issues/4590) [<samp>(ed50a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed50a944) - Don't go into an infinite reload loop, don't fail if "error" event is caught - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4618](https://togithub.com/vitest-dev/vitest/issues/4618) [<samp>(ec3d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec3d6949) - Respect "server" option in vite config - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4627](https://togithub.com/vitest-dev/vitest/issues/4627) [<samp>(723f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/723f65b9) - **cli**: - Do not capture `stdin` when in run mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4310](https://togithub.com/vitest-dev/vitest/issues/4310) [<samp>(fc51a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc51ad04) - **config**: - Type issue of `pool` and `poolMatchGlobs` in defineConfig - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/4282](https://togithub.com/vitest-dev/vitest/issues/4282) [<samp>(9112c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9112cc96) - **coverage**: - `thresholdAutoUpdate` to detect zero limits - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4287](https://togithub.com/vitest-dev/vitest/issues/4287) [<samp>(a29fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/a29fecee) - Exclude files and directories starting with dot by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4428](https://togithub.com/vitest-dev/vitest/issues/4428) [<samp>(b3327)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3327a64) - Improve memory usage by writing temporary files on file system - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4603](https://togithub.com/vitest-dev/vitest/issues/4603) [<samp>(4166c)</samp>](https://togithub.com/vitest-dev/vitest/commit/4166c413) - **deps**: - Update dependency v8-to-istanbul to ^9.2.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4583](https://togithub.com/vitest-dev/vitest/issues/4583)3 [<samp>(a70f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a70f216d) - Update dependency std-env to ^3.5.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4582](https://togithub.com/vitest-dev/vitest/issues/4582)2 [<samp>(1fdd6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fdd6fe2) - **example**: - Resolve type error - by [@​jqkk](https://togithub.com/jqkk) in [https://github.com/vitest-dev/vitest/issues/4515](https://togithub.com/vitest-dev/vitest/issues/4515) [<samp>(2d1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/2d1b4785) - **expect**: - Publish types file - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(5996c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5996c8c0) - `Object.freeze` breaks `toEqual` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4303](https://togithub.com/vitest-dev/vitest/issues/4303) [<samp>(a4501)</samp>](https://togithub.com/vitest-dev/vitest/commit/a4501d6b) - Publish semantically correct chai types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4322](https://togithub.com/vitest-dev/vitest/issues/4322) [<samp>(80a70)</samp>](https://togithub.com/vitest-dev/vitest/commit/80a706a1) - Print full error if promise is rejected - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4467](https://togithub.com/vitest-dev/vitest/issues/4467) [<samp>(cadb9)</samp>](https://togithub.com/vitest-dev/vitest/commit/cadb9cd3) - Don't fail when using jest expect - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4517](https://togithub.com/vitest-dev/vitest/issues/4517) [<samp>(60d6d)</samp>](https://togithub.com/vitest-dev/vitest/commit/60d6d173) - **happy-dom**: - Don't crash when calling useFakeTimers with empty config - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4214](https://togithub.com/vitest-dev/vitest/issues/4214) [<samp>(2e1a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/2e1a1bd4) - **jsdom**: - Don't go into an infinite recusion when calling atob - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(da794)</samp>](https://togithub.com/vitest-dev/vitest/commit/da7949dc) - **runner**: - Fixture needs to be initialized for each test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4250](https://togithub.com/vitest-dev/vitest/issues/4250) [<samp>(76a93)</samp>](https://togithub.com/vitest-dev/vitest/commit/76a93298) - Nested tests should throw errors - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4262](https://togithub.com/vitest-dev/vitest/issues/4262) [<samp>(8ac9f)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ac9f8b1) - Removes deprecated `error` option from TaskResult - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4313](https://togithub.com/vitest-dev/vitest/issues/4313) [<samp>(4cee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cee6711) - Preserve fixtures when calling runif and skipif - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4585](https://togithub.com/vitest-dev/vitest/issues/4585) and [https://github.com/vitest-dev/vitest/issues/4591](https://togithub.com/vitest-dev/vitest/issues/4591) [<samp>(515ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/515eadf9) - PassWithNoTests option not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4553](https://togithub.com/vitest-dev/vitest/issues/4553) [<samp>(8d183)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d183da4) - **vite-node**: - Have a separate cache for web/ssr transforms - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4221](https://togithub.com/vitest-dev/vitest/issues/4221) [<samp>(ca5db)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca5dbef4) - Mjs files watch not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3982](https://togithub.com/vitest-dev/vitest/issues/3982) [<samp>(77ea9)</samp>](https://togithub.com/vitest-dev/vitest/commit/77ea9326) - **vitest**: - Make [@​types/node](https://togithub.com/types/node) optional - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4210](https://togithub.com/vitest-dev/vitest/issues/4210) [<samp>(a5383)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5383c2d) - Inline chai types instead of using [@​types/chai](https://togithub.com/types/chai) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4209](https://togithub.com/vitest-dev/vitest/issues/4209) [<samp>(5f477)</samp>](https://togithub.com/vitest-dev/vitest/commit/5f4774fc) - Don't initialize globalSetup if workspace doesn't run tests - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4213](https://togithub.com/vitest-dev/vitest/issues/4213) [<samp>(06461)</samp>](https://togithub.com/vitest-dev/vitest/commit/0646197e) - Deduplicate vitest when running globally or in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4238](https://togithub.com/vitest-dev/vitest/issues/4238) [<samp>(93504)</samp>](https://togithub.com/vitest-dev/vitest/commit/93504619) - Print file path instead of "unknown test" when logging - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4146](https://togithub.com/vitest-dev/vitest/issues/4146) [<samp>(ec2e8)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec2e8040) - Failed to load custom environment from js/ts file - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4255](https://togithub.com/vitest-dev/vitest/issues/4255) [<samp>(da8d0)</samp>](https://togithub.com/vitest-dev/vitest/commit/da8d0570) - Support assets in new URL in Vite 5 - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4258](https://togithub.com/vitest-dev/vitest/issues/4258) [<samp>(d280f)</samp>](https://togithub.com/vitest-dev/vitest/commit/d280f489) - Correctly hoist `vi.hoisted` if assigned - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4285](https://togithub.com/vitest-dev/vitest/issues/4285) [<samp>(ff93a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ff93a573) - Run globalSetup from the root config even if it's not in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4325](https://togithub.com/vitest-dev/vitest/issues/4325) [<samp>(4293e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4293e1b1) - Pass correct mode in vitest config function - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/4399](https://togithub.com/vitest-dev/vitest/issues/4399) [<samp>(b8ca3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8ca3873) - Throw an error if vitest is imported using require() - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4466](https://togithub.com/vitest-dev/vitest/issues/4466) [<samp>(e5cf1)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5cf1418) - Use correct type for defineProject to allow usage in mergeConfig - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4498](https://togithub.com/vitest-dev/vitest/issues/4498) [<samp>(7dee8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7dee832d) - Throw an error if Vite wasn't able to resolve aliased path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4503](https://togithub.com/vitest-dev/vitest/issues/4503) [<samp>(50333)</samp>](https://togithub.com/vitest-dev/vitest/commit/503331d8) - Improve vi.waitUntil type to excude falsy types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4572](https://togithub.com/vitest-dev/vitest/issues/4572) [<samp>(23652)</samp>](https://togithub.com/vitest-dev/vitest/commit/23652300) - Add import-meta.d.ts - by [@​macdaddyaz](https://togithub.com/macdaddyaz) in [https://github.com/vitest-dev/vitest/issues/4571](https://togithub.com/vitest-dev/vitest/issues/4571) [<samp>(dd802)</samp>](https://togithub.com/vitest-dev/vitest/commit/dd80288f) - Correctly support CSS variable when using happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4601](https://togithub.com/vitest-dev/vitest/issues/4601) [<samp>(9fbf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fbf39af) - Pass correct server options in workspace - by [@​hironytic](https://togithub.com/hironytic) in [https://github.com/vitest-dev/vitest/issues/4539](https://togithub.com/vitest-dev/vitest/issues/4539) and [https://github.com/vitest-dev/vitest/issues/4540](https://togithub.com/vitest-dev/vitest/issues/4540) [<samp>(241a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/241a8c13) - Independently mock each instance's methods for mocked class - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4564](https://togithub.com/vitest-dev/vitest/issues/4564) [<samp>(05b05)</samp>](https://togithub.com/vitest-dev/vitest/commit/05b0521c) - **vm**: - Remove sequencer usage from createVmThreadsPool function - by [@​mhogeveen](https://togithub.com/mhogeveen) in [https://github.com/vitest-dev/vitest/issues/4638](https://togithub.com/vitest-dev/vitest/issues/4638) [<samp>(54d52)</samp>](https://togithub.com/vitest-dev/vitest/commit/54d52d44) ##### 🏎 Performance - Update `log-update` v9 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4390](https://togithub.com/vitest-dev/vitest/issues/4390) [<samp>(ba1df)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1df849) - Close pool early in run-mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4623](https://togithub.com/vitest-dev/vitest/issues/4623) [<samp>(e0e20)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0e20176) - **coverage-istanbul**: `all: true` instruments already instrumented files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4552](https://togithub.com/vitest-dev/vitest/issues/4552) [<samp>(d1e1b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1e1bc90) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.7...v1.0.0) ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/s1adem4n/soundcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^0.34.0` -> `^1.0.0`](https://renovatebot.com/diffs/npm/vitest/0.34.0/1.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.0/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.0/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.1.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ##### 🚀 Features - Add es-main compatibility to vite-node - by [@​zookatron](https://togithub.com/zookatron) in [https://github.com/vitest-dev/vitest/issues/4751](https://togithub.com/vitest-dev/vitest/issues/4751) [<samp>(486a3)</samp>](https://togithub.com/vitest-dev/vitest/commit/486a3e61) - Add `--workspace` option, fix root resolution in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4773](https://togithub.com/vitest-dev/vitest/issues/4773) [<samp>(67d93)</samp>](https://togithub.com/vitest-dev/vitest/commit/67d93eda) - Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4705](https://togithub.com/vitest-dev/vitest/issues/4705) [<samp>(fd5d7)</samp>](https://togithub.com/vitest-dev/vitest/commit/fd5d7e66) - Add `--no-isolate` flag to improve performance, add documentation about performance - by [@​sheremet-va](https://togithub.com/sheremet-va), [@​AriPerkkio](https://togithub.com/AriPerkkio) and **Pascal Jufer** in [https://github.com/vitest-dev/vitest/issues/4777](https://togithub.com/vitest-dev/vitest/issues/4777) [<samp>(4d55a)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d55a026) - Add `--exclude` CLI flag - by [@​Namchee](https://togithub.com/Namchee) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4279](https://togithub.com/vitest-dev/vitest/issues/4279) [<samp>(f859e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f859efc0) ##### 🐞 Bug Fixes - Correctly reset provided values - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4775](https://togithub.com/vitest-dev/vitest/issues/4775) [<samp>(5a71e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a71eb30) - **expect**: - Fix `toHaveProperty` assertion error diff - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4734](https://togithub.com/vitest-dev/vitest/issues/4734) [<samp>(f8f70)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8f70f7c) - **runner**: - Handle fixture teardown error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4683](https://togithub.com/vitest-dev/vitest/issues/4683) [<samp>(c6f5f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c6f5f7f9) - **types**: - `defineWorkspace` fix intellisense and report type errors - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4743](https://togithub.com/vitest-dev/vitest/issues/4743) [<samp>(9cc36)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cc36689) - **ui**: - Escape html for console log view - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4724](https://togithub.com/vitest-dev/vitest/issues/4724) [<samp>(e0dde)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0dde6ab) - Fix coverage iframe url for html report preview - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4717](https://togithub.com/vitest-dev/vitest/issues/4717) [<samp>(71911)</samp>](https://togithub.com/vitest-dev/vitest/commit/71911039) - Show file item when search filter matches only test cases - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4736](https://togithub.com/vitest-dev/vitest/issues/4736) [<samp>(f43fd)</samp>](https://togithub.com/vitest-dev/vitest/commit/f43fdd87) - **vitest**: - Pass down CLI options to override workspace configs - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4774](https://togithub.com/vitest-dev/vitest/issues/4774) [<samp>(8dabe)</samp>](https://togithub.com/vitest-dev/vitest/commit/8dabef86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0) ### [`v1.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) The previous release was built incorrectly and didn't include the performance fix. This release fixes that. ##### 🐞 Bug Fixes - **cli**: `--coverage.all=false` resolved incorrectly - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4697](https://togithub.com/vitest-dev/vitest/issues/4697) [<samp>(a7931)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7931bbf) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4) ### [`v1.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ##### 🐞 Bug Fixes - Correct package exports - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/4707](https://togithub.com/vitest-dev/vitest/issues/4707) [<samp>(37388)</samp>](https://togithub.com/vitest-dev/vitest/commit/37388d69) - **runner**: Fix async fixture teardown - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4700](https://togithub.com/vitest-dev/vitest/issues/4700) [<samp>(92afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/92afd54c) - **vitest**: Correctly filter changed files when Vitest workspace is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4693](https://togithub.com/vitest-dev/vitest/issues/4693) [<samp>(34135)</samp>](https://togithub.com/vitest-dev/vitest/commit/3413518b) ##### 🏎 Performance - **reporters**: Downgrade `log-update` to v5 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711) [<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3) ### [`v1.0.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ##### 🐞 Bug Fixes - Don't check if vite is installed - by [@​wojtekmaj](https://togithub.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4659](https://togithub.com/vitest-dev/vitest/issues/4659) [<samp>(775e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/775e2014) - Fix ensurePackageInstalled on Yarn PnP - by [@​wojtekmaj](https://togithub.com/wojtekmaj) in [https://github.com/vitest-dev/vitest/issues/4657](https://togithub.com/vitest-dev/vitest/issues/4657) [<samp>(574cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/574cc7d0) - Apply `stripSnapshotIndentation` for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4663](https://togithub.com/vitest-dev/vitest/issues/4663) [<samp>(74820)</samp>](https://togithub.com/vitest-dev/vitest/commit/748205dc) - **cli**: - Prompted packages fail to install - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4593](https://togithub.com/vitest-dev/vitest/issues/4593) [<samp>(a9908)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9908453) - **expect**: - Apply `URL` equality check only when `URL` is available - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4670](https://togithub.com/vitest-dev/vitest/issues/4670) [<samp>(43783)</samp>](https://togithub.com/vitest-dev/vitest/commit/43783cfe) - **runner**: - Improve fixture error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4673](https://togithub.com/vitest-dev/vitest/issues/4673) [<samp>(1e4aa)</samp>](https://togithub.com/vitest-dev/vitest/commit/1e4aa8e4) - Fix fixture cleanup when test times out - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4679](https://togithub.com/vitest-dev/vitest/issues/4679) [<samp>(e7c5e)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7c5e1f7) - **vitest**: - Support new Request('/api') in happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4671](https://togithub.com/vitest-dev/vitest/issues/4671) [<samp>(6e6ee)</samp>](https://togithub.com/vitest-dev/vitest/commit/6e6ee10e) - Skip processing getter in auto-mocked constructor call - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4677](https://togithub.com/vitest-dev/vitest/issues/4677) [<samp>(cb786)</samp>](https://togithub.com/vitest-dev/vitest/commit/cb7864aa) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.1...v1.0.2) ### [`v1.0.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1) ##### 🐞 Bug Fixes - Bump vitest packages `peerDependencies` versions - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4654](https://togithub.com/vitest-dev/vitest/issues/4654) [<samp>(42070)</samp>](https://togithub.com/vitest-dev/vitest/commit/420707fc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.0...v1.0.1) ### [`v1.0.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.6...v1.0.0) Vitest 1.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-from-vitest-0-34-6). ##### 🚨 Breaking Changes - Add support for `pool` and `poolOptions`, remove old flags - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4172](https://togithub.com/vitest-dev/vitest/issues/4172) [<samp>(114a9)</samp>](https://togithub.com/vitest-dev/vitest/commit/114a993c) - Support multiple parallel `child_process` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3925](https://togithub.com/vitest-dev/vitest/issues/3925) [<samp>(8b4a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b4a44ad) - Make snapshots more visually pleasing by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/pull/3961](https://togithub.com/vitest-dev/vitest/pull/3961) - Set `vitest` peer dependency range for sub packages - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4299](https://togithub.com/vitest-dev/vitest/issues/4299) [<samp>(cd03c)</samp>](https://togithub.com/vitest-dev/vitest/commit/cd03cb51) - Bump minimum node version to 18 and match Vite 5 requirement - by [@​ghiscoding](https://togithub.com/ghiscoding) in [https://github.com/vitest-dev/vitest/issues/4296](https://togithub.com/vitest-dev/vitest/issues/4296) [<samp>(263b7)</samp>](https://togithub.com/vitest-dev/vitest/commit/263b7167) - Remove deprecated node loader - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4371](https://togithub.com/vitest-dev/vitest/issues/4371) [<samp>(29299)</samp>](https://togithub.com/vitest-dev/vitest/commit/29299f3c) - Move browser providers to [@​vitest/browser](https://togithub.com/vitest/browser) package - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4364](https://togithub.com/vitest-dev/vitest/issues/4364) [<samp>(5cdeb)</samp>](https://togithub.com/vitest-dev/vitest/commit/5cdeb558) - Remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/4400](https://togithub.com/vitest-dev/vitest/issues/4400) [<samp>(d40b3)</samp>](https://togithub.com/vitest-dev/vitest/commit/d40b3a58) - `expect().toContain()` can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - use `expect().toMatchObject()` in that case - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4239](https://togithub.com/vitest-dev/vitest/issues/4239) [<samp>(ce84f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ce84f069) - **runner**: Correctly process custom tasks, update runner hooks naming by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/pull/4076](https://togithub.com/vitest-dev/vitest/pull/4076) - **coverage**: - glob based coverage thresholds by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/pull/4442](https://togithub.com/vitest-dev/vitest/pull/4442) [<samp>(18300)</samp>](https://togithub.com/vitest-dev/vitest/commit/4953410e8d96bf95f9d92bb2c8413f25b5b371b8) - Use `transformMode` and workspace project based source maps - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4309](https://togithub.com/vitest-dev/vitest/issues/4309) [<samp>(28109cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/28109cc) - Enable `coverage.all` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4265](https://togithub.com/vitest-dev/vitest/issues/4265) [<samp>(5a741)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a741ca2) ##### 🚀 Features - Add Marko example and include code coverage for Marko files - by [@​DylanPiercey](https://togithub.com/DylanPiercey) in [https://github.com/vitest-dev/vitest/issues/4263](https://togithub.com/vitest-dev/vitest/issues/4263) [<samp>(eac77)</samp>](https://togithub.com/vitest-dev/vitest/commit/eac77765) - Update magic-string - by [@​bluwy](https://togithub.com/bluwy) in [https://github.com/vitest-dev/vitest/issues/4345](https://togithub.com/vitest-dev/vitest/issues/4345) [<samp>(fde18)</samp>](https://togithub.com/vitest-dev/vitest/commit/fde1843e) - Implement provide/inject API to transfer data from the main thread - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4422](https://togithub.com/vitest-dev/vitest/issues/4422) [<samp>(a7522)</samp>](https://togithub.com/vitest-dev/vitest/commit/a75228f1) - Improve expectTypeOf error messages - by [@​mmkal](https://togithub.com/mmkal), **Misha Kaletsky** and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4206](https://togithub.com/vitest-dev/vitest/issues/4206) [<samp>(18300)</samp>](https://togithub.com/vitest-dev/vitest/commit/183005e9) - Add test.sequential() api - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4512](https://togithub.com/vitest-dev/vitest/issues/4512) [<samp>(c3619)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3619c78) - Allow custom pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4417](https://togithub.com/vitest-dev/vitest/issues/4417) [<samp>(a3fd5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a3fd5f85) - Add --project option to limit what projects are running - by [@​sheremet-va](https://togithub.com/sheremet-va), [@​dammy001](https://togithub.com/dammy001) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4561](https://togithub.com/vitest-dev/vitest/issues/4561) [<samp>(58ef5)</samp>](https://togithub.com/vitest-dev/vitest/commit/58ef51a9) - **benchmark**: - Move importTinybench to runner - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4376](https://togithub.com/vitest-dev/vitest/issues/4376) [<samp>(c36d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/c36d2b97) - **browser**: - Support "none" provider and update lit example to use it - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4427](https://togithub.com/vitest-dev/vitest/issues/4427) [<samp>(d03a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/d03a2a21) - **coverage**: - Support `/* v8 ignore...` ignore hints - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4573](https://togithub.com/vitest-dev/vitest/issues/4573) [<samp>(f9e4a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f9e4ad83) - **expect**: - Support `expect.closeTo` api - by [@​Dunqing](https://togithub.com/Dunqing) and **golebiowskib** in [https://github.com/vitest-dev/vitest/issues/4260](https://togithub.com/vitest-dev/vitest/issues/4260) [<samp>(7f91c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f91c6f6) - Compare URL objects by href - by [@​kleinfreund](https://togithub.com/kleinfreund) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4615](https://togithub.com/vitest-dev/vitest/issues/4615) [<samp>(f7a73)</samp>](https://togithub.com/vitest-dev/vitest/commit/f7a73338) - **snapshot**: - Add option to configure snapshot directory - by [@​d3lm](https://togithub.com/d3lm) in [https://github.com/vitest-dev/vitest/issues/4651](https://togithub.com/vitest-dev/vitest/issues/4651) [<samp>(20b2a)</samp>](https://togithub.com/vitest-dev/vitest/commit/20b2a857) - **vite-node**: - Support import.meta.hot.off for vite 5 - by [@​bluwy](https://togithub.com/bluwy) in [https://github.com/vitest-dev/vitest/issues/4315](https://togithub.com/vitest-dev/vitest/issues/4315) [<samp>(01b1c)</samp>](https://togithub.com/vitest-dev/vitest/commit/01b1c55c) - **vitest**: - Expose getBenchFn, getBenchOptions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4208](https://togithub.com/vitest-dev/vitest/issues/4208) [<samp>(8e5e4)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e5e42dc) - Run typecheck during tests - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4324](https://togithub.com/vitest-dev/vitest/issues/4324) [<samp>(a1aad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1aadd71) - Filter stacktraces - by [@​clarkf](https://togithub.com/clarkf) in [https://github.com/vitest-dev/vitest/issues/1999](https://togithub.com/vitest-dev/vitest/issues/1999) and [https://github.com/vitest-dev/vitest/issues/4338](https://togithub.com/vitest-dev/vitest/issues/4338) [<samp>(6b734)</samp>](https://togithub.com/vitest-dev/vitest/commit/6b73473f) - Expose execArgv to the different pools - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/4383](https://togithub.com/vitest-dev/vitest/issues/4383) [<samp>(9021e)</samp>](https://togithub.com/vitest-dev/vitest/commit/9021e8b8) ##### 🐞 Bug Fixes - Add multiple globals in VM+JSDOM - by [@​nstepien](https://togithub.com/nstepien) in [https://github.com/vitest-dev/vitest/issues/4199](https://togithub.com/vitest-dev/vitest/issues/4199) and [https://github.com/vitest-dev/vitest/issues/4202](https://togithub.com/vitest-dev/vitest/issues/4202) [<samp>(fc947)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc947ce6) - Ignore "plugins" field in snapshotFormat option - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4204](https://togithub.com/vitest-dev/vitest/issues/4204) [<samp>(db1ff)</samp>](https://togithub.com/vitest-dev/vitest/commit/db1ff438) - `nextTick` mocking error message to mention correct config option - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4215](https://togithub.com/vitest-dev/vitest/issues/4215) [<samp>(98fe3)</samp>](https://togithub.com/vitest-dev/vitest/commit/98fe3d55) - Export VitestUtils interface - by [@​fbritoferreira](https://togithub.com/fbritoferreira) in [https://github.com/vitest-dev/vitest/issues/4301](https://togithub.com/vitest-dev/vitest/issues/4301) [<samp>(b1439)</samp>](https://togithub.com/vitest-dev/vitest/commit/b1439852) - Assertion diff message handle non-writable sub-properties - by [@​bfamchon](https://togithub.com/bfamchon) in [https://github.com/vitest-dev/vitest/issues/4278](https://togithub.com/vitest-dev/vitest/issues/4278) [<samp>(7e1a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e1a0f83) - Don't bundle import from rollup - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4392](https://togithub.com/vitest-dev/vitest/issues/4392) [<samp>(3b584)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b58487b) - Support accessing fixture at same index of dependency fixture - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4387](https://togithub.com/vitest-dev/vitest/issues/4387) [<samp>(4cd1d)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cd1d3ce) - Make asynchronous fixtures work concurrently - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4403](https://togithub.com/vitest-dev/vitest/issues/4403) [<samp>(3c9f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c9f920a) - Coverage.100 crash when using as an cli argument - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4346](https://togithub.com/vitest-dev/vitest/issues/4346) [<samp>(0db38)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db386dc) - Support typechecking with Yarn PnP - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4412](https://togithub.com/vitest-dev/vitest/issues/4412) [<samp>(1ecbe)</samp>](https://togithub.com/vitest-dev/vitest/commit/1ecbe74d) - Support accessing task from test context without accessing fixtures - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4419](https://togithub.com/vitest-dev/vitest/issues/4419) [<samp>(3397f)</samp>](https://togithub.com/vitest-dev/vitest/commit/3397fdc4) - Copy custom asymmetric matchers to local `expect` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4405](https://togithub.com/vitest-dev/vitest/issues/4405) [<samp>(9fe38)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fe38737) - Apply serializer to `Error` instance for thrown snapshot - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4396](https://togithub.com/vitest-dev/vitest/issues/4396) [<samp>(ac309)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac309726) - Throw an error when running "vitest typecheck" - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4439](https://togithub.com/vitest-dev/vitest/issues/4439) [<samp>(7f502)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f502299) - Don't expand snapshot diff by default - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4430](https://togithub.com/vitest-dev/vitest/issues/4430) [<samp>(8983c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8983cd48) - Handle errors thrown in fixtures - by [@​dsyddall](https://togithub.com/dsyddall) [<samp>(f6844)</samp>](https://togithub.com/vitest-dev/vitest/commit/f6844ad6) - Default --open to !process.env.CI - by [@​collinstevens](https://togithub.com/collinstevens) in [https://github.com/vitest-dev/vitest/issues/4477](https://togithub.com/vitest-dev/vitest/issues/4477) [<samp>(088a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/088a047d) - Disable ESBuild when user config disables it - by [@​Namchee](https://togithub.com/Namchee) in [https://github.com/vitest-dev/vitest/issues/4492](https://togithub.com/vitest-dev/vitest/issues/4492) [<samp>(9abde)</samp>](https://togithub.com/vitest-dev/vitest/commit/9abde204) - Inherit concurrent/sequential in nested suites - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4482](https://togithub.com/vitest-dev/vitest/issues/4482) [<samp>(ca168)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca168a14) - Provide customTesters to asymmetric matchers - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(ac665)</samp>](https://togithub.com/vitest-dev/vitest/commit/ac665c96) - Apply `retry` and `bail` from test config file - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4530](https://togithub.com/vitest-dev/vitest/issues/4530) [<samp>(94f9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/94f9a3ca) - Respect trailing slash when filtering by file path - by [@​ibuibu](https://togithub.com/ibuibu) in [https://github.com/vitest-dev/vitest/issues/4538](https://togithub.com/vitest-dev/vitest/issues/4538) [<samp>(f377a)</samp>](https://togithub.com/vitest-dev/vitest/commit/f377a3bf) - Date prototype when using setSystemTime - by [@​spiroka](https://togithub.com/spiroka) in [https://github.com/vitest-dev/vitest/issues/4584](https://togithub.com/vitest-dev/vitest/issues/4584) [<samp>(3f8c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/3f8c3fb1) - BrowserTestRunner called incorrect super methods - by [@​samthor](https://togithub.com/samthor) in [https://github.com/vitest-dev/vitest/issues/4632](https://togithub.com/vitest-dev/vitest/issues/4632) [<samp>(8385c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8385c981) - Set process name for idle workers - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4641](https://togithub.com/vitest-dev/vitest/issues/4641) [<samp>(eca25)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca25dc9) - **bench**: - Extract ChainableBenchmarkAPI type - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4537](https://togithub.com/vitest-dev/vitest/issues/4537) [<samp>(79e9b)</samp>](https://togithub.com/vitest-dev/vitest/commit/79e9bfaa) - **browser**: - Improve error handling and don't rely on Node.js builtin modules in browser mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4244](https://togithub.com/vitest-dev/vitest/issues/4244) [<samp>(e7e8c)</samp>](https://togithub.com/vitest-dev/vitest/commit/e7e8c3cc) - Disable hijacking ES modules until vi.mock is implemented - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4414](https://togithub.com/vitest-dev/vitest/issues/4414) [<samp>(ab556)</samp>](https://togithub.com/vitest-dev/vitest/commit/ab556376) - Add vitest/ imports to entries - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4514](https://togithub.com/vitest-dev/vitest/issues/4514) [<samp>(648bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/648bccb9) - Wait until vite finishes prebundling of vitest dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4518](https://togithub.com/vitest-dev/vitest/issues/4518) [<samp>(56ee7)</samp>](https://togithub.com/vitest-dev/vitest/commit/56ee7026) - Allow for `pretty-format` as a sibling dependency - by [@​nicojs](https://togithub.com/nicojs) in [https://github.com/vitest-dev/vitest/issues/4590](https://togithub.com/vitest-dev/vitest/issues/4590) [<samp>(ed50a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed50a944) - Don't go into an infinite reload loop, don't fail if "error" event is caught - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4618](https://togithub.com/vitest-dev/vitest/issues/4618) [<samp>(ec3d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec3d6949) - Respect "server" option in vite config - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4627](https://togithub.com/vitest-dev/vitest/issues/4627) [<samp>(723f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/723f65b9) - **cli**: - Do not capture `stdin` when in run mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4310](https://togithub.com/vitest-dev/vitest/issues/4310) [<samp>(fc51a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fc51ad04) - **config**: - Type issue of `pool` and `poolMatchGlobs` in defineConfig - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/4282](https://togithub.com/vitest-dev/vitest/issues/4282) [<samp>(9112c)</samp>](https://togithub.com/vitest-dev/vitest/commit/9112cc96) - **coverage**: - `thresholdAutoUpdate` to detect zero limits - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4287](https://togithub.com/vitest-dev/vitest/issues/4287) [<samp>(a29fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/a29fecee) - Exclude files and directories starting with dot by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4428](https://togithub.com/vitest-dev/vitest/issues/4428) [<samp>(b3327)</samp>](https://togithub.com/vitest-dev/vitest/commit/b3327a64) - Improve memory usage by writing temporary files on file system - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4603](https://togithub.com/vitest-dev/vitest/issues/4603) [<samp>(4166c)</samp>](https://togithub.com/vitest-dev/vitest/commit/4166c413) - **deps**: - Update dependency v8-to-istanbul to ^9.2.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4583](https://togithub.com/vitest-dev/vitest/issues/4583)3 [<samp>(a70f2)</samp>](https://togithub.com/vitest-dev/vitest/commit/a70f216d) - Update dependency std-env to ^3.5.0 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4582](https://togithub.com/vitest-dev/vitest/issues/4582)2 [<samp>(1fdd6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fdd6fe2) - **example**: - Resolve type error - by [@​jqkk](https://togithub.com/jqkk) in [https://github.com/vitest-dev/vitest/issues/4515](https://togithub.com/vitest-dev/vitest/issues/4515) [<samp>(2d1b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/2d1b4785) - **expect**: - Publish types file - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(5996c)</samp>](https://togithub.com/vitest-dev/vitest/commit/5996c8c0) - `Object.freeze` breaks `toEqual` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4303](https://togithub.com/vitest-dev/vitest/issues/4303) [<samp>(a4501)</samp>](https://togithub.com/vitest-dev/vitest/commit/a4501d6b) - Publish semantically correct chai types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4322](https://togithub.com/vitest-dev/vitest/issues/4322) [<samp>(80a70)</samp>](https://togithub.com/vitest-dev/vitest/commit/80a706a1) - Print full error if promise is rejected - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4467](https://togithub.com/vitest-dev/vitest/issues/4467) [<samp>(cadb9)</samp>](https://togithub.com/vitest-dev/vitest/commit/cadb9cd3) - Don't fail when using jest expect - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4517](https://togithub.com/vitest-dev/vitest/issues/4517) [<samp>(60d6d)</samp>](https://togithub.com/vitest-dev/vitest/commit/60d6d173) - **happy-dom**: - Don't crash when calling useFakeTimers with empty config - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4214](https://togithub.com/vitest-dev/vitest/issues/4214) [<samp>(2e1a1)</samp>](https://togithub.com/vitest-dev/vitest/commit/2e1a1bd4) - **jsdom**: - Don't go into an infinite recusion when calling atob - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(da794)</samp>](https://togithub.com/vitest-dev/vitest/commit/da7949dc) - **runner**: - Fixture needs to be initialized for each test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4250](https://togithub.com/vitest-dev/vitest/issues/4250) [<samp>(76a93)</samp>](https://togithub.com/vitest-dev/vitest/commit/76a93298) - Nested tests should throw errors - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4262](https://togithub.com/vitest-dev/vitest/issues/4262) [<samp>(8ac9f)</samp>](https://togithub.com/vitest-dev/vitest/commit/8ac9f8b1) - Removes deprecated `error` option from TaskResult - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4313](https://togithub.com/vitest-dev/vitest/issues/4313) [<samp>(4cee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/4cee6711) - Preserve fixtures when calling runif and skipif - by [@​dsyddall](https://togithub.com/dsyddall) in [https://github.com/vitest-dev/vitest/issues/4585](https://togithub.com/vitest-dev/vitest/issues/4585) and [https://github.com/vitest-dev/vitest/issues/4591](https://togithub.com/vitest-dev/vitest/issues/4591) [<samp>(515ea)</samp>](https://togithub.com/vitest-dev/vitest/commit/515eadf9) - PassWithNoTests option not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4553](https://togithub.com/vitest-dev/vitest/issues/4553) [<samp>(8d183)</samp>](https://togithub.com/vitest-dev/vitest/commit/8d183da4) - **vite-node**: - Have a separate cache for web/ssr transforms - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4221](https://togithub.com/vitest-dev/vitest/issues/4221) [<samp>(ca5db)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca5dbef4) - Mjs files watch not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3982](https://togithub.com/vitest-dev/vitest/issues/3982) [<samp>(77ea9)</samp>](https://togithub.com/vitest-dev/vitest/commit/77ea9326) - **vitest**: - Make [@​types/node](https://togithub.com/types/node) optional - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4210](https://togithub.com/vitest-dev/vitest/issues/4210) [<samp>(a5383)</samp>](https://togithub.com/vitest-dev/vitest/commit/a5383c2d) - Inline chai types instead of using [@​types/chai](https://togithub.com/types/chai) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4209](https://togithub.com/vitest-dev/vitest/issues/4209) [<samp>(5f477)</samp>](https://togithub.com/vitest-dev/vitest/commit/5f4774fc) - Don't initialize globalSetup if workspace doesn't run tests - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4213](https://togithub.com/vitest-dev/vitest/issues/4213) [<samp>(06461)</samp>](https://togithub.com/vitest-dev/vitest/commit/0646197e) - Deduplicate vitest when running globally or in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4238](https://togithub.com/vitest-dev/vitest/issues/4238) [<samp>(93504)</samp>](https://togithub.com/vitest-dev/vitest/commit/93504619) - Print file path instead of "unknown test" when logging - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4146](https://togithub.com/vitest-dev/vitest/issues/4146) [<samp>(ec2e8)</samp>](https://togithub.com/vitest-dev/vitest/commit/ec2e8040) - Failed to load custom environment from js/ts file - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4255](https://togithub.com/vitest-dev/vitest/issues/4255) [<samp>(da8d0)</samp>](https://togithub.com/vitest-dev/vitest/commit/da8d0570) - Support assets in new URL in Vite 5 - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4258](https://togithub.com/vitest-dev/vitest/issues/4258) [<samp>(d280f)</samp>](https://togithub.com/vitest-dev/vitest/commit/d280f489) - Correctly hoist `vi.hoisted` if assigned - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4285](https://togithub.com/vitest-dev/vitest/issues/4285) [<samp>(ff93a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ff93a573) - Run globalSetup from the root config even if it's not in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4325](https://togithub.com/vitest-dev/vitest/issues/4325) [<samp>(4293e)</samp>](https://togithub.com/vitest-dev/vitest/commit/4293e1b1) - Pass correct mode in vitest config function - by [@​adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/4399](https://togithub.com/vitest-dev/vitest/issues/4399) [<samp>(b8ca3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8ca3873) - Throw an error if vitest is imported using require() - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4466](https://togithub.com/vitest-dev/vitest/issues/4466) [<samp>(e5cf1)</samp>](https://togithub.com/vitest-dev/vitest/commit/e5cf1418) - Use correct type for defineProject to allow usage in mergeConfig - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4498](https://togithub.com/vitest-dev/vitest/issues/4498) [<samp>(7dee8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7dee832d) - Throw an error if Vite wasn't able to resolve aliased path - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4503](https://togithub.com/vitest-dev/vitest/issues/4503) [<samp>(50333)</samp>](https://togithub.com/vitest-dev/vitest/commit/503331d8) - Improve vi.waitUntil type to excude falsy types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4572](https://togithub.com/vitest-dev/vitest/issues/4572) [<samp>(23652)</samp>](https://togithub.com/vitest-dev/vitest/commit/23652300) - Add import-meta.d.ts - by [@​macdaddyaz](https://togithub.com/macdaddyaz) in [https://github.com/vitest-dev/vitest/issues/4571](https://togithub.com/vitest-dev/vitest/issues/4571) [<samp>(dd802)</samp>](https://togithub.com/vitest-dev/vitest/commit/dd80288f) - Correctly support CSS variable when using happy-dom - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4601](https://togithub.com/vitest-dev/vitest/issues/4601) [<samp>(9fbf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9fbf39af) - Pass correct server options in workspace - by [@​hironytic](https://togithub.com/hironytic) in [https://github.com/vitest-dev/vitest/issues/4539](https://togithub.com/vitest-dev/vitest/issues/4539) and [https://github.com/vitest-dev/vitest/issues/4540](https://togithub.com/vitest-dev/vitest/issues/4540) [<samp>(241a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/241a8c13) - Independently mock each instance's methods for mocked class - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4564](https://togithub.com/vitest-dev/vitest/issues/4564) [<samp>(05b05)</samp>](https://togithub.com/vitest-dev/vitest/commit/05b0521c) - **vm**: - Remove sequencer usage from createVmThreadsPool function - by [@​mhogeveen](https://togithub.com/mhogeveen) in [https://github.com/vitest-dev/vitest/issues/4638](https://togithub.com/vitest-dev/vitest/issues/4638) [<samp>(54d52)</samp>](https://togithub.com/vitest-dev/vitest/commit/54d52d44) ##### 🏎 Performance - Update `log-update` v9 - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4390](https://togithub.com/vitest-dev/vitest/issues/4390) [<samp>(ba1df)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1df849) - Close pool early in run-mode - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4623](https://togithub.com/vitest-dev/vitest/issues/4623) [<samp>(e0e20)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0e20176) - **coverage-istanbul**: `all: true` instruments already instrumented files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4552](https://togithub.com/vitest-dev/vitest/issues/4552) [<samp>(d1e1b)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1e1bc90) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.7...v1.0.0) ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vite </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/christianemmert/ts-starter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuMTAzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`0.32.2` -> `0.34.6`](https://renovatebot.com/diffs/npm/vitest/0.32.2/0.34.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.32.2/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.32.2/0.34.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v0.34.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://togithub.com/vitest-dev/vitest/issues/4164) [<samp>(cbe13)</samp>](https://togithub.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://togithub.com/vitest-dev/vitest/issues/4196) [<samp>(e3408)</samp>](https://togithub.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://togithub.com/vitest-dev/vitest/issues/4168) [<samp>(730b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [<samp>(b50cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [<samp>(a7e09)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [<samp>(d79cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [<samp>(1aee1)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [<samp>(e0ac9)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [<samp>(e8797)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [<samp>(e649d)</samp>](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [<samp>(ba1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [<samp>(725a0)</samp>](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [<samp>(c21c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [<samp>(3c305)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [<samp>(175c7)</samp>](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [<samp>(01e01)</samp>](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [<samp>(8c315)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [<samp>(ca70a)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(90ff8)</samp>](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [<samp>(a084c)</samp>](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [<samp>(b4d5a)</samp>](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [<samp>(21ba4)</samp>](https://togithub.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@​thebanjomatic](https://togithub.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://togithub.com/vitest-dev/vitest/issues/4036) [<samp>(0c13c)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://togithub.com/vitest-dev/vitest/issues/4077) [<samp>(a84a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://togithub.com/vitest-dev/vitest/issues/4027) [<samp>(9f043)</samp>](https://togithub.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://togithub.com/vitest-dev/vitest/issues/4090) [<samp>(59434)</samp>](https://togithub.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://togithub.com/vitest-dev/vitest/issues/4071) [<samp>(b5bf3)</samp>](https://togithub.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://togithub.com/vitest-dev/vitest/issues/4049) [<samp>(80741)</samp>](https://togithub.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://togithub.com/vitest-dev/vitest/issues/4031) [<samp>(0d0f3)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://togithub.com/vitest-dev/vitest/issues/4080) [<samp>(410bc)</samp>](https://togithub.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://togithub.com/vitest-dev/vitest/issues/4095) [<samp>(00e81)</samp>](https://togithub.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://togithub.com/vitest-dev/vitest/issues/4083) [<samp>(f8ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://togithub.com/vitest-dev/vitest/issues/4085) [<samp>(8b39c)</samp>](https://togithub.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://togithub.com/vitest-dev/vitest/issues/4014) [<samp>(e78a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@​vojvodics](https://togithub.com/vojvodics) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://togithub.com/vitest-dev/vitest/issues/3894) [<samp>(c03fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://togithub.com/vitest-dev/vitest/issues/3980) [<samp>(5704b)</samp>](https://togithub.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@​miserylee](https://togithub.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://togithub.com/vitest-dev/vitest/issues/3971) [<samp>(5eb85)</samp>](https://togithub.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@​FelixGraf](https://togithub.com/FelixGraf) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://togithub.com/vitest-dev/vitest/issues/3973) [<samp>(20263)</samp>](https://togithub.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a <failure> on JUnit - by [@​3c1u](https://togithub.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://togithub.com/vitest-dev/vitest/issues/3997) [<samp>(00c43)</samp>](https://togithub.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://togithub.com/vitest-dev/vitest/issues/3998) [<samp>(b42cf)</samp>](https://togithub.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui - by [@​segevfiner](https://togithub.com/segevfiner) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://togithub.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://togithub.com/vitest-dev/vitest/issues/3487) [<samp>(8caab)</samp>](https://togithub.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://togithub.com/vitest-dev/vitest/issues/3993) [<samp>(dff60)</samp>](https://togithub.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://togithub.com/vitest-dev/vitest/issues/3992) [<samp>(74dc5)</samp>](https://togithub.com/vitest-dev/vitest/commit/74dc5967) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ##### 🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads` - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://togithub.com/vitest-dev/vitest/issues/3880) [<samp>(f4e6e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://togithub.com/vitest-dev/vitest/issues/3966) [<samp>(5c88d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c88d8e5) ##### 🐞 Bug Fixes - Don't bundle utils' source-map entry - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://togithub.com/vitest-dev/vitest/issues/3865) [<samp>(a08e5)</samp>](https://togithub.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://togithub.com/vitest-dev/vitest/issues/3872) [<samp>(d1a08)</samp>](https://togithub.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://togithub.com/vitest-dev/vitest/issues/3855) [<samp>(3e1e7)</samp>](https://togithub.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://togithub.com/vitest-dev/vitest/issues/3876) [<samp>(0c53e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://togithub.com/vitest-dev/vitest/issues/3879) [<samp>(7d1f8)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(f8dfb)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config - by [@​jellyfishgh](https://togithub.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://togithub.com/vitest-dev/vitest/issues/3931) [<samp>(3a3eb)</samp>](https://togithub.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://togithub.com/vitest-dev/vitest/issues/3944) [<samp>(e73ca)</samp>](https://togithub.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://togithub.com/vitest-dev/vitest/issues/3947) [<samp>(1c08d)</samp>](https://togithub.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://togithub.com/vitest-dev/vitest/issues/3958) [<samp>(91fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://togithub.com/vitest-dev/vitest/issues/3956) [<samp>(bcb41)</samp>](https://togithub.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name - by [@​antfu](https://togithub.com/antfu) [<samp>(3073b)</samp>](https://togithub.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts` - by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://togithub.com/vitest-dev/vitest/issues/3970) [<samp>(0f8e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified - by [@​thebanjomatic](https://togithub.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://togithub.com/vitest-dev/vitest/issues/3952) [<samp>(3891d)</samp>](https://togithub.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://togithub.com/vitest-dev/vitest/issues/3960) [<samp>(9423b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://togithub.com/vitest-dev/vitest/issues/3887) [<samp>(7b740)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://togithub.com/vitest-dev/vitest/issues/3945) [<samp>(35139)</samp>](https://togithub.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option - by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://togithub.com/vitest-dev/vitest/issues/3917) [<samp>(6ecfc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env - by [@​danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://togithub.com/vitest-dev/vitest/issues/3951) [<samp>(edb32)</samp>](https://togithub.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://togithub.com/vitest-dev/vitest/issues/3957) [<samp>(eca4b)</samp>](https://togithub.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob - by [@​g-plane](https://togithub.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://togithub.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://togithub.com/vitest-dev/vitest/issues/3949) [<samp>(15b4f)</samp>](https://togithub.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://togithub.com/vitest-dev/vitest/issues/3972) [<samp>(6a0cb)</samp>](https://togithub.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://togithub.com/vitest-dev/vitest/issues/3950) [<samp>(a428f)</samp>](https://togithub.com/vitest-dev/vitest/commit/a428f8d4) ##### 🏎 Performance - **dot-renderer**: Speed up getTests - by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://togithub.com/vitest-dev/vitest/issues/3923) [<samp>(e9404)</samp>](https://togithub.com/vitest-dev/vitest/commit/e94044d7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ##### 🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool` - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [<samp>(3c67a)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ##### 🚨 Breaking Changes - Transform mode affects only test files, not regular files - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default - by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). ##### 🚀 Features - Support `describe.sequential` - by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env - by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) ##### 🐞 Bug Fixes - Isolate workers between envs and workspaces - by [@​AriPerkkio](https://togithub.com/AriPerkkio) [<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition - by [@​btea](https://togithub.com/btea) [<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view - by [@​g4rry420](https://togithub.com/g4rry420) [<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite - by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage - by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual` - by [@​Dunqing](https://togithub.com/Dunqing) [<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info - by [@​btea](https://togithub.com/btea) [<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) ##### 🏎 Performance - Deprecate deps.registerNodeLoader - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ### [`v0.33.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@​so1ve](https://togithub.com/so1ve) [#​3729](https://togithub.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@​DerZade](https://togithub.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://togithub.com/vitest-dev/vitest/issues/3702) [<samp>(83a86)</samp>](https://togithub.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(08192)</samp>](https://togithub.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(db22c)</samp>](https://togithub.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(3d090)</samp>](https://togithub.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://togithub.com/vitest-dev/vitest/issues/3604) [<samp>(f427f)</samp>](https://togithub.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@​imentu](https://togithub.com/imentu) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://togithub.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://togithub.com/vitest-dev/vitest/issues/3603) [<samp>(9a117)</samp>](https://togithub.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://togithub.com/vitest/utils) - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://togithub.com/vitest-dev/vitest/issues/3685) [<samp>(f91da)</samp>](https://togithub.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://togithub.com/vitest-dev/vitest/issues/3651) [<samp>(1621c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://togithub.com/vitest-dev/vitest/issues/3711) [<samp>(a749a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://togithub.com/vitest-dev/vitest/issues/3543) [<samp>(7531c)</samp>](https://togithub.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://togithub.com/vitest-dev/vitest/issues/3554) [<samp>(2db1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://togithub.com/vitest-dev/vitest/issues/3597) [<samp>(969dc)</samp>](https://togithub.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://togithub.com/vitest-dev/vitest/issues/3620) [<samp>(73dd4)</samp>](https://togithub.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@​fubhy](https://togithub.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://togithub.com/vitest-dev/vitest/issues/3621) [<samp>(2fb4c)</samp>](https://togithub.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@​turadg](https://togithub.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://togithub.com/vitest-dev/vitest/issues/3527) [<samp>(0db67)</samp>](https://togithub.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://togithub.com/vitest-dev/vitest/issues/3642) [<samp>(fa663)</samp>](https://togithub.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://togithub.com/vitest-dev/vitest/issues/3690) [<samp>(141a8)</samp>](https://togithub.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@​tim-smart](https://togithub.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://togithub.com/vitest-dev/vitest/issues/3645) [<samp>(80ea7)</samp>](https://togithub.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://togithub.com/vitest-dev/vitest/issues/3696) [<samp>(d3640)</samp>](https://togithub.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://togithub.com/vitest-dev/vitest/issues/3629) [<samp>(edad9)</samp>](https://togithub.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://togithub.com/vitest-dev/vitest/issues/3627) [<samp>(d756e)</samp>](https://togithub.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://togithub.com/vitest-dev/vitest/issues/3641) [<samp>(5c0ac)</samp>](https://togithub.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://togithub.com/vitest-dev/vitest/issues/3681) [<samp>(a1e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://togithub.com/vitest-dev/vitest/issues/3657) [<samp>(40f18)</samp>](https://togithub.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://togithub.com/vitest-dev/vitest/issues/3638) [<samp>(6d146)</samp>](https://togithub.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://togithub.com/vitest-dev/vitest/issues/3695) [<samp>(91e16)</samp>](https://togithub.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://togithub.com/vitest-dev/vitest/issues/3618) [<samp>(60c36)</samp>](https://togithub.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Warsaw, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/kamilkisiela/dependency-graph). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM3LjgxLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Description
Implements allowExternal option removed in v0.34.0
Resolves #3867