-
Notifications
You must be signed in to change notification settings - Fork 57
Whatsnew_12
This page lists the major changes compared to 1.0.x.
This package is now dual-licensed: ASL (Apache Software License) 2.0, or LGPL 3.0 or later. The choice is yours.
This package now uses Gradle as a build system. The gradle wrapper is also used, so all you need installed on your machine to build this package is a bare JDK!
Nearly all packages have been moved from com.github.fge.jsonschema
to com.github.fge.jsonschema.core
.
This packge now recognizes, and checks the syntax of, JSON Schema hyperschema specific keywords (links
in particular).
Thanks to this package dependency on msg-simple, you can now fully customize your reporting messages and make them locale-dependent.
Again thanks to msg-simple, you now have the possibility to add arguments to messages.
By customizing your LoadingConfiguration
, you can now load malformed JSON as schemas.
This includes, among others, files with comments, which are normally illegal.
You can now redirect an entire URI path of your choice. For instance, you can say that all URIs starting with http://my.site/schemas/
are to be loaded instead from resource:/com/mycompany/schemas/
.
Prior to this release, you could load a JSON Text such as:
[]]
it would only parse the empty array and be done with it. Not anymore: this JSON Text now raises an error.