Skip to content

Releases: erosb/json-sKema

Better exceptions when schema loading fails

01 Apr 18:10
Compare
Choose a tag to compare

Improvements

  • better exceptions when schema loading fails - addresses #24
  • also collecting all failures rather than failing on the first (example of programmatic error consumption is here)

Custom format support

16 Mar 13:36
Compare
Choose a tag to compare

Improvements

Bugfixes

  • fixing keyword in UnevaluatedPropertiesValidationFailure - reported by @danielaparker

$dynamicRef and time format improvements

10 Mar 08:16
Compare
Choose a tag to compare

Improvements

  • improving "$dynamicRef" implementation so that it also searches for potentially "$dynamicAnchor"-ed schemas under "$defs"
  • fixing "format": "time" validation, to pass all tests from the testsuite

API compatibility fix

01 Mar 18:45
Compare
Choose a tag to compare

Bugfixes

  • fixing API-compatibility of ValidatorConfig class so that new ValidatorConfig(FormatValidationPolicy.ALWAYS) compiles again (it was broken in 0.12.0)

Improvements

  • junit and assertj dependency upgrades

Read-write context

24 Feb 17:04
Compare
Choose a tag to compare

Improvements

  • adding support for validation of "readOnly" and "writeOnly" keywords, depending on context - requested by @mszawurski in #30
  • allowing pre-registering schemas with relative URIs - contributed by @rayokota

Bugfixes

  • improving error message for invalid schemas - contributed by @rayokota

Improved format validation policy and pre-registering schemas by URI

21 Jan 21:15
Compare
Choose a tag to compare

Improvements

  • added FormatValidationPolicy to make enabling of format validation configurable
  • added ability to pre-register schemas by URIs which can be used as references

Fixed issue with subschema internal references

27 Oct 10:48
Compare
Choose a tag to compare

Unprocessed props & better dynamic refs

04 Oct 08:36
Compare
Choose a tag to compare

Improvements

  • Supporting unprocessed schema properties - contributed by @rayokota
  • Improved support for dynamic references

Bugfixes

  • fixed an error occuring when a validation failure happens at the same instance nesting level, but on different subschemas

Android compatibility fix

22 Jun 09:10
Compare
Choose a tag to compare

Loading schemas from URLs

20 May 07:09
Compare
Choose a tag to compare

Improvements

  • added support to load schemas from URLs with SchemaLoader.forURL("...")
  • built-in support for classpath:// protocol included