Packages

ajv

8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed

Upgrading ajv From 6.5.2 to 8.20.0

70 releases in betweennotes for 60

Other targets from 6.5.2Newest 6.x6.15.0Clears its 2 advisories6.14.0
  1. 6.5.2yours
  2. 19 releases
  3. 6.12.3security
  4. 5 releases
  5. 7.0.0security
  6. 7 releases
  7. 7.2.1breaking
  8. 3 releases
  9. 8.0.0major
  10. 29 releases
  11. 8.17.1breaking
  12. 8.18.0security
  13. 8.20.0target
19+
changes to make
2
advisories fixed
17+
new
9+
fixes

Counted from 60 of 70 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.17.1
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking7.2.1
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Security

Fixes 2 advisories affecting 6.5.2

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

    8.18.0
  • To make code injection from untrusted schemas impossible, code generation is fully re-written to be type-level safe against code injection.

    7.0.0
  • Fixed vulnerability related to untrusted schemas (CVE-2020-15366)

    6.12.3

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.

  4. 8.15.0 – 8.16.02 releases, nothing new or fixed in the notes

  5. 8.14.0

    25 May 20241 fix
    • Fixed

      Broken link in docs warning

  6. 8.13.0

    29 Apr 20241 new
    • New

      Add named exports

  7. 8.12.0

    3 Jan 20232 fixes
    • Fixed

      Fix JTD serialisation (remove leading comma in objects with only optional properties) (#2190, @piliugin-anton)

    • Fixed

      Fix JTD "discriminator" schema for objects with more than 8 properties

  8. 8.4.0 – 8.11.216 releases, nothing new or fixed in the notes

50 other lines we could not sort, mostly version bumps
  • Revert fast-uri change

    8.16.0
  • Replace uri-js with fast-uri

    8.15.0
  • Bump to 8.15.0

    8.15.0
  • readme: Build badge

    8.14.0
  • Update workflows

    8.14.0
  • compileAsync a schema with discriminator and $ref, fixes #2427

    8.14.0
  • Bump version to 8.14.0 for publishing

    8.14.0
  • Update node.js

    8.13.0
  • Empty JTD "values" schema

    8.12.0
  • Empty object to work with JTD utility type (#2158, @erikbrinkman)

    8.12.0

6 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.