Skip to content

Update dependency ava to v8 - #680

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ava-8.x
Open

Update dependency ava to v8#680
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ava-8.x

Conversation

@renovate

@renovate renovate Bot commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ava (source) 6.4.18.0.1 age confidence

Release Notes

avajs/ava (ava)

v8.0.1

Compare Source

What's Changed

This release officially adds Node.js 26 support, with thanks to @​novemberborn in #​3450.

Per our policy, support for Node.js 25 has been removed.

Full Changelog: avajs/ava@v8.0.0...v8.0.1

v8.0.0

Compare Source

Breaking Changes

AVA now expects Node.js 22.20, 24.12 or newer.

Internally AVA is now fully ESM. This is possible now that Node.js supports loading ES modules using require() calls and simplifies AVA's types and internals.

If you use AVA from a CommonJS project you'll have to update your imports:

-const test = require('ava');
+const {default: test} = require('ava');

We expect an increasing number of projects to be ESM only. As per the above, CommonJS is still supported, but we don't expect cjs extensions to be used. The default file extensions are now js and mjs. Specify extensions: ['cjs', 'js', 'mjs'] for AVA to run test files with the cjs extension.

All test files (and those loaded through AVA's require config) are now loaded via import(). Use customization hooks for transpilation. The object form of the extensions configuration is no longer supported.

If you use AVA with @​ava/typescript you must upgrade that package to v7.

New Features

There's two new test modifiers courtesy of @​sindresorhus: test.skipIf() to skip a test based on a runtime condition. test.runIf() is the inverse: the test only runs when the condition is true.

test.skipIf(process.platform === 'win32')('not on Windows', t => {
	t.pass();
});

test.runIf(process.platform === 'linux')('Linux only', t => {
	t.pass();
});

These work with other modifiers like .serial and .failing:

test.serial.skipIf(process.platform === 'win32')('serial, not on Windows', t => {
	t.pass();
});

test.failing.skipIf(process.platform === 'win32')('expected failure, not on Windows', t => {
	t.fail();
});

Other Changes

  • Watch mode now ignores changes to *.tsbuildinfo files
  • TAP reporter is more defensive when restoring the original error name, thanks to @​ninper00 in #​3415
  • Reported errors when throwsAsync/notThrowsAsync are not awaited have been improved by @​sindresorhus in #​3436

New Contributors

Full Changelog: avajs/ava@v7.0.0...v8.0.0

v7.0.0

Compare Source

What's Changed

  • Replace strip-ansi with node:util.stripVTControlCharacters by @​fisker in #​3403
  • Remove support for Node.js 18 and 23; require 20.19 or newer, 22.20 or newer or 24,12 or newer; update dependencies including transitive glob by @​novemberborn in #​3416

Full Changelog: avajs/ava@v6.4.1...v7.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 4 times, most recently from b7c377a to ece9d16 Compare May 7, 2026 04:55
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 7 times, most recently from fc6ed30 to 94a38b8 Compare May 13, 2026 05:13
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 5 times, most recently from fb7a92b to 764b949 Compare May 18, 2026 20:51
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 5 times, most recently from a202c19 to 52dfd5d Compare May 31, 2026 05:39
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 4 times, most recently from 8a5d554 to 9c23e81 Compare June 8, 2026 05:33
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 3 times, most recently from ba031d5 to 792909a Compare June 15, 2026 04:30
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch from 792909a to bad0773 Compare June 19, 2026 10:04
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 4 times, most recently from 39d54d4 to f0e92f4 Compare June 27, 2026 05:55
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 2 times, most recently from ccebfe6 to 461c8c9 Compare July 6, 2026 06:39
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 4 times, most recently from b71ab47 to 3d886d6 Compare July 15, 2026 05:07
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 5 times, most recently from b24121f to b5f235d Compare July 23, 2026 04:35
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch 4 times, most recently from d5e10b5 to 699f22b Compare July 30, 2026 19:53
@renovate
renovate Bot force-pushed the renovate/ava-8.x branch from 699f22b to a91fc0e Compare August 1, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants