Skip to content

Releases: carsdotcom/laravel-json-schema

v2.1.0

12 Jul 16:35
95e0e09
Compare
Choose a tag to compare

Formal, tested support for Laravel 10 and 11, including new matrix runners for PRs.

v2.0.0

26 Jun 15:19
9e5e309
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.2...v2.0.0

v1.0.2

08 May 21:18
a84c84d
Compare
Choose a tag to compare

What's Changed

#4
This removes the error() method and instead introduces a new variant of validate() named validationResult() that returns a full \Opis\JsonSchema\ValidationResult which bundles both isValid and the array of errors, in a single object.

Because SchemaValidatorProvider is a singleton, the previous error() (and corresponding protected attribute) were effectively a global variable. This new design fixes that by making errors only available in the response to a specific validate call, you can't get errors for the wrong invocation.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

10 Jul 20:34
5590c31
Compare
Choose a tag to compare

What's Changed

  • Feature gaps to use in Online Shopper by @jwadhams in #2

Full Changelog: v1.0.0...v1.0.1

v1.0.0

06 Jul 19:40
0193c37
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/carsdotcom/laravel-json-schema/commits/v1.0.0