Skip to content

4.8.0

Compare
Choose a tag to compare
@epoberezkin epoberezkin released this 16 Oct 16:55
· 1936 commits to master since this release

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)