vitest-dev/vitest (vitest)
### [`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) [(486a3)](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) [(67d93)](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) [(fd5d7)](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) [(4d55a)](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) [(f859e)](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) [(5a71e)](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) [(f8f70)](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) [(c6f5f)](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) [(9cc36)](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) [(e0dde)](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) [(71911)](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) [(f43fd)](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) [(8dabe)](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) [(a7931)](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) [(13ff9)](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) [(37388)](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) [(92afd)](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) [(34135)](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) [(13ff9)](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) [(775e2)](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) [(574cc)](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) [(74820)](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) [(a9908)](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) [(43783)](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) [(1e4aa)](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) [(e7c5e)](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) [(6e6ee)](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) [(cb786)](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) [(42070)](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) [(114a9)](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) [(8b4a4)](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) [(cd03c)](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) [(263b7)](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) [(29299)](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) [(5cdeb)](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) [(d40b3)](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) [(ce84f)](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) [(18300)](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) [(28109cc)](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) [(5a741)](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) [(eac77)](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) [(fde18)](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) [(a7522)](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) [(18300)](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) [(c3619)](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) [(a3fd5)](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) [(58ef5)](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) [(c36d2)](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) [(d03a2)](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) [(f9e4a)](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) [(7f91c)](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) [(f7a73)](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) [(20b2a)](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) [(01b1c)](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) [(8e5e4)](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) [(a1aad)](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) [(6b734)](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) [(9021e)](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) [(fc947)](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) [(db1ff)](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) [(98fe3)](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) [(b1439)](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) [(7e1a0)](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) [(3b584)](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) [(4cd1d)](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) [(3c9f9)](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) [(0db38)](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) [(1ecbe)](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) [(3397f)](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) [(9fe38)](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) [(ac309)](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) [(7f502)](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) [(8983c)](https://togithub.com/vitest-dev/vitest/commit/8983cd48)
- Handle errors thrown in fixtures - by [@dsyddall](https://togithub.com/dsyddall) [(f6844)](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) [(088a0)](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) [(9abde)](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) [(ca168)](https://togithub.com/vitest-dev/vitest/commit/ca168a14)
- Provide customTesters to asymmetric matchers - by [@sheremet-va](https://togithub.com/sheremet-va) [(ac665)](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) [(94f9a)](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) [(f377a)](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) [(3f8c3)](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) [(8385c)](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) [(eca25)](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) [(79e9b)](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) [(e7e8c)](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) [(ab556)](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) [(648bc)](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) [(56ee7)](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) [(ed50a)](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) [(ec3d6)](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) [(723f6)](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) [(fc51a)](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) [(9112c)](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) [(a29fe)](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) [(b3327)](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) [(4166c)](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 [(a70f2)](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 [(1fdd6)](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) [(2d1b4)](https://togithub.com/vitest-dev/vitest/commit/2d1b4785)
- **expect**:
- Publish types file - by [@sheremet-va](https://togithub.com/sheremet-va) [(5996c)](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) [(a4501)](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) [(80a70)](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) [(cadb9)](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) [(60d6d)](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) [(2e1a1)](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) [(da794)](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) [(76a93)](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) [(8ac9f)](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) [(4cee6)](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) [(515ea)](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) [(8d183)](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) [(ca5db)](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) [(77ea9)](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) [(a5383)](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) [(5f477)](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) [(06461)](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) [(93504)](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) [(ec2e8)](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) [(da8d0)](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) [(d280f)](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) [(ff93a)](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) [(4293e)](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) [(b8ca3)](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) [(e5cf1)](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) [(7dee8)](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) [(50333)](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) [(23652)](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) [(dd802)](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) [(9fbf3)](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) [(241a8)](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) [(05b05)](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) [(54d52)](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) [(ba1df)](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) [(e0e20)](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) [(d1e1b)](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)
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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.34.6
->^1.1.0
Release Notes
vitest-dev/vitest (vitest)
### [`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) [(486a3)](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) [(67d93)](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) [(fd5d7)](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) [(4d55a)](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) [(f859e)](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) [(5a71e)](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) [(f8f70)](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) [(c6f5f)](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) [(9cc36)](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) [(e0dde)](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) [(71911)](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) [(f43fd)](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) [(8dabe)](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) [(a7931)](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) [(13ff9)](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) [(37388)](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) [(92afd)](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) [(34135)](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) [(13ff9)](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) [(775e2)](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) [(574cc)](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) [(74820)](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) [(a9908)](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) [(43783)](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) [(1e4aa)](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) [(e7c5e)](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) [(6e6ee)](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) [(cb786)](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) [(42070)](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) [(114a9)](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) [(8b4a4)](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) [(cd03c)](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) [(263b7)](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) [(29299)](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) [(5cdeb)](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) [(d40b3)](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) [(ce84f)](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) [(18300)](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) [(28109cc)](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) [(5a741)](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) [(eac77)](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) [(fde18)](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) [(a7522)](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) [(18300)](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) [(c3619)](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) [(a3fd5)](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) [(58ef5)](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) [(c36d2)](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) [(d03a2)](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) [(f9e4a)](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) [(7f91c)](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) [(f7a73)](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) [(20b2a)](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) [(01b1c)](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) [(8e5e4)](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) [(a1aad)](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) [(6b734)](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) [(9021e)](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) [(fc947)](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) [(db1ff)](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) [(98fe3)](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) [(b1439)](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) [(7e1a0)](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) [(3b584)](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) [(4cd1d)](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) [(3c9f9)](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) [(0db38)](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) [(1ecbe)](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) [(3397f)](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) [(9fe38)](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) [(ac309)](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) [(7f502)](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) [(8983c)](https://togithub.com/vitest-dev/vitest/commit/8983cd48) - Handle errors thrown in fixtures - by [@dsyddall](https://togithub.com/dsyddall) [(f6844)](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) [(088a0)](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) [(9abde)](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) [(ca168)](https://togithub.com/vitest-dev/vitest/commit/ca168a14) - Provide customTesters to asymmetric matchers - by [@sheremet-va](https://togithub.com/sheremet-va) [(ac665)](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) [(94f9a)](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) [(f377a)](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) [(3f8c3)](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) [(8385c)](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) [(eca25)](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) [(79e9b)](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) [(e7e8c)](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) [(ab556)](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) [(648bc)](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) [(56ee7)](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) [(ed50a)](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) [(ec3d6)](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) [(723f6)](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) [(fc51a)](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) [(9112c)](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) [(a29fe)](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) [(b3327)](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) [(4166c)](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 [(a70f2)](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 [(1fdd6)](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) [(2d1b4)](https://togithub.com/vitest-dev/vitest/commit/2d1b4785) - **expect**: - Publish types file - by [@sheremet-va](https://togithub.com/sheremet-va) [(5996c)](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) [(a4501)](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) [(80a70)](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) [(cadb9)](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) [(60d6d)](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) [(2e1a1)](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) [(da794)](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) [(76a93)](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) [(8ac9f)](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) [(4cee6)](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) [(515ea)](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) [(8d183)](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) [(ca5db)](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) [(77ea9)](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) [(a5383)](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) [(5f477)](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) [(06461)](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) [(93504)](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) [(ec2e8)](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) [(da8d0)](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) [(d280f)](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) [(ff93a)](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) [(4293e)](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) [(b8ca3)](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) [(e5cf1)](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) [(7dee8)](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) [(50333)](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) [(23652)](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) [(dd802)](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) [(9fbf3)](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) [(241a8)](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) [(05b05)](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) [(54d52)](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) [(ba1df)](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) [(e0e20)](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) [(d1e1b)](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)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.
This PR has been generated by Mend Renovate. View repository job log here.