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 initajv 86 changes
Breaking changes 2
Ajv adds support for Node.js 22 and 24, and drops support for Node.js 16 and 21.
Fixes Infinity and NaN serialization so they serialize to null.
Security 2
Fixes prototype pollution via the format keyword when using a $data reference.
Uses the configured RegExp engine with the $data keyword to mitigate ReDoS attacks.
Performance 1
Adds sideEffects: false to enable tree-shaking of the package.
Fixes and other changes 1
Adds ES2022.RegExp support for RegExpIndicesArray.