@vitest/runner breaking changes
Updated December 4, 2026
On this page
Latest version 4.1.12, released October 15, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@vitest/runner 4.1.10 breaking changes
- Behavior changed
Builtin browser commands now check fs access before running, which may block calls that previously went through. Review browser command usage that touches the filesystem. github.com
@vitest/runner 4.1.4 breaking changes
- Default changed
coverage.reporter
The default text coverage reporter now sets skipFull when an agent is detected, so fully covered files are hidden from its output in that case. github.com
@vitest/runner 4.1.3 breaking changes
- Removed
JestExtendError.context
The context property is no longer included when verbose error reporting is used. Code that reads JestExtendError.context will no longer find it. github.com
@vitest/runner 4.1.1 breaking changes
- Removed
Vitest 4.1.1 no longer supports Vite 8 beta releases, so projects on those betas must upgrade Vite to a supported version. github.com - Removed
VitestRunner._currentTaskStartTime
VitestRunner._currentTaskStartTime was removed in @vitest/runner 4.1.1 npmjs.com - Removed
VitestRunner._currentTaskTimeout
VitestRunner._currentTaskTimeout was removed in @vitest/runner 4.1.1 npmjs.com - Signature changed
FileSpecification.testIds
Was testIds: string[] | undefined; now testIds?: string[] | undefined. npmjs.com - Signature changed
FileSpecification.testLocations
Was testLocations: number[] | undefined; now testLocations?: number[] | undefined. npmjs.com - Signature changed
FileSpecification.testNamePattern
Was testNamePattern: RegExp | undefined; now testNamePattern?: RegExp | undefined. npmjs.com - Signature changed
FileSpecification.testTagsFilter
Was testTagsFilter: string[] | undefined; now testTagsFilter?: string[] | undefined. npmjs.com - Signature changed
TestAttachment.body
Was body?: string | Uint8Array; now body?: string | Uint8Array | undefined. npmjs.com
@vitest/runner 4.1.0 breaking changes
- Removed
File.location.column
File.location.column was removed in @vitest/runner 4.1.0 npmjs.com - Removed
File.location.line
File.location.line was removed in @vitest/runner 4.1.0 npmjs.com - Removed
Suite.location.column
Suite.location.column was removed in @vitest/runner 4.1.0 npmjs.com - Removed
Suite.location.line
Suite.location.line was removed in @vitest/runner 4.1.0 npmjs.com - Removed
SuiteCollector.fixtures
SuiteCollector.fixtures was removed in @vitest/runner 4.1.0 npmjs.com - Removed
SuiteCollector.scoped
SuiteCollector.scoped was removed in @vitest/runner 4.1.0 npmjs.com - Removed
TaskBase.location.column
TaskBase.location.column was removed in @vitest/runner 4.1.0 npmjs.com - Removed
TaskBase.location.line
TaskBase.location.line was removed in @vitest/runner 4.1.0 npmjs.com - Removed
TaskPopulated.location.column
TaskPopulated.location.column was removed in @vitest/runner 4.1.0 npmjs.com - Removed
TaskPopulated.location.line
TaskPopulated.location.line was removed in @vitest/runner 4.1.0 npmjs.com
And 35 more in this version. Sign up to see every change
@vitest/runner 4.1.0-beta.4 breaking changes
- Configuration changed
chai.deepEqual
The deepEqual option is no longer allowed in the chai config because it is not serializable. Remove it from your config. github.com
Older versions
11 older versions, each with its first changes. Sign up to see every change
Show 11 older versions
@vitest/runner 4.1.0-beta.3 breaking changes
- Behavior changed
The default SSR environment runner is now the Vitest server module runner. Code that depended on the previous runner may behave differently. github.com
@vitest/runner 4.0.17 breaking changes
- Signature changed
Fixtures
Was type Fixtures<T extends Record<string, any>, ExtraContext = object> = {[K in keyof T] : Fixture<T, K, ExtraContext & TestContext> | [Fixture<T, K, ExtraContext & TestContext>, FixtureOptions?]}; now type Fixtures<T, ExtraContext =... npmjs.com - Signature changed
TestAPI
Was type TestAPI<ExtraContext = object> = ChainableTestAPI<ExtraContext> & ExtendedAPI<ExtraContext> & Hooks<ExtraContext> & {extend: <T extends Record<string, any> = object>(fixtures: Fixtures<T, ExtraContext>) => TestAPI<{[K in keyof T |... npmjs.com
@vitest/runner 4.0.16 breaking changes
- Default changed
testTimeout
The browser mode default test timeout is set back to 15 seconds. Code that depends on the timeout value used in 4.0.15 may see different timing. github.com
@vitest/runner 4.0.15 breaking changes
- Signature changed
utils:createFileTask
Was function createFileTask(filepath: string, root: string, projectName: string | undefined, pool?: string): File; now function createFileTask(filepath: string, root: string, projectName: string | undefined, pool?: string... npmjs.com
@vitest/runner 4.0.14 breaking changes
- Removed
prepare
The prepare hook is removed and code that relies on it must be changed. github.com - Removed
TestArtifact.annotation
TestArtifact.annotation was removed in @vitest/runner 4.0.14 npmjs.com
And 5 more in this version.
@vitest/runner 4.0.11 breaking changes
- Signature changed
TaskUpdateEvent
Was type TaskUpdateEvent = "test-failed-early" | "suite-failed-early" | "test-prepare" | "test-finished" | "test-retried" | "suite-prepare" | "suite-finished" | "before-hook-start" | "before-hook-end" | "after-hook-start" |... npmjs.com - Signature changed
TestAnnotation.location
Was location?: TestAnnotationLocation; now location?: TestArtifactLocation. npmjs.com
And 1 more in this version.
@vitest/runner 4.0.7 breaking changes
- Behavior changed
Test files are sorted by project by default, which changes the default order in which tests run. github.com
@vitest/runner 4.0.0 breaking changes
- Removed
Custom
Use Test instead. npmjs.com - Removed
CustomAPI
CustomAPI was removed in @vitest/runner 4.0.0 npmjs.com
And 20 more in this version.
@vitest/runner 4.0.0-beta.19 breaking changes
- Behavior changed
The release rewrites the test pools without the tinypool dependency and marks this as a breaking change. Code or configuration that depends on the previous pool behavior may need to be updated. github.com
@vitest/runner 4.0.0-beta.5 breaking changes
- Behavior changed
test
If no function is passed to test or describe, the test is now set to todo mode instead of behaving as before. github.com
@vitest/runner 4.0.0-beta.1 breaking changes
- Removed
The deprecated typecheck and runner types were removed in this beta. Code that imports them must stop using them. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.