npm vitest 1.0.0-beta.0
v1.0.0-beta.0

latest releases: 2.1.1, 2.1.0, 2.1.0-beta.7...
11 months ago

   🚨 Breaking Changes

  • Support multiple parallel child_process  -  by @AriPerkkio in #3925 (8b4a4)
    • If you have to disable threads (if you use canvas package, for example), this should improve your speed tremendously.
  • Add support for pool and poolOptions, remove old flags  -  by @AriPerkkio in #4172 (114a9)
    • This removes a lot of configuration options to make it easier to configure the runner to your needs. Please, have a look at migration examples if you rely on --threads or other related flags.
      • --threads is now --pool=threads
      • --no-threads is now --pool=forks
      • --single-thread is now --poolOptions.threads.singleThread
      • --experimental-vm-threads is now --pool=vmThreads
      • --experimental-vm-worker-memory-limit is now --poolOptions.vmThreads.memoryLimit
      • --isolate is now --poolOptions.<pool-name>.isolate and browser.isolate
      • test.maxThreads is now test.poolOptions.<pool-name>.maxThreads
      • test.minThreads is now test.poolOptions.<pool-name>.minThreads
      • test.useAtomics is now test.poolOptions.<pool-name>.useAtomics
      • test.poolMatchGlobs.child_process is now test.poolMatchGlobs.forks
      • test.poolMatchGlobs.experimentalVmThreads is now test.poolMatchGlobs.vmThreads

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

Don't miss a new vitest release

NewReleases is sending notifications on new releases.