Skip to content

v0.11.0

Compare
Choose a tag to compare
@leadpony leadpony released this 26 Jan 13:47
· 277 commits to master since this release

0.11.0 - 2019-01-26

Added

  • comment(), title() and description() methods to JsonSchema interface
    to obtain the keyword value respectively.
  • JsonSchemaReaderFactory and JsonSchemaReaderFactoryBuilder as API interfaces.
  • JsonSchemaReaderFactoryBuilder#withStrictWithKeywords().
    With this option enabled, the schema reader reports a problem when it
    encounters an unrecognized schema keyword.
  • JsonSchemaReaderFactoryBuilder#withStrictWithFormats().
    With this option enabled, the schema reader reports a problem when it
    encounters an unrecognized format attribute.
  • [CLI] -strict option which forces the schema validator to report
    a problem when it finds an unrecognized keyword or format attribute.
    This is useful for detecting misspelled keywords and format attributes.

Changed

  • Move withSchemaResolver() method in JsonSchemaReader to JsonSchemaReaderFactoryBuilder interface.
  • BranchProblem interface was merged with Problem interface and removed.

Fixed

  • A bug which was causing JSON schemas to be valid even if they are unclosed JSON objects.