You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/upgrading.md
+24-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,30 @@ This contains information on the notable or breaking changes in each version.
6
6
7
7
### 1.4.0
8
8
9
-
This contains breaking changes in how custom meta-schemas are created.
9
+
This contains breaking changes
10
+
- to those using the walk functionality
11
+
- in how custom meta-schemas are created
12
+
13
+
When using the walker with defaults the `default` across a `$ref` are properly resolved and used.
14
+
15
+
The behavior for the property listener is now more consistent whether or not validation is enabled. Previously if validation is enabled but the property is `null` the property listener is not called while if validation is not enabled it will be called. Now the property listener will be called in both scenarios.
16
+
17
+
The following are the breaking changes to those using the walk functionality.
| `schema` | New | For keywords this is the parent schema of the validator. For items and properties this is the item or property schema being evaluated.
Copy file name to clipboardExpand all lines: doc/walkers.md
+40-45
Original file line number
Diff line number
Diff line change
@@ -38,65 +38,61 @@ public interface JsonSchemaWalker {
38
38
The JSONValidator interface extends this new interface thus allowing all the validator's defined in library to implement this new interface. BaseJsonValidator class provides a default implementation of the walk method. In this case the walk method does nothing but validating based on shouldValidateSchema parameter.
39
39
40
40
```java
41
-
/**
41
+
/**
42
42
* This is default implementation of walk method. Its job is to call the
43
43
* validate method if shouldValidateSchema is enabled.
0 commit comments