v0.34.2
🚀 Features
- Allow importing CSS and assets inside external dependencies when using
--experimental-vm-threads
- by @sheremet-va in #3880 (f4e6e) - vitest: Allow calling
ctx.skip()
inside the running test - by @sheremet-va in #3966 (5c88d)
🐞 Bug Fixes
- Don't bundle utils' source-map entry - by @sheremet-va in #3865 (a08e5)
- Reduce the memory consumption when running --experimental-vm-threads - by @sheremet-va in #3872 (d1a08)
- Indicator position of error message - by @fenghan34 in #3855 (3e1e7)
- Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules - by @sheremet-va in #3876 (0c53e)
- Don't crash if total memory is not supported - by @sheremet-va in #3879 (7d1f8)
- Check memory and limit value - by @sheremet-va (f8dfb)
- Update module warning as it is moved into server config - by @jellyfishgh in #3931 (3a3eb)
- Define process variable and using import.meta.env together did not work - by @Dunqing in #3944 (e73ca)
- Correctly resolve config in a workspace - by @sheremet-va in #3947 (1c08d)
- Don't crash when calling useFakeTimers in VM pool - by @sheremet-va in #3958 (91fe4)
- Restrict access to file system via API - by @sheremet-va in #3956 (bcb41)
- Typo of mocks plugin name - by @antfu (3073b)
- Build not generated
execute.d.ts
- by @btea in #3970 (0f8e6) - css:
- Don't mock css-module if
?inline
query is specified - by @thebanjomatic and Adam Hines in #3952 (3891d)
- Don't mock css-module if
- expect:
- Correctly show async matcher diff - by @sheremet-va in #3960 (9423b)
- snapshots:
- Update inline snapshot correctly - by @fenghan34 in #3887 (7b740)
- ui:
- vitest:
- Use esm module resolution to resolve env - by @danielroe in #3951 (edb32)
- Allow rewriting process.env.NODE_MODE when using web transform mode - by @sheremet-va in #3957 (eca4b)
- Only consider cwd when using glob - by @g-plane in #3802 and #3949 (15b4f)
- Pass environmentOptions to happy-dom integration - by @sheremet-va and Raul de Melo in #3972 (6a0cb)
- web:
- Correctly resolve assets in new URL - by @sheremet-va in #3950 (a428f)
🏎 Performance
- dot-renderer: Speed up getTests - by @gtm-nayan in #3923 (e9404)