v5.0.1
Despite the major version bump this is a relatively minor release. Node.js 12 is no longer supported. The type definitions are now distributed to be compatible with TypeScript 4.7 or newer.
npm install --save-dev ava
Breaking Changes
- AVA now requires Node.js 14.19, 16.15 or 18. #3043
- Type definition distribution assumes at least TypeScript 4.7. #3041
- We're now exporting types rather than interfaces. #3096
Improvements
- Detect
process.exit()
called from tests by @gibson042 in #3080 - Improve test result accessibility by @gibson042 in #3082
- Parse for line numbers with latest supported ECMA version by @novemberborn in #3063
- Work around
os.cpus()
returning an empty array on unsupported platforms by @catink123 in #3095 - Count timeouts separately from the timed out tests by @novemberborn in #3099
- Cap idle timeouts to the maximum possible value by @creestor in #3100
New Contributors
- @Prinzhorn made their first contribution in #3073
- @catink123 made their first contribution in #3095
- @creestor made their first contribution in #3100
- @DavidVujic made their first contribution in #3109
Full Changelog: v4.3.3...v5.0.1