Releases: opis/json-schema
Releases · opis/json-schema
v2.6.0
v2.5.0
- fixed deprecation warnings
- added php 8.5 to tests
Support for PHP 8.4 - v1
- fixed deprecation warnings
- added support for php 8.4
- minimum php version is now 7.4
v2.4.1
v2.4.0
Fixed
- enhanced multipleOf, you can now use
Helper::$numberScaleandHelper::$useBCMathproperties (#123) - fixed maxLength: 0 bug (#133)
- fixed error formatter (#144)
- fixed date-time related filters when using a timezone
Added
Validator::setStopAtFirstError()(#107)- docs about
$errorkeyword (#97)
v2.3.0
v2.2.0
Added
Opis\JsonSchema\Errors\CustomError- you can throw aCustomErrorexception from filters or formats to provide a custom error messageOpis\JsonSchema\CompliantValidator- a validator class that disables custom keywords of opis/json-schema (such as filters), making the validation compliant with the default json-schema behaviour
Fixed
v2.1.0
Added new parser options.
v2.0.1
Bugfix:
- infinite recursion in Helper::convertAssocArrayToObject()
v2.0.0
This major release is a ground-up rewrite of the library. For more details on how to upgrade to this version, please take a look at our migration guide.