Packages

ajv

8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed

Upgrading ajv From 7.2.4 to 8.0.0

1 release in betweenevery note read

Other targets from 7.2.4Clears its advisory8.18.0Latest8.20.0
  1. 7.2.4yours
  2. 8.0.0target
3
changes to make
0
advisories fixed
3
new
0
fixes

Start here

Before you upgrade

Tick each one off as you go
  • Breaking8.0.0
  • Breaking8.0.0
  • Breaking8.0.0

Security

1 advisory still affects 8.0.0

Upgrading to 8.18.0 clears it.

Release by release

  1. 8.0.0

    Migration needed27 Mar 20213 new
    • Breaking

      dataPath property replaced with instancePath

    • Breaking

      "should" replaced with "must" in the messages

    • Breaking

      Property name is removed from "propertyName" keyword error message (it is still available in error.params.propertyName).

    • New

      Errors consistent with JTD specification.

    • New

      Error objects with additional properties to simplify error handling (see Error objects)

    • New

      Internationalized error messages with ajv-i18n TypeScript: support type unions in JSONSchemaType

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.