bump version

master
Evgeny Poberezkin 2016-02-01 18:18:56 +00:00
parent 08f5dcb984
commit 9c40ac0388
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ __Please note__: [Option](#options) `missingRefs` should NOT be set to `"ignore"
## Asynchronous validation
You can define custom formats and keywords that perform validation asyncronously by accessing database or some service. You should add `async: true` in the keyword or format defnition (see [addFormat](#api-addformat) and [addKeyword](#api-addkeyword)).
Starting from version 3.5.0 you can define custom formats and keywords that perform validation asyncronously by accessing database or some service. You should add `async: true` in the keyword or format defnition (see [addFormat](#api-addformat) and [addKeyword](#api-addkeyword)).
If your schema uses asynchronous formats/keywords or refers to some schema that contains them it should have `"$async": true` keyword so that Ajv can compile it correctly. If asynchronous format/keyword or reference to asynchronous schema is used in the schema without `$async` keyword Ajv will throw an exception during schema compilation.

View File

@ -1,6 +1,6 @@
{
"name": "ajv",
"version": "3.4.0",
"version": "3.5.0",
"description": "Another JSON Schema Validator",
"main": "lib/ajv.js",
"files": [