Releases: avajs/ava
v7.0.0
What's Changed
- Replace
strip-ansiwithnode:util.stripVTControlCharactersby @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
globby @novemberborn in #3416
Full Changelog: v6.4.1...v7.0.0
v6.4.1
v6.4.0
What's Changed
- AVA is now tested with Node.js 24 (but no longer v23) #3379
- We're now publishing to npm with provenance attestations #3385
Interactive watch mode filters
@mmulet did fantastic work to spearhead interactive watch mode filters. You can now filter test files by glob patterns, and tests by matching their titles. It's just like you already could from the CLI itself, but now without exiting AVA 🚀 #3372
As part of this work we've removed the "sticky" .only() behavior #3381
Examples
We've been remiss in merging #3335 which updates the examples to use AVA 6. It's done now, examples are up to date and it's all due to @tommy-mitchell 👏
New Contributors
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
- Update dependencies, addressing
npm auditwarnings by @novemberborn in #3377 - Do not count writes to stdout/stderr as non-idling activity for timeouts by @mdouglass in #3374
New Contributors
- @mdouglass made their first contribution in #3374
Full Changelog: v6.2.0...v6.3.0
v6.2.0
What's Changed
- Add
filterNodeArgumentsForWorkerThreadsoption in #3336 - Add Node.js 23 to supported engines (and test matrix) in #3346
New Contributors
- @thoughtsunificator made their first contribution in #3345
Full Changelog: v6.1.3...v6.2.0
v6.1.3
What's Changed
- Include Node.js 22 in supported engines and test matrix by @lenovouser in #3328
- Add VS Code debugging instructions for Yarn PnP projects by @bitjson in #3317
- Document
serialconfiguration option by @turadg in #3321
New Contributors
- @bitjson made their first contribution in #3317
- @turadg made their first contribution in #3321
- @lenovouser made their first contribution in #3328
Full Changelog: v6.1.2...v6.1.3
v6.1.2
What's Changed
- Fix throws assertions rejecting falsy values when
any: trueby @gibson042 in #3313
Full Changelog: v6.1.1...v6.1.2
v6.1.1
What's Changed
- Fix 'previous failures' in watch mode always incrementing by @novemberborn in #3297
Full Changelog: v6.1.0...v6.1.1
v6.1.0
What's Changed
-
Implement
registerCompletionHandler()by @novemberborn in #3283AVA 6 expects test code to clean up gracefully when the tests are complete, allowing the test environment (worker thread or child process) to exit. If this does not happen, AVA will report a timeout. You can use
registerCompletionHandler()to perform any other clean up (or indeed exit the process) after AVA has completed the test execution. See the description here. -
Fix potential bug with watch mode when no failed test files are written by @novemberborn in #3287
-
Fix
ava/internalESM type module by @codetheweb in #3292
Full Changelog: v6.0.1...v6.1.0
v6.0.1
What's Changed
- Ensure watch mode works outside of its integration tests by @novemberborn in #3273
Full Changelog: v6.0.0...v6.0.1