Commit History

Author SHA1 Message Date
  Philipp Thuerwaechter c9a6f995a9 Add method chaining to all add* and remove* methods 7 years ago
  Evgeny Poberezkin cbef7f3061 refactor: update draft-06 meta-schema, fix URI resolution, fix tests 8 years ago
  Evgeny Poberezkin 03b24c72f8 fix: custom keywords with $data option validate as valid if their value (in data) is undefined 8 years ago
  Evgeny Poberezkin a06327eab4 Merge branch 'master' into 5.0.0 8 years ago
  Evgeny Poberezkin aa8de572df feat: custom keywords with predefined validation result, #393 8 years ago
  Evgeny Poberezkin 33845cc397 feat: support custom keywords that modify data, #392 8 years ago
  Evgeny Poberezkin 2468bd5014 refactor: custom keyword code generation, #392 8 years ago
  Evgeny Poberezkin 82002ec5e8 test: failing test for custom keyword mutating data, #141, #392 8 years ago
  Richard Taylor b1b0c553d8 Improve implementation of allowing hyphens in keywords 8 years ago
  Richard Taylor 66db560ca5 Allow custom keywords that are not valid JS identifiers 8 years ago
  Evgeny Poberezkin 416f294350 Merge branch 'master' into 5.0.0 8 years ago
  Evgeny Poberezkin ab488a4f57 feat: option $data instead of v5, use draft-6 meta schema, support constant and contains keywords by default, #372 8 years ago
  Evgeny Poberezkin 7bfc868816 test: getKeyword, removeKeyword methods 8 years ago
  Evgeny Poberezkin b853218249 style: eslint tests, closes #250 8 years ago
  Evgeny Poberezkin 5a80c7cff6 feat: support meta-schema validation in custom keywords with $data support, #146 8 years ago
  Evgeny Poberezkin 7f5fe70cdb feat: $data support in custom keywords, #146 8 years ago
  Evgeny Poberezkin 1a6e4b576c feat: meta schema for custom keywords schemas, closes #230 8 years ago
  Evgeny Poberezkin 53a6c70138 asynchronous custom keywords can define custom errors by returning the promise that rejects with Ajv.ValidationError, closes #118 9 years ago
  Evgeny Poberezkin 27bd49f182 renamed opts property of ajv instance to _opts; options object passed to constructor is copied 9 years ago
  Evgeny Poberezkin 2eef59dede minified browser bundle 9 years ago
  Evgeny Poberezkin 694e81684f throw exception if custom keyword is not an identifier; update tests as macro keyword definition supports type 9 years ago
  Evgeny Poberezkin c4786866e2 simplify compiling macro keywords 9 years ago
  Evgeny Poberezkin 10c6685027 support $data ref in formatMaximum/Minimum and exclusiveFormatMaximum/Minimum, #81 9 years ago
  Evgeny Poberezkin abff815d38 refactored schema compilation to reduce browser bundle size 9 years ago
  Evgeny Poberezkin 65e534ee8b check/extend errors in inline custom keywords; tests for custom keywords creating errors 9 years ago
  Evgeny Poberezkin 771e79f36b readme: validation errors, inline custom keywords 9 years ago
  Evgeny Poberezkin 982264f192 removed i18n option (params always added to error objects) 9 years ago
  Evgeny Poberezkin 41f313a798 refactor custom keywords tests 9 years ago
  Evgeny Poberezkin ee450ec8d0 removed caching of compiled subschemas of custom keywords (it made performance worse in most cases) 9 years ago
  Evgeny Poberezkin ae5b4c0f45 support for "inline" custom keywords, #69 9 years ago