Vitest 2 #5210
Replies: 4 comments 7 replies
-
Can we have a rough idea of when the Beta will start? It's not really obvious when v2 is expected and also if I understand correctly you guys will not follow Vite's version roadmap, is that right? |
Beta Was this translation helpful? Give feedback.
-
How about an improved experimental browser mode in v2 with access to Playwright APIs like simulating keyboard events, taking screenshots, etc? |
Beta Was this translation helpful? Give feedback.
-
The beta has been released for some time now: https://github.com/vitest-dev/vitest/releases The current idea is to release Vitest 2.0 in June. |
Beta Was this translation helpful? Give feedback.
-
Vitest 2.0 is out! https://github.com/vitest-dev/vitest/releases/tag/v2.0.0 |
Beta Was this translation helpful? Give feedback.
-
We wanted to start gathering feedback from users for the next major version.
Feel free to bring back proposals if you want to expand on them. If possible, create an issue for your feature and link it to this discussion so we can better track the proposal.
Timeline
We did not follow any patterns for releases before. We usually try to have a breaking change release when we feel that enough time has passed since the last big breaking change and we are sure it won't disturb the ecosystem too much. We now also have an ecosystem-ci to see if other projects are ready for the release.
We will have a 1-2 month beta period before releasing a new major version. You can follow the state of PRs and issues for the next major here: https://github.com/vitest-dev/vitest/milestone/15
Initial thoughts
We are planning to change the default pool form
threads
toforks
:pool
to'forks'
#5047This means that the test will spawn
child_processes
by default instead ofnew Worker
. This should bring more stability with a slight performance cost.Vitest 2 will also switch to chai 5 which is now bundled as ESM:
Beta Was this translation helpful? Give feedback.
All reactions