vitest-dev/vitest
### [`v0.24.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3)
##### 🐞 Bug Fixes
- **build**: Build packages before publishing - by [@sheremet-va](https://togithub.com/sheremet-va) [(3c4a2)](https://togithub.com/vitest-dev/vitest/commit/3c4a277e)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3)
### [`v0.24.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.1...v0.24.2)
##### 🚀 Features
- **ui**: Add tests summary in the dashboard - by [@webfansplz](https://togithub.com/webfansplz) and [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/2133](https://togithub.com/vitest-dev/vitest/issues/2133)
##### 🐞 Bug Fixes
- **bench**: Throw root cause - by [@azaleta](https://togithub.com/azaleta) and [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2137](https://togithub.com/vitest-dev/vitest/issues/2137)
- **browser**: Working again - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/2143](https://togithub.com/vitest-dev/vitest/issues/2143)
- **coverage**: Reduce size of leftover v8 reports - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2144](https://togithub.com/vitest-dev/vitest/issues/2144)
- **vite-node**: Init the debugger ahead of time to ensure that load dumped code work as expected (fix [#2126](https://togithub.com/vitest-dev/vitest/issues/2126)) - by [@await-ovo](https://togithub.com/await-ovo) in [https://github.com/vitest-dev/vitest/issues/2127](https://togithub.com/vitest-dev/vitest/issues/2127)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.1...v0.24.2)
### [`v0.24.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.0...v0.24.1)
##### 🐞 Bug Fixes
- Remove work-around from `istanbul-lib-instrument` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2121](https://togithub.com/vitest-dev/vitest/issues/2121)
- Don't show extra properties for test context - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2116](https://togithub.com/vitest-dev/vitest/issues/2116)
- Parse env options from comments (fix [#1962](https://togithub.com/vitest-dev/vitest/issues/1962)) - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/1984](https://togithub.com/vitest-dev/vitest/issues/1984)
- **coverage**: Fix sourcemaps of uncovered lines - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2122](https://togithub.com/vitest-dev/vitest/issues/2122)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.0...v0.24.1)
### [`v0.24.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.4...v0.24.0)
##### 🚨 Breaking Changes
- Use type module (revert [#1411](https://togithub.com/vitest-dev/vitest/issues/1411)) - by [@bluwy](https://togithub.com/bluwy) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1465](https://togithub.com/vitest-dev/vitest/issues/1465)
- Drop support for Vite 2 - by [@antfu](https://togithub.com/antfu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1928](https://togithub.com/vitest-dev/vitest/issues/1928)
##### 🚀 Features
- **benchmark**: Todo mode - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/2057](https://togithub.com/vitest-dev/vitest/issues/2057)
- **inline-snapshot**: Support comment - by [@azaleta](https://togithub.com/azaleta) in [https://github.com/vitest-dev/vitest/issues/2077](https://togithub.com/vitest-dev/vitest/issues/2077)
##### 🐞 Bug Fixes
- Run related test, even if test doesn't have dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2043](https://togithub.com/vitest-dev/vitest/issues/2043)
- Check for asymmetricMatch before accessing - by [@sheremet-va](https://togithub.com/sheremet-va) [(75719)](https://togithub.com/vitest-dev/vitest/commit/757199a6)
- Check hook teardown return type, closes [#2092](https://togithub.com/vitest-dev/vitest/issues/2092) - by [@sheremet-va](https://togithub.com/sheremet-va) [(cba3f)](https://togithub.com/vitest-dev/vitest/commit/cba3ff09)
- Don't stop watch mode, if non-object error is thrown, close [#2106](https://togithub.com/vitest-dev/vitest/issues/2106) - by [@sheremet-va](https://togithub.com/sheremet-va) [(bd677)](https://togithub.com/vitest-dev/vitest/commit/bd677017)
- Use correct source maps in stacktrace - by [@haikyuu](https://togithub.com/haikyuu) in [https://github.com/vitest-dev/vitest/issues/2027](https://togithub.com/vitest-dev/vitest/issues/2027)
- Import CustomEventMap from vite for vite-node - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2124](https://togithub.com/vitest-dev/vitest/issues/2124)
- **jsdom**: Use jsdom Blob instead of Node, if jsdom is enabled - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/2086](https://togithub.com/vitest-dev/vitest/issues/2086)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.4...v0.24.0)
### [`v0.23.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.2...v0.23.4)
##### 🚀 Features
- Give helpful message, when using vi.mock - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2047](https://togithub.com/vitest-dev/vitest/issues/2047)
- **benchmark**: Only mode - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/2039](https://togithub.com/vitest-dev/vitest/issues/2039)
##### 🐞 Bug Fixes
- Move outputFile to benchmark, allow --reporter for benchmark - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2037](https://togithub.com/vitest-dev/vitest/issues/2037)
- **cli**: Forward node wasm flags - by [@Peeterush](https://togithub.com/Peeterush) in [https://github.com/vitest-dev/vitest/issues/2041](https://togithub.com/vitest-dev/vitest/issues/2041)
- **coverage**: `istanbul-reports` to support `projectRoot` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2051](https://togithub.com/vitest-dev/vitest/issues/2051)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.3...v0.23.4)
### [`v0.23.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2)
##### 🚀 Features
- Added fastify example - by [@irvile](https://togithub.com/irvile) in [https://github.com/vitest-dev/vitest/issues/1991](https://togithub.com/vitest-dev/vitest/issues/1991)
- **bench**: Improve summary - by [@antfu](https://togithub.com/antfu) [(d0167)](https://togithub.com/vitest-dev/vitest/commit/d0167247)
##### 🐞 Bug Fixes
- Update tinybench to 2.1.5 - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1990](https://togithub.com/vitest-dev/vitest/issues/1990)
- **bench**:
- Rank sorting, fix [#2006](https://togithub.com/vitest-dev/vitest/issues/2006) - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2007](https://togithub.com/vitest-dev/vitest/issues/2007)
- Do not group benchmarks - by [@Aslemammad](https://togithub.com/Aslemammad) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2016](https://togithub.com/vitest-dev/vitest/issues/2016)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2)
### [`v0.23.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1)
##### 🐞 Bug Fixes
- Show diff for errors that contain actual/expected without showDiff - by [@IgnusG](https://togithub.com/IgnusG) in [https://github.com/vitest-dev/vitest/issues/1966](https://togithub.com/vitest-dev/vitest/issues/1966)
- Don't fail on running vitest dev (closes [#1971](https://togithub.com/vitest-dev/vitest/issues/1971)) - by [@sheremet-va](https://togithub.com/sheremet-va) [(3807c)](https://togithub.com/vitest-dev/vitest/commit/3807c07f)
- Don't hang when running vitest - by [@sheremet-va](https://togithub.com/sheremet-va) [(f3025)](https://togithub.com/vitest-dev/vitest/commit/f3025cde)
- Define default exports properties as named exports for ESM compatibility - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1979](https://togithub.com/vitest-dev/vitest/issues/1979)
- Correctly normalize mocked path, if file is named like the folder - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1973](https://togithub.com/vitest-dev/vitest/issues/1973)
- **ui**: Display correct line and column for web UI - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) in [https://github.com/vitest-dev/vitest/issues/1972](https://togithub.com/vitest-dev/vitest/issues/1972)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1)
### [`v0.23.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0)
##### 🚨 Breaking Changes
- Don't reset modules with --no-isolate - by [@sheremet-va](https://togithub.com/sheremet-va) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1754](https://togithub.com/vitest-dev/vitest/issues/1754)
- If not processed, CSS Modules return a proxy, scope class names by filename - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1803](https://togithub.com/vitest-dev/vitest/issues/1803)
- Improve interchangeability with cjs - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1944](https://togithub.com/vitest-dev/vitest/issues/1944)
- Allow custom environments - by [@sheremet-va](https://togithub.com/sheremet-va) and [@Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1963](https://togithub.com/vitest-dev/vitest/issues/1963)
##### 🚀 Features
- Add include option in istanbul coverage - by [@warmthdawn](https://togithub.com/warmthdawn) in [https://github.com/vitest-dev/vitest/issues/1883](https://togithub.com/vitest-dev/vitest/issues/1883)
- Introduce `retry` option for tests - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1929](https://togithub.com/vitest-dev/vitest/issues/1929)
- Add benchmark support with `vitest bench` command - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1029](https://togithub.com/vitest-dev/vitest/issues/1029)
- **coverage**: Include json reporter by default - by [@poyoho](https://togithub.com/poyoho) [(faed4)](https://togithub.com/vitest-dev/vitest/commit/faed4acb)
- **coverage-istanbul**: Add "all" option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1880](https://togithub.com/vitest-dev/vitest/issues/1880)
- **worker**: Always apply custom resolver conditions - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1934](https://togithub.com/vitest-dev/vitest/issues/1934)
##### 🐞 Bug Fixes
- Allow referring to first seen value while automocking - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1879](https://togithub.com/vitest-dev/vitest/issues/1879)
- Console.Console is undefined (close: [#1877](https://togithub.com/vitest-dev/vitest/issues/1877)) - by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/vitest-dev/vitest/issues/1878](https://togithub.com/vitest-dev/vitest/issues/1878)
- Invalidate new worker and its dependencies - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1896](https://togithub.com/vitest-dev/vitest/issues/1896)
- Improve error serialization - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1921](https://togithub.com/vitest-dev/vitest/issues/1921)
- Clean coverage-c8 tmp before reporting (fix [#1917](https://togithub.com/vitest-dev/vitest/issues/1917)) - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1925](https://togithub.com/vitest-dev/vitest/issues/1925)
- Automock getters and setters - by [@simon-abbott](https://togithub.com/simon-abbott) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1903](https://togithub.com/vitest-dev/vitest/issues/1903)
- Add possibility to filter test files by fileName - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1915](https://togithub.com/vitest-dev/vitest/issues/1915)
- Make globalThis more compatible with jest - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1956](https://togithub.com/vitest-dev/vitest/issues/1956)
- Delete mock in moduleCache when unmock - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1947](https://togithub.com/vitest-dev/vitest/issues/1947)
- Matcher toHaveProperty actually tests value - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1958](https://togithub.com/vitest-dev/vitest/issues/1958)
- **env-replacer**: Don't modify string literals - by [@tony19](https://togithub.com/tony19) in [https://github.com/vitest-dev/vitest/issues/1943](https://togithub.com/vitest-dev/vitest/issues/1943)
- **istanbul**: Disable compact in instrumenter transform - by [@poyoho](https://togithub.com/poyoho) [(80739)](https://togithub.com/vitest-dev/vitest/commit/80739cae)
- **reporter**: Correct error source position in json report - by [@azaleta](https://togithub.com/azaleta) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1909](https://togithub.com/vitest-dev/vitest/issues/1909)
- **reporter-junit**: Escape XML when in error message (fix: [#1823](https://togithub.com/vitest-dev/vitest/issues/1823)) - by [@ChrisTowles](https://togithub.com/ChrisTowles) in [https://github.com/vitest-dev/vitest/issues/1890](https://togithub.com/vitest-dev/vitest/issues/1890)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0)
### [`v0.22.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1)
##### 🚀 Features
- Restart vitest on config change - by [@antfu](https://togithub.com/antfu) [(c663f)](https://togithub.com/vitest-dev/vitest/commit/c663f39c)
- Show transform time - by [@antfu](https://togithub.com/antfu) [(b54a1)](https://togithub.com/vitest-dev/vitest/commit/b54a13e5)
- **vite-node**: `moduleCache.invalidateDepTree` utiltity - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1872](https://togithub.com/vitest-dev/vitest/issues/1872)
##### 🐞 Bug Fixes
- Convert string coverage reporters to array - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1860](https://togithub.com/vitest-dev/vitest/issues/1860)
- Explicitly import performance - by [@antfu](https://togithub.com/antfu) [(870d1)](https://togithub.com/vitest-dev/vitest/commit/870d16e0)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1)
pnpm/pnpm
### [`v7.13.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.5)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.4...v7.13.5)
#### Patch Changes
- Print a warning when cannot read the built-in npm configuration.
- Also include missing deeply linked workspace packages at headless installation [#5034](https://togithub.com/pnpm/pnpm/issues/5034).
- `pnpm outdated` should work when the package tarballs are hosted on a domain that differs from the registry's domain [#5492](https://togithub.com/pnpm/pnpm/issues/5492).
- `strict-peer-dependencies` is set to `false` by default.
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.13.4`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.4)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.3...v7.13.4)
##### Patch Changes
- `pnpm link --global` should work when a custom target directory is specified with the `--dir` CLI option [#5473](https://togithub.com/pnpm/pnpm/pull/5473).
- It should be possible to override dependencies with local packages using overrides [#5443](https://togithub.com/pnpm/pnpm/issues/5443).
##### Our Gold Sponsors
##### Our Silver Sponsors
### [`v7.13.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.3)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.2...v7.13.3)
#### Patch Changes
- Don't crash when `auto-install-peers` is set to `true` and installation is done on a workspace with that has the same dependencies in multiple projects [#5454](https://togithub.com/pnpm/pnpm/issues/5454).
- Add global option in `pnpm link --help` [#5461](https://togithub.com/pnpm/pnpm/pull/5461).
- Show execution time on `install`, `update`, `add`, and `remove` [#1021](https://togithub.com/pnpm/pnpm/issues/1021).
- Fix the return path of `pnpm pack`, when a custom destination directory is used [#5471](https://togithub.com/pnpm/pnpm/issues/5471).
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.13.2`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.2)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.1...v7.13.2)
#### Patch Changes
- When linking commands to a directory, remove any .exe files that are already present in that target directory by the same name.
This fixes an issue with pnpm global update on Windows. If pnpm was installed with the standalone script and then updated with pnpm using `pnpm add --global pnpm`, the exe file initially created by the standalone script should be removed.
- When a direct dependency fails to resolve, print the path to the project directory in the error message.
- `pnpm patch-commit` should work when the patch directory is specified with a trailing slash [#5449](https://togithub.com/pnpm/pnpm/issues/5449).
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.13.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.1)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.0...v7.13.1)
#### Patch Changes
- `pnpm update --interactive` should not list dependencies ignored via the `pnpm.updateConfig.ignoreDependencies` setting.
#### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.13.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.2...v7.13.0)
#### Minor Changes
- Ignore packages listed in `package.json` > `pnpm.updateConfig.ignoreDependencies` fields on update/outdated command [#5358](https://togithub.com/pnpm/pnpm/issues/5358)
For instance, if you don't want `webpack` automatically to be updated when you run `pnpm update --latest`, put this to your `package.json`:
```json
{
"pnpm": {
"updateConfig": {
"ignoreDependencies": ["webpack"]
}
}
}
```
Patterns are also supported, so you may ignore for instance any packages from a scope: `@babel/*`.
- It is possible now to update all dependencies except the listed ones using `!`. For instance, update all dependencies, except `lodash`:
pnpm update !lodash
It also works with pattends, for instance:
pnpm update !@babel/*
And it may be combined with other patterns:
pnpm update @babel/* !@babel/core
#### Patch Changes
- Hooks should be applied on `pnpm deploy` [#5306](https://togithub.com/pnpm/pnpm/issues/5306).
- Stop `--filter-prod` option to run command on all the projects when used on workspace. `--filter-prod` option now only filter from `dependencies` and omit `devDependencies` instead of including all the packages when used on workspace. So what was happening is that if you use `--filter-prod` on workspace root like this:
```bash
pnpm --filter-prod ...build-modules exec node -e 'console.log(require(`./package.json`).name)'
```
it was printing all the package of workspace, where it should only print the package name of itself and packages where it has been added as `dependency` (not as `devDependencies`)
- Don't override the root dependency when auto installing peer dependencies [#5412](https://togithub.com/pnpm/pnpm/issues/5412).
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* GitHub Workflows security hardening by @sashashu[https://github.com/pnpm/pnpm/pull/5405](https://togithub.com/pnpm/pnpm/pull/5405)l/5405
* feat: merge readPackage hook from opts and pnpmfile by @AGrz[https://github.com/pnpm/pnpm/pull/5403](https://togithub.com/pnpm/pnpm/pull/5403)l/5403
* feat: excluding deps from update by @zkoch[https://github.com/pnpm/pnpm/pull/5432](https://togithub.com/pnpm/pnpm/pull/5432)l/5432
* fix: dir path repeated join in link global by @lv[https://github.com/pnpm/pnpm/pull/5434](https://togithub.com/pnpm/pnpm/pull/5434)l/5434
* fix: filter-prod flag including all workspace pkgs by @noorulh[https://github.com/pnpm/pnpm/pull/5437](https://togithub.com/pnpm/pnpm/pull/5437)l/5437
* Feature: ignore packages listed in `package.json > pnpm.updateConfig.ignoreDependencies` on update/outdated commands by @Shinyaige[https://github.com/pnpm/pnpm/pull/5408](https://togithub.com/pnpm/pnpm/pull/5408)l/5408
* fix: don't override root deps when auto installing peers by @zkoch[https://github.com/pnpm/pnpm/pull/5442](https://togithub.com/pnpm/pnpm/pull/5442)l/5442
#### New Contributors
* @sashashura made their first contributi[https://github.com/pnpm/pnpm/pull/5405](https://togithub.com/pnpm/pnpm/pull/5405)l/5405
* @AGrzes made their first contributi[https://github.com/pnpm/pnpm/pull/5403](https://togithub.com/pnpm/pnpm/pull/5403)l/5403
* @noorulh06 made their first contributi[https://github.com/pnpm/pnpm/pull/5437](https://togithub.com/pnpm/pnpm/pull/5437)l/5437
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.12.2...v7.13.0
### [`v7.12.2`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.2)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.1...v7.12.2)
#### Patch Changes
- Don't crash when auto-install-peers is true and the project has many complex circular dependencies [#5394](https://togithub.com/pnpm/pnpm/pull/5394).
- `pnpm link --global` should work with the `--dir=` option [#5371](https://togithub.com/pnpm/pnpm/pull/5371).
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* fix: error in pnpm --dir link --global by @lv[https://github.com/pnpm/pnpm/pull/5371](https://togithub.com/pnpm/pnpm/pull/5371)l/5371
* fix: cli crash with auto-install-peers=true by @zkoch[https://github.com/pnpm/pnpm/pull/5394](https://togithub.com/pnpm/pnpm/pull/5394)l/5394
#### New Contributors
* @lvqq made their first contributi[https://github.com/pnpm/pnpm/pull/5371](https://togithub.com/pnpm/pnpm/pull/5371)l/5371
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.12.1...v7.12.2
### [`v7.12.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.1)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.12.0...v7.12.1)
#### Patch Changes
- Deduplicate peer dependencies when automatically installing them [#5373](https://togithub.com/pnpm/pnpm/issues/5373).
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* fix: deduplicate peer deps by @zkoch[https://github.com/pnpm/pnpm/pull/5377](https://togithub.com/pnpm/pnpm/pull/5377)l/5377
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.12.0...v7.12.1
### [`v7.12.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.12.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.11.0...v7.12.0)
#### Minor Changes
- A new setting supported in the pnpm section of the `package.json` file: `allowNonAppliedPatches`. When it is set to `true`, non-applied patches will not cause an error, just a warning will be printed. For example:
```json
{
"name": "foo",
"version": "1.0.0",
"pnpm": {
"patchedDependencies": {
"express@4.18.1": "patches/express@4.18.1.patch"
},
"allowNonAppliedPatches": true
}
}
```
- Now it is possible to exclude packages from hoisting by prepending a `!` to the pattern. This works with both the `hoist-pattern` and `public-hoist-pattern` settings. For instance:
public-hoist-pattern[]='*types*'
public-hoist-pattern[]='!@types/react'
hoist-pattern[]='*eslint*'
hoist-pattern[]='!*eslint-plugin*'
Ref [#5272](https://togithub.com/pnpm/pnpm/issues/5272)
#### Patch Changes
- When the same dependency with missing peers is used in multiple workspace projects, install the missing peers in each workspace project [#4820](https://togithub.com/pnpm/pnpm/issues/4820).
- `pnpm patch` should work on files that don't have an end of line [#5320](https://togithub.com/pnpm/pnpm/issues/5320).
- Fix `pnpm patch` using a custom `--edit-dir`.
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* fix(patch): allow to edit a package in any directory by @zkoch[https://github.com/pnpm/pnpm/pull/5331](https://togithub.com/pnpm/pnpm/pull/5331)l/5331
* feat(matcher): ignore patterns by @LuciNy[https://github.com/pnpm/pnpm/pull/5336](https://togithub.com/pnpm/pnpm/pull/5336)l/5336
* fix(patch): ignore No newline at end of file by @await-o[https://github.com/pnpm/pnpm/pull/5321](https://togithub.com/pnpm/pnpm/pull/5321)l/5321
* feat(patch): allow non-applied patches by @larrybahr-ocel[https://github.com/pnpm/pnpm/pull/5354](https://togithub.com/pnpm/pnpm/pull/5354)l/5354
* chore: update @pnpm/meta-updater by @ibe[https://github.com/pnpm/pnpm/pull/5360](https://togithub.com/pnpm/pnpm/pull/5360)pm/pull/5360
* fix: auto-install-peers in a workspace by @zkoch[https://github.com/pnpm/pnpm/pull/5359](https://togithub.com/pnpm/pnpm/pull/5359)l/5359
#### New Contributors
* @await-ovo made their first contributi[https://github.com/pnpm/pnpm/pull/5321](https://togithub.com/pnpm/pnpm/pull/5321)l/5321
* @larrybahr-ocelot made their first contributi[https://github.com/pnpm/pnpm/pull/5354](https://togithub.com/pnpm/pnpm/pull/5354)l/5354
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.11.0...v7.12.0
### [`v7.11.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.11.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.10.0...v7.11.0)
#### Minor Changes
- `pnpm patch`: edit the patched package in a directory specified by the `--edit-dir` option. E.g., `pnpm patch express@3.1.0 --edit-dir=/home/xxx/src/patched-express` [#5304](https://togithub.com/pnpm/pnpm/pull/5304)
#### Patch Changes
- Auto installing a peer dependency in a workspace that also has it as a dev dependency in another project [#5144](https://togithub.com/pnpm/pnpm/issues/5144).
- When an error happens during installation of a subdependency, print some context information in order to be able to locate that subdependency. Print the exact chain of packages that led to the problematic dependency.
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* feat(plugin-command-patching): add path option to patch command by @roseline1[https://github.com/pnpm/pnpm/pull/5304](https://togithub.com/pnpm/pnpm/pull/5304)l/5304
* fix: improve dependency installation error message by @zkoch[https://github.com/pnpm/pnpm/pull/5247](https://togithub.com/pnpm/pnpm/pull/5247)l/5247
* fix: auto installing peer dep in a workspace by @zkoch[https://github.com/pnpm/pnpm/pull/5307](https://togithub.com/pnpm/pnpm/pull/5307)l/5307
#### New Contributors
* @roseline124 made their first contributi[https://github.com/pnpm/pnpm/pull/5304](https://togithub.com/pnpm/pnpm/pull/5304)l/5304
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.10.0...v7.11.0
### [`v7.10.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.10.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.9.5...v7.10.0)
#### Minor Changes
- New time-based resolution strategy supported.
When `resolution-mode` is set to `time-based`, pnpm will resolve dependencies the following way:
1. Direct dependencies will be resolved to their lowest versions. So if there is `foo@^1.1.0` in the dependencies, then `1.1.0` will be installed.
2. Subdependencies will be resolved from versions that were published before the last direct dependency was published.
With this resolution mode installations with hot cache are faster. It also reduces the chance of subdependency hijacking as subdependencies will be updated only if direct dependencies are updated.
This resolution mode works only with npm's [full metadata](https://togithub.com/npm/registry/blob/master/docs/responses/package-metadata.md#full-metadata-format). So it is slower in some scenarios. However, if you use [Verdaccio](https://verdaccio.org/) v5.15.1 or newer, you may set the `registry-supports-time-field` setting to `true`, and it will be really fast.
Related [RFC](https://togithub.com/pnpm/rfcs/pull/2).
- Enhance `pnpm env` with the `remove` command. To remove a Node.js version installed by pnpm, run:
pnpm env remove --global
#### Patch Changes
- `pnpm store prune` should remove all cached metadata.
- Don't modify the manifest of the injected workspace project, when it has the same dependency in prod and peer dependencies.
#### Our Gold Sponsors
#### Our Silver Sponsors
#### What's Changed
* test: fix NODE_PATH test on Windows by @zkoch[https://github.com/pnpm/pnpm/pull/5257](https://togithub.com/pnpm/pnpm/pull/5257)l/5257
* refactor: resolve dependencies by @zkoch[https://github.com/pnpm/pnpm/pull/5267](https://togithub.com/pnpm/pnpm/pull/5267)l/5267
* feat(env): add remove command to pnpm env by @mark-omar[https://github.com/pnpm/pnpm/pull/5263](https://togithub.com/pnpm/pnpm/pull/5263)l/5263
* docs(CONTRIBUTING): correct setup instructions for first-time clone by @gwhitn[https://github.com/pnpm/pnpm/pull/5289](https://togithub.com/pnpm/pnpm/pull/5289)l/5289
* fix: don't modify the injected project's manifest by @zkoch[https://github.com/pnpm/pnpm/pull/5294](https://togithub.com/pnpm/pnpm/pull/5294)l/5294
* feat: time-based resolution mode by @zkoch[https://github.com/pnpm/pnpm/pull/5238](https://togithub.com/pnpm/pnpm/pull/5238)l/5238
* feat: resolve direct deps to lowest version when resolution-mode is time-based by @zkoch[https://github.com/pnpm/pnpm/pull/5298](https://togithub.com/pnpm/pnpm/pull/5298)l/5298
* fix: add fallback for time-based resolution by @zkoch[https://github.com/pnpm/pnpm/pull/5302](https://togithub.com/pnpm/pnpm/pull/5302)l/5302
#### New Contributors
* @mark-omarov made their first contributi[https://github.com/pnpm/pnpm/pull/5263](https://togithub.com/pnpm/pnpm/pull/5263)l/5263
* @gwhitney made their first contributi[https://github.com/pnpm/pnpm/pull/5289](https://togithub.com/pnpm/pnpm/pull/5289)l/5289
**Full Changelog**: https://github.com/pnpm/pnpm/compare/v7.9.5...v7.10.0
### [`v7.9.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.9.5)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.9.4...v7.9.5)
#### Patch Changes
- Set `NODE_PATH` when `prefer-symlinked-executables` is enabled [#5251](https://togithub.com/pnpm/pnpm/pull/5251).
- Fail with a meaningful error when the audit endpoint doesn't exist [#5200](https://togithub.com/pnpm/pnpm/issues/5200).
- Symlink a local dependency to `node_modules`, even if the target directory doesn't exist [#5219](https://togithub.com/pnpm/pnpm/issues/5219).
#### Our Gold Sponsors
This PR contains the following updates:
^0.22.0
->^0.24.3
7.9.0
->7.13.5
^0.8.8
->^0.9.4
^0.22.0
->^0.24.3
Release Notes
vitest-dev/vitest
### [`v0.24.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3) ##### 🐞 Bug Fixes - **build**: Build packages before publishing - by [@sheremet-va](https://togithub.com/sheremet-va) [(3c4a2)](https://togithub.com/vitest-dev/vitest/commit/3c4a277e) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3) ### [`v0.24.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.1...v0.24.2) ##### 🚀 Features - **ui**: Add tests summary in the dashboard - by [@webfansplz](https://togithub.com/webfansplz) and [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/2133](https://togithub.com/vitest-dev/vitest/issues/2133) ##### 🐞 Bug Fixes - **bench**: Throw root cause - by [@azaleta](https://togithub.com/azaleta) and [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2137](https://togithub.com/vitest-dev/vitest/issues/2137) - **browser**: Working again - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/2143](https://togithub.com/vitest-dev/vitest/issues/2143) - **coverage**: Reduce size of leftover v8 reports - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2144](https://togithub.com/vitest-dev/vitest/issues/2144) - **vite-node**: Init the debugger ahead of time to ensure that load dumped code work as expected (fix [#2126](https://togithub.com/vitest-dev/vitest/issues/2126)) - by [@await-ovo](https://togithub.com/await-ovo) in [https://github.com/vitest-dev/vitest/issues/2127](https://togithub.com/vitest-dev/vitest/issues/2127) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.1...v0.24.2) ### [`v0.24.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.0...v0.24.1) ##### 🐞 Bug Fixes - Remove work-around from `istanbul-lib-instrument` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2121](https://togithub.com/vitest-dev/vitest/issues/2121) - Don't show extra properties for test context - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2116](https://togithub.com/vitest-dev/vitest/issues/2116) - Parse env options from comments (fix [#1962](https://togithub.com/vitest-dev/vitest/issues/1962)) - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/1984](https://togithub.com/vitest-dev/vitest/issues/1984) - **coverage**: Fix sourcemaps of uncovered lines - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2122](https://togithub.com/vitest-dev/vitest/issues/2122) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.0...v0.24.1) ### [`v0.24.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.4...v0.24.0) ##### 🚨 Breaking Changes - Use type module (revert [#1411](https://togithub.com/vitest-dev/vitest/issues/1411)) - by [@bluwy](https://togithub.com/bluwy) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1465](https://togithub.com/vitest-dev/vitest/issues/1465) - Drop support for Vite 2 - by [@antfu](https://togithub.com/antfu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1928](https://togithub.com/vitest-dev/vitest/issues/1928) ##### 🚀 Features - **benchmark**: Todo mode - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/2057](https://togithub.com/vitest-dev/vitest/issues/2057) - **inline-snapshot**: Support comment - by [@azaleta](https://togithub.com/azaleta) in [https://github.com/vitest-dev/vitest/issues/2077](https://togithub.com/vitest-dev/vitest/issues/2077) ##### 🐞 Bug Fixes - Run related test, even if test doesn't have dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2043](https://togithub.com/vitest-dev/vitest/issues/2043) - Check for asymmetricMatch before accessing - by [@sheremet-va](https://togithub.com/sheremet-va) [(75719)](https://togithub.com/vitest-dev/vitest/commit/757199a6) - Check hook teardown return type, closes [#2092](https://togithub.com/vitest-dev/vitest/issues/2092) - by [@sheremet-va](https://togithub.com/sheremet-va) [(cba3f)](https://togithub.com/vitest-dev/vitest/commit/cba3ff09) - Don't stop watch mode, if non-object error is thrown, close [#2106](https://togithub.com/vitest-dev/vitest/issues/2106) - by [@sheremet-va](https://togithub.com/sheremet-va) [(bd677)](https://togithub.com/vitest-dev/vitest/commit/bd677017) - Use correct source maps in stacktrace - by [@haikyuu](https://togithub.com/haikyuu) in [https://github.com/vitest-dev/vitest/issues/2027](https://togithub.com/vitest-dev/vitest/issues/2027) - Import CustomEventMap from vite for vite-node - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2124](https://togithub.com/vitest-dev/vitest/issues/2124) - **jsdom**: Use jsdom Blob instead of Node, if jsdom is enabled - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/2086](https://togithub.com/vitest-dev/vitest/issues/2086) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.4...v0.24.0) ### [`v0.23.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.2...v0.23.4) ##### 🚀 Features - Give helpful message, when using vi.mock - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2047](https://togithub.com/vitest-dev/vitest/issues/2047) - **benchmark**: Only mode - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/2039](https://togithub.com/vitest-dev/vitest/issues/2039) ##### 🐞 Bug Fixes - Move outputFile to benchmark, allow --reporter for benchmark - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2037](https://togithub.com/vitest-dev/vitest/issues/2037) - **cli**: Forward node wasm flags - by [@Peeterush](https://togithub.com/Peeterush) in [https://github.com/vitest-dev/vitest/issues/2041](https://togithub.com/vitest-dev/vitest/issues/2041) - **coverage**: `istanbul-reports` to support `projectRoot` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2051](https://togithub.com/vitest-dev/vitest/issues/2051) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.3...v0.23.4) ### [`v0.23.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2) ##### 🚀 Features - Added fastify example - by [@irvile](https://togithub.com/irvile) in [https://github.com/vitest-dev/vitest/issues/1991](https://togithub.com/vitest-dev/vitest/issues/1991) - **bench**: Improve summary - by [@antfu](https://togithub.com/antfu) [(d0167)](https://togithub.com/vitest-dev/vitest/commit/d0167247) ##### 🐞 Bug Fixes - Update tinybench to 2.1.5 - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1990](https://togithub.com/vitest-dev/vitest/issues/1990) - **bench**: - Rank sorting, fix [#2006](https://togithub.com/vitest-dev/vitest/issues/2006) - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2007](https://togithub.com/vitest-dev/vitest/issues/2007) - Do not group benchmarks - by [@Aslemammad](https://togithub.com/Aslemammad) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2016](https://togithub.com/vitest-dev/vitest/issues/2016) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2) ### [`v0.23.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1) ##### 🐞 Bug Fixes - Show diff for errors that contain actual/expected without showDiff - by [@IgnusG](https://togithub.com/IgnusG) in [https://github.com/vitest-dev/vitest/issues/1966](https://togithub.com/vitest-dev/vitest/issues/1966) - Don't fail on running vitest dev (closes [#1971](https://togithub.com/vitest-dev/vitest/issues/1971)) - by [@sheremet-va](https://togithub.com/sheremet-va) [(3807c)](https://togithub.com/vitest-dev/vitest/commit/3807c07f) - Don't hang when running vitest - by [@sheremet-va](https://togithub.com/sheremet-va) [(f3025)](https://togithub.com/vitest-dev/vitest/commit/f3025cde) - Define default exports properties as named exports for ESM compatibility - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1979](https://togithub.com/vitest-dev/vitest/issues/1979) - Correctly normalize mocked path, if file is named like the folder - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1973](https://togithub.com/vitest-dev/vitest/issues/1973) - **ui**: Display correct line and column for web UI - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) in [https://github.com/vitest-dev/vitest/issues/1972](https://togithub.com/vitest-dev/vitest/issues/1972) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1) ### [`v0.23.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0) ##### 🚨 Breaking Changes - Don't reset modules with --no-isolate - by [@sheremet-va](https://togithub.com/sheremet-va) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1754](https://togithub.com/vitest-dev/vitest/issues/1754) - If not processed, CSS Modules return a proxy, scope class names by filename - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1803](https://togithub.com/vitest-dev/vitest/issues/1803) - Improve interchangeability with cjs - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1944](https://togithub.com/vitest-dev/vitest/issues/1944) - Allow custom environments - by [@sheremet-va](https://togithub.com/sheremet-va) and [@Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1963](https://togithub.com/vitest-dev/vitest/issues/1963) ##### 🚀 Features - Add include option in istanbul coverage - by [@warmthdawn](https://togithub.com/warmthdawn) in [https://github.com/vitest-dev/vitest/issues/1883](https://togithub.com/vitest-dev/vitest/issues/1883) - Introduce `retry` option for tests - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1929](https://togithub.com/vitest-dev/vitest/issues/1929) - Add benchmark support with `vitest bench` command - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1029](https://togithub.com/vitest-dev/vitest/issues/1029) - **coverage**: Include json reporter by default - by [@poyoho](https://togithub.com/poyoho) [(faed4)](https://togithub.com/vitest-dev/vitest/commit/faed4acb) - **coverage-istanbul**: Add "all" option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1880](https://togithub.com/vitest-dev/vitest/issues/1880) - **worker**: Always apply custom resolver conditions - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1934](https://togithub.com/vitest-dev/vitest/issues/1934) ##### 🐞 Bug Fixes - Allow referring to first seen value while automocking - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1879](https://togithub.com/vitest-dev/vitest/issues/1879) - Console.Console is undefined (close: [#1877](https://togithub.com/vitest-dev/vitest/issues/1877)) - by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/vitest-dev/vitest/issues/1878](https://togithub.com/vitest-dev/vitest/issues/1878) - Invalidate new worker and its dependencies - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1896](https://togithub.com/vitest-dev/vitest/issues/1896) - Improve error serialization - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1921](https://togithub.com/vitest-dev/vitest/issues/1921) - Clean coverage-c8 tmp before reporting (fix [#1917](https://togithub.com/vitest-dev/vitest/issues/1917)) - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1925](https://togithub.com/vitest-dev/vitest/issues/1925) - Automock getters and setters - by [@simon-abbott](https://togithub.com/simon-abbott) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1903](https://togithub.com/vitest-dev/vitest/issues/1903) - Add possibility to filter test files by fileName - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1915](https://togithub.com/vitest-dev/vitest/issues/1915) - Make globalThis more compatible with jest - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1956](https://togithub.com/vitest-dev/vitest/issues/1956) - Delete mock in moduleCache when unmock - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1947](https://togithub.com/vitest-dev/vitest/issues/1947) - Matcher toHaveProperty actually tests value - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1958](https://togithub.com/vitest-dev/vitest/issues/1958) - **env-replacer**: Don't modify string literals - by [@tony19](https://togithub.com/tony19) in [https://github.com/vitest-dev/vitest/issues/1943](https://togithub.com/vitest-dev/vitest/issues/1943) - **istanbul**: Disable compact in instrumenter transform - by [@poyoho](https://togithub.com/poyoho) [(80739)](https://togithub.com/vitest-dev/vitest/commit/80739cae) - **reporter**: Correct error source position in json report - by [@azaleta](https://togithub.com/azaleta) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1909](https://togithub.com/vitest-dev/vitest/issues/1909) - **reporter-junit**: Escape XML when in error message (fix: [#1823](https://togithub.com/vitest-dev/vitest/issues/1823)) - by [@ChrisTowles](https://togithub.com/ChrisTowles) in [https://github.com/vitest-dev/vitest/issues/1890](https://togithub.com/vitest-dev/vitest/issues/1890) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0) ### [`v0.22.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1) ##### 🚀 Features - Restart vitest on config change - by [@antfu](https://togithub.com/antfu) [(c663f)](https://togithub.com/vitest-dev/vitest/commit/c663f39c) - Show transform time - by [@antfu](https://togithub.com/antfu) [(b54a1)](https://togithub.com/vitest-dev/vitest/commit/b54a13e5) - **vite-node**: `moduleCache.invalidateDepTree` utiltity - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1872](https://togithub.com/vitest-dev/vitest/issues/1872) ##### 🐞 Bug Fixes - Convert string coverage reporters to array - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1860](https://togithub.com/vitest-dev/vitest/issues/1860) - Explicitly import performance - by [@antfu](https://togithub.com/antfu) [(870d1)](https://togithub.com/vitest-dev/vitest/commit/870d16e0) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1)pnpm/pnpm
### [`v7.13.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.13.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.13.4...v7.13.5) #### Patch Changes - Print a warning when cannot read the built-in npm configuration. - Also include missing deeply linked workspace packages at headless installation [#5034](https://togithub.com/pnpm/pnpm/issues/5034). - `pnpm outdated` should work when the package tarballs are hosted on a domain that differs from the registry's domain [#5492](https://togithub.com/pnpm/pnpm/issues/5492). - `strict-peer-dependencies` is set to `false` by default. #### Our Gold SponsorsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
100.00% <0.00%> (+37.31%)
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.