# Migration Context: Vitest v0.34 -> v1
# Generated by Changelogs.us: 2026-11-30T03:04:43.669502+00:00
# Target Version: v1.6.1
# Upgrade Command: N/A
# Breaking Changes: 6
# Security Fixes: 0
## Executive Summary
Upgrading Vitest from 0.34 to 1 involves 41 releases with risk rating High.
## Breaking Changes List:
- [vv1.0.0] 🚨 Breaking Changes - Add support for `pool` and `poolOptions`, remove old flags - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4172 [(114a9)](https://github.com/vitest-dev/vitest/commit/114a993c):
- [vv2.0.0] 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **@hi-ogawa** in https://github.com/vitest-dev/vitest/pull/4784 [(a0c1d37)](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6):
- [vv2.1.0] Potential Breaking Change - **workspace**::
- [vv2.1.7] - This introduced some breaking changes (https://github.com/vitest-dev/vitest/issues/6992). We will enable support for it later. In the meantime, you can still use `pnpm.overrides` or yarn resolutions to override the `vite` version in the `vitest` package - the APIs are compatible.:
- [vv3.0.0] Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0).:
- [vv3.0.0] 🚨 Breaking Changes - `spy.mockReset` changes - by @Lordfirespeed in https://github.com/vitest-dev/vitest/issues/6426 [(db7a8)](https://github.com/vitest-dev/vitest/commit/db7a8888):
## Instructions for AI Assistant:
When migrating user code from Vitest 0.34 to 1, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv1.6.1 idioms.