Packages

ava

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

Your version

112 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 8.x · latest line
  2. 8.4.0

    7 Nov 2026

    Summary· from the note as AI read it

    Nothing to change: 2 new, 1 fixed.

  3. 8.3.0

    31 Oct 2026

    Summary· from the note as AI read it

    Nothing to change: 0 new, 3 fixed.

  4. 8.2.0

    27 Oct 2026

    Summary· from the note as AI read it

    Nothing to change: 0 new, 5 fixed.

  5. 8.1.2

    23 Oct 2026
    • Switch back to long-hand form for the package.json repository field

  6. 8.1.1

    22 Oct 2026

    This is a patch release to fix some npm metadata. I've included a wider dependency update, but there's no changed functionality.

  7. 8.1.0

    18 Oct 2026
    • ~40% faster for many small test files (startup-bound)

    • ~30% faster for a single file with thousands of tests

    • ~50% faster for many files run concurrently

  8. 8.0.2

    15 Oct 2026
    • Correct link to CODE_OF_CONDUCT.md in CONTRIBUTING.md

    • Upgrade @ava/test to 8.0.1; upgrade tap; refresh reporter logs; snapshot Node.js 26 external assertions

    • Update tooling, dependencies, formatting and CI workflows

  9. 8.0.1

    17 May 2026

    This release officially adds Node.js 26 support, with thanks to @novemberborn in #3450.

  10. 8.0.0

    27 Apr 2026
    • Watch mode now ignores changes to *.tsbuildinfo files

    • TAP reporter is more defensive when restoring the original error name, thanks to @ninper00

    • Reported errors when throwsAsync/notThrowsAsync are not awaited have been improved

  11. 7.x
  12. 7.0.0

    27 Feb 2026
    • Removed

      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 glob

    • Replace strip-ansi with node:util.stripVTControlCharacters

  13. 6.x
  14. 6.4.1

    12 Jul 2025
    • Keep test worker alive until explicitly freed

  15. 6.4.0

    7 Jun 2025
  16. 6.3.0

    2 May 2025
    • Do not count writes to stdout/stderr as non-idling activity for timeouts

  17. 6.2.0

    27 Oct 2024
    • Add filterNodeArgumentsForWorkerThreads option

    • Add Node.js 23 to supported engines (and test matrix)

  18. 6.1.3

    5 May 2024
    • Include Node.js 22 in supported engines and test matrix

    • Add VS Code debugging instructions for Yarn PnP projects

    • Document serial configuration option

  19. 6.1.2

    28 Feb 2024
    • Fix throws assertions rejecting falsy values when any: true

  20. 6.1.1

    29 Jan 2024
    • Fix 'previous failures' in watch mode always incrementing

  21. 6.1.0

    21 Jan 2024
    • Implement registerCompletionHandler()

      AVA 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

    • Fix ava/internal ESM type module

  22. 6.0.1

    6 Dec 2023

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  23. 6.0.0

    4 Dec 2023
    • Breaking

      AVA now requires Node.js versions 18.18, 20.8 or 21. Versions 14 and 16 are no longer supported. #3251 #3216

    • Breaking

      When tests finish, worker threads or child processes are no longer exited through proces.exit(). If your test file does not exit on its own, the test run will time out. #3260

    • Breaking

      Changes to watch mode #3218:

  24. 5.x
  25. 5.3.1

    16 Jun 2023
    • Update t.like() to support Symbol keys and ignore non-enumerable properties

    • Fix circular selector detection in t.like()

  26. 5.3.0

    25 May 2023
    • Support arrays in t.like() assertions

    • Recognize typical assertion errors (expect and assert) and use their formatting

  27. 5.2.0

    6 Feb 2023
    • Infer thrown error from expectations

  28. 5.1.1

    15 Jan 2023
  29. 5.1.0

    14 Nov 2022
    • Output logs for tests that remain pending when AVA exits

    • Check for --config file extensions after they fail to load, allowing custom loaders

  30. 5.0.1

    25 Sep 2022
    • Breaking

      AVA now requires Node.js 14.19, 16.15 or 18. #3043

    • Breaking

      Type definition distribution assumes at least TypeScript 4.7. #3041

    • Breaking

      We're now exporting types rather than interfaces. #3096

  31. 5.0.0

    4 Sep 2022
    • Breaking

      AVA now requires Node.js 14.19, 16.15 or 18. #3043

    • Breaking

      Type definition distribution is no longer compatible with TypeScript versions before 4.7. #3041

    • Breaking

      We're now exporting types rather than interfaces. #3096

  32. 4.x
  33. 4.3.3

    25 Aug 2022

    Add compatibility with Node.js 18.8, thanks @Brooooooklyn #3091.

  34. 4.3.2

    25 Aug 2022
  35. 4.3.1

    10 Jul 2022
    • When translating line numbers, check whether the source map entry has original values

    • Report error when parsing for line number selection

  36. 4.3.0

    2 Jun 2022
    • We're now shipping type definitions compatible with TypeScript 4.7,

    • throws and throwsAsync assertions now take a function to test error messages,

    • Test failure summaries no longer duplicate t.log() messages,

  37. 4.2.0

    10 Apr 2022
    • Update Babel recipe for AVA 4

    • Document how GitHub Actions can be configured for parallel builds

    • Allow parallel builds to be disabled

  38. 4.1.0

    6 Mar 2022
    • Allow customized sorting of test files prior to execution using sortTestFiles() in ava.config.js files

    • Warn when unsupported ava.config.json files are encountered

    • Loosen type constraints for deepEqual assertion

  39. 4.0.1

    8 Jan 2022
    • Fix encoding of large snapshot data

  40. 4.0.0

    3 Jan 2022
    • Breaking

      Support for @ava/babel has been removed. We haven’t seen enough contributions to that package to recommend it for AVA 4. We’d be open to reinstating it in the future (just as we’d be open to support any other compilation provider).

    • Breaking

      As a consequence, “enhanced assertions” are no longer available.

    • Breaking

      AVA 4 requires avajs/typescript@1.1 or newer.

  41. 3.x
  42. 3.15.0

    1 Jan 2021

    When you stop using snapshots in a test file, the next time you run ava --update-snapshots we'll remove the left-over snapshot files. Thanks @ninevra! 4f093ab

  43. 3.14.0

    7 Dec 2020

    With this release, snapshot files are now ordered based on test declaration, not completion. This makes it easier to compare the human-readable reports to your test file, and also stops the .snap from changing when the reports themselves don't. You'll want to rebuild snapshots after upgrading to this release to isolate any changes. Thanks @ninevra! e66b54c

  44. 3.13.0

    27 Sep 2020
    • t.passed can now be used in tests and teardown functions. Thanks @tymfear! 900dc6d

    • In AVA 4, you'll no longer be able to pass null as the expectation for t.throws() & t.throwsAsync(). You can opt in to this early by enabling the disableNullExpectations experiment. Thanks @JSimoni42! f328a69

    • The Enzyme recipe has been updated. Thanks @jonathansamines! db5d2c3

  45. 3.12.1

    24 Aug 2020

    Normally, AVA loads all files as CommonJS, except for mjs files and if you've configured "type": "module" in your package.json.

  46. 3.12.0

    23 Aug 2020
  47. 3.11.1

    3 Aug 2020

    This release fixes corrupted output of the default reporter when test or program code writes to standard out. 5ddc9fd

  48. 3.11.0

    27 Jul 2020

    In the following example, the map property of value must be deeply equal to that of selector. However nested.qux is ignored, because it's not in selector.

  49. 3.10.1

    7 Jul 2020

    When executing a subset of tests, through --match or or .only() or .skip(), you can no longer also update snapshots. This prevents you from accidentally deleting snapshots. Thank you @bunysae for putting this together. f72fab4

  50. 3.10.0

    5 Jul 2020
  51. 3.9.0

    14 Jun 2020

    In the following example, the map property of value must be deeply equal to that of selector. However nested.qux is ignored, because it's not in selector.

  52. 3.8.2

    8 May 2020
    • Fix bad dependency fd92b4a

    • Use configured depth limit for diffs in assertion failures, thanks @bunysae! a5385a4

  53. 3.8.1

    27 Apr 2020
    • afterEach() and afterEach.always() hooks can now determine whether the test passed. Thank you @bunysae for contributing this! 8f312c0

      test('passes', t => t.pass());
      
      test.afterEach(t => {
          if (t.passed) {
              // Do something because the test passed
          } else {
              // Do something because the test failed
          }
      });
    • If you've ever wanted to save some files along with AVA's snapshots, you can now determine the directory path by accessing test.meta.snapshotDirectory. Thank you @ulken! cb5f9f7

  54. 3.8.0

    26 Apr 2020
  55. 3.7.1

    19 Apr 2020
  56. 3.7.0

    13 Apr 2020

    If you've ever wanted to save some files along with AVA's snapshots, you can now determine the directory path by accessing test.meta.snapshotDirectory. Thank you @ulken ! cb5f9f7

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.