npm ajv 4.8.0

latest releases: 8.12.0, 8.11.2, 8.11.1...
7 years ago

Option unknownFormats to fail schema compilation if unknown format is used or fail validation if unknown format is in v5 $data reference (#310)
Support for generating standalone module exporting a validation function to be used without Ajv (using ajv-cli)

Fixes:

  • replace eval with Function constructor
  • $data: allow null as schema value in keywords that support $data reference (#305)
  • $ref: support escaped characters (#311)
  • format hostname: allow segments of hostnames to start with digit (#312)
  • extendRef option: do NOT log warning if explicitely set to true (#303)

Don't miss a new ajv release

NewReleases is sending notifications on new releases.