Skip to content

Releases: opis/json-schema

v2.6.0

17 Oct 12:48
8458763

Choose a tag to compare

  • improved string length calculation

v2.5.0

08 Oct 19:49
1c59bfd

Choose a tag to compare

  • fixed deprecation warnings
  • added php 8.5 to tests

Support for PHP 8.4 - v1

05 Mar 20:05
2b6a820

Choose a tag to compare

  • fixed deprecation warnings
  • added support for php 8.4
  • minimum php version is now 7.4

v2.4.1

30 Dec 20:45

Choose a tag to compare

Fixes

  • minor fixes to Helper::isMultipleOf() (#126)

Also see changes in 2.4.0

v2.4.0

29 Dec 23:20
ddf937c

Choose a tag to compare

Fixed

  • enhanced multipleOf, you can now use Helper::$numberScale and Helper::$useBCMath properties (#123)
  • fixed maxLength: 0 bug (#133)
  • fixed error formatter (#144)
  • fixed date-time related filters when using a timezone

Added

v2.3.0

08 Jan 20:43

Choose a tag to compare

Added

  • sub-errors for oneOf keyword #98

Fixed

v2.2.0

12 Oct 21:01

Choose a tag to compare

Added

  • Opis\JsonSchema\Errors\CustomError - you can throw a CustomError exception from filters or formats to provide a custom error message
  • Opis\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

04 May 13:49

Choose a tag to compare

Added new parser options.

v2.0.1

21 Apr 15:38
2ddccb5

Choose a tag to compare

Bugfix:

  • infinite recursion in Helper::convertAssocArrayToObject()

v2.0.0

14 Apr 15:59

Choose a tag to compare

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.