Skip to content

Commit d6afef7

Browse files
committed
release 0.3.1
1 parent f339dce commit d6afef7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Release Notes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#0.3.0
1+
# 0.3.1
2+
3+
* **BUGFIX**: When anonymous sub-schemas were used with `oneOf` or `anyOf`, the error object for the sub-schemas was being overridden due to a variable scope problem. Thanks to [mrhooray](https://github.com/mrhooray).
4+
5+
# 0.3.0
26

37
* **FEATURE:** [Custom `format` validators](https://github.com/natesilva/jayschema#jayschemaprototypeaddformatformatname-handler) are now supported. The syntax is compatible with that of [tv4](https://github.com/geraintluff/tv4#addformatformat-validationfunction). Thanks to [alexkwolfe](https://github.com/alexkwolfe) for the suggestion.
48

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Nate Silva <nate@natesilva.com> (http://natesilva.com/)",
33
"name": "jayschema",
44
"description": "A comprehensive JSON Schema validator for Node.js",
5-
"version": "0.3.0",
5+
"version": "0.3.1",
66
"homepage": "https://github.com/natesilva/jayschema",
77
"repository": {
88
"type": "git",
@@ -19,7 +19,7 @@
1919
"node": ">=0.6.6"
2020
},
2121
"dependencies": {
22-
"when": "~3.4.4"
22+
"when": "~3.4.6"
2323
},
2424
"devDependencies": {
2525
"should": "~4.0.4",

0 commit comments

Comments
 (0)