v1.0.0-beta.4
Pre-release
Pre-release
github-actions
released this
09 Nov 10:13
·
1256 commits
to main
since this release
🚨 Breaking Changes
- Remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation - by @sheremet-va and @dammy001 in #4400 (d40b3)
🚀 Features
- Implement provide/inject API to transfer data from the main thread - by @sheremet-va in #4422 (a7522)
- browser: Support "none" provider and update lit example to use it - by @sheremet-va in #4427 (d03a2)
- vitest: Expose execArgv to the different pools - by @adriencaccia in #4383 (9021e)
🐞 Bug Fixes
- Don't bundle import from rollup - by @sheremet-va in #4392 (3b584)
- Support accessing fixture at same index of dependency fixture - by @dsyddall in #4387 (4cd1d)
- Make asynchronous fixtures work concurrently - by @dsyddall in #4403 (3c9f9)
- Coverage.100 crash when using as an cli argument - by @marcelobotega in #4346 (0db38)
- Support typechecking with Yarn PnP - by @sheremet-va in #4412 (1ecbe)
- Support accessing task from test context without accessing fixtures - by @dsyddall in #4419 (3397f)
- Copy custom asymmetric matchers to local
expect
- by @hi-ogawa in #4405 (9fe38) - Apply serializer to
Error
instance for thrown snapshot - by @hi-ogawa and @sheremet-va in #4396 (ac309) - Throw an error when running "vitest typecheck" - by @sheremet-va in #4439 (7f502)
- Don't expand snapshot diff by default - by @sheremet-va in #4430 (8983c)
- browser: Disable hijacking ES modules until vi.mock is implemented - by @sheremet-va in #4414 (ab556)
- coverage: Exclude files and directories starting with dot by default - by @AriPerkkio in #4428 (b3327)
- vitest: Pass correct mode in vitest config function - by @adriencaccia in #4399 (b8ca3)
🏎 Performance
- Update
log-update
v9 - by @AriPerkkio in #4390 (ba1df)