Sourced from vitest's releases.
v1.6.0
🚀 Features
- Support standalone mode - by
@sheremet-va
in vitest-dev/vitest#5565 (bdce0)- Custom "snapshotEnvironment" option - by
@sheremet-va
in vitest-dev/vitest#5449 (30f72)- benchmark: Support comparing benchmark result - by
@hi-ogawa
and@sheremet-va
in vitest-dev/vitest#5398 (f8d3d)- browser: Allow injecting scripts - by
@sheremet-va
in vitest-dev/vitest#5656 (21e58)- reporter: Support
includeConsoleOutput
andaddFileAttribute
in junit - by@hi-ogawa
in vitest-dev/vitest#5659 (2f913)- ui: Sort items by file name - by
@btea
in vitest-dev/vitest#5652 (1f726)🐞 Bug Fixes
- Keep order of arguments for .each in custom task collectors - by
@sheremet-va
in vitest-dev/vitest#5640 (7d57c)- Call
resolveId('vitest')
afterbuildStart
- by@hi-ogawa
in vitest-dev/vitest#5646 (f5faf)- Hash the name of the file when caching - by
@sheremet-va
in vitest-dev/vitest#5654 (c9e68)- Don't panic on empty files in node_modules - by
@sheremet-va
(40c29)- Use
toJSON
for error serialization - by@hi-ogawa
in vitest-dev/vitest#5526 (19a21)- coverage:
- Exclude
*.test-d.*
by default - by@MindfulPol
in vitest-dev/vitest#5634 (bfe8a)- Apply
vite-node
's wrapper only to executed files - by@AriPerkkio
in vitest-dev/vitest#5642 (c9883)- vm:
- Support network imports - by
@sheremet-va
in vitest-dev/vitest#5610 (103a6)🏎 Performance
- Improve performance of forks pool - by
@sheremet-va
in vitest-dev/vitest#5592 (d8304)- Unnecessary rpc call when coverage is disabled - by
@AriPerkkio
in vitest-dev/vitest#5658 (c5712)View changes on GitHub
6b29f3d
chore: release v1.6.0f8d3d22
feat(benchmark): support comparing benchmark result (#5398)21e58bd
feat(browser): allow injecting scripts (#5656)30f728b
feat: custom "snapshotEnvironment" option (#5449)2f91322
feat(reporter): support includeConsoleOutput
and
addFileAttribute
in juni...c571276
perf: unnecessary rpc call when coverage is disabled (#5658)bdce0a2
feat: support standalone mode (#5565)40c299f
fix: don't panic on empty files in node_modulesc9e68ce
fix: hash the name of the file when caching (#5654)f5faf42
fix: call resolveId('vitest')
after buildStart
(#5646)