Skip to content

Releases

v0.4.3

v0.4.3 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 22 Jul 21:54
  • Implemented method getKeywordLocation() to StaticKeywordAnalysisException
  • Empty enum arrays are now allowed (according to specification)

v0.4.2

v0.4.2 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 14 Jul 00:01

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

v0.4.1 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 08 Apr 01:03
  • Missing required property name is now contained in errorMeta property

v0.4.0

v0.4.0 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 26 Feb 22:22
  • 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

v0.3.0 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 21 Dec 22:59
  • Code optimizations

v0.2.2

v0.2.2 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 09 Aug 09:48
  • Throw exception during runtime, if bcmath is missing to avoid strange behavior
  • Minor code formatting

v0.2.1

v0.2.1 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 06 Apr 21:53
* updated dependencies (due to guzzle security vulnerability)

* changed requirements in README

v0.2.0

v0.2.0 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 29 Mar 20:21
  • Set requirements to PHP version >= 8.1
  • Defined readonly properties

v0.1.6

v0.1.6 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 20 Mar 23:02
Fixed annotation handling for invalid assertion results

v0.1.5

v0.1.5 Pre-release
Pre-release

Choose a tag to compare

@ro-pi ro-pi released this 20 Mar 22:21
error handling optimization