json-schema-validator

A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12

APACHE-2.0 License

Stars
836
Committers
174

Bot releases are hidden (Show)

json-schema-validator - 1.0.80

Published by stevehu over 1 year ago

1.0.80 - 2023-04-18

Added

Changed

  • fixes #709 Throw the exception as it is in I18nSupport. Thanks @rishabh413
  • update javadoc comments
  • fixe #716 Adds support for unevaluatedProperties that uses a non-boolean schema. Thanks @fdutton
  • fixes #714 Adds explicit support for tracking evaluated properties. Thanks @fdutton
  • fixes #712 Corrects malformed tests. Thanks @fdutton
  • fixes #710 Add support for the Draft 2020-12 interpretation of prefixItems. Thanks @fdutton
  • fixes #708 remove System.exit from I18nSupport.
  • fixes #707 Corrects treating 1.0 as an integer. Thanks @fdutton
  • fixes #706 Adds support for validating regular expressions. Thanks @fdutton
  • fixes #705 Adds support for email addresses containing an IPv6 literal value. Thanks @fdutton
  • fixes #704 Adds support for validating leap seconds. Thanks @fdutton
  • fixes #703 Corrects validation of duration and provides the option to validate against the ISO 8601 duration format. Thanks @fdutton
  • fixes #720 Adds support for minContains and maxContains. Thanks @fdutton
  • Updates tests from JSON Schema Test Suite. Thanks @fdutton
  • fixes #698 avoid warning for additionalItems keyword
  • fixes #697 Moves JSON Schema Test Suite to a separate test-resources folder. Thanks @fdutton
  • fixes #696 add then and else to as NonValidationKeyword for v7
  • fixes #690 Uses JUnit dynamic tests to generate tests from specification files. Thanks @fdutton
  • upgrade slf4j to 2.0.7
  • upgrade logback to 1.4.6.
  • fixes #687 Return valid JSONPath (or JSONPointer) expressions for each ValidationMessage. Thanks @costas80
  • fixes #688 CI Bump used latest non-LTS Java: 19 -> 20. Thanks @valfirst
json-schema-validator - 1.0.79

Published by stevehu over 1 year ago

1.0.79 - 2023-03-27

Added

Changed

  • add a doc for metaschema validation
  • fixes #682 Adds support for translating one URI into another. Thanks @fdutton
  • fixes #604 add disabled test case to reproduce the NPE.
  • fixes changing ReadOnlyValidator to use boolean property instead of array. Thanks @jorgesartori
  • fixes #679 Add option to disable uri schema cache in JsonSchemaFactory. Thanks @Kaaviyan
  • fixes #664 Avoid throwing exceptions and error-level logging. Thanks @CremboC
  • fixes #675 Update README.md file. Thanks @hcnicepink
  • fixes #672 add multiple language doc.
  • fixes #671 Support time offsets in the time format. Thanks @JDziurlaj
json-schema-validator - 1.0.78

Published by stevehu over 1 year ago

1.0.78 - 2023-03-04

Added

Changed

  • update the README.md to indicate that 202012 version is only partially supported.
  • fixes #668 handle references to yaml sub-schemas. Thanks @danfelicetta-RL
  • fixes #664 Provide/unify schema path for applicator schemas. Thanks @htdan
  • fixes #666 Clarify usage of Apache commons lang in README.md. Thanks @loadedice
  • fixes #663 Use full schema path to look up type validators for anyOf operator. Thanks @pshevche
  • fixes #661 Make DependentRequired error message more helpful. Thanks @bernie-schelberg-mywave
json-schema-validator - 1.0.77

Published by stevehu over 1 year ago

1.0.77 - 2023-02-13

Added

  • fixes #637 Setup CI based on GH Actions. Thanks @valfirst
  • fixes #635 add persian language to json validator. Thanks @mahdimalverdi

Changed

  • upgrade jackson to 2.14.2
  • fixes #651 Map BinaryNodes to type string. Thanks @k-oliver
  • fixes #649 Improve logging performance. Thanks @valfirst
  • fixes #648 Drop unused test dependency: Mockito. Thanks @valfirst
  • fixes #647 Use Javadoc badge with dynamic version instead of plain link in README. Thanks @valfirst
  • fixes #646 Add ability to detect spec version optionally. Thanks @valfirst
  • fixes #645 Add MavenCentral badge to README. Thanks @valfirst
  • fixes #644 Improve example of Gradle dependency in README. Thanks @valfirst
  • fixes #643 Make sure all constants are static final. Thanks @valfirst
  • fixes #642 Remove unused fields from JsonSchemaVersion. Thanks @valfirst
  • fixes #641 Improve error messages on spec version detection. Thanks @valfirst
  • fixes #640 Update build badge from README to point GH Actions CI. Thanks @valfirst
  • fixes #639 Drop Travis CI config. Thanks @valfirst
  • fixes #638 Restore code coverage calculation. Thanks @valfirst
  • fixes #636 Adding tests for overriding error messages at schema level for individual keywords. Thanks @anjnerajat
  • fixes #634 Quick fix for issue causing the wrong custom message to be used. Thanks @chaosape
  • fixes #627 custom message for format. Thanks @vickyrathod
