Skip to content

Releases: wol-soft/php-json-schema-model-generator

Diverging property metadata

18 Nov 11:09
Compare
Choose a tag to compare

Bugfixes

  • Diverging required or dependencies definitions for properties referencing the same definition aren't resolved correctly (#86)

Optional Const validations

19 Sep 15:43
9247674
Compare
Choose a tag to compare

Features

  • Added support for optional const validations (#84), implemented by @kolodkinvalentin. Additionally support const in various contexts:
    • array contains validation
    • property name validation
    • additional properties validation
    • pattern properties validation
    • Compositions (allOf, oneOf, anyOf, not)

Bugfixes

  • Allow 0 as property name (#83)
  • Optional compositions allow null even if implicitNull is not enabled
  • Array contains always passes if the array contains null and implicitNull is enabled

0.24.2: Added strict validation

06 Sep 12:34
1bb1374
Compare
Choose a tag to compare
  • Fix zero in optional enums (#81)

0.24.1

19 Aug 10:17
Compare
Choose a tag to compare

Support top level $ref in combination with other declarations (#79)

Enum post processor

17 Oct 10:25
2121ea9
Compare
Choose a tag to compare

⚠️ Backwards incompatible changes

  • Dropped support for EOL PHP versions 7.2, 7.3 and 7.4
  • Changed the message of the InvalidTypeException to contain the fqcn of a provided object instead of the literal "object"

Features

  • Added the Enum post processor to generate PHP enums for enums in the processed schema files (docs)

Fix creation of dynamic property

14 Sep 11:40
85aa9b5
Compare
Choose a tag to compare
Merge pull request #78 from wol-soft/issue77_dynamicProperty

Fix creation of dynamic property for composed item validators on properties

Bugfixes

07 Jun 12:29
Compare
Choose a tag to compare
  • Skip not provided optional properties in serialization results (fixes #76)

0.23.3

20 Apr 15:57
a9bda3c
Compare
Choose a tag to compare

Bugfixes

  • Fix issue #70 (filter inside compositions are not applied)

0.23.2

31 Mar 12:10
e1968a0
Compare
Choose a tag to compare

Bugfixes

  • Fix regression introduced by #68 (#69)

0.23.1

30 Mar 12:47
b3deda8
Compare
Choose a tag to compare

Bugfixes

  • Fix recursive reference resolving (#65)