Skip to content

Releases: everit-org/json-schema

Improved equals() and hashCode implementations

15 Dec 18:18
Compare
Choose a tag to compare

Improvements

  • Fixes CombinedSchema#hashCode() / equals() reliability
  • fixes potential StackOverflowError in ReferenceSchema#hashCode() - equals() - contributed by @tledkov
  • Fixes a flaky test - contributed by @RugvedB

Maintenance release

17 Oct 07:01
Compare
Choose a tag to compare

Improvements

Maintenance release

09 Mar 21:34
Compare
Choose a tag to compare

Improvements

  • upgrades org.json to version 20230227

Maintenance release

01 Apr 07:36
Compare
Choose a tag to compare

Improvements:

  • upgrading org.json to 20220320
  • fixing ArraySchema#definesProperty()
  • fixing build on java17

Maintenance release

09 Oct 16:25
Compare
Choose a tag to compare

Improvements

  • failing early by throwing SchemaException when "multipleOf" is 0, instead of throwing ArithmeticException during validation - fixes #426
  • avoiding using the jitpack repo in the maven central artifact - fixes #430
  • making ReferenceSchema#getReferenceValue() public - fixes #434

Lenient validator mode

16 Jul 13:06
Compare
Choose a tag to compare

Improvements

  • Added Lenient mode for validating primitive (scalar) values

Maintenance release

27 Jan 08:59
Compare
Choose a tag to compare

Bugfixes:

  • fixing the behavior or "defeault" keyword in "oneOf" schemas - contributed by @dab-libs
  • fixing error message for "type": "integer" violations - contributed by @zgyorffi
  • fixing NPE while validating "additionalItem" when "items" is not specified - contributed by @zgyorffi
  • keep precision in case of big numbers - contributed by @zgyorffi

Enhancements:

  • migrating to JUnit 5 - contributed by @gstoupis

Merry Christmas

22 Dec 20:11
Compare
Choose a tag to compare

Improvements:

  • better error handling while reading schema documents from the classpath - contributed by @rjruizes
  • the default schema client now follows HTTP redirects
  • improving performance of schema loading process (significant for very large schema documents) - requested in #348
  • proper hashCode() and equals() overrides in Regexp implementations - requested in #340
  • README fix contributed by @asherbar

Bugfixes:

  • fixed URIs missing from Schema#getLocation() for root schemas with explicitly set resolution scopes - requested in #333
  • fixes NotSchema#toString() throwing JSONException - reported in #345

Maintenance release

20 Sep 16:42
Compare
Choose a tag to compare

Improvements:

  • supporting HTTPS endpoints for version inference (meta-schema locations) reported and fixed by @rjlohan
  • permitting override of built-in format validators - reported and fixed by @luismoramedina
  • possible performance improvement by omitting stacktraces of internal exceptions - reported in #318
  • dependency updates

Bugfixes:

  • fixing JRE implementation-dependent behavior of Validationexception - reported in #319
  • properly printing "id" or "$id" depending on draft version when string-serializing Schema instances - reported in #327
  • fixing reference lookup by "$id" not working with remote references - reported in #321

Maintenance release

17 Mar 15:23
Compare
Choose a tag to compare

Bugfixes:

  • ReferenceSchema#getUnprocessedProperties() now returns correct values (also ReferenceSchema#getTitle(), #getDescription() and #getSchemaLocation())
  • fixing problem related to referencing a schema by "$id" if the "$id" value starts with a hashmark or is a valid json pointer - reported in #270
  • fixing problem where inline dereferencing by $id was broken if the schema contained a property called "$id" in "properties" - reported in #271
  • fixing misleading error message for "exclusiveMaximum" errors - contributed by @zgyorffi