Sourced from vitest's releases.
v4.0.2
🐞 Bug Fixes
- browser:
- Don't print the deprecation notice in node_modules - by
@sheremet-vain vitest-dev/vitest#8779 (588f7)- pool:
- Assign envs before running tests to keep in sync with process.env - by
@sheremet-vain vitest-dev/vitest#8769 (26ce8)- spy:
- Properly inherit implementation's
length- by@sheremet-vain vitest-dev/vitest#8778 (d4c2b)- Reset spies if both
restoreMocksandmockResetare set in the config - by@sheremet-vain vitest-dev/vitest#8781 (2eedb)View changes on GitHub
v4.0.1
🐞 Bug Fixes
- Move the
getBuiltinscheck - by@sheremet-vain vitest-dev/vitest#8765 (81000)- pool: Don't teardown the communication channel too soon if something is running after the test - by
@sheremet-vain vitest-dev/vitest#8767 (3fae7)View changes on GitHub
v4.0.0
Vitest 4.0 is out!
To stay updated, read our blog post and check the migration guide.
🚨 Breaking Changes
- Remove
'basic'reporter - by@AriPerkkioin vitest-dev/vitest#7884 (82fcf)- Simplify default exclude pattern - by
@sheremet-vain vitest-dev/vitest#6287 (14c50)- Remove deprecated getSourceMap - by
@sheremet-vain vitest-dev/vitest#8194 (ff934)- Replace deprecated ErrorWithDiff with TestError - by
@sheremet-vain vitest-dev/vitest#8195 (da59e)- Remove UserConfig type in favor of ViteUserConfig - by
@sheremet-vain vitest-dev/vitest#8196 (22f7f)- Remove deprecated coverage options in favor of
vitest/nodeexports - by@sheremet-vain vitest-dev/vitest#8197 (dc848)- Remove deprecated internal helpers and environment exports - by
@sheremet-vain vitest-dev/vitest#8198 (4703c)- Remove deprecated typecheck and runner types - by
@sheremet-vain vitest-dev/vitest#8199 (89a1c)- Remove Node types from the main entry point, use
vitest/nodeinstead - by@sheremet-vain vitest-dev/vitest#8200 (1e60c)- Remove support for Vite 5 - by
@sheremet-vain vitest-dev/vitest#8202 (cb8b0)- Remove deprecated types - by
@sheremet-vain vitest-dev/vitest#8203 (66bee)- Remove deprecated environmentMatchGlobs and poolMatchGlobs - by
@sheremet-vain vitest-dev/vitest#8205 (be11d)- Remove deprecated
workspaceoption in favor ofprojects- by@sheremet-vain vitest-dev/vitest#8218 (76fb7)- Ignore
--standalonewhen CLI filename filter is used - by@AriPerkkioin vitest-dev/vitest#8262 (013bf)- Use module-runner instead of vite-node - by
@sheremet-vaand@AriPerkkioin vitest-dev/vitest#8208 (9be01)- Rewrite spying implementation to make module mocking more intuitive - by
@sheremet-vain vitest-dev/vitest#8363 (9e412)- Remove deprecated APIs - by
@sheremet-vain vitest-dev/vitest#8428 (a1cb9)- Remove
minWorkersand set it automatically to 0 in non watch mode - by@sheremet-vain vitest-dev/vitest#8454 (2c2d1)- Verbose reporter prints tests in a list, introduce
treereporter - by@sheremet-vaand@AriPerkkioin vitest-dev/vitest#8500 (25fd3)- Include shadow root contents in pretty-format output - by
@wkillerudin vitest-dev/vitest#8545 (9e722)- Remove deprecated order from test() API - by
@sheremet-vain vitest-dev/vitest#8594 (4d419)- Rewrite pools without
tinypool- by@AriPerkkioand@sheremet-vain vitest-dev/vitest#8705 (4822d)
... (truncated)
07bc56a
chore: release v4.0.22eedbce
fix(spy): reset spies if both restoreMocks and
mockReset is set in the co...26ce88d
fix(pool): assign envs before running tests to keep in sync with
process.env ...4a28faa
chore: release v4.0.13fae73e
fix(pool): don't teardown the communication channel too soon if
something is ...8100063
fix: move the getBuiltins check (#8765)da7ce17
chore: release v4.0.08e15bc8
perf: create only one fetcher per project (#8762)9f0eccc
fix: base option doesn't crash vitest (#8760)d3ef4f2
perf(pool): resolve all environments first (#8759)This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vitest since your current version.