Skip to content

0.12.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 18 Feb 10:39
· 1498 commits to main since this release

This release is mostly focused on improving performance and doing some hopefully final breaking changes. We've also started work on an ESLint plugin and editor plugins for AVA, where we could use some help and feedback.

Highlights

  • [breaking] t.doesNotThrow() is renamed to t.notThrows() to be consistent with the other assert methods. t.doesNotThrow() will be removed in AVA 1.0.0. a35d130
  • [maybe breaking] We removed the undocumented t.regexTest() assert method and added t.regex(). t.regexTest() had the wrong argument order. t.regex() follows the same argument order as other assert methods. a10b9e8
  • More performance improvements! (∩`-´)⊃━☆゚.*・。゚ e010816 341c84b 9b0d5f7
  • Add recipe "When to use t.plan()". 39982a5
  • Improve error determination, which fixes some issues with the output when non-errors or errors without a message are thrown. #555
  • Reporter tweaks. e38c56a 308b09e e9cb25d
  • Support NODE_PATH (Please don't use NODE_PATH unless you really have to!) 0675d34

Changes

v0.11.0...v0.12.0