Packages

ajv

8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed

Upgrading ajv From 8.16.0 to 8.20.0

3 releases in betweenevery note read

Other targets from 8.16.0Clears its advisory8.18.0
  1. 8.16.0yours
  2. 8.17.1breaking
  3. 8.18.0security
  4. 8.20.0target

Before you upgrade

Tick each one off as you go
  • Breaking8.17.1

Security

Fixes 1 advisory affecting 8.16.0

  • pattern: Use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873)

    8.18.0

Release by release

  1. 8.20.0

    24 Apr 20262 fixes
    • Fixed

      Add support for node 22/24, drop node 16/21

    • Fixed

      Add ES2022.RegExp for RegExpIndicesArray

  2. 8.18.0

    Security fix14 Feb 20261 new · 2 fixes
    • Security

      pattern: Use configured RegExp engine with $data keyword to mitigate ReDoS attacks (CVE-2025-69873)

    • New

      Allow tree-shaking by adding "sideEffects": false to package.json

    • Fixed

      #2482 Infinity and NaN serialise to null

    • Fixed

      Small grammatical error in managing-schemas.md

  3. 8.17.1

    Migration needed12 Jul 2024
    • Breaking

      The only functional change is to switch from uri-js (which is no longer supported), to fast-uri.

2 internal lines (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.