Skip to content

Commit 413afe0

Browse files
committed
docs: v7.0.0-beta.3
1 parent 11e997b commit 413afe0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ The fastest JSON Schema validator for Node.js and browser. Supports draft-04/06/
1515

1616
## Ajv v7 beta is released
1717

18-
[Ajv version 7.0.0-beta.1](https://github.com/ajv-validator/ajv/tree/v7-beta) is released with these changes:
18+
[Ajv version 7.0.0-beta.3](https://github.com/ajv-validator/ajv/tree/v7-beta) is released with these changes:
1919

20+
- added support of the new keywords from [draft 2019-09](https://json-schema.org/draft/2019-09/release-notes.html) of JSON-Schema specification: `unevaluatedProperties` and `unevaluatedItems`, `dependentRequired` and `dependentSchemas`, `maxContains` and `minContains`.
2021
- to reduce the mistakes in JSON schemas and unexpected validation results, [strict mode](./docs/strict-mode.md) is added - it prohibits ignored or ambiguous JSON Schema elements.
2122
- to make code injection from untrusted schemas impossible, [code generation](./docs/codegen.md) is fully re-written to be safe and to allow code optimization (compiled schema code size is reduced by more than 10%).
22-
- to simplify Ajv extensions, the new keyword API that is used by pre-defined keywords is available to user-defined keywords - it is much easier to define any keywords now, especially with subschemas.
23+
- to simplify Ajv extensions, the new keyword API that is used by pre-defined keywords is available to user-defined keywords - it is much easier to define any keywords now, especially with subschemas. [ajv-keywords](https://github.com/ajv-validator/ajv-keywords) package was updated to use the new API (in [v4.0.0-beta.0](https://github.com/ajv-validator/ajv-keywords/releases/tag/v4.0.0-beta.0))
2324
- schemas are compiled to ES6 code (ES5 code generation is supported with an option).
2425
- to improve reliability and maintainability the code is migrated to TypeScript.
2526

0 commit comments

Comments
 (0)