json-schema-validator - 1.0.76

Published by stevehu almost 2 years ago

1.0.76 - 2022-12-19

Added

Changed

  • Fixes #629 Adding a new walk method to start walking from a specific part of a given schema node. Thanks @prashanthjos
json-schema-validator - 1.0.75

Published by stevehu almost 2 years ago

1.0.75 - 2022-12-10

Added

Changed

  • fixes #628 schema path fixes in oneOf,allOf and anyOf validators. Thanks @prashanthjos
json-schema-validator - 1.0.74

Published by stevehu almost 2 years ago

1.0.74 - 2022-12-02

Added

Changed

  • upgrade undertow to 2.2.21.Final
  • upgrade jackson to 2.14.0
  • fixes #620 upgrade commons-lang3 to 3.12.0
  • fixes #619 Add support for subschema references in getSchema. Thanks @aznan2
  • fixes #626 Correcting the oneOf,anyOf and allOf child schema validators. Thanks @prashanthjos
  • fixes #617 Beautify code blocks. Thanks @limboinf
  • fixes #614 Update spec version tests. Thanks @tuncererdogan
  • fixes #613 Update the specversion.md and pom.xml. Thanks @tuncererdogan
json-schema-validator - 1.0.73

Published by stevehu about 2 years ago

1.0.73 - 2022-09-19

Added

  • fixes #593 Add validator for duration format. Thanks @iouakrim

Changed

  • upgrade undertow to 2.2.18.Final to 2.2.19.Final
  • fixes #563 Support adding custom messages at the attribute level. Thanks @makeItEasyQ
  • fixes #606 Handle matched state in AnyOfValidator. Thanks @sgerke-1L
  • fixes #598 Add Italian translation. Thanks @sbernardo
  • fixes #594 Remove commons-lang as a compile-time dependency. Thanks @agentgt
  • fixes #592 Add NonValidationKeyword "else" on 201909 and 202012. Thanks @ionutalex88
json-schema-validator - 1.0.72

Published by stevehu over 2 years ago

1.0.72 - 2022-07-17

Added

Changed

  • upgrade undertow to 2.2.14.Final to 2.2.18.Final
  • fixes #586 Add V202012 to SpecVersionDetector And JsonMetaSchema Thanks @Tuxzx
  • fixes #585 Changed data type to preserve the order of schema attributes. Thanks @sabarinathan590
json-schema-validator - 1.0.71

Published by stevehu over 2 years ago

1.0.71 - 2022-06-15

Added

Changed

  • upgrade jackson to 2.13.3
  • upgrade logback to 1.2.11
  • upgrade slf4j to 1.7.36
  • fixes #575 upgrade com.ethlo.time:itu to version 1.7.0 Thanks @jody-mcdonnell
  • fixes #380 Add support for draft 2020-12 Thanks @open-abbott
  • fixes #582 Fix unevaluatedPropeties with patternProperties and type union. Thanks @jkevan
json-schema-validator - 1.0.70

Published by stevehu over 2 years ago

1.0.70 - 2022-05-23

Added

  • fixes #558 Add French translation for validation messages. Thanks @sebastienrospars

Changed

  • fixes #535 part 2 fix the same issue in AnyOfValidator. Thanks @AndreasALoew
  • fixes #570 Upgrade javadoc plugin. Thanks @poorguy-tech
  • fixes #569 Fix broken tests on non-english setup. Thanks @dreis2211
  • fixes #566 Remove unused variable in JsonNodeUtil. Thanks @dreis2211
  • fixes #565 Improve performance of URLFactory.create. Thanks @dreis2211
  • fixes #561 Prevent from throwing an exception when setting default values. Thanks @josejulio
json-schema-validator - 1.0.69

Published by stevehu over 2 years ago

1.0.69 - 2022-04-18

Added

  • fixes #534 Adding Unevaluated properties keyword. Thanks @prashanthjos

Changed

  • fixes #554 removed unnecessary checks. Thanks @harishvashistha
  • fixes #555 Setting default value even if that value is null. Thanks @harishvashistha
  • fixes #544 Fixing unevaluated properties with a larger test base. Thanks @prashanthjos
  • fixes #552 Add schemaPath to ValidationMessage. Thanks @ymszzq
  • fixes #541 Allow fetching properties from the map with the comparator. Thanks @0x4a616e
