Skip to content

Releases: ro-pi/json-schema-evaluator

v0.4.3

22 Jul 21:54
Compare
Choose a tag to compare
v0.4.3 Pre-release
Pre-release
  • Implemented method getKeywordLocation() to StaticKeywordAnalysisException
  • Empty enum arrays are now allowed (according to specification)

v0.4.2

14 Jul 00:01
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

Bugfix: Fixed keyword and instance location, if a path fragment is 0 (e.g. the keyword location /anyOf/0/const was built as /anyOf/const before this fix)

v0.4.1

08 Apr 01:03
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release
  • Missing required property name is now contained in errorMeta property

v0.4.0

26 Feb 22:22
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release
  • BREAKING: Changed RuntimeEvaluationResult to distinguish between annotations and errors (see #1)
    • Public property "type" added to RuntimeEvaluationResult, which can have the value "error" or "annotation"
    • Failed applicator keywords now create RuntimeEvaluationResults with type "error" (Note: The "error" property would be empty in this case in order to be able to ignore these errors, as they are not as relevant or informative as the errors of sub-schemas)
    • Renamed property "annotation", method setAnnotation() and method getAnnotation() of RuntimeEvaluationResult to "annotationValue", setAnnotationValue() and getAnnotationValue()
    • Removed property "suppressAnnotation" of RuntimeEvaluationResult as no longer required
    • Removed property "evaluationResult", method setAnnotationValue() and method getAnnotationValue() of RuntimeEvaluationResult as no longer required
    • The keyword value is now passed to RuntimeEvaluationContext::createResultForKeyword() method (must be passed through to RuntimeEvaluationResult)
    • The keyword value is now passed to RuntimeEvaluationResult::__construct() method (as additional information and for annotation default values in output units of output formats)
    • BasicOutput now returns the proper structure, returns the annotations for succeeded validations and each output unit contains now the "type" property, which can have the value "annotation" or "error"

v0.3.0

21 Dec 22:59
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
  • Code optimizations

v0.2.2

09 Aug 09:48
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
  • Throw exception during runtime, if bcmath is missing to avoid strange behavior
  • Minor code formatting

v0.2.1

06 Apr 21:53
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
* updated dependencies (due to guzzle security vulnerability)

* changed requirements in README

v0.2.0

29 Mar 20:21
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Set requirements to PHP version >= 8.1
  • Defined readonly properties

v0.1.6

20 Mar 23:02
Compare
Choose a tag to compare
v0.1.6 Pre-release
Pre-release
Fixed annotation handling for invalid assertion results

v0.1.5

20 Mar 22:21
Compare
Choose a tag to compare
v0.1.5 Pre-release
Pre-release
error handling optimization