Releases: wol-soft/php-json-schema-model-generator
Releases · wol-soft/php-json-schema-model-generator
Diverging property metadata
Optional Const validations
Features
- Added support for optional
const
validations (#84), implemented by @kolodkinvalentin. Additionally supportconst
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 ifimplicitNull
is not enabled - Array contains always passes if the array contains
null
andimplicitNull
is enabled
0.24.2: Added strict validation
- Fix zero in optional enums (#81)
0.24.1
Enum post processor
⚠️ 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
Merge pull request #78 from wol-soft/issue77_dynamicProperty Fix creation of dynamic property for composed item validators on properties