4.0.4
🐞 Bug Fixes
- browser:
- Correct typo - by @benmccann in https://github.com/vitest-dev/vitest/issues/8796 (ede1f)
- Publish a missing context file for webdriverio - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8824 (7c7b6)
- mocker:
- Support mocking builtins without
node:prefix - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8829 (06208)
- Support mocking builtins without
- pool:
- Runner's error listener causing
MaxListenersExceededWarning- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8820 (d1bff) - Capture workers
stdioto logger - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8809 (fb95f)
- Runner's error listener causing
- spy:
- Allow classes in
vi.mockedutility - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8839 (f8756)
- Allow classes in
- worker:
- Rpc listener leak when
isolate: false- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/8821 (573dc)
- Rpc listener leak when
🏎 Performance
- utils: Optimized reducer to avoid creating new objects - by @Connormiha in https://github.com/vitest-dev/vitest/issues/8818 (d19ce)