json-schema-validator - 1.0.68

Published by stevehu over 2 years ago

1.0.68 - 2022-03-27

Notice

Our users have found a defect introduced in this release. Please don't upgrade to this release. Thanks.

Added

  • fixes #534 Adding Unevaluated properties keyword. Thanks @prashanthjos

Changed

  • fixes #537 Fix oneOf bug. Thanks @RenegadeWizard and @sychlak
  • fixes #511 Improve validation messages (German and default) Thanks @AndreasALoew
  • fixes #539 Refactoring-code. Thanks @Sahil3198
  • fixes #532 Invalid (non-string) $schema produces NullPointerException. Thanks @christi-square
  • fixes #530 Fixed a typo in the validators documentation. Thanks @jontrost
  • fixes #529 Updates to German translation. Thanks @rustermi
json-schema-validator - 1.0.67

Published by stevehu over 2 years ago

1.0.67 - 2022-03-05

Changed

  • fixes #525 Leap seconds are handled even better Thanks @aznan2 and @Matti Hansson
  • fixes #524 Fix handling of leap seconds in date-time validation
  • fixes #523 synched ipv4 and ipv6 and fix some gaps for the IP format
  • fixes #522 synch the official test suite for draft v4 from schema.org
  • fixes #509 NPE with oneOf and custom URI Fetcher or Factory
  • fixes #508 Make date-time validation align with RFC3339 Thanks @aznan2 and @Matti Hansson
  • fixes #519 Preserve # suffix during meta schema URI normalization Thanks @pondzix
  • fixes #516 fix the additionalProperties in oneOf failed test cases
  • fixes #505 AdditionalPropertiesOneOfFails test Thanks @huubfleuren
  • fixes #510 try to reproduce the issue but failed
  • fixes #511 Add German validation messages. Thanks @rustermi
  • fixes #500 Support fragment references using $anchor @Whathecode
json-schema-validator - 1.0.66

Published by stevehu over 2 years ago

1.0.66 - 2022-01-24

Changed

  • fixes #496 Improve type validation of integrals. Thanks @christi-square
  • fixes #497 parent schema of additionItems can be correctly referenced @carolkao
json-schema-validator - 1.0.65

Published by stevehu almost 3 years ago

1.0.65 - 2022-01-07

Changed

  • fixes #492 Sort ValidationMessage by its type. Thanks @jsu216
  • fixes #490 Handle the situation when context class loader is null. Thanks @vti and @Viacheslav Tykhanovskyi
  • fixes #489 Fix flakiness in CollectorContextTest. Thanks @pthariensflame
  • upgrade to logback 1.2.7 to resolve some x-ray warnings
  • upgrade to undertow 2.2.14 to resolve some x-ray warnings.
  • fixes #488 Fix violations of Sonar rule 2142. Thanks @khaes-kth
  • fixes #477 apply default in objects and arrays. Thanks @SiemelNaran
  • fixes #485 FailFast should not cause an exception on if. Thanks @gareth-robinson
  • fixes #483 Add Java Syntax Highlighting to specversion.md. Thanks @JLLeitschuh
  • fixes #482 upgrade to joni 2.1.41 to resolve a security concern
json-schema-validator - 1.0.64

Published by stevehu almost 3 years ago

1.0.64 - 2021-11-10

Changed

  • fixes #480 Time format validation supports milliseconds. Thanks @@MatusSivak
  • fixes #479 Add dependentRequired and dependentSchemas validators. Thanks @@kmalski
json-schema-validator - 1.0.63

Published by stevehu almost 3 years ago

1.0.63 - 2021-10-21

Changed

  • fixes #470 OneOfValidator gives the incorrect message when the wrong JSON element is not the first one in the list. Thanks @jsu216
  • fixes #472 fix i18n doesn't work with locale CHINA. Thanks @wyzfzu
json-schema-validator - 1.0.62

Published by stevehu about 3 years ago

1.0.62 - 2021-10-16

Changed

  • fixes #456 OneOf only validate the first sub schema. This was a defect introduced in 1.0.58 and everyone should upgrade to 1.0.62 if you are using 1.0.58 to 1.0.61.
json-schema-validator - 1.0.61

Published by stevehu about 3 years ago

1.0.61 - 2021-10-09

Changed

  • fixes #461 1.0.60 Expects type To Be Array. Thanks @bartoszm
  • fixes #459 Correcting the ref listeners config in WalkEvent class when fetching the getRefSchema. Thanks @prashanthjos