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.5.1 Latest Release

Published by stevehu 3 months ago

1.5.1 - 2024-07-25

Added

Changed

  • Fix enum validator messages for object, array and text nodes (#1095) Thanks @justin-tay
  • Optimize hasAdjacentKeywordInEvaluationPath (#1092) Thanks @justin-tay
json-schema-validator - 1.5.0

Published by stevehu 4 months ago

1.5.0 - 2024-07-05

Added

Changed

  • Improve performance and fixes (#1086) Thanks @justin-tay
  • Fix activeDialect for custom meta schema (#1084) Thanks @justin-tay
  • Remove alternate custom error message mechanism (#1083) Thanks @justin-tay
  • Fix evaluationPath and schemaLocation in getSubSchema for number in fragment (#1081) Thanks @justin-tay
  • Bump io.undertow:undertow-core from 2.2.31.Final to 2.2.33.Final (#1080) Thanks @justin-tay
  • Add security considerations and mitigations (#1079) Thanks @justin-tay
  • Fix oneOf when discriminator enabled but no discriminator (#1078) Thanks @justin-tay
  • Fix json pointer with number in fragment (#1077) Thanks @justin-tay
json-schema-validator - 1.4.3

Published by stevehu 4 months ago

1.4.3 - 2024-06-25

Added

Changed

  • Fix schema location with hash in the fragment (#1075) Thanks @justin-tay
json-schema-validator - 1.4.2

Published by stevehu 4 months ago

1.4.2 - 2024-06-21

Added

Changed

  • Resolve Javadoc warning messages #1073
  • Fix iri, iri-reference, uri and uri-reference (#1071) Thanks @justin-tay
  • fixes #1072 Downgrade maven-source-plugin to 3.2.1
json-schema-validator - 1.4.1

Published by stevehu 4 months ago

1.4.1 - 2024-06-20

Added

Changed

  • Add builder for SchemaValidatorsConfig (#1068) Thanks @justin-tay
  • Improve documentation on regular expressions (#1066) Thanks @justin-tay
  • Adds JsonNodeReader (#1065) Thanks @justin-tay
  • Bump jackson-databind from 2.17.0 to 2.17.1 (#1064) Thanks @justin-tay
  • Deprecate validateAndCollect in favour of explicitly calling loadCollectors (#1063) Thanks @justin-tay
  • Set initial array list size (#1062) Thanks @justin-tay
  • Refactor to make more fields final (#1060) Thanks @justin-tay
  • Deprecate config to disable unevaluatedItems and unevaluatedProperties evaluation as no longer needed (#1059) Thanks @justin-tay
  • Add GraalJS regular expression and factory implementation (#1058) Thanks @justin-tay
  • Allow customization of const message to include input value (#1057) Thanks @justin-tay
  • Optimize logging by creating a debug flag (#1054) Thanks @justin-tay
  • Release delegate held by cached supplier (#1056) Thanks @justin-tay
  • Remove incorrect logic for oneOf, anyOf and properties (#1053) Thanks @justin-tay
  • Detect invalid escape for ecmascript (#1049) Thanks @justin-tay
  • Fix uri and uri-reference incorrect validation failure (#1052) Thanks @justin-tay
  • Fix for incorrect validation failure for %-encoded '[' and ']' characters. (#1051) Thanks @4naesthetic
  • Optimize getValueNodeType (#1048) Thanks @justin-tay
  • Allow tracking of json node location information (#1046) Thanks @justin-tay
  • Update example in javadoc for JsonMetaSchema builder (#1043) Thanks @khouari1
  • Validate allOf, oneOf and anyOf contains array (#1039) Thanks @justin-tay
  • Update JSON Schema badges (#1041) Thanks @justin-tay
  • Fix schema location for escaped json pointer (#1038) Thanks @justin-tay
  • Allow customization of assertion for outputunit (#1033) Thanks @justin-tay
  • change example.com connection error IOException (#1028)
  • Fix broken link in README (#1029) Thanks @danielaparker
  • Update dependency versions (#1023) Thanks @justin-tay
  • Upgrade slf4j to 2.0.13
  • Upgrade Jackson to 2.17.0
  • Add options to control caching of schemas (#1018) Thanks @justin-tay
  • Update github actions (#1022) Thanks @justin-tay
  • Fix code example in README.md (#1020) Thanks @tombentley
  • Fix the broken link to if-then-else.json (#1014) Thanks @emmanuel-ferdman
  • Changed defs to $defs in compatibility.md (#1013) Thanks @danielaparker
  • Add OpenAPI JsonMetaSchema (#1011) Thanks @justin-tay
  • Fix walk for if validator with validation (#1010) Thanks @justin-tay
  • Fix 2012-12 typo (#1008) Thanks @justin-tay
  • Check type validator is of correct class (#1003) Thanks @justin-tay
  • Fix root classpath resolve (#1000) Thanks @justin-tay
  • upgrade undertow to 2.2.31.Final (#998)
  • Walk items schema instead of walking instance data (#993) Thanks @justin-tay
json-schema-validator - 1.4.0

Published by stevehu 7 months ago

1.4.0 - 2024-03-16

Added

Changed

  • Explicitly handle if the discriminator property value is null (#988) Thanks @justin-tay
  • Refactor walk (#986) Thanks @justin-tay
  • Fixes uri, uri-reference, iri, iri-reference formats and does iri to uri conversion (#983) Thanks @justin-tay
  • Support custom vocabularies and unknown keyword and meta-schema handling (#980) Thanks @justin-tay
  • Fix message (#975) Thanks @justin-tay
  • Make ethlo excludable (#974) Thanks @justin-tay
json-schema-validator - 1.3.3

Published by stevehu 8 months ago

1.3.3 - 2024-02-19

Added

  • Support GraalVM and refactor (#972) Thanks @justin-tay

Changed

  • Fixes for discriminator (#971) Thanks @justin-tay
  • Fix validation messages (#969) Thanks @justin-tay
  • Add unevaluatedProperties test (#968) Thanks @justin-tay
  • Reduce memory usage and improve performance (#966) Thanks @justin-tay
  • Set result at the end of schema processing (#963) Thanks @justin-tay
json-schema-validator - 1.3.2

Published by stevehu 9 months ago

1.3.2 - 2024-02-07

Added

Changed

  • Update upgrading doc on fail fast (#961) Thanks @justin-tay
  • Improve schema retrieval docs (#959) Thanks @justin-tay
  • Refactor format validation (#958) Thanks @justin-tay
  • Add test for OpenAPI 3.1 schema validation (#956) Thanks @justin-tay
  • Fix patternProperties annotation (#955) Thanks @justin-tay
  • Add test for type integer (#954) Thanks @justin-tay
  • Improve vocabulary support (#953) Thanks @justin-tay
  • Fix resolve (#952) Thanks @justin-tay
  • Locale.ENGLISH should set. (#951) Thanks @justin-tay
  • Fix issues with hierarchy output report (#947) Thanks @justin-tay
  • Add test for type loose for array and update doc for behavior (#946) Thanks @justin-tay
  • Support type loose for multipleOf validator (#945) Thanks @justin-tay
  • Fix for required annotations for evaluation not collected (#944) Thanks @justin-tay
json-schema-validator - 1.3.1

Published by stevehu 9 months ago

1.3.1 - 2024-01-31

Added

Changed

  • fixes #942 Add annotation support refactor keywords to use annotations implement output formats. Thanks @justin-tay
json-schema-validator - 1.3.0

Published by stevehu 9 months ago

1.3.0 - 2024-01-26

Added

Changed

  • fixes #934 update javadoc and a test case.
  • fixes #931 Support Draft 2020-12 and refactor schema retrieval. Thanks @justin-tay
  • fixes #930 Fix getSchema() anchor fragment lookup. Thanks @justin-tay
  • fixes #929 Upgrade ITU library to version 1.8. Thanks @ethlo

Upgrade Guide

With #931 implemented, it breaks the API. Users code might need to change in order to move to this version.

json-schema-validator - 1.2.0

Published by stevehu 9 months ago

1.2.0 - 2024-01-19

Added

Changed

  • fixes #913 Update docs on CollectorContext. Thanks @justin-tay
  • fixes #910 Refactor validation message generation. Thanks @justin-tay
  • fixes #923 Basic test on URI create to improve coverage. Thanks @pradoshtnair
  • fixes #915 Refactor of paths. Thanks @justin-tay
  • fixes #922 Support schema resource. Thanks @justin-tay

Upgrade Guide

With #915 and #922 implemented, it breaks the API. Users code might need to change in order to move to this version.

json-schema-validator - 1.1.0

Published by stevehu 10 months ago

1.1.0 - 2023-12-15

Added

Changed

  • fixes #906 Cannot load JSON schemas with URN value in id field. Thanks @martin-sladecek
  • upgrade logback to 1.3.14
  • fixes #896 Refactor to remove ThreadLocal usage. Thanks @justin-tay
  • upgrade slf4j to 2.0.9
  • fixes #900 compile configuration is depricated. Thanks @saurvkmr
  • fixes #898 Escape single quotes in validation messages. Thanks @sdurrenmatt
  • fixes #888 Fix JDK regex support. Thanks @Stephan202
  • fixes #891 fix: make JsonSchemaFactory more thread-safe. Thanks @mpayne-coveo
  • fixes #876 Adapt collector context documentation. Thanks @holgpar
  • fixes #890 Added test cases for not allowed validator, Handled invalid keyword. Thanks @Ketul3012
  • fixes #887 Fix pl_PL message translations. Thanks @brempusz
  • fixes #886 Fix invalid class passed to getLogger. Thanks @brempusz
  • upgrade jackson to 2.15.3
  • fixes #883 docs clarify commons-lang3 exclusion only required for 1.0.81. Thanks @JonasGroeger
  • fixes #866 Fix identation in example in walkers.md. Thanks @bpaquet

Upgrade Guide

With #896 implemented, it breaks the API. Users code might need to change in order to move to this version.

json-schema-validator - 1.0.88

Published by stevehu 11 months ago

1.0.88 - 2023-12-08

Added

Changed

  • fixes #906 Cannot load JSON schemas with URN value in id field. Thanks @martin-sladecek
  • upgrade logback to 1.4.14
  • fixes #896 Refactor to remove ThreadLocal usage. Thanks @justin-tay
  • upgrade slf4j to 2.0.9
  • fixes #900 compile configuration is depricated. Thanks @saurvkmr
  • fixes #898 Escape single quotes in validation messages. Thanks @sdurrenmatt
  • fixes #888 Fix JDK regex support. Thanks @Stephan202
  • fixes #891 fix: make JsonSchemaFactory more thread-safe. Thanks @mpayne-coveo
  • fixes #876 Adapt collector context documentation. Thanks @holgpar
  • fixes #890 Added test cases for not allowed validator, Handled invalid keyword. Thanks @Ketul3012
  • fixes #887 Fix pl_PL message translations. Thanks @brempusz
  • fixes #886 Fix invalid class passed to getLogger. Thanks @brempusz
  • upgrade jackson to 2.15.3
  • fixes #883 docs clarify commons-lang3 exclusion only required for 1.0.81. Thanks @JonasGroeger
  • fixes #866 Fix identation in example in walkers.md. Thanks @bpaquet
json-schema-validator - 1.0.87

Published by stevehu about 1 year ago

1.0.87 - 2023-09-08

Added

  • fixes #852 New resource bundle languages added for issue. Thanks @channaveer1

Changed

  • fixes #837 Use correct namespace URI to pass XML validation. Thanks @@jbliznak
json-schema-validator - 1.0.86

Published by stevehu over 1 year ago

1.0.86 - 2023-07-05

Added

  • fixes #825 Adds support for $recursiveAnchor and $recursiveRef. Thanks @fdutton

Changed

  • fixes #827 Stops unevaluatedProperties and unevaluatedItems being applied recursively. Thanks @aznan2
  • fixes #834 Always normalize uri keys of JsonSchemaFactory.jsonMetaSchemas on both read and write. Thanks @stacywsmith
json-schema-validator - 1.0.85

Published by stevehu over 1 year ago

1.0.85 - 2023-06-22

Added

  • fixes #823 Adds support for writeOnly. Thanks @fdutton

Changed

  • fixes #819 Reverts Undertow version to 2.2.25.Final. Thanks @fdutton
json-schema-validator - 1.0.84

Published by stevehu over 1 year ago

1.0.84 - 2023-06-09

Added

  • fixes #813 Adds support for walking if-then-else. Thanks @fdutton
  • fixes #811 Adds support for walking dependentSchemas. Thanks @fdutton

Changed

  • fixes #816 Ignores fail-fast when evaluating a member of an applicator. Thanks @fdutton
  • fixes #815 Corrects Java's failure to match an end anchor when immediately preceded by a quantifier. Thanks @fdutton
  • fixes #812 Ensures context is reset after validating regardless of which method is used by the client. Thanks @fdutton
  • fixes #809 Ignores siblings of $ref when dialect is Draft 4, 6 or 7. Thanks @fdutton
  • fixes #807 Updates Jacoco configuration to ignore the embedded Apache code. Thanks @fdutton
  • fixes #790 Simplifies how evaluated properties and array items are tracked. Thanks @fdutton
  • fixes #806 Enables unit-tests for refRemote validation. Thanks @fdutton
  • fixes #805 Corrects issue with deserializing JSON Schema Test Suite tests. Thanks @fdutton
  • fixes #801 Support config param to disable custom messages from schema. Thanks @anjnerajat
  • fixes #795 Supports fail-fast when a pattern does not match. Thanks @fdutton
  • fixes #793 Updating jackson version to 2.15.2
json-schema-validator - 1.0.83

Published by stevehu over 1 year ago

1.0.83 - 2023-05-26

Added

  • fixes #779 Adds support for cross-draft validation. Thanks @fdutton
  • fixes #777 Adds support for handling integer overflow. Thanks @fdutton

Changed

  • fixes #788 update JsonSchema to fix the Javadoc issues
  • fixes #787 Allows to override date-time and duration validators. Thanks @josejulio
  • fixes #786 Allow walking of the schema for items keyword when non-array node is provided. Thanks @anjnerajat
  • fixes #783 Resolves improper anchoring of patternProperties. Thanks @fdutton
json-schema-validator - 1.0.82

Published by stevehu over 1 year ago

1.0.82 - 2023-05-20

Added

  • fixes #775 Adds support for validating idn-hostname and idn-email. Thanks @fdutton
  • fixes #769 Add minContains / maxContains correct keywords. Thanks @vwuilbea-in
  • fixes #768 Adds support for validating an IRI. Thanks @fdutton
  • fixes #766 Supports iri-reference format validation. Thanks @fdutton
  • fixes #764 Supports uri-reference format. Thanks @fdutton
  • fixes #762 Supports relative-json-pointer validation. Thanks @fdutton
  • fixes #758 Adds support for validating uri-template formats. Thanks @fdutton

Changed

  • fixes #760 Enables validation of json-pointer formats. Thanks @fdutton
  • fixes #752 Bug fix for JSON Pointer parsing. Thanks @costas80
  • fixes #754 Resolves incomplete validation of unevaluatedProperties. Thanks @fdutton
  • fixes #750 Escape double-quote in produced JSON Path expressions. Thanks @costas80
  • fixes #749 Enables unit-tests for the unevaluatedItems keyword. Thanks @fdutton
  • fixes #686 Better localisation support. Thanks @costas80
  • fixes #741 Updates LICENSE and NOTICE to comply with section 4d of the Apache License. Thanks @fdutton
  • fixes #738 Enables unit-tests for ECMA 262 regular expressions. Thanks @fdutton
  • fixes #735 Enables unit-tests for 'not' keyword. Thanks @fdutton
  • fixes #733 Updates tests from JSON Schema Test Suite. Thanks @fdutton
json-schema-validator - 1.0.81

Published by stevehu over 1 year ago

1.0.81 - 2023-04-30

Added

Changed

  • fixes #731 Improves performance. Thanks @fdutton
  • fixes #730 Removes the need for network access when executing unit tests. Thanks @fdutton
  • fixes #728 Adds explicit Java module descriptor for JDK9+. Thanks @aalmiray
  • fixes #725 custom uri fetcher doc. Thanks @michapojo
  • update the contributors and sponsors
  • fixes #720 Produces validation messages when oneOf has no valid schemas. Thanks @fdutton