ava breaking changes
Updated December 4, 2026
On this page
Latest version 8.6.0, released November 29, 2026. Source repository
Its 8.0.0 release requires Node.js 22.20 or later. Node.js end of life dates.
- From 7.0.0 to 8.0.0: 9 breaking changes in 1 version.
- From 0.4.0 to 8.0.0: 662 breaking changes in 38 versions.
ava 8.0.0 breaking changes
- Removed
AVA now requires Node.js 22.20, 24.12 or newer. github.com - Removed
extensions
Use the array form of extensions instead of the object form. github.com - Default changed
extensions
The default extensions are now js and mjs. Add cjs to extensions to keep running cjs test files. github.com - Configuration changed
Transpilation must now be handled through Node.js customization hooks rather than AVA's built-in handling. github.com - Configuration changed
AVA internals are now ESM, and all test files are loaded with import(). CommonJS projects must destructure the default export when requiring ava. github.com - Signature changed
FailingFn
Was type FailingFn<Context = unknown> = {<Args extends unknown[]>(title: string, implementation: Implementation<Args, Context>, ...args: Args): void; <Args extends unknown[]>(macro: Macro<Args, Context>, ...args: Args): void; only... npmjs.com - Signature changed
require
CommonJS users must change const test = require('ava') to destructure the default export. github.com - Signature changed
SerialFn
Was type SerialFn<Context = unknown> = {<Args extends unknown[]>(title: string, implementation: Implementation<Args, Context>, ...args: Args): void; <Args extends unknown[]>(macro: Macro<Args, Context>, ...args: Args): void; after... npmjs.com - Signature changed
TestFn
Was type TestFn<Context = unknown> = {<Args extends unknown[]>(title: string, implementation: Implementation<Args, Context>, ...args: Args): void; <Args extends unknown[]>(macro: Macro<Args, Context>, ...args: Args): void; after... npmjs.com
ava 7.0.0 breaking changes
- Removed
Node.js 18 and 23 are no longer supported. Use Node.js 20.19 or newer, 22.20 or newer, or 24.12 or newer. github.com
ava 6.0.0 breaking changes
- Removed
AVA 6 requires Node.js 18.18, 20.8 or 21. Users on Node.js 14 or 16 must upgrade their Node.js version before using this release. github.com - Renamed
ignoredByWatcher
The ignoredByWatcher configuration has moved to the watchMode object, under the ignoreChanges key. github.com - Behavior changed
Worker threads and child processes are no longer exited through process.exit(). Test files that do not exit on their own will now cause the test run to time out. github.com - Behavior changed
assertions
Failed assertions now throw, so subsequent code in the test is not executed. Use t.try() to recover from a failure instead of catching the error. github.com - Signature changed
AssertAssertion
Was type AssertAssertion = {(actual: any, message?: string): boolean; skip(actual: any, message?: string): void;}; now type AssertAssertion = {<T>(actual: T, message?: string): actual is T extends Falsy<T> ? never : T; skip(actual: any... npmjs.com - Signature changed
ErrorConstructor
Was type ErrorConstructor<ErrorType extends Error = Error> = {new (...args: any[]): ErrorType; readonly prototype: ErrorType;}; now type ErrorConstructor<ErrorType extends Error = Error> = {readonly prototype: ErrorType; new (...args... npmjs.com - Signature changed
FailAssertion
Was type FailAssertion = {(message?: string): boolean; skip(message?: string): void;}; now type FailAssertion = {(message?: string): never; skip(message?: string): void;}. npmjs.com - Signature changed
FalsyAssertion
Was type FalsyAssertion = {(actual: any, message?: string): boolean; skip(actual: any, message?: string): void;}; now type FalsyAssertion = {<T>(actual: T, message?: string): actual is Falsy<T>; skip(actual: any, message?: string): void;}. npmjs.com - Signature changed
NotAssertion
Was type NotAssertion = {<Actual, Expected>(actual: Actual, expected: Expected, message?: string): boolean; skip(actual: any, expected: any, message?: string): void;}; now type NotAssertion = {<Actual, Expected>(actual: Actual, expected... npmjs.com - Signature changed
NotDeepEqualAssertion
Was type NotDeepEqualAssertion = {<Actual, Expected>(actual: Actual, expected: Expected, message?: string): boolean; skip(actual: any, expected: any, message?: string): void;}; now type NotDeepEqualAssertion = {<Actual, Expected>(actual... npmjs.com
And 11 more in this version. Sign up to see every change
ava 5.0.0 breaking changes
- Removed
AVA no longer supports Node.js 12; users must run on Node.js 14.19, 16.15 or 18. github.com - Removed
AfterFn.__call
AfterFn.__call was removed in ava 5.0.0 npmjs.com - Removed
AfterFn.always
AfterFn.always was removed in ava 5.0.0 npmjs.com - Removed
AfterFn.skip
AfterFn.skip was removed in ava 5.0.0 npmjs.com - Removed
AlwaysInterface.__call
AlwaysInterface.__call was removed in ava 5.0.0 npmjs.com - Removed
AlwaysInterface.skip
AlwaysInterface.skip was removed in ava 5.0.0 npmjs.com - Removed
AssertAssertion.__call
AssertAssertion.__call was removed in ava 5.0.0 npmjs.com - Removed
AssertAssertion.skip
AssertAssertion.skip was removed in ava 5.0.0 npmjs.com - Removed
BeforeFn.__call
BeforeFn.__call was removed in ava 5.0.0 npmjs.com - Removed
BeforeFn.skip
BeforeFn.skip was removed in ava 5.0.0 npmjs.com
And 109 more in this version. Sign up to see every change
ava 4.0.0 breaking changes
- Removed
Because @ava/babel support was removed, enhanced assertions no longer work. github.com - Removed
Support for the esm package has been removed; use native ES modules instead. github.com - Removed
React element support in snapshots is gone; a plugin interface is planned to provide it. github.com - Removed
AVA 4 requires Node.js 12.22, 14.17, 16.4 or 17 or later; users on Node.js 10 must upgrade their runtime. github.com - Removed
The non-verbose reporter is gone; only the verbose reporter output remains. github.com - Removed
after
after was removed in ava 4.0.0 npmjs.com - Removed
afterEach
afterEach was removed in ava 4.0.0 npmjs.com - Removed
AfterInterface
AfterInterface was removed in ava 4.0.0 npmjs.com - Removed
AlwaysInterface.cb
AlwaysInterface.cb was removed in ava 4.0.0 npmjs.com - Removed
before
before was removed in ava 4.0.0 npmjs.com
And 90 more in this version. Sign up to see every change
ava 3.0.0 breaking changes
- Removed
AVA no longer transpiles test files itself. Install @ava/babel and set babel: true in the configuration to keep using Babel. github.com - Removed
--reset-cache
Run npx ava reset-cache instead of passing --reset-cache. github.com - Removed
ava.stage-4
The stage-4 preset is now available from @ava/babel/stage-4. The old babel preset packages are no longer installed with AVA. github.com - Removed
esm
Older versions of the esm package are no longer supported. github.com - Removed
helpers
The helpers configuration is gone. Make sure the files patterns exclude your helper files. github.com - Removed
sources
Use ignoredByWatcher instead. Negated sources patterns must be written without the negation. github.com - Renamed
ObservableLike
Use Subscribable instead. npmjs.com - Behavior changed
Hook failures now appear as test failures in TAP output. github.com - Behavior changed
Node.js support is limited to 10.18.0, 12.14.0 and 13.5.0 and later. Users on older Node.js versions must upgrade. github.com - Behavior changed
Test files inside a directory whose name starts with a single underscore are no longer selected. Files in fixture or helper directories are also ignored. github.com
And 13 more in this version. Sign up to see every change
Older versions
33 older versions, each with its first changes. Sign up to see every change
Show 33 older versions
ava 2.0.0 breaking changes
- Removed
AVA no longer supports Node.js 6; users must run at least Node.js 8.9.4. github.com - Removed
The Flow type definitions were removed from AVA itself and will be published from a separate repository. github.com
And 35 more in this version.
ava 2.0.0-rc.1 breaking changes
- Behavior changed
util.inspect.defaultOptions.depth
AVA now uses the util.inspect.defaultOptions.depth option when printing objects. github.com
ava 2.0.0-beta.1 breaking changes
- Removed
The Flow type definitions were removed from AVA itself and will be published from a separate repository. github.com - Removed
AVA no longer supports Node.js 6; users must run at least Node.js 8.9.4. github.com
And 5 more in this version.
ava 1.0.1 breaking changes
- Removed
ava 1.0.1 requires Node.js 6.12.3 or later github.com - Removed
--no-cache
The --no-cache flag is replaced by --reset-cache in ava 1.0.1 github.com
And 44 more in this version.
ava 1.0.0-rc.2 breaking changes
- Behavior changed
test
Snapshot files are now named after the original source file via source maps; old snapshots must be removed manually. github.com - Behavior changed
title
When no title is given, macro title functions now receive undefined; code concatenating the title must handle this. github.com
And 1 more in this version.
ava 1.0.0-rc.1 breaking changes
- Behavior changed
t.deepEqual
t.deepEqual() and t.snapshot() now handle BigInt and React.Fragment differently, so existing snapshots must be updated. github.com - Behavior changed
t.snapshot
t.snapshot() output changed for BigInt and React.Fragment, so existing snapshots must be updated. github.com
ava 1.0.0-beta.8 breaking changes
- Behavior changed
Babel 7 support added in ava 1.0.0-beta.8 github.com
ava 1.0.0-beta.7 breaking changes
- Removed
Generator functions can no longer be used as test implementations; use async functions instead. github.com - Removed
t.notThrows
Observables are no longer supported by t.notThrows(); use t.notThrowsAsync() for asynchronous assertions. github.com
And 3 more in this version.
ava 1.0.0-beta.5 breaking changes
- Behavior changed
All reporters write to stdout; worker stdout and stderr is written to process.stderr. github.com - Behavior changed
--no-cache
Use --reset-cache to reset the cache; the cache can still be disabled through the cache configuration option. github.com
And 3 more in this version.
ava 1.0.0-beta.4 breaking changes
- Removed
Use npx ava to run the project's installed AVA version rather than installing it globally. github.com - Removed
@std.esm
Use the plain esm module loader instead of @std/esm. github.com
And 2 more in this version.
ava 1.0.0-beta.2 breaking changes
- Removed
t._test
The private t._test value has been removed. github.com - Behavior changed
process.argv
AVA no longer fills process.argv[2] and process.argv[3] with internal values; user arguments start at process.argv[2]. github.com
And 2 more in this version.
ava 1.0.0-beta.1 breaking changes
- Removed
Only Node.js 4.8.7, 6.12.3, 8.9.4 or newer are supported going forward. github.com - Removed
init
The init configuration option is no longer supported. github.com
And 6 more in this version.
ava 0.25.0 breaking changes
- Behavior changed
Code in test workers that relied on AVA setting Error.stackTraceLimit globally will now see the default value and must set it itself. github.com - Signature changed
TestContext.log
Was log(message: string): void; now log(...values: any[]): void. npmjs.com
ava 0.24.0 breaking changes
- Behavior changed
Before and after hooks are no longer run when every test in a file is skipped. Code relying on those hooks running in that case may need adjusting. github.com
ava 0.23.0 breaking changes
- Behavior changed
When source maps are available, snapshots are written beside the original test file rather than the compiled build output. Existing snapshot files in build directories may no longer be found. github.com - Behavior changed
When running in CI, test concurrency is now limited to 2. Pipelines relying on higher concurrency must configure it explicitly. github.com
And 3 more in this version.
ava 0.22.0 breaking changes
- Behavior changed
test.only
Because of the new worker concurrency, run test.only() tests from just that file until an --only flag exists. github.com - Default changed
AVA no longer starts a worker per test file. Set the concurrency option in package.json or the --concurrency flag to customize it. github.com
ava 0.20.0 breaking changes
- Behavior changed
Snapshots are now written to test-layout-based paths with a second Markdown report file. Users may need to manually remove old snapshot files. github.com - Behavior changed
Snapshots compare values by the same rules as t.deepEqual, with differences for functions, promises, symbols and Arguments objects. Existing snapshots may fail. github.com
And 2 more in this version.
ava 0.19.0 breaking changes
- Removed
ContextualCallbackTestContext
ContextualCallbackTestContext was removed in ava 0.19.0 npmjs.com - Removed
ContextualTestContext
ContextualTestContext was removed in ava 0.19.0 npmjs.com
And 20 more in this version.
ava 0.18.0 breaking changes
- Removed
Node.js 0.10 and 0.12 are no longer supported. Upgrade your Node.js version before using this release. github.com - Removed
--source
The --source flag was removed. Use the package.json configuration instead. github.com
And 64 more in this version.
ava 0.17.0 breaking changes
- Removed
--require
The --require CLI flag is gone. Configure required modules in package.json instead. github.com - Removed
t.doesNotThrow
t.doesNotThrow() has been removed. Use t.notThrows() instead. github.com
And 99 more in this version.
ava 0.16.0 breaking changes
- Removed
CallbackRunner
CallbackRunner was removed in ava 0.16.0 npmjs.com - Removed
ContextualCallbackRunner
ContextualCallbackRunner was removed in ava 0.16.0 npmjs.com
And 40 more in this version.
ava 0.15.0 breaking changes
- Behavior changed
Running AVA without arguments now also picks up test files in __tests__ directories and files ending in .test.js anywhere in the project. Projects with such files outside the test set may see extra tests run. github.com
ava 0.14.0 breaking changes
- Behavior changed
t.deepEqual
Assertions using t.deepEqual (formerly t.same) no longer check that objects have matching constructors. Review tests relying on that check. github.com - Signature changed
AssertContext.notThrows
Was notThrows(value: (() => void) | Promise<{}>, message?: string); now notThrows(value: () => void, message?: string): void notThrows<U>(value: Promise<U>, message?: string): Promise<U>. npmjs.com
And 1 more in this version.
ava 0.13.0 breaking changes
- Behavior changed
Promise rejections that are not Error objects are passed through as-is instead of being wrapped in an error. Code that expects an Error object from a rejection must check for that. github.com - Behavior changed
test.only
Using test.only() in one test file now affects every test file, so tests in other files can be skipped. Remove or adjust stray only() calls if this changes your results. github.com
ava 0.12.0 breaking changes
- Removed
t.regexTest
t.regexTest() was removed because its argument order was wrong; use t.regex(), which takes arguments in the same order as other assert methods. github.com - Renamed
t.doesNotThrow
Use t.notThrows() instead of t.doesNotThrow(); the old name will be removed in AVA 1.0.0. github.com
ava 0.11.0 breaking changes
- Default changed
When running on a CI server the verbose reporter is now the default; users who relied on the previous default output may see different output. github.com
ava 0.10.0 breaking changes
- Behavior changed
The .babelrc files are no longer used when transpiling test files. Users who relied on .babelrc for test transpilation must adjust their setup; configuration is planned to return in a future update. github.com
ava 0.9.0 breaking changes
- Behavior changed
AVA now searches subdirectories at every level for test files, not just the immediate subdirectory, so existing projects may pick up additional test files. github.com - Behavior changed
Files inside directories named fixtures and helpers are no longer treated as test files. github.com
And 2 more in this version.
ava 0.8.0 breaking changes
- Behavior changed
Output written by test files is sent to stderr of the main process rather than stdout. Scripts that read AVA's stdout for test file output may need to change. github.com - Behavior changed
AVA ignores a locally installed Babel and always uses the Babel bundled with AVA. Projects that relied on their own Babel configuration may need to adjust. github.com
ava 0.7.0 breaking changes
- Behavior changed
t.plan
t.plan() is now only an assertion counter. Callback-style tests must call t.end() explicitly. github.com - Behavior changed
test
Synchronous by default and async when returning a promise, observable, or using an async function. Callback-style tests must move to test.cb() and call t.end(). github.com
ava 0.6.0 breaking changes
- Behavior changed
Test file discovery no longer scans the node_modules folder. Tests placed there will no longer run. github.com - Behavior changed
When a test has several failing assertions, the first failure is now reported rather than the last one. Code relying on the previous reported failure may see different output. github.com
ava 0.5.0 breaking changes
- Behavior changed
test
Using test() without a callback is now rejected instead of being accepted. Give every test a callback function. github.com
ava 0.4.0 breaking changes
- Behavior changed
AVA no longer uses the Node require hook to load test files, so code that relied on AVA's require hook behavior may need to change. github.com
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.