Skip to content

Releases: ajv-validator/ajv-cli

v5.0.0

28 Mar 09:43
Compare
Choose a tag to compare

Upgrade for ajv v8
Support JSON Schema draft-2020-12

v4.2.0

10 Mar 07:38
Compare
Choose a tag to compare

Support JSON Type Definition schemas with --spec=jtd option.
Support plugins (e.g. user-defined keywords) in typescript (requires ts-node to be installed).

v4.1.0

15 Feb 20:46
Compare
Choose a tag to compare

Do not change definitions to $defs when migrating schema to draft-2019-09 (#112)

v4.0.1

18 Dec 07:24
be01c4c
Compare
Choose a tag to compare

Fix: pass $data option to ajv instance when --data option is used

v4.0.0

15 Dec 20:28
Compare
Choose a tag to compare

v4.0.0-rc.0

06 Dec 16:26
Compare
Choose a tag to compare
v4.0.0-rc.0 Pre-release
Pre-release

Use ajv v7
--spec= option to choose JSON schema specification:

  • draft7: JSON Schema draft-07 (default)
  • draft2019: JSON Schema draft-2019-09

Support schema migration to JSON Schema draft-07 and draft-2019-08 (defined by --spec= option).
Compile multiple schemas to a single module with multiple exported standalone validation functions.
Output standalone validation code to stdout (-o without parameter) for formatting with js-beautify or another utility.

v3.3.0

06 Dec 16:18
Compare
Choose a tag to compare

Allow strict-mode options - --strict-keywords, --strict-defaults, --strict-numbers (@Agh42)

v3.2.0

26 May 16:01
Compare
Choose a tag to compare

Support json5 and yaml file types (@G-Rath).
Update dependencies and tested node versions.

v3.1.0

22 Feb 13:06
Compare
Choose a tag to compare

Support --data option (passed as $data to Ajv).
Support --add-used-schema option (passed as addUsedSchema to Ajv) (@Relequestual)

v3.0.0

09 Jan 21:48
Compare
Choose a tag to compare

Update to ajv v6.0.0