-
Notifications
You must be signed in to change notification settings - Fork 398
ChangeLog.devel
fge edited this page Sep 14, 2012
·
40 revisions
Probably the last 1.1.x release before 1.2.0.
- Rework JsonRef. This fixes bugs #19, #20.
- Rename FormatSpecifier to FormatAttribute.
- Javadoc updates. In particular, mention the id conundrum, and why this implementation chooses to ignore section 5.27.
- Fix syntax validation not detecting that a JSON input is not an object :/
- Discard early validators which have "no choice" but to succeed for the following keywords: additionalItems, additionalProperties, properties, type.
- Add syntax checking/keyword validation support for minProperties and maxProperties.
- Developer class renaming:
- ValidationMessage -> Message,
- ValidationDomain -> Domain.
- JsonLoader gains the ability to create a JsonNode from a String.
- JsonValidator's .validate() method now returns void, its previous boolean return value was unused.
- new Keyword.Builder.forKeyword() has been replaced with Keyword.withName().
- id fields within schemas which start with a # are now no more found by IdFragment (USER VISIBLE CHANGE).
- Add a JSON array representation to ValidationReport.
- Re-introduce 1.0.x methods to JsonSchemaFactory and ValidationReport, but mark them as deprecated.
- Some code cleanup.
- Fix incorrect array index schema calculation when "items" is missing (backported to 1.0.x).
- User API changes: JsonSchemaFactory now loads JsonSchema instances directly, no need to go through a SchemaContainer.
- All $ref resolution failures (ref loops, non existing resource, malformed resource, unresolvable URI) are now fatal errors and stop validation immediately.