Packages

ava

8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed

Upgrading ava From 1.0.0 to 1.4.1

8 releases in betweennotes for 6

Other targets from 1.0.0Latest8.4.0
17+
changes to make
0
advisories fixed
30+
new
5+
fixes

Counted from 6 of 8 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1
  • Breaking1.0.1

Release by release

  1. 1.4.1

    27 Mar 20192 fixes
    • Fixed

      Filtered tests (when using --match, .skip() or .only()) are no longer included in the list of pending tests when timeouts occur or when you interrupt a test run. Thanks @vancouverwill! 23e302a8dc35d03ba82916bd6591822a28d499d1

    • Fixed

      We're now shimming all TTY methods in the worker processes, thanks to @okyantoro. c1f6fdfed61c99c1144cff56b58d113810c630c8

  2. 1.4.0no release note

  3. 1.3.1

    5 Mar 20193 fixes
    • Fixed

      We've fixed a rather embarrasing bug with t.throws() and t.throwsAsync(). If you'd set a code expectation to a number we never actually checked that the thrown error had such a code! Thanks to @qlonik for both spotting and fixing this. 82daa5e373ef0587693927acc63ce5590e8d8eb2

    • Fixed

      1.2.0 contained a regression which meant that if you faked clearTimeout(), you'd break AVA. That's now been fixed. 40f331c27e70690e724f9ddc893fed0556058987

    • Fixed

      Snapshot files are now recognized as source files, so if you're using watch mode and you delete one, AVA won't rerun all your test files. d066f6fbc06ab2fa2d391ff373f5f09b2585b900

  4. 1.2.1 – 1.3.02 releases, nothing new or fixed; 1 without a note

  5. 1.2.0

    27 Jan 20193 new
    • New

      We're no longer truncating multi-line error messages 72e0762d9accb937b7b32f9151fe4088d194c710

    • New

      Unexpected errors in the throws assertions are now reported with the correct stack trace ad087f250fe22878ab40f7855a079cf005818464

    • New

      The Debugging with VSCode recipe has been updated with the correct workspaceFolder variable 0a5fe429ca37c025a15c5af919827436cc413abc and --serial argument placement edfc0055fea4fc204ac98c391baaa2ad60b41079

  6. 1.1.0

    13 Jan 20194 new
    • New

      t.log() now works in hooks d1877122cea7ce54455d9dcc2bca046612dbd628

    • New

      Error output for improper usage of t.throws() once again links to the correct documentation dc552bcb57181d9b6d9c39711013f9813ddc2c51

    • New

      We've added a section on webpack aliases to the Babel recipe c3bcbf2a568c12017fe0da041dc247a226019001

    • New

      We've updated the Vue recipe for Babel 7, and added a section on webpack aliases c3bcbf2a568c12017fe0da041dc247a226019001

  7. 1.0.1

    Migration needed15 Dec 201823 new
    • Breaking

      .serial must be used at the beginning, e.g. test.serial().

    • Breaking

      .only and .skip must be used at the end, e.g. test.skip(). You cannot combine them.

    • Breaking

      .failing must be used at the end, but can be followed by .only and .skip, e.g. test.cb.failing() and test.cb.failing.only().

    • Breaking

      .always can only be used after .after and .afterEach, e.g. test.after.always().

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.