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
Francis Galiegue edited this page Apr 14, 2014
·
2 revisions
Introduction
This page lists the major changes compared to 1.0.x.
Global changes
Licensing change
This package is now dual-licensed: ASL (Apache Software License) 2.0, or LGPL 3.0 or later. The choice is yours.
Build system change
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!
Package moves
Nearly all packages have been moved from com.github.fge.jsonschema to com.github.fge.jsonschema.core.
Draft v4 hyperschema syntax support
This packge now recognizes, and checks the syntax of, JSON Schema hyperschema specific keywords (links in particular).
Messages
Customizable, i18n dependent messages
Thanks to this package dependency on msg-simple, you can now fully customize your reporting messages and make them locale-dependent.
Parameterized messages
Again thanks to msg-simple, you now have the possibility to add arguments to messages.
Schema loading
Parse, and load, "illegal" JSON
By customizing your LoadingConfiguration, you can now load malformed JSON as schemas.
This includes, among others, files with comments, which are normally illegal.
URI path redirects
You can now redirect an entire URI path of your choice. For instance, you can say that all URIs starting with https://my.site/schemas/ are to be loaded instead from resource:/com/mycompany/schemas/.
Trailing data detection
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.