Ryan Meador
ecd1ed455d
discuss multiple coercions as related to `oneOf`
...
Per discussion in issue #437
2017-03-14 17:25:51 -04:00
Evgeny Poberezkin
326e2216b1
Merge pull request #420 from epoberezkin/greenkeeper-regenerator-0.9.7
...
Update regenerator to version 0.9.7 🚀
2017-03-11 22:33:03 +00:00
Evgeny Poberezkin
dc0bc64c6c
docs(contributing): labels in new issues
2017-03-11 22:28:51 +00:00
Evgeny Poberezkin
071b81099e
Merge branch 'master' into greenkeeper-regenerator-0.9.7
2017-03-11 21:49:14 +00:00
Evgeny Poberezkin
c0a625b1a9
version 4.11.5
2017-03-11 21:32:37 +00:00
Evgeny Poberezkin
d14be20db5
Merge branch 'boenrobot-uniBundle'
2017-03-11 21:21:33 +00:00
Evgeny Poberezkin
1b4cbcba33
refactor: bundle script
2017-03-11 21:20:11 +00:00
Evgeny Poberezkin
8485849c40
style: scripts, eslint
2017-03-11 20:36:09 +00:00
Vasil Rangelov
ae3e5d431c
Replaced the "bundle" script with a cross platform Node script called "bundle.js" (modeled after the original).
...
Added "del-cli" as a dev dependency, as a cross platform replacement of "rm".
Changed the quotes in the "if-node-version" call to doubles, to prevent dummy file being created on Windows.
2017-03-08 16:50:59 +02:00
Evgeny Poberezkin
86b5aebc6d
docs: more packages using Ajv
2017-03-05 12:54:44 +00:00
Evgeny Poberezkin
8b9c2b991a
docs: packages using Ajv
2017-03-05 12:48:23 +00:00
Evgeny Poberezkin
3760c35945
version 4.11.4
2017-03-04 18:13:03 +00:00
Evgeny Poberezkin
2cee0c5466
Merge pull request #432 from daveisfera/master
...
Use sh insteaad of bash
2017-03-03 17:38:13 +00:00
Dave Johansen
76855cc6e6
Use sh insteaad of bash
2017-03-03 09:09:51 -07:00
Evgeny Poberezkin
16b36f6d5d
docs: using 5.0.3
2017-03-01 20:02:10 +00:00
Evgeny Poberezkin
81dbc2cda5
Merge pull request #424 from donaldpipowitch/patch-1
...
Update ajv.d.ts
2017-02-22 21:24:22 +00:00
Donald Pipowitch
6cc12130da
Update ajv.d.ts
2017-02-21 14:55:57 +01:00
greenkeeperio-bot
352f21ee32
chore(package): update regenerator to version 0.9.7
...
https://greenkeeper.io/
2017-02-17 22:09:26 +00:00
Evgeny Poberezkin
e17b55b96d
Merge pull request #417 from fridays/patch-1
...
Update README.md
2017-02-16 22:40:22 +00:00
fridays
c1265d6e36
Update README.md
2017-02-16 20:30:54 +01:00
Evgeny Poberezkin
844c567370
Merge pull request #415 from epoberezkin/greenkeeper-browserify-14.1.0
...
Update browserify to version 14.1.0 🚀
2017-02-15 00:01:25 +00:00
greenkeeperio-bot
e28bb680b4
chore(package): update browserify to version 14.1.0
...
https://greenkeeper.io/
2017-02-14 04:17:45 +00:00
Evgeny Poberezkin
831793d93f
docs: update contributing guidelines
2017-02-12 20:35:51 +00:00
Evgeny Poberezkin
54d88b3c97
docs: typo
2017-02-12 20:16:38 +00:00
Evgeny Poberezkin
b9a2a83354
docs: update beta version install command
2017-02-12 19:48:57 +00:00
Evgeny Poberezkin
388053806b
docs: update link to beta version docs
2017-02-12 19:45:29 +00:00
Evgeny Poberezkin
9287ca5789
version 4.11.3
2017-02-12 19:16:59 +00:00
Evgeny Poberezkin
8413890875
fix: schema "dependencies" with property containing single quotes, closes #413
2017-02-12 00:21:53 +00:00
Evgeny Poberezkin
af458d3460
Merge pull request #412 from delavara/patch-1
...
Update CUSTOM.md
2017-02-09 20:28:05 +00:00
Cody De La Vara
9432451a84
Update CUSTOM.md
...
Minor typo in the `custom` validate keyword example.
2017-02-09 12:04:26 -05:00
Evgeny Poberezkin
553aae8097
Merge pull request #405 from ahmedsoliman92/patch-1
...
typo
2017-01-30 21:32:29 +00:00
Ahmed Soliman
b587913c97
typo
2017-01-30 17:15:53 +02:00
Evgeny Poberezkin
ccc9907d26
feat: allow setting dataPath in validate/compile keywords, closes #331
2017-01-21 19:44:08 +00:00
Evgeny Poberezkin
cf39a53404
docs: update beta version
2017-01-21 00:31:34 +00:00
Evgeny Poberezkin
9e1c8d7576
chore: version 4.11.0
2017-01-20 23:53:44 +00:00
Evgeny Poberezkin
7148ae3607
docs: update typings for "modifying" and "valid" custom keywords, #392 , #393
2017-01-20 23:25:45 +00:00
Evgeny Poberezkin
dc265ddf4a
docs: custom keywords with pre-defined validation result, closes #393
2017-01-20 23:21:03 +00:00
Evgeny Poberezkin
aa8de572df
feat: custom keywords with predefined validation result, #393
2017-01-20 23:08:52 +00:00
Evgeny Poberezkin
d314df2721
docs: modifying option in custom keyword definition, closes #392
2017-01-20 22:16:11 +00:00
Evgeny Poberezkin
33845cc397
feat: support custom keywords that modify data, #392
2017-01-20 22:03:36 +00:00
Evgeny Poberezkin
2468bd5014
refactor: custom keyword code generation, #392
2017-01-20 21:33:34 +00:00
Evgeny Poberezkin
82002ec5e8
test: failing test for custom keyword mutating data, #141 , #392
2017-01-20 20:26:14 +00:00
Evgeny Poberezkin
ac5e2cee55
docs: reference to 5.0.1-beta docs
2017-01-20 20:14:36 +00:00
Evgeny Poberezkin
b4ecf27fb2
version 4.10.4
2017-01-05 18:46:14 +00:00
Evgeny Poberezkin
41aeb848f2
Merge pull request #391 from farrago/non-identifier-keywords
...
Allow custom keywords that are not valid JS identifiers (fixes issue #389 )
2017-01-05 18:43:26 +00:00
Richard Taylor
b1b0c553d8
Improve implementation of allowing hyphens in keywords
...
This:
- Updates the README with the new rules (and recommendations)
- Updates `keyword.js` to implement the agreed change to the naming rules:
- - Now same as before but also allow hyphens as second and subsequent characters
- Update tests to test the new keyword naming rules
- Update `definitions.def` to use it.util.getProperty() to dynamically choose dot
or bracket notation as appropriate rather than hardcode bracket notation.
Test Plan:
- Run `npm test` and ensure all tests run and pass
2017-01-05 18:28:28 +00:00
Richard Taylor
66db560ca5
Allow custom keywords that are not valid JS identifiers
...
Custom keywords were required to be valid JS identifiers due to the
way they were being used in the generated code. This prevented the use
of keywords with the `x-` prefix that is required by [swagger](http://swagger.io ].
This change fixes that by updating the only place that was using them
directly as an identifier to use //brackets// notation rather than
//dot// notation. This brings the definition of `$schemaPath` in
`definitions.def` in line with the way the rule definition is accessed
from `RULES.custom` at the top of `custom.jst`.
The validation of the keyword name has been changed to allow any name
in this change, but this should be updated to either just remove the
test or update it to a new rule before this change is included in
the project.
Finally, this also updates a number of the tests in `custom.spec.js` to
use non-valid identifiers for the names of some of the custom keywords
being tested (primarily by adding `x-` to the front of the name).
Test Plan:
- Run `npm test` and ensure all tests run and pass
2017-01-05 10:48:12 +00:00
Evgeny Poberezkin
7613986c29
docs: about version 5.0.1-beta
2016-12-31 01:33:16 +00:00
Evgeny Poberezkin
c4335abf53
fix: allOf with empty schemas failing compilation, fixes #381
2016-12-24 23:42:36 +00:00
Evgeny Poberezkin
17de8aba47
fix: error macro
2016-12-24 02:23:12 +00:00