Option code.esm to generate ESM exports for standalone validation functions (@rehanvdm, #1861)
Support discriminator keyword with $ref in oneOf subschemas (@dfeufel, #1815)
Fix browser bundles in cdnjs
regExp option allowing to specify alternative RegExp engine, e.g. re2 (@efebarlas)
v8.7.1
Publish Ajv bundle for JSON Schema 2020-12 to cdnjs.com
v8.7.0
Update JSON Schema Test Suite.
Change minContains: 0 now correctly allows empty array.
v8.6.3
Fix $ref resolution for schemas without $id (@rbuckton, #1725)
Support standalone module import from ESM modules without using .default property (@bhvngt, #1757)
Update code for breaking TS change - error in catch has type unknown (#1760)
Fix "not" keyword preventing validation of "allOf" and some other keywords (#1668)
v8.6.0
Track evaluated properties with patternProperties that have always valid schemas (e.g., true) (@P0lip, #1626)
Option int32range to disable number range checking for int32 and uint32 type in JTD schemas
v8.5.0
Optimize validation code for const keyword with scalar values (@SoAsEr, #1561)
Add option schemaId to support ajv-draft-04 - Ajv for JSON Schema drat-04.
v8.4.0
JSON Type Definition schema options:
parseDate: parse timestamp type as Date objects.
allowDate: non-standard - allow date without time with timestamp type.
v8.3.0
Typescript improvements:
better error reporting for JSONSchemaType in case strictNullChecks option is disabled (@erikbrinkman, #1583)
support missed boolean type in JTDDataType (@m00s, #1587)
JTD timestamp validation option (@jrr, #1584).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps ajv from 6.12.6 to 8.9.0.
Release notes
Sourced from ajv's releases.
... (truncated)
Commits
979d46b
8.9.0e7bc009
resolve references before validating the discriminator (#1815)ec96c87
Updated standalone documentation and add new examples (#1866)f2e590a
Fix broken named anchor link (#1870)d632539
Update getting-started.md (#1871)418cd0f
Add option to generate ESM exports instead of CJS (#1523) (#1861)d21fa70
build(deps-dev): bump@types/node
from 16.11.14 to 17.0.0 (#1851)c3e203c
Update ReDoS section of security.md to accommodate #1683 (#1828)43ed019
add logo84d0a57
Fix minor typo in json-schema.md (#1843)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)