note: la synthèse et les notes de version sont en anglais
note: pas de synthèse pour cette release plus ancienne
Nous synthétisons les releases récentes. Les notes de version originales de cette version sont ci-dessous.
release-notesgithub.com/vitest-dev/vitest · 46 lignes
- ### 🚨 Breaking Changes
- - Separate config resolution from the server creation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10554 [<samp>(1c0ec)</samp>](https://github.com/vitest-dev/vitest/commit/1c0ec3444)
- ### 🚀 Features
- - Add toggable `injectCjsGlobals` option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10709 [<samp>(82671)</samp>](https://github.com/vitest-dev/vitest/commit/826714ece)
- - Promote fsModuleCache to a top-level option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10734 [<samp>(78ed7)</samp>](https://github.com/vitest-dev/vitest/commit/78ed73afd)
- - Support non-ascii characters in `for/each` title placeholders - by @k-yle in https://github.com/vitest-dev/vitest/issues/10773 [<samp>(15e0a)</samp>](https://github.com/vitest-dev/vitest/commit/15e0af953)
- - **benchmark**: Add pluggable benchmark provider API - by @GuillaumeLagrange and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10799 [<samp>(86c70)</samp>](https://github.com/vitest-dev/vitest/commit/86c700ed8)
- ### 🐞 Bug Fixes
- - Disable server HMR before plugins read it in their config hook - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10731 [<samp>(e060b)</samp>](https://github.com/vitest-dev/vitest/commit/e060b8fa9)
- - Close the pool before the Vite servers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10725 [<samp>(96fa6)</samp>](https://github.com/vitest-dev/vitest/commit/96fa6d73d)
- - Remove listeners in the typecheck worker's `off` - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10741 [<samp>(d758b)</samp>](https://github.com/vitest-dev/vitest/commit/d758b4755)
- - Keep per-file isolation in vm pools when maxWorkers is 1 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10743 [<samp>(83ab9)</samp>](https://github.com/vitest-dev/vitest/commit/83ab9a44f)
- - Node.js 20 deprecation warning for `ci.yml` - by @hirehamir in https://github.com/vitest-dev/vitest/issues/10759 [<samp>(2127f)</samp>](https://github.com/vitest-dev/vitest/commit/2127fa6ce)
- - Prevent node builtins double prefix - by @malobre in https://github.com/vitest-dev/vitest/issues/10630 and https://github.com/vitest-dev/vitest/issues/10767 [<samp>(22d35)</samp>](https://github.com/vitest-dev/vitest/commit/22d353a80)
- - Set non-zero exit code when teardown throws during close - by @zakcutner and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10794 [<samp>(22116)</samp>](https://github.com/vitest-dev/vitest/commit/22116feb7)
- - Don't race the typechecker spawn grace period on windows - by @xevrion in https://github.com/vitest-dev/vitest/issues/10814 [<samp>(b19e5)</samp>](https://github.com/vitest-dev/vitest/commit/b19e5ece9)
- - **browser**:
- - Preserve pre-transform request defaults - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10748 [<samp>(b6060)</samp>](https://github.com/vitest-dev/vitest/commit/b60605ca7)
- - Fix error stacktrace location off-by-one - by @hi-ogawa, **Hiroshi Ogawa** and **OpenCode** in https://github.com/vitest-dev/vitest/issues/10724 [<samp>(62b8d)</samp>](https://github.com/vitest-dev/vitest/commit/62b8d3b36)
- - Inlined awaited import should not trigger syntax error after transform - by @smeng9, **Shaoyu Meng** and **Claude Opus 4.8 (1M context)** in https://github.com/vitest-dev/vitest/issues/10784 [<samp>(51acd)</samp>](https://github.com/vitest-dev/vitest/commit/51acd5778)
- - Mock window.print to avoid hanging - by @aaravjaichand in https://github.com/vitest-dev/vitest/issues/7375 and https://github.com/vitest-dev/vitest/issues/10798 [<samp>(66d95)</samp>](https://github.com/vitest-dev/vitest/commit/66d95af84)
- - **pool**:
- - Vm pools to respect cgroupsv2 memory limit - by @milas in https://github.com/vitest-dev/vitest/issues/10721 [<samp>(3923c)</samp>](https://github.com/vitest-dev/vitest/commit/3923cab3d)
- ### 🏎 Performance
- - Serve warm modules to workers in one round-trip, enable the node compile cache - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10708 [<samp>(b144a)</samp>](https://github.com/vitest-dev/vitest/commit/b144ab56e)
- - Make the Node compile cache opt-in, persist worker caches on teardown - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10742 [<samp>(941bc)</samp>](https://github.com/vitest-dev/vitest/commit/941bc8361)
- - Reuse compiled code across vm pool contexts and prewarm the module graph - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10744 [<samp>(d8b04)</samp>](https://github.com/vitest-dev/vitest/commit/d8b040c63)
- - Bundle vitest's own dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10685 [<samp>(c0508)</samp>](https://github.com/vitest-dev/vitest/commit/c050842b6)
- - **browser**:
- - Open browser sessions adaptively instead of maxWorkers upfront - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10726 [<samp>(6db8d)</samp>](https://github.com/vitest-dev/vitest/commit/6db8de2e2)
- - Cut per-file round trips - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10730 [<samp>(3feef)</samp>](https://github.com/vitest-dev/vitest/commit/3feefd9e2)
- - Stop serving framework sourcemaps in headless runs - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10728 [<samp>(6aefb)</samp>](https://github.com/vitest-dev/vitest/commit/6aefb3d91)
- - Prewarm the browser while the Vite server starts - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10727 [<samp>(c1767)</samp>](https://github.com/vitest-dev/vitest/commit/c17677a83)
- - Pre-bundle the vitest runtime in optimizeDeps - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10713 [<samp>(de631)</samp>](https://github.com/vitest-dev/vitest/commit/de63174f5)
- - **coverage**:
- - Speed up v8 report generation (bounded-memory merge + precompiled globs) - by @toxik, **Claude Opus 4.8 (1M context)** and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10506 [<samp>(b05e5)</samp>](https://github.com/vitest-dev/vitest/commit/b05e5d634)
- - Reduce RPC data and unnecessary serializations - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10781 [<samp>(7e7e3)</samp>](https://github.com/vitest-dev/vitest/commit/7e7e35cb4)
- ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.0.0-beta.6...v5.0.0-beta.7)