Packages

ajv

8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed

Upgrading ajv From 8.6.2 to 8.18.0

18 releases in betweenevery note read

Other targets from 8.6.2Newest 8.x, Latest8.20.0
  1. 8.6.2yours
  2. 16 releases
  3. 8.17.1breaking
  4. 8.18.0target

Before you upgrade

Tick each one off as you go
  • Breaking8.17.1

Security

Fixes 1 advisory affecting 8.6.2

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

    8.18.0

Release by release

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

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

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

  4. 8.14.0

    25 May 20241 fix
    • Fixed

      Broken link in docs warning

  5. 8.13.0

    29 Apr 20241 new
    • New

      Add named exports

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

  7. 8.6.3 – 8.11.211 releases, nothing new or fixed in the notes

12 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

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