unstale

npm / ajv

ajv

What changed in ajv 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 breaking2 security1 performance1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

ajv 86 changes

Breaking changes 2

  • Ajv adds support for Node.js 22 and 24, and drops support for Node.js 16 and 21.

    8.20.0release notes

  • Fixes Infinity and NaN serialization so they serialize to null.

    8.18.0release notes

Security 2

  • Fixes prototype pollution via the format keyword when using a $data reference.

    8.19.0release notes

  • Uses the configured RegExp engine with the $data keyword to mitigate ReDoS attacks.

    8.18.0release notessecurity advisory

Performance 1

  • Adds sideEffects: false to enable tree-shaking of the package.

    8.18.0release notes

Fixes and other changes 1

  • Adds ES2022.RegExp support for RegExpIndicesArray.

    8.20.0release notes