deps: update vitest to 4.0.18 #13

Open
minori wants to merge 1 commits from dependencies/update-vitest into main
Owner

Dependency Update

Updates vitest from 3.2.4 to 4.0.18.

Type

devDependencies

Changelog

Changelog

v4.0.18

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.17

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.16

   🐞 Bug Fixes

    View changes on GitHub

v4.0.15

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.14

   🚀 Experimental Features

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.0.13

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.0.12

   🐞 Bug Fixes

    View changes on GitHub

v4.0.11

   🚀 Experimental Features

   🏎 Performance

    View changes on GitHub

v4.0.10

   🐞 Bug Fixes

    View changes on GitHub

v4.0.1

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0

Vitest 4.0 is out!

To stay updated, read our blog post and check the migration guide.

   🚨 Breaking Changes

   🚀 Features

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.0.0-beta.19

   🚨 Breaking Changes

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0-beta.18

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0-beta.17

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0-beta.16

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0-beta.15

No significant changes

    View changes on GitHub

v4.0.0-beta.14

   🚨 Breaking Changes

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0-beta.13

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.0-beta.12

   🚨 Breaking Changes

   🚀 Features

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

This PR was created by Minori, your friendly dependency updater! 🌸

## Dependency Update Updates **vitest** from `3.2.4` to `4.0.18`. ### Type devDependencies ### Changelog ## Changelog ### v4.0.18 ### &nbsp;&nbsp;&nbsp;🚀 Experimental Features - **experimental**: Add `onModuleRunner` hook to `worker.init` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9286 [<samp>(ea837)</samp>](https://github.com/vitest-dev/vitest/commit/ea837de7d) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Use `meta.url` in `createRequire` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9441 [<samp>(e0572)</samp>](https://github.com/vitest-dev/vitest/commit/e057281ca) - **browser**: Hide injected data-testid attributes &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9503 [<samp>(f8989)</samp>](https://github.com/vitest-dev/vitest/commit/f89899cd8) - **ui**: Process artifact attachments when generating HTML reporter &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/9472 [<samp>(22543)</samp>](https://github.com/vitest-dev/vitest/commit/225435647) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.17...v4.0.18) ### v4.0.17 ### &nbsp;&nbsp;&nbsp;🚀 Experimental Features - Support openTelemetry for browser mode &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9180 [<samp>(1ec3a)</samp>](https://github.com/vitest-dev/vitest/commit/1ec3a8b68) - Support TRACEPARENT and TRACESTATE environment variables for OpenTelemetry context propagation &nbsp;-&nbsp; by @Copilot, **hi-ogawa** and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9295 [<samp>(876cb)</samp>](https://github.com/vitest-dev/vitest/commit/876cb84c2) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Improve asymmetric matcher diff readability by unwrapping container matchers &nbsp;-&nbsp; by @Copilot, **sheremet-va**, **hi-ogawa** and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9330 [<samp>(b2ec7)</samp>](https://github.com/vitest-dev/vitest/commit/b2ec724a8) - Improve runner error when importing outside of test context &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9335 [<samp>(2dd3d)</samp>](https://github.com/vitest-dev/vitest/commit/2dd3dd839) - Replace crypto.randomUUID to allow insecure environments (fix #9… &nbsp;-&nbsp; by @plusgut in https://github.com/vitest-dev/vitest/issues/9339 and https://github.com/vitest-dev/vitest/issues/9 [<samp>(e6a3f)</samp>](https://github.com/vitest-dev/vitest/commit/e6a3f8cc7) - Handle null options in `addEventHandler` #9371 &nbsp;-&nbsp; by @ThibautMarechal in https://github.com/vitest-dev/vitest/issues/9372 and https://github.com/vitest-dev/vitest/issues/9371 [<samp>(40841)</samp>](https://github.com/vitest-dev/vitest/commit/40841ff00) - Typo in browser.provider error &nbsp;-&nbsp; by @deammer in https://github.com/vitest-dev/vitest/issues/9394 [<samp>(4b67f)</samp>](https://github.com/vitest-dev/vitest/commit/4b67fc25a) - **browser**: - Fix `process.env` and `import.meta.env` defines in inline project &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9239 [<samp>(b70c9)</samp>](https://github.com/vitest-dev/vitest/commit/b70c96121) - Fix upload File instance &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9294 [<samp>(b6778)</samp>](https://github.com/vitest-dev/vitest/commit/b67788c69) - Fix invalid project token for artifacts assets &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9321 [<samp>(caa7d)</samp>](https://github.com/vitest-dev/vitest/commit/caa7d73d4) - Log `ErrorEvent.message` when unhandled `ErrorEvent.error` is null &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9322 [<samp>(5d84e)</samp>](https://github.com/vitest-dev/vitest/commit/5d84eeb91) - Support `fileParallelism` on an instance &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9328 [<samp>(15006)</samp>](https://github.com/vitest-dev/vitest/commit/150065459) - **coverage**: - Remove unnecessary `istanbul-lib-source-maps` usage &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9344 [<samp>(b0940)</samp>](https://github.com/vitest-dev/vitest/commit/b09405375) - Apply patch from istanbuljs/istanbuljs#837 &nbsp;-&nbsp; by @AriPerkkio and **sapphi-red** in https://github.com/vitest-dev/vitest/issues/9413 and https://github.com/vitest-dev/vitest/issues/837 [<samp>(e05ce)</samp>](https://github.com/vitest-dev/vitest/commit/e05cedbf4) - **fsModuleCache**: - Don't store importers in cache &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9422 [<samp>(75136)</samp>](https://github.com/vitest-dev/vitest/commit/751364eec) - Add importers alongside importedModules &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9423 [<samp>(59f92)</samp>](https://github.com/vitest-dev/vitest/commit/59f92d403) - **mocker**: - Fix mock transform with class &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9421 [<samp>(d390e)</samp>](https://github.com/vitest-dev/vitest/commit/d390eb527) - **pool**: - Validate environment options when reusing the worker &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9349 [<samp>(a8a88)</samp>](https://github.com/vitest-dev/vitest/commit/a8a8836e3) - Handle worker start failures gracefully &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9337 [<samp>(200da)</samp>](https://github.com/vitest-dev/vitest/commit/200dadb32) - **reporter**: - Report test module if it failed to run &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9272 [<samp>(c7888)</samp>](https://github.com/vitest-dev/vitest/commit/c78882985) - **runner**: - Respect nested test.only within describe.only &nbsp;-&nbsp; by @Ujjwaljain16 in https://github.com/vitest-dev/vitest/issues/9021 and https://github.com/vitest-dev/vitest/issues/9213 [<samp>(55d5d)</samp>](https://github.com/vitest-dev/vitest/commit/55d5dad69) - **typecheck**: - Improve error message when tsc outputs help text &nbsp;-&nbsp; by @Ujjwaljain16 in https://github.com/vitest-dev/vitest/issues/9214 [<samp>(7b10a)</samp>](https://github.com/vitest-dev/vitest/commit/7b10ab4cd) - **ui**: - Detect gzip by magic numbers instead of Content-Type header in html reporter &nbsp;-&nbsp; by @Copilot, **hi-ogawa** and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9278 [<samp>(dd033)</samp>](https://github.com/vitest-dev/vitest/commit/dd0331632) - **webdriverio**: - Fall back to WebDriver Classic #9244 &nbsp;-&nbsp; by @JustasMonkev in https://github.com/vitest-dev/vitest/issues/9373 and https://github.com/vitest-dev/vitest/issues/9244 [<samp>(c23dd)</samp>](https://github.com/vitest-dev/vitest/commit/c23dd11bd) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.16...v4.0.17) ### v4.0.16 ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Fix browser mode default testTimeout back to 15 seconds &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9167 [<samp>(da0ad)</samp>](https://github.com/vitest-dev/vitest/commit/da0ade249) - Avoid crashing on `process.versions` stub &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9174 [<samp>(78cfb)</samp>](https://github.com/vitest-dev/vitest/commit/78cfbf99a) - Reject calling suite function inside test &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9198 [<samp>(1a259)</samp>](https://github.com/vitest-dev/vitest/commit/1a259c340) - Allow inlining fully dynamic import &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9137 [<samp>(56851)</samp>](https://github.com/vitest-dev/vitest/commit/568513ca6) - Fix module graph UI on html reporter with headless browser mode &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9219 [<samp>(60642)</samp>](https://github.com/vitest-dev/vitest/commit/60642b304) - Log deprecated `test.poolOptions` if it's set &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9226 [<samp>(f7f6a)</samp>](https://github.com/vitest-dev/vitest/commit/f7f6aa8ba) - **browser**: - Import `recordArtifact` from the vitest package &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/9186 [<samp>(01c56)</samp>](https://github.com/vitest-dev/vitest/commit/01c56454d) - Fix `import.meta.env` define &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9205 [<samp>(01a9a)</samp>](https://github.com/vitest-dev/vitest/commit/01a9a58d9) - String formatting bug when including placeholders in console.log &nbsp;-&nbsp; by @michael-debs and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9030 and https://github.com/vitest-dev/vitest/issues/9131 [<samp>(84a30)</samp>](https://github.com/vitest-dev/vitest/commit/84a306210) - **coverage**: - Istanbul untested files source maps are off &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9208 [<samp>(372e8)</samp>](https://github.com/vitest-dev/vitest/commit/372e86fde) - **experimental**: - Export `setupEnvironment` for custom pools &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9187 [<samp>(5d26b)</samp>](https://github.com/vitest-dev/vitest/commit/5d26b87b0) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.15...v4.0.16) ### v4.0.15 ### &nbsp;&nbsp;&nbsp;🚀 Experimental Features - **cache**: Add opt-out on a plugin level, fix internal root cache &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9154 [<samp>(a68f7)</samp>](https://github.com/vitest-dev/vitest/commit/a68f74e5e) - **reporters**: Print import duration breakdown &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9105 [<samp>(122ff)</samp>](https://github.com/vitest-dev/vitest/commit/122ff321c) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Keep built-in id as is in bun and deno &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9117 [<samp>(075ab)</samp>](https://github.com/vitest-dev/vitest/commit/075ab3520) - Use `optimizeDeps.rolldownOptions` to fix depreated warning + fix `ssr.external: true` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9121 [<samp>(fd8bd)</samp>](https://github.com/vitest-dev/vitest/commit/fd8bd6dee) - Fix external behavior with `deps.optimizer` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9125 [<samp>(4c754)</samp>](https://github.com/vitest-dev/vitest/commit/4c75492cc) - Very minor typo in "Chrome DevTools Protocol" &nbsp;-&nbsp; by @HowToTestFrontend in https://github.com/vitest-dev/vitest/issues/9146 [<samp>(20997)</samp>](https://github.com/vitest-dev/vitest/commit/209976419) - **browser**: Run `toMatchScreenshot` only once when used with `expect.element` &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/9132 [<samp>(0d2e7)</samp>](https://github.com/vitest-dev/vitest/commit/0d2e7e3e2) - **coverage**: Istanbul provider to not break source maps &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9040 [<samp>(e4ca9)</samp>](https://github.com/vitest-dev/vitest/commit/e4ca917f1) - **deps**: Update dependency tinyexec to v1 &nbsp;-&nbsp; in https://github.com/vitest-dev/vitest/issues/9122 [<samp>(fd786)</samp>](https://github.com/vitest-dev/vitest/commit/fd7860222) - **docs**: Remove `--browser.provider` from docs &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9115 [<samp>(120b3)</samp>](https://github.com/vitest-dev/vitest/commit/120b3dac1) - **expect**: Preserve `currentTestName` in extended matchers &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/9106 [<samp>(e4345)</samp>](https://github.com/vitest-dev/vitest/commit/e43458e02) - **pool**: Terminate workers on `CTRL+c` forceful exits &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9140 [<samp>(d57d8)</samp>](https://github.com/vitest-dev/vitest/commit/d57d8bf0a) - **reporters**: Show project in github reporter &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9138 [<samp>(bb65e)</samp>](https://github.com/vitest-dev/vitest/commit/bb65e15c7) - **spy**: Do not mock overriden method, if parent was automocked &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9116 [<samp>(1a246)</samp>](https://github.com/vitest-dev/vitest/commit/1a24607b4) - **web-worker**: MessagePort objects passed to Worker.postMessage work when clone === "native" &nbsp;-&nbsp; by @whitphx in https://github.com/vitest-dev/vitest/issues/9118 [<samp>(deee8)</samp>](https://github.com/vitest-dev/vitest/commit/deee83e54) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.14...v4.0.15) ### v4.0.14 ### &nbsp;&nbsp;&nbsp;🚀 Experimental Features - **browser**: Expose `utils.configurePrettyDOM` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9103 [<samp>(2cc34)</samp>](https://github.com/vitest-dev/vitest/commit/2cc34e0d4) - **runner**: Add full names to tasks &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/9087 [<samp>(821aa)</samp>](https://github.com/vitest-dev/vitest/commit/821aa2002) - **ui**: Add tabbed failure view for `toMatchScreenshot` with comparison slider &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8813 [<samp>(c37c2)</samp>](https://github.com/vitest-dev/vitest/commit/c37c2eb0b) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Externalize before caching &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9077 [<samp>(e1b2e)</samp>](https://github.com/vitest-dev/vitest/commit/e1b2e086a) - Collect the duration of external imports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9097 [<samp>(3326c)</samp>](https://github.com/vitest-dev/vitest/commit/3326cc9f4) - Rename `collect` to `import`, remove `prepare` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9091 [<samp>(1256b)</samp>](https://github.com/vitest-dev/vitest/commit/1256b5ca3) - **browser**: - Unsubscribe `onCancel` on rpc destroy &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9088 [<samp>(f5b72)</samp>](https://github.com/vitest-dev/vitest/commit/f5b72374b) - Revert the viewport scaling in non-ui mode #9018 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9072 and https://github.com/vitest-dev/vitest/issues/9018 [<samp>(64502)</samp>](https://github.com/vitest-dev/vitest/commit/64502a2c4) - **coverage**: - Invalidate circular modules correctly on rerun with coverage &nbsp;-&nbsp; by @aicest in https://github.com/vitest-dev/vitest/issues/9096 [<samp>(6f22c)</samp>](https://github.com/vitest-dev/vitest/commit/6f22c675f) - **expect**: - Allow function as standard schema &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9099 [<samp>(ed8a2)</samp>](https://github.com/vitest-dev/vitest/commit/ed8a2ebbd) - **jsdom**: - Reuse abort signals if possible &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9090 [<samp>(2c468)</samp>](https://github.com/vitest-dev/vitest/commit/2c468ee95) - **pool**: - Init `VITEST_POOL_ID` + `VITEST_WORKER_ID` before environment setup &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9085 [<samp>(37918)</samp>](https://github.com/vitest-dev/vitest/commit/379185b40) - **web-worker**: - `postMessage` to send ports to workers &nbsp;-&nbsp; by @whitphx and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9078 [<samp>(9d176)</samp>](https://github.com/vitest-dev/vitest/commit/9d1763d11) ### &nbsp;&nbsp;&nbsp;🏎 Performance - Replace `debug` with `obug` &nbsp;-&nbsp; by @sxzz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9057 [<samp>(acc51)</samp>](https://github.com/vitest-dev/vitest/commit/acc5152b9) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.13...v4.0.14) ### v4.0.13 ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - **types**: - Don't use type from Vite 7.1 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9071 [<samp>(6356b)</samp>](https://github.com/vitest-dev/vitest/commit/6356b1d38) - Don't import node.js dependent types in vitest/browser &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9068 [<samp>(332af)</samp>](https://github.com/vitest-dev/vitest/commit/332afa0de) ### &nbsp;&nbsp;&nbsp;🏎 Performance - Avoid fetchModule roundtrip if the module is cached &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9075 [<samp>(b27e0)</samp>](https://github.com/vitest-dev/vitest/commit/b27e002e5) - **experimental**: If `fsCacheModule` is enabled, read from the memory when possible &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9076 [<samp>(6b9a1)</samp>](https://github.com/vitest-dev/vitest/commit/6b9a1b5b1) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.12...v4.0.13) ### v4.0.12 ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Inherit `fsModuleCachePath` by default &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9063 [<samp>(9a8bc)</samp>](https://github.com/vitest-dev/vitest/commit/9a8bc78c5) - Don't import from `@opentelemetry/api` in public types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9066 [<samp>(e944a)</samp>](https://github.com/vitest-dev/vitest/commit/e944a37b7) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.11...v4.0.12) ### v4.0.11 ### &nbsp;&nbsp;&nbsp;🚀 Experimental Features - **api**: Add extensible test artifact API &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8987 [<samp>(77292)</samp>](https://github.com/vitest-dev/vitest/commit/772923645) - See more at https://vitest.dev/api/advanced/artifacts - **expect**: Provide `task` in `MatchState` &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/9022 [<samp>(afd1f)</samp>](https://github.com/vitest-dev/vitest/commit/afd1f3e52) - **experimental**: Support OpenTelemetry traces &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8994 [<samp>(d6d33)</samp>](https://github.com/vitest-dev/vitest/commit/d6d3359dd) - See more at https://vitest.dev/guide/open-telemetry ### &nbsp;&nbsp;&nbsp;🏎 Performance - **experimental**: Add file system cache &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9026 [<samp>(1b147)</samp>](https://github.com/vitest-dev/vitest/commit/1b1473712) - See more at https://vitest.dev/config/experimental#experimental-fsmodulecache ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.10...v4.0.11) ### v4.0.10 ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Remove `onCancel` when worker is terminated &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9033 [<samp>(6d7f0)</samp>](https://github.com/vitest-dev/vitest/commit/6d7f0a99e) - **browser**: - Don't scale the iframe if UI is disabled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/9018 [<samp>(5406e)</samp>](https://github.com/vitest-dev/vitest/commit/5406e8ea4) - Handle dependency stack traces with external source maps. Resolves: #9003 &nbsp;-&nbsp; by @iclectic in https://github.com/vitest-dev/vitest/issues/9016 and https://github.com/vitest-dev/vitest/issues/9003 [<samp>(57ae5)</samp>](https://github.com/vitest-dev/vitest/commit/57ae547de) - **bun**: - Parsing of stack trace for bun runtime &nbsp;-&nbsp; by @nazarhussain in https://github.com/vitest-dev/vitest/issues/9032 [<samp>(f3ec6)</samp>](https://github.com/vitest-dev/vitest/commit/f3ec6fcb0) - **core**: - Prevent starting new run when cancelling &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8991 [<samp>(eb98d)</samp>](https://github.com/vitest-dev/vitest/commit/eb98dd8fd) - **pool**: - Prevent writing to closed worker &nbsp;-&nbsp; by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/9023 [<samp>(042c6)</samp>](https://github.com/vitest-dev/vitest/commit/042c60c80) - **reporters**: - Report correct test run duration at the end &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8969 [<samp>(bc3a6)</samp>](https://github.com/vitest-dev/vitest/commit/bc3a6921e) - **ui**: - Use execution time from ws reporter (`onFinished`) &nbsp;-&nbsp; by @userquin in https://github.com/vitest-dev/vitest/issues/8975 [<samp>(f56dc)</samp>](https://github.com/vitest-dev/vitest/commit/f56dc0cc4) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.9...v4.0.10) ### v4.0.1 ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Move the `getBuiltins` check &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8765 [<samp>(81000)</samp>](https://github.com/vitest-dev/vitest/commit/81000631d) - **pool**: Don't teardown the communication channel too soon if something is running after the test &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8767 [<samp>(3fae7)</samp>](https://github.com/vitest-dev/vitest/commit/3fae73e2e) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0...v4.0.1) ### v4.0.0 Vitest 4.0 is out! To stay updated, read our [blog post](https://vitest.dev/blog/vitest-4) and check the [migration guide](https://vitest.dev/guide/migration). ### &nbsp;&nbsp;&nbsp;🚨 Breaking Changes - Remove `'basic'` reporter &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7884 [<samp>(82fcf)</samp>](https://github.com/vitest-dev/vitest/commit/82fcf5d53) - Simplify default exclude pattern &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6287 [<samp>(14c50)</samp>](https://github.com/vitest-dev/vitest/commit/14c507200) - Remove deprecated getSourceMap &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8194 [<samp>(ff934)</samp>](https://github.com/vitest-dev/vitest/commit/ff93444f8) - Replace deprecated ErrorWithDiff with TestError &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8195 [<samp>(da59e)</samp>](https://github.com/vitest-dev/vitest/commit/da59eb887) - Remove UserConfig type in favor of ViteUserConfig &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8196 [<samp>(22f7f)</samp>](https://github.com/vitest-dev/vitest/commit/22f7f2db5) - Remove deprecated coverage options in favor of `vitest/node` exports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8197 [<samp>(dc848)</samp>](https://github.com/vitest-dev/vitest/commit/dc8486d22) - Remove deprecated internal helpers and environment exports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8198 [<samp>(4703c)</samp>](https://github.com/vitest-dev/vitest/commit/4703cf850) - Remove deprecated typecheck and runner types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8199 [<samp>(89a1c)</samp>](https://github.com/vitest-dev/vitest/commit/89a1cb626) - Remove Node types from the main entry point, use `vitest/node` instead &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8200 [<samp>(1e60c)</samp>](https://github.com/vitest-dev/vitest/commit/1e60c4f44) - Remove support for Vite 5 &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8202 [<samp>(cb8b0)</samp>](https://github.com/vitest-dev/vitest/commit/cb8b03bac) - Remove deprecated types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8203 [<samp>(66bee)</samp>](https://github.com/vitest-dev/vitest/commit/66bee836f) - Remove deprecated environmentMatchGlobs and poolMatchGlobs &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8205 [<samp>(be11d)</samp>](https://github.com/vitest-dev/vitest/commit/be11d374c) - Remove deprecated `workspace` option in favor of `projects` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8218 [<samp>(76fb7)</samp>](https://github.com/vitest-dev/vitest/commit/76fb75d42) - Ignore `--standalone` when CLI filename filter is used &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8262 [<samp>(013bf)</samp>](https://github.com/vitest-dev/vitest/commit/013bf2cb2) - Use module-runner instead of vite-node &nbsp;-&nbsp; by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8208 [<samp>(9be01)</samp>](https://github.com/vitest-dev/vitest/commit/9be01ba59) - Rewrite spying implementation to make module mocking more intuitive &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8363 [<samp>(9e412)</samp>](https://github.com/vitest-dev/vitest/commit/9e412de35) - Remove deprecated APIs &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8428 [<samp>(a1cb9)</samp>](https://github.com/vitest-dev/vitest/commit/a1cb9719a) - Remove `minWorkers` and set it automatically to 0 in non watch mode &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8454 [<samp>(2c2d1)</samp>](https://github.com/vitest-dev/vitest/commit/2c2d1d4ce) - Verbose reporter prints tests in a list, introduce `tree` reporter &nbsp;-&nbsp; by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8500 [<samp>(25fd3)</samp>](https://github.com/vitest-dev/vitest/commit/25fd32bf0) - Include shadow root contents in pretty-format output &nbsp;-&nbsp; by @wkillerud in https://github.com/vitest-dev/vitest/issues/8545 [<samp>(9e722)</samp>](https://github.com/vitest-dev/vitest/commit/9e722834a) - Remove deprecated order from test() API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8594 [<samp>(4d419)</samp>](https://github.com/vitest-dev/vitest/commit/4d41928c6) - Rewrite pools without `tinypool` &nbsp;-&nbsp; by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8705 [<samp>(4822d)</samp>](https://github.com/vitest-dev/vitest/commit/4822d047a) - **browser**: Require a provider factory instead of a string &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8445 [<samp>(606cb)</samp>](https://github.com/vitest-dev/vitest/commit/606cb9e3e) - **expect**: Pass current equality testers to asymmetric matcher &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6825 [<samp>(965ce)</samp>](https://github.com/vitest-dev/vitest/commit/965cefc19) - **projects**: Allow only files that have "vitest.config" or "vite.config" in the name &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8542 [<samp>(304bc)</samp>](https://github.com/vitest-dev/vitest/commit/304bc20f0) - **reporter**: Remove deprecated APIs &nbsp;-&nbsp; by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8223 [<samp>(149f8)</samp>](https://github.com/vitest-dev/vitest/commit/149f8e509) - **runner**: Set mode to `todo` if no function is passed down to `test` or `describe` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8346 [<samp>(1a81c)</samp>](https://github.com/vitest-dev/vitest/commit/1a81c21d2) - **snapshot**: Fail test with obsolete snapshot on CI &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7963 [<samp>(4d84f)</samp>](https://github.com/vitest-dev/vitest/commit/4d84f0ac6) - **spy**: Support spying on classes &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6160 [<samp>(abc0d)</samp>](https://github.com/vitest-dev/vitest/commit/abc0d8273) ### &nbsp;&nbsp;&nbsp;🚀 Features - Provide entity to onConsoleLog &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8159 [<samp>(437d4)</samp>](https://github.com/vitest-dev/vitest/commit/437d461aa) - Add `onUnhandledError` callback &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8162 [<samp>(924cb)</samp>](https://github.com/vitest-dev/vitest/commit/924cb6961) - Add spy option to vi.mockObject &nbsp;-&nbsp; by @rChaoz in https://github.com/vitest-dev/vitest/issues/8285 [<samp>(81d76)</samp>](https://github.com/vitest-dev/vitest/commit/81d7601e4) - Don't use vite-node in coverage packages &nbsp;-&nbsp; by @sheremet-va [<samp>(ffdb4)</samp>](https://github.com/vitest-dev/vitest/commit/ffdb4d5fd) - Clickable dashboard numbers &nbsp;-&nbsp; by @shairez in https://github.com/vitest-dev/vitest/issues/7406 [<samp>(2344c)</samp>](https://github.com/vitest-dev/vitest/commit/2344c1f6e) - Display test "path" when filtering &nbsp;-&nbsp; by @userquin in https://github.com/vitest-dev/vitest/issues/8547 [<samp>(2e491)</samp>](https://github.com/vitest-dev/vitest/commit/2e4918954) - Introduce separate packages for browser mode providers &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8629 [<samp>(0dc93)</samp>](https://github.com/vitest-dev/vitest/commit/0dc93ea98) - Add hooks with type-safe extra context to TestAPI &nbsp;-&nbsp; by @ysfaran in https://github.com/vitest-dev/vitest/issues/8623 [<samp>(6b21c)</samp>](https://github.com/vitest-dev/vitest/commit/6b21cfe55) - Support `expect.assert` for type narrowing &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8695 [<samp>(fe589)</samp>](https://github.com/vitest-dev/vitest/commit/fe5895d2b) - Add `displayAnnotations` option to `github-options` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8706 [<samp>(4a66d)</samp>](https://github.com/vitest-dev/vitest/commit/4a66df625) - Add schema validation matchers &nbsp;-&nbsp; by @zirkelc in https://github.com/vitest-dev/vitest/issues/8527 [<samp>(c0b25)</samp>](https://github.com/vitest-dev/vitest/commit/c0b250e5c) - Add a way to dump transformed content &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8711 [<samp>(931c0)</samp>](https://github.com/vitest-dev/vitest/commit/931c0ee63) - **api**: - Expose `experimental_parseSpecifications` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8408 [<samp>(fdeb2)</samp>](https://github.com/vitest-dev/vitest/commit/fdeb2f482) - Expose Vitest watcher &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8413 [<samp>(aaa6e)</samp>](https://github.com/vitest-dev/vitest/commit/aaa6e6512) - Add `enableCoverage` and `disableCoverage` methods &nbsp;-&nbsp; by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8412 [<samp>(61eb7)</samp>](https://github.com/vitest-dev/vitest/commit/61eb7dd9c) - Add `getGlobalTestNamePattern` method &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8438 [<samp>(bdb70)</samp>](https://github.com/vitest-dev/vitest/commit/bdb7067f1) - Add `relativeModuleId` to `TestModule` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8505 [<samp>(3be09)</samp>](https://github.com/vitest-dev/vitest/commit/3be0986aa) - Add `getSeed` method &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8592 [<samp>(438c4)</samp>](https://github.com/vitest-dev/vitest/commit/438c44e7f) - **browser**: - Support `toBeInViewport` utility method to assert element is in viewport or not &nbsp;-&nbsp; by @Shinyaigeek in https://github.com/vitest-dev/vitest/issues/8234 [<samp>(ceed5)</samp>](https://github.com/vitest-dev/vitest/commit/ceed5b622) - Add qwik to the `vitest init` cli command &nbsp;-&nbsp; by @thejackshelton in https://github.com/vitest-dev/vitest/issues/8330 [<samp>(1638b)</samp>](https://github.com/vitest-dev/vitest/commit/1638b44e8) - Introduce `toMatchScreenshot` for Visual Regression Testing &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8041 [<samp>(d45f9)</samp>](https://github.com/vitest-dev/vitest/commit/d45f964c1) - Add `trackUnhandledErrors` option &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8386 [<samp>(c0ec0)</samp>](https://github.com/vitest-dev/vitest/commit/c0ec08a90) - Support iframe locator with playwright provider &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8016 [<samp>(57b2c)</samp>](https://github.com/vitest-dev/vitest/commit/57b2cca2e) - Add `length` property to locators, `toHaveLength` now accepts locators &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8512 [<samp>(2308c)</samp>](https://github.com/vitest-dev/vitest/commit/2308cbf13) - Support playwright tracing &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8584 [<samp>(1aac5)</samp>](https://github.com/vitest-dev/vitest/commit/1aac59cd2) - Expose `options` on `BrowserProviderOption` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8609 [<samp>(0d0e5)</samp>](https://github.com/vitest-dev/vitest/commit/0d0e5cdf6) - Support `--inspect` option in webdriverio &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8613 [<samp>(38adc)</samp>](https://github.com/vitest-dev/vitest/commit/38adc86cf) - Support custom screenshot comparison algorithms &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8687 [<samp>(e63b1)</samp>](https://github.com/vitest-dev/vitest/commit/e63b17efc) - **coverage**: - `autoUpdate` to support percentage formatting &nbsp;-&nbsp; by @Battjmo and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8456 [<samp>(99e01)</samp>](https://github.com/vitest-dev/vitest/commit/99e016bec) - **expect**: - Support `toBeNullable` expect function to check provided value is nullish &nbsp;-&nbsp; by @Shinyaigeek and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8294 [<samp>(eeec5)</samp>](https://github.com/vitest-dev/vitest/commit/eeec501de) - **mocker**: - Add `automocker` entry &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8301 [<samp>(e9c92)</samp>](https://github.com/vitest-dev/vitest/commit/e9c928252) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Allow overriding globals in types &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8215 [<samp>(2248b)</samp>](https://github.com/vitest-dev/vitest/commit/2248b06d4) - Remove unused dependencies &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8184 [<samp>(feadc)</samp>](https://github.com/vitest-dev/vitest/commit/feadc60af) - Distribute test files to shards more evenly &nbsp;-&nbsp; by @Shinyaigeek and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8288 [<samp>(7b489)</samp>](https://github.com/vitest-dev/vitest/commit/7b489959a) - Use suite's timeout when `test.extend` &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8278 [<samp>(43977)</samp>](https://github.com/vitest-dev/vitest/commit/43977c2b8) - Support snapshot with no object key sorting &nbsp;-&nbsp; by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8136 [<samp>(e85e3)</samp>](https://github.com/vitest-dev/vitest/commit/e85e396f0) - Annotation location always points to the test file &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8315 [<samp>(88071)</samp>](https://github.com/vitest-dev/vitest/commit/88071a8f2) - Add `--changed` flag support to `vitest list` command &nbsp;-&nbsp; by @haakonjackfloat in https://github.com/vitest-dev/vitest/issues/8270 and https://github.com/vitest-dev/vitest/issues/8272 [<samp>(e71a5)</samp>](https://github.com/vitest-dev/vitest/commit/e71a5d0ec) - Prevent rpc timeout on slow thread blocking synchronous methods &nbsp;-&nbsp; by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8297 [<samp>(bea87)</samp>](https://github.com/vitest-dev/vitest/commit/bea874610) - Forbid setting environment to `browser` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8334 [<samp>(0417a)</samp>](https://github.com/vitest-dev/vitest/commit/0417a2c1a) - Invalidate modules in all module graphs when the file is changed &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8352 [<samp>(94ab3)</samp>](https://github.com/vitest-dev/vitest/commit/94ab392b3) - Screenshot masks with Playwright provider &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8357 [<samp>(459ef)</samp>](https://github.com/vitest-dev/vitest/commit/459efba6b) - Configure `oxc` instead of `esbuild` on `rolldown-vite` &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8378 [<samp>(e922e)</samp>](https://github.com/vitest-dev/vitest/commit/e922e9266) - Make sure test errors always have `stacks` property in Node.js context &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8392 [<samp>(b825e)</samp>](https://github.com/vitest-dev/vitest/commit/b825ef87c) - Support `import.meta.resolve` on Vite 7 &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8493 [<samp>(549d3)</samp>](https://github.com/vitest-dev/vitest/commit/549d321e2) - Show the assertion error first when `expect.poll` assertion fails &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8483 [<samp>(fb450)</samp>](https://github.com/vitest-dev/vitest/commit/fb4500bec) - Override fake timers when `useFakeTimers` is called multiple times &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8504 [<samp>(ed7e3)</samp>](https://github.com/vitest-dev/vitest/commit/ed7e3ad5d) - Custom expect messages for `expect.extend` matchers &nbsp;-&nbsp; by @lzl0304 in https://github.com/vitest-dev/vitest/issues/8520 [<samp>(96945)</samp>](https://github.com/vitest-dev/vitest/commit/969456b4a) - Process sourcemaps for stack traces from `globalSetup` files &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8534 [<samp>(8978a)</samp>](https://github.com/vitest-dev/vitest/commit/8978a23b7) - Resolve performance issue when throwing errors with stackTraceLimit = 0 &nbsp;-&nbsp; by @Copilot, **sheremet-va** and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8531 [<samp>(6d5b5)</samp>](https://github.com/vitest-dev/vitest/commit/6d5b5b1a5) - Avoid recursively applying `$` and `%` formatting to `test.for/each` title &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8557 [<samp>(ea6d7)</samp>](https://github.com/vitest-dev/vitest/commit/ea6d7322e) - Replace wildcard exports `"./*"` with specific files in vitest package &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8560 [<samp>(ce746)</samp>](https://github.com/vitest-dev/vitest/commit/ce7466408) - Don't publish unused d.ts files &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8562 [<samp>(42dfd)</samp>](https://github.com/vitest-dev/vitest/commit/42dfd1c43) - Remove loupe dependencies from `optimizeDeps.include` for browser mode &nbsp;-&nbsp; by @jake-danton in https://github.com/vitest-dev/vitest/issues/8570 [<samp>(cdcf7)</samp>](https://github.com/vitest-dev/vitest/commit/cdcf7e854) - Update `engines` field to drop Node 18 support &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8608 [<samp>(9a0bf)</samp>](https://github.com/vitest-dev/vitest/commit/9a0bf2254) - Correctly inherit test options on extended tests &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8618 [<samp>(15c09)</samp>](https://github.com/vitest-dev/vitest/commit/15c091a99) - Update @types/node peer deps &nbsp;-&nbsp; by @sheremet-va [<samp>(ee6b2)</samp>](https://github.com/vitest-dev/vitest/commit/ee6b27b5f) - Re-export CDP Session directly from playwright &nbsp;-&nbsp; by @mrginglymus in https://github.com/vitest-dev/vitest/issues/8702 [<samp>(9553a)</samp>](https://github.com/vitest-dev/vitest/commit/9553ab923) - Disable trackUnhandledErrors if inspector is enabled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8732 [<samp>(acac7)</samp>](https://github.com/vitest-dev/vitest/commit/acac7104d) - `base` option doesn't crash vitest &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8760 [<samp>(9f0ec)</samp>](https://github.com/vitest-dev/vitest/commit/9f0ecccb8) - **browser**: - Run in-source tests only when the file itsels is a test file &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8204 [<samp>(bdd2e)</samp>](https://github.com/vitest-dev/vitest/commit/bdd2e01c3) - `locator.element()` returns `HTMLElement` or `SVGElement` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8440 [<samp>(c1ac1)</samp>](https://github.com/vitest-dev/vitest/commit/c1ac15c6b) - Don't import from `vite` directly &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8541 [<samp>(d7fca)</samp>](https://github.com/vitest-dev/vitest/commit/d7fca0389) - Update expect.element type to match the implementation &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8597 [<samp>(b2804)</samp>](https://github.com/vitest-dev/vitest/commit/b2804a1f9) - Throw an error if iframe is not accessible anymore &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8601 [<samp>(6acdc)</samp>](https://github.com/vitest-dev/vitest/commit/6acdc3a5e) - Stop creating unnecessary directories when taking screenshots &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8605 [<samp>(b1c8f)</samp>](https://github.com/vitest-dev/vitest/commit/b1c8fdbe9) - Always define commands &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8626 [<samp>(acbe0)</samp>](https://github.com/vitest-dev/vitest/commit/acbe0e973) - Exclude deprecated context import from optimization &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8658 [<samp>(a96ea)</samp>](https://github.com/vitest-dev/vitest/commit/a96ea140e) - Allow importing BrowserCommand if no browser package is installed &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8666 [<samp>(95c36)</samp>](https://github.com/vitest-dev/vitest/commit/95c367f5e) - Define an export for browser/utils &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8678 [<samp>(529ab)</samp>](https://github.com/vitest-dev/vitest/commit/529ab46ac) - Allow service workers to mock the network in chromium without breaking vi.mock &nbsp;-&nbsp; by @Georgegriff and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8668 [<samp>(87108)</samp>](https://github.com/vitest-dev/vitest/commit/87108db33) - Support sync `not.toBeInTheDocument()` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8751 [<samp>(f5d06)</samp>](https://github.com/vitest-dev/vitest/commit/f5d06434f) - **core**: - Fix `objectContaining` expect utility to have more compatibility to jest's one &nbsp;-&nbsp; by @Shinyaigeek in https://github.com/vitest-dev/vitest/issues/8241 [<samp>(480be)</samp>](https://github.com/vitest-dev/vitest/commit/480be1a78) - **coverage**: - Include files based on `--project` filter &nbsp;-&nbsp; by @gtbuchanan in https://github.com/vitest-dev/vitest/issues/7885 [<samp>(761be)</samp>](https://github.com/vitest-dev/vitest/commit/761beeeea) - Prevent encoding filenames of uncovered files &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8239 [<samp>(8a998)</samp>](https://github.com/vitest-dev/vitest/commit/8a9988043) - Handle query param based transforms correctly &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8418 [<samp>(a400a)</samp>](https://github.com/vitest-dev/vitest/commit/a400a9d2a) - Enforce order of `vitest:coverage-transform` plugin &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8477 [<samp>(ff517)</samp>](https://github.com/vitest-dev/vitest/commit/ff5170cff) - V8 to ignore Vite's generated cjs import helpers &nbsp;-&nbsp; by @mrginglymus and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8718 [<samp>(35816)</samp>](https://github.com/vitest-dev/vitest/commit/35816fe8d) - Keep only strings in `coverage.exclude` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8731 [<samp>(c9c30)</samp>](https://github.com/vitest-dev/vitest/commit/c9c303178) - **deps**: - Update all non-major dependencies &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8235 [<samp>(a1e57)</samp>](https://github.com/vitest-dev/vitest/commit/a1e576ae0) - Update all non-major dependencies &nbsp;-&nbsp; in https://github.com/vitest-dev/vitest/issues/8328 [<samp>(aa79e)</samp>](https://github.com/vitest-dev/vitest/commit/aa79e2733) - Update all non-major dependencies &nbsp;-&nbsp; in https://github.com/vitest-dev/vitest/issues/8348 [<samp>(13f94)</samp>](https://github.com/vitest-dev/vitest/commit/13f946229) - Update all non-major dependencies &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8382 [<samp>(704eb)</samp>](https://github.com/vitest-dev/vitest/commit/704eba24b) - Update all non-major dependencies &nbsp;-&nbsp; in https://github.com/vitest-dev/vitest/issues/8550 [<samp>(048f7)</samp>](https://github.com/vitest-dev/vitest/commit/048f7a1ca) - **jsdom**: - Override globals that Fetch API relies on &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8390 [<samp>(05b41)</samp>](https://github.com/vitest-dev/vitest/commit/05b4178e8) - Support AbortSignal API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8704 [<samp>(f6690)</samp>](https://github.com/vitest-dev/vitest/commit/f6690ed46) - **mocker**: - Fix `regexpHoistable` to allow whitespace before parentheses &nbsp;-&nbsp; by @cszhjh in https://github.com/vitest-dev/vitest/issues/8231 [<samp>(a0f9a)</samp>](https://github.com/vitest-dev/vitest/commit/a0f9ae3f0) - **module-runner**: - Resolve `resolvedSources` correctly &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8736 [<samp>(8fc52)</samp>](https://github.com/vitest-dev/vitest/commit/8fc52974f) - Support getBuiltins &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8746 [<samp>(87bb8)</samp>](https://github.com/vitest-dev/vitest/commit/87bb8f49c) - **pool**: - Properly reuse the vm pool &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8758 [<samp>(08498)</samp>](https://github.com/vitest-dev/vitest/commit/08498f0e9) - **reporter**: - Invisible CLI menus when `vitest --standalone` &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8248 [<samp>(37cc2)</samp>](https://github.com/vitest-dev/vitest/commit/37cc26994) - **rolldown-vite**: - Properly disable minifier in the browser client &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8306 [<samp>(f55bb)</samp>](https://github.com/vitest-dev/vitest/commit/f55bb81e6) - **runner**: - Don't bundle runner with utils &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8496 [<samp>(2b4b0)</samp>](https://github.com/vitest-dev/vitest/commit/2b4b05823) - **spy**: - Fix spyOn types with optional method &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8499 [<samp>(d3afa)</samp>](https://github.com/vitest-dev/vitest/commit/d3afa601a) - Can respy on an exported method &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8521 [<samp>(bf450)</samp>](https://github.com/vitest-dev/vitest/commit/bf450b433) - Don't fail when spying on static getters &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8589 [<samp>(ac1d9)</samp>](https://github.com/vitest-dev/vitest/commit/ac1d92f14) - **types**: - Ensure Chai declaration merge works with TS-Go &nbsp;-&nbsp; by @LukeAbby in https://github.com/vitest-dev/vitest/issues/8188 [<samp>(5261d)</samp>](https://github.com/vitest-dev/vitest/commit/5261df0b9) - Allow returning a promise from defineConfig &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8651 [<samp>(c3474)</samp>](https://github.com/vitest-dev/vitest/commit/c347487e6) - **ui**: - Keep the same tab open when clicking on different tests &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8599 [<samp>(3e535)</samp>](https://github.com/vitest-dev/vitest/commit/3e535f78b) - **utils**: - Remove ast export &nbsp;-&nbsp; by @bluwy in https://github.com/vitest-dev/vitest/issues/8435 [<samp>(21622)</samp>](https://github.com/vitest-dev/vitest/commit/21622b5ae) - **vitest**: - Override `config.include` option with `config.browser.instances[].include` option if it is specified &nbsp;-&nbsp; by @Shinyaigeek in https://github.com/vitest-dev/vitest/issues/8260 [<samp>(010fc)</samp>](https://github.com/vitest-dev/vitest/commit/010fc55b5) - **watch**: - Filename filter runs duplicate tests in workspaces &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8250 [<samp>(932d8)</samp>](https://github.com/vitest-dev/vitest/commit/932d837c6) - **wdio**: - Wait for the driver to be properly closed &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8305 [<samp>(c16ab)</samp>](https://github.com/vitest-dev/vitest/commit/c16abe71e) - Properly construct the shadow root selector if there are multiple elements &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8354 [<samp>(28765)</samp>](https://github.com/vitest-dev/vitest/commit/28765b4bb) ### &nbsp;&nbsp;&nbsp;🏎 Performance - Avoid spawning extra workers if no tests will run there &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8446 [<samp>(3fb3e)</samp>](https://github.com/vitest-dev/vitest/commit/3fb3e8036) - Don't set `process.title` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8453 [<samp>(0a766)</samp>](https://github.com/vitest-dev/vitest/commit/0a7666323) - Remove chai as a direct dependency, keep it in `@vitest/expect` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8461 [<samp>(cc98c)</samp>](https://github.com/vitest-dev/vitest/commit/cc98c611f) - Reduce the amount of dynamic imports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8465 [<samp>(db6cd)</samp>](https://github.com/vitest-dev/vitest/commit/db6cd73ba) - Use ES2022 language features &nbsp;-&nbsp; by @TrevorBurnham in https://github.com/vitest-dev/vitest/issues/8492 [<samp>(bb34c)</samp>](https://github.com/vitest-dev/vitest/commit/bb34c64dc) - Delay populating node-globals &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8506 [<samp>(41cbc)</samp>](https://github.com/vitest-dev/vitest/commit/41cbc5328) - Get `workerId` from a global object &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8507 [<samp>(46b13)</samp>](https://github.com/vitest-dev/vitest/commit/46b13f669) - Replace startsWith with strict equality &nbsp;-&nbsp; by @btea in https://github.com/vitest-dev/vitest/issues/8546 [<samp>(c42e6)</samp>](https://github.com/vitest-dev/vitest/commit/c42e64e62) - Reduce the number of unused imports &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8508 [<samp>(9a79b)</samp>](https://github.com/vitest-dev/vitest/commit/9a79b90c9) - Use experimental `meta.resolve` flag instead of a custom loader &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8567 [<samp>(2e063)</samp>](https://github.com/vitest-dev/vitest/commit/2e0630b76) - Create only one fetcher per project &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8762 [<samp>(8e15b)</samp>](https://github.com/vitest-dev/vitest/commit/8e15bc8f9) - **pool**: Resolve all environments first &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8759 [<samp>(d3ef4)</samp>](https://github.com/vitest-dev/vitest/commit/d3ef4f29c) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v3.2.4...v4.0.0) ### v4.0.0-beta.19 ### &nbsp;&nbsp;&nbsp;🚨 Breaking Changes - Rewrite pools without `tinypool` &nbsp;-&nbsp; by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8705 [<samp>(4822d)</samp>](https://github.com/vitest-dev/vitest/commit/4822d047a) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Disable trackUnhandledErrors if inspector is enabled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8732 [<samp>(acac7)</samp>](https://github.com/vitest-dev/vitest/commit/acac7104d) - **browser**: - Allow service workers to mock the network in chromium without breaking vi.mock &nbsp;-&nbsp; by @Georgegriff and @sheremet-va in https://github.com/vitest-dev/vitest/issues/8668 [<samp>(87108)</samp>](https://github.com/vitest-dev/vitest/commit/87108db33) - Support sync `not.toBeInTheDocument()` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8751 [<samp>(f5d06)</samp>](https://github.com/vitest-dev/vitest/commit/f5d06434f) - **coverage**: - V8 to ignore Vite's generated cjs import helpers &nbsp;-&nbsp; by @mrginglymus and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8718 [<samp>(35816)</samp>](https://github.com/vitest-dev/vitest/commit/35816fe8d) - Keep only strings in `coverage.exclude` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8731 [<samp>(c9c30)</samp>](https://github.com/vitest-dev/vitest/commit/c9c303178) - **module-runner**: - Resolve `resolvedSources` correctly &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8736 [<samp>(8fc52)</samp>](https://github.com/vitest-dev/vitest/commit/8fc52974f) - Support getBuiltins &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8746 [<samp>(87bb8)</samp>](https://github.com/vitest-dev/vitest/commit/87bb8f49c) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.18...v4.0.0-beta.19) ### v4.0.0-beta.18 ### &nbsp;&nbsp;&nbsp;🚀 Features - Support `expect.assert` for type narrowing &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8695 [<samp>(fe589)</samp>](https://github.com/vitest-dev/vitest/commit/fe5895d2b) - Add `displayAnnotations` option to `github-options` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8706 [<samp>(4a66d)</samp>](https://github.com/vitest-dev/vitest/commit/4a66df625) - Add schema validation matchers &nbsp;-&nbsp; by @zirkelc in https://github.com/vitest-dev/vitest/issues/8527 [<samp>(c0b25)</samp>](https://github.com/vitest-dev/vitest/commit/c0b250e5c) - Add a way to dump transformed content &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8711 [<samp>(931c0)</samp>](https://github.com/vitest-dev/vitest/commit/931c0ee63) - **browser**: Support custom screenshot comparison algorithms &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8687 [<samp>(e63b1)</samp>](https://github.com/vitest-dev/vitest/commit/e63b17efc) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Re-export CDP Session directly from playwright &nbsp;-&nbsp; by @mrginglymus in https://github.com/vitest-dev/vitest/issues/8702 [<samp>(9553a)</samp>](https://github.com/vitest-dev/vitest/commit/9553ab923) - **browser**: Define an export for browser/utils &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8678 [<samp>(529ab)</samp>](https://github.com/vitest-dev/vitest/commit/529ab46ac) - **jsdom**: Support AbortSignal API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8704 [<samp>(f6690)</samp>](https://github.com/vitest-dev/vitest/commit/f6690ed46) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.17...v4.0.0-beta.18) ### v4.0.0-beta.17 ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - **browser**: Allow importing BrowserCommand if no browser package is installed &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8666 [<samp>(95c36)</samp>](https://github.com/vitest-dev/vitest/commit/95c367f5e) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.16...v4.0.0-beta.17) ### v4.0.0-beta.16 ### &nbsp;&nbsp;&nbsp;🚀 Features - Add hooks with type-safe extra context to TestAPI &nbsp;-&nbsp; by @ysfaran in https://github.com/vitest-dev/vitest/issues/8623 [<samp>(6b21c)</samp>](https://github.com/vitest-dev/vitest/commit/6b21cfe55) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Update @types/node peer deps &nbsp;-&nbsp; by @sheremet-va [<samp>(ee6b2)</samp>](https://github.com/vitest-dev/vitest/commit/ee6b27b5f) - **browser**: Exclude deprecated context import from optimization &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8658 [<samp>(a96ea)</samp>](https://github.com/vitest-dev/vitest/commit/a96ea140e) - **types**: Allow returning a promise from defineConfig &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8651 [<samp>(c3474)</samp>](https://github.com/vitest-dev/vitest/commit/c347487e6) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.15...v4.0.0-beta.16) ### v4.0.0-beta.15 *No significant changes* ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.14...v4.0.0-beta.15) ### v4.0.0-beta.14 ### &nbsp;&nbsp;&nbsp;🚨 Breaking Changes - Introduce separate packages for browser mode providers &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8629 [<samp>(0dc93)</samp>](https://github.com/vitest-dev/vitest/commit/0dc93ea98) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Correctly inherit test options on extended tests &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8618 [<samp>(15c09)</samp>](https://github.com/vitest-dev/vitest/commit/15c091a99) - **browser**: Always define commands &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8626 [<samp>(acbe0)</samp>](https://github.com/vitest-dev/vitest/commit/acbe0e973) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.13...v4.0.0-beta.14) ### v4.0.0-beta.13 ### &nbsp;&nbsp;&nbsp;🚀 Features - **browser**: - Expose `options` on `BrowserProviderOption` &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8609 [<samp>(0d0e5)</samp>](https://github.com/vitest-dev/vitest/commit/0d0e5cdf6) - Support `--inspect` option in webdriverio &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8613 [<samp>(38adc)</samp>](https://github.com/vitest-dev/vitest/commit/38adc86cf) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - **browser**: Stop creating unnecessary directories when taking screenshots &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/8605 [<samp>(b1c8f)</samp>](https://github.com/vitest-dev/vitest/commit/b1c8fdbe9) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.12...v4.0.0-beta.13) ### v4.0.0-beta.12 ### &nbsp;&nbsp;&nbsp;🚨 Breaking Changes - Remove deprecated order from test() API &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8594 [<samp>(4d419)</samp>](https://github.com/vitest-dev/vitest/commit/4d41928c6) ### &nbsp;&nbsp;&nbsp;🚀 Features - **api**: Add `getSeed` method &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8592 [<samp>(438c4)</samp>](https://github.com/vitest-dev/vitest/commit/438c44e7f) - **browser**: Support playwright tracing &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8584 [<samp>(1aac5)</samp>](https://github.com/vitest-dev/vitest/commit/1aac59cd2) ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes - Remove loupe dependencies from `optimizeDeps.include` for browser mode &nbsp;-&nbsp; by @jake-danton in https://github.com/vitest-dev/vitest/issues/8570 [<samp>(cdcf7)</samp>](https://github.com/vitest-dev/vitest/commit/cdcf7e854) - Update `engines` field to drop Node 18 support &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8608 [<samp>(9a0bf)</samp>](https://github.com/vitest-dev/vitest/commit/9a0bf2254) - **browser**: - Update expect.element type to match the implementation &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8597 [<samp>(b2804)</samp>](https://github.com/vitest-dev/vitest/commit/b2804a1f9) - Throw an error if iframe is not accessible anymore &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8601 [<samp>(6acdc)</samp>](https://github.com/vitest-dev/vitest/commit/6acdc3a5e) - **spy**: - Don't fail when spying on static getters &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8589 [<samp>(ac1d9)</samp>](https://github.com/vitest-dev/vitest/commit/ac1d92f14) - **ui**: - Keep the same tab open when clicking on different tests &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8599 [<samp>(3e535)</samp>](https://github.com/vitest-dev/vitest/commit/3e535f78b) ### &nbsp;&nbsp;&nbsp;🏎 Performance - Use experimental `meta.resolve` flag instead of a custom loader &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8567 [<samp>(2e063)</samp>](https://github.com/vitest-dev/vitest/commit/2e0630b76) ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v4.0.0-beta.11...v4.0.0-beta.12) --- ✨ This PR was created by Minori, your friendly dependency updater! 🌸
minori added 1 commit 2026-02-04 08:22:47 -08:00
deps: update vitest to 4.0.18
Node.js CI / CI (pull_request) Successful in 30s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m36s
13465f3f02
Some checks are pending
Node.js CI / CI (pull_request) Successful in 30s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m36s
This pull request has changes conflicting with the target branch.
  • package.json
  • pnpm-lock.yaml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependencies/update-vitest:dependencies/update-vitest
git checkout dependencies/update-vitest
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/maribelle#13