v4.0.14
🚀 Experimental Features
- browser: Expose
utils.configurePrettyDOM- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9103 <samp>(2cc34)</samp> - runner: Add full names to tasks - by @macarie in https://github.com/vitest-dev/vitest/issues/9087 <samp>(821aa)</samp>
- ui: Add tabbed failure view for
toMatchScreenshotwith comparison slider - by @macarie in https://github.com/vitest-dev/vitest/issues/8813 <samp>(c37c2)</samp>
🐞 Bug Fixes
- Externalize before caching - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9077 <samp>(e1b2e)</samp>
- Collect the duration of external imports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9097 <samp>(3326c)</samp>
- Rename
collecttoimport, removeprepare- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9091 <samp>(1256b)</samp> - browser:
- Unsubscribe
onCancelon rpc destroy - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9088 <samp>(f5b72)</samp> - Revert the viewport scaling in non-ui mode #9018 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9072 and https://github.com/vitest-dev/vitest/issues/9018 <samp>(64502)</samp>
- Unsubscribe
- coverage:
- Invalidate circular modules correctly on rerun with coverage - by @aicest in https://github.com/vitest-dev/vitest/issues/9096 <samp>(6f22c)</samp>
- expect:
- Allow function as standard schema - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9099 <samp>(ed8a2)</samp>
- jsdom:
- Reuse abort signals if possible - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9090 <samp>(2c468)</samp>
- pool:
- Init
VITEST_POOL_ID+VITEST_WORKER_IDbefore environment setup - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9085 <samp>(37918)</samp>
- Init
- web-worker:
postMessageto send ports to workers - by @whitphx and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9078 <samp>(9d176)</samp>
🏎 Performance
- Replace
debugwithobug- by @sxzz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9057 <samp>(acc51)</samp>
View changes on GitHub
Fetched June 1, 2026
