# Migration Context: Vitest v3 -> v4 # Generated by Changelogs.us: 2026-11-30T03:04:43.750950+00:00 # Target Version: v4.1.12 # Upgrade Command: N/A # Breaking Changes: 1 # Security Fixes: 0 ## Executive Summary Upgrading Vitest from 3 to 4 involves 9 releases with risk rating High. ## Breaking Changes List: - [vv5.0.0]    ðŸš¨ Breaking Changes - Replace `loupe.inspect` with pretty-format  -  by @hi-ogawa, **Claude Opus 5 (1M context)** and **OpenAI Codex** in https://github.com/vitest-dev/vitest/issues/9609 [(3f802)](https://github.com/vitest-dev/vitest/commit/3f802da4b): ## Instructions for AI Assistant: When migrating user code from Vitest 3 to 4, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv4.1.12 idioms.