Releases: avajs/ava
v5.1.1
What's Changed
- Fix de-registration of shared workers to ensure AVA exits correctly, by @codetheweb in #3149 & #3151
Full Changelog: v5.1.0...v5.1.1
v5.1.0
What's Changed
- Output logs for tests that remain pending when AVA exits by @kevo1ution in #3125
- Check for --config file extensions after they fail to load, allowing custom loaders by @panva in #3135
New Contributors
- @kevo1ution made their first contribution in #3125
- @panva made their first contribution in #3135
Full Changelog: v5.0.1...v5.1.0
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
v5.0.0
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.
It's available as a pre-release under the next
tag for the next few weeks:
npm install --save-dev ava@next
Breaking Changes
- AVA now requires Node.js 14.19, 16.15 or 18. #3043
- Type definition distribution is no longer compatible with TypeScript versions before 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
New Contributors
- @Prinzhorn made their first contribution in #3073
- @catink123 made their first contribution in #3095
Full Changelog: v4.3.3...v5.0.0
v4.3.3
Add compatibility with Node.js 18.8, thanks @Brooooooklyn #3091.
Full Changelog: v4.3.1...v4.3.3
v4.3.1
What's Changed
- When translating line numbers, check whether the source map entry has original values in #3061
- Report error when parsing for line number selection in #3062
New Contributors
- @ericcornelissen made their first contribution in #3048
- @AlencarGabriel made their first contribution in #3051
- @binyamin made their first contribution in #3028
Full Changelog: v4.3.0...v4.3.1
v4.3.0
What's Changed
- We're now shipping type definitions compatible with TypeScript 4.7, by @RebeccaStevens in #3024
throws
andthrowsAsync
assertions now take a function to test error messages, by @il3ven in #2995- Test failure summaries no longer duplicate
t.log()
messages, by @il3ven in #3013 - The number of timed-out tests is printed at the end of a run, by @il3ven in #3021
- We've documented how to load multiple instances of the same "shared" worker, by @codetheweb in #3009
- Links to translated documentation have been updated, by @forresst in #3037
- Node.js 17 has been removed from the test matrix, and Node.js 18 added in #3039
Full Changelog: v4.2.0...v4.3.0
v4.2.0
What's Changed
- Update Babel recipe for AVA 4 by @il3ven in #3000
- Document how GitHub Actions can be configured for parallel builds by @codetheweb in #3007
- Allow parallel builds to be disabled by @il3ven in #3001
- Improve typing of teardown methods by @novemberborn in #3003
New Contributors
- @mefengl made their first contribution in #2999
- @il3ven made their first contribution in #3000
- @codetheweb made their first contribution in #3007
Full Changelog: v4.1.0...v4.2.0
v4.1.0
New features
- Allow customized sorting of test files prior to execution using
sortTestFiles()
inava.config.js
files by @erezrokah in #2968 - Warn when unsupported
ava.config.json
files are encountered by @razor-x in #2962 - Loosen type constraints for
deepEqual
assertion by @RebeccaStevens in #2969
Fixes
ava --version
works again by @novemberborn in #2961
New Contributors
- @sikrinick made their first contribution in #2958
- @scottdotjs made their first contribution in #2954
- @gibson042 made their first contribution in #2975
- @erezrokah made their first contribution in #2968
- @razor-x made their first contribution in #2962
- @RebeccaStevens made their first contribution in #2969
Full Changelog: v4.0.1...v4.1.0
v4.0.1
What's Changed
- Fix encoding of large snapshot data by @novemberborn in #2936
Full Changelog: v4.0.0...v4.0.1