0.13.0
Pre-release
Pre-release
Added
- Added a
Validator
constructor for storing information across schema validation for the same schema. - Added
URI.encodeFragment
for easy conversion from JSON Pointers to URI fragments. - Added
JSONPath.toURIFragmentID
to return the URI fragment identifier form. - First Maven Central Repository release.
Changed
- Annotation and error collection is now specified by passing
null
or non-null
maps instead of the options. - Empty annotation elements are now removed before returning from
ValidatorContext.apply
. - Changed all "https://tools.ietf.org/html/rfcXXXX" URLs to "https://www.rfc-editor.org/rfc/rfcXXXX.html" because that site is more responsive. Also ensured the ".html" suffix is there consistently.
Removed
- The
COLLECT_ANNOTATIONS
andCOLLECT_ERRORS
options. Collection of these is now specified depending on whether a map is passed to the API to hold them.
Fixed
- Annotations are now always collected in keywords that collect them instead of being skipped if the keyword does not validate.
- Errors and annotations are now properly pruned, but at the schema level.
- Fixed the starting "absoluteKeywordLocation" to be the root ID if it exists, otherwise it remains the base URI.