Skip to content

build(deps): update dependency ava to v8 (main) - #114

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

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

Conversation

@renovate

@renovate renovate Bot commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ava (source) 6.4.1 → 8.4.0 age adoption passing confidence

Release Notes

avajs/ava (ava)

v8.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: avajs/ava@v8.3.0...v8.4.0

v8.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: avajs/ava@v8.2.0...v8.3.0

v8.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: avajs/ava@v8.1.2...v8.2.0

v8.1.2

Compare Source

This is a patch release to fix some npm metadata.

What's Changed

Full Changelog: avajs/ava@v8.1.1...v8.1.2

v8.1.1

Compare Source

This is a patch release to fix some npm metadata. I've included a wider dependency update, but there's no changed functionality.

What's Changed

Full Changelog: avajs/ava@v8.1.0...v8.1.1

v8.1.0

Compare Source

Code block formatting for string snapshots

This release adds an overload for t.snapshot():

t.snapshot(expected, {formatAsCodeBlock}, message?)

The overload is only accepted when expected is a string. The string is stored verbatim and rendered as a fenced code block in the resulting .snap.md file. Set formatAsCodeBlock to true for a generic code block, or a non-empty language identifier string for syntax highlighting:

test('generates code', t => {
	const code = generate();
	t.snapshot(code, {formatAsCodeBlock: 'js'});
});

The resulting snapshots can only be read with AVA 8.1 or newer, but snapshots that do not contain code blocks are backwards compatible. And existing snapshots can still be read, of course.

Performance improvements

  • ~40% faster for many small test files (startup-bound)
  • ~30% faster for a single file with thousands of tests
  • ~50% faster for many files run concurrently

What's Changed

Full Changelog: avajs/ava@v8.0.2...v8.1.0

v8.0.2

Compare Source

This is a patch release to get CI green again. More goodies are coming.

What's Changed

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

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
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, 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/main-ava-8.x branch 2 times, most recently from 864ab71 to f58ff33 Compare June 2, 2026 00:26
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from f58ff33 to 6b6ed92 Compare July 3, 2026 19:35
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from 6b6ed92 to fdf22d2 Compare July 12, 2026 14:44
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 2 times, most recently from 03cd624 to 3d7ec9f Compare July 24, 2026 22:34
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from 3d7ec9f to fd0e777 Compare July 30, 2026 19:56
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 2 times, most recently from 950b616 to 7da76d5 Compare August 14, 2026 21:52
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from 7da76d5 to db5b37a Compare August 26, 2026 10:08
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from db5b37a to 6e2feff Compare September 3, 2026 00:41
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 2 times, most recently from d33e3ff to a330f4f Compare September 15, 2026 10:13
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 2 times, most recently from cf263e1 to 70c0af0 Compare September 30, 2026 21:29
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from 70c0af0 to 6d3c4ec Compare October 5, 2026 19:49
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 4 times, most recently from 211bdb0 to d965697 Compare October 18, 2026 22:17
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 5 times, most recently from 648049a to 754c391 Compare October 26, 2026 19:31
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch 2 times, most recently from 12303c2 to d26fda4 Compare October 31, 2026 22:48
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from d26fda4 to f62aaf4 Compare November 6, 2026 02:10
@renovate
renovate Bot force-pushed the renovate/main-ava-8.x branch from f62aaf4 to 5d42ee5 Compare November 7, 2026 22:41
@renovate

renovate Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
! Corepack is about to download https://repo.yarnpkg.com/4.17.0/packages/yarnpkg-cli/bin/yarn.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants