Teddy Katz
|
c081061a1e
|
feat: invalidDefaults option to warn when defaults are ignored, fixes #957
|
2019-03-01 02:19:12 -05:00 |
Evgeny Poberezkin
|
f2010f40f2
|
feat: keyword "nullable", #486, closes epoberezkin/ajv-keywords#32
|
2018-11-10 21:03:51 +00:00 |
Evgeny Poberezkin
|
e15f543dbd
|
refactor: remove patternGroups keyword, #614
|
2017-11-26 10:11:55 +00:00 |
Evgeny Poberezkin
|
04d62ae67e
|
Merge branch 'master' into beta
|
2017-11-24 21:18:06 +00:00 |
Meir Rotstein
|
91374acba3
|
add logger option
|
2017-11-19 11:18:40 +02:00 |
Evgeny Poberezkin
|
dd884fe93d
|
feat: option $comment, closes #609
|
2017-11-10 21:41:27 +00:00 |
Evgeny Poberezkin
|
c9548d2c74
|
refactor: remove compilation of async schemas to generator functions, closes #585
|
2017-11-05 21:14:31 +00:00 |
rsa
|
802234489d
|
Fix validate template typo
|
2017-10-28 22:23:23 -04:00 |
Evgeny Poberezkin
|
6f1f0831a3
|
fix: type validation
|
2017-05-20 21:41:15 +01:00 |
Evgeny Poberezkin
|
cad76056b9
|
Revert "refactor: make sure "type": "integer" is vaildated before other keywords, closes #485"
This reverts commit a02b9a6eed .
|
2017-05-20 21:37:39 +01:00 |
Evgeny Poberezkin
|
58a22728ab
|
fix: incorrect integer validation, closes #490
|
2017-05-14 23:29:18 +01:00 |
Evgeny Poberezkin
|
a02b9a6eed
|
refactor: make sure "type": "integer" is vaildated before other keywords, closes #485
|
2017-05-13 23:42:41 +01:00 |
Evgeny Poberezkin
|
f60fedb4e9
|
feat: validate types before other keywords, #485
|
2017-05-13 23:25:44 +01:00 |
Evgeny Poberezkin
|
3aa523e9f1
|
Merge branch 'v4'
|
2017-04-28 20:09:37 +01:00 |
Evgeny Poberezkin
|
4ed756ecac
|
fix: duplicate "type" error is reported with coerceTypes option, fixes #469
|
2017-04-28 19:34:42 +01:00 |
Evgeny Poberezkin
|
e82b62db23
|
Merge branch 'master' into 5.0.0
|
2017-04-08 20:04:28 +01:00 |
Evgeny Poberezkin
|
903cd73d01
|
refactor: remove OR branches that are always falsy
|
2017-04-07 23:26:25 +01:00 |
Evgeny Poberezkin
|
4f631e61b8
|
feat: support $id, #384
|
2017-02-27 00:18:42 +00:00 |
Evgeny Poberezkin
|
376cc172b4
|
feat: extendRefs: "ignore" by default
|
2017-02-25 21:43:55 +00:00 |
Evgeny Poberezkin
|
c21cbee56f
|
fix: support multiple types for format, #291
|
2017-02-10 20:53:13 +00:00 |
Evgeny Poberezkin
|
b2d641f244
|
feat: add schema id (URI) as a comment to generated code
|
2017-01-07 12:49:48 +00:00 |
Evgeny Poberezkin
|
41ecdaff7c
|
refactor: contains implemented as a standard keyword, #367
|
2016-12-30 17:44:18 +00:00 |
Evgeny Poberezkin
|
1c284933fc
|
feat: use co-wrapped generator function as default async option (async: co*), #383
|
2016-12-26 21:10:46 +00:00 |
Evgeny Poberezkin
|
850b50523c
|
feat: async validation promise resolves with data in case of success, closes #377
|
2016-12-25 20:24:36 +00:00 |
Evgeny Poberezkin
|
f1028c8411
|
feat: support boolean schemas in $ref
|
2016-12-25 17:43:26 +00:00 |
Evgeny Poberezkin
|
225ef67ce5
|
refactor: omptimise/fix generated code
optimize code for schemas without validation keywords
fix bug in determining empty schema
|
2016-12-25 15:32:53 +00:00 |
Evgeny Poberezkin
|
71c3709c2a
|
refactor: validate.jst
|
2016-12-25 14:09:11 +00:00 |
Evgeny Poberezkin
|
393b6a5b35
|
refactor: optimise code generated for boolean schemas
|
2016-12-25 13:53:51 +00:00 |
Evgeny Poberezkin
|
a414a74fe0
|
Merge branch 'boolean-schemas' into 5.0.0
|
2016-12-25 13:33:37 +00:00 |
Evgeny Poberezkin
|
484df70eb5
|
feat: support boolean schemas, #367
|
2016-12-24 23:04:07 +00:00 |
Evgeny Poberezkin
|
a6f9cbda0f
|
feat: boolean schemas
|
2016-12-24 21:23:31 +00:00 |
Evgeny Poberezkin
|
42d640779a
|
refactor: move patternGroups deprecation message to schema compilation, #371
|
2016-12-20 20:57:34 +00:00 |
Evgeny Poberezkin
|
afd02f1f72
|
refactor: patternGroups deprecated, requires option to use, #371
|
2016-12-20 20:33:51 +00:00 |
Evgeny Poberezkin
|
a607d4f422
|
refactor: generic management of keywords implemented in other keywords (additionalProperties, patternProperties)
|
2016-12-11 16:22:02 +00:00 |
Evgeny Poberezkin
|
03051f90ba
|
feat: log errors using console.error/warn, closes #265
|
2016-10-05 20:50:37 +01:00 |
Evgeny Poberezkin
|
0bdb5a4fa5
|
feat: make option extendRef default to "fail", closes #294
|
2016-10-05 20:14:11 +01:00 |
Evgeny Poberezkin
|
40319b9e22
|
fix: message about changing default for extendRefs option, #303
|
2016-10-05 18:21:36 +01:00 |
Evgeny Poberezkin
|
a3ab001d5b
|
fix: do NOT log warning if extendRef is explicitely set to true, fix schema path in messages; closes #303
|
2016-10-05 18:11:31 +01:00 |
Evgeny Poberezkin
|
d272e05abe
|
refactor: rename option to sourceCode, #293
|
2016-09-06 21:48:42 +01:00 |
Evgeny Poberezkin
|
33081b4911
|
feat: pass rootData to validating functions as 5th parameters, related to #289
|
2016-08-29 21:52:05 +01:00 |
Evgeny Poberezkin
|
84b900889f
|
refactor: function to check that schema has no rules except one specified (e.g. $ref)
|
2016-08-07 11:05:27 +01:00 |
Evgeny Poberezkin
|
3185847572
|
feat: log warning if other keywords are used with "$ref", #260
|
2016-08-06 21:10:57 +01:00 |
Evgeny Poberezkin
|
39b4a8f637
|
feat: option "extendRefs" to fail compilation or to ignore other keywords when "$ref" is used, closes #260
|
2016-08-06 13:05:39 +01:00 |
will Farrell
|
9e18e68ce7
|
Add in ability to coerce to an array
|
2016-07-22 18:07:10 -06:00 |
Evgeny Poberezkin
|
caf7557bc0
|
refactor: convert custom.def partial into custom.jst function (for better encapsulation)
|
2016-07-18 22:14:02 +01:00 |
Evgeny Poberezkin
|
79d16b3dee
|
alvays pass parent data and current data property when referenced schema called as a function (previously was passed only with option coerceTypes)
|
2016-02-12 23:08:28 +00:00 |
Evgeny Poberezkin
|
0ecd3eaa13
|
change async/transpile options
|
2016-01-31 22:07:19 +00:00 |
Evgeny Poberezkin
|
86d97d4337
|
async options, expose Ajv.ValidationError class
|
2016-01-30 22:13:00 +00:00 |
Evgeny Poberezkin
|
6e583554a1
|
async with nodent transpiler
|
2016-01-29 09:26:11 +00:00 |
Evgeny Poberezkin
|
7365dd6e41
|
transpiling async validation functions from es7 with nodent
|
2016-01-28 12:31:20 +00:00 |