Skip to content

Releases: hotmeteor/spectator

Validation error rendering

13 May 23:17
Compare
Choose a tag to compare

Error rendering has been greatly improved so that now all validation issues are displayed:

CleanShot 2021-05-13 at 18 16 41@2x

Better path prefix support

13 May 16:34
Compare
Choose a tag to compare
  • Improves support for path_prefix config value
  • Adds new ->setPathPrefix($prefix) inline support for ad hoc paths

Bug fixes

13 May 14:39
8485302
Compare
Choose a tag to compare
  • Fixed issue where spec paths weren't being reconciled properly
  • Updated usage of obsolete ->getErrors() method

Update config value

11 May 18:52
Compare
Choose a tag to compare
v1.0.3

Update config value

Bump for Laravel security alert

03 May 19:13
Compare
Choose a tag to compare
v1.0.2

Push security update

Fix component reference parsing

21 Apr 17:56
ae0120a
Compare
Choose a tag to compare

Fixes parsing of component references that aren't being resolved correctly by cebe/php-openapi#31

v1.0

21 Apr 14:03
8d56d2e
Compare
Choose a tag to compare
  • Upgrade opis/json-schema to ^2.0
  • Remove support for PHP 7.3
  • Add IDE helpers, test for components
  • Apply fixes from StyleCI (#40)

Migration:

  • You must be on PHP 7.4 to use this package, due to requirements of opis/json-schema:^2.0
  • Response validation messages no longer use the uses keyword in the JSON-ified message, it's now type

Exception handling improvements

17 Feb 14:31
Compare
Choose a tag to compare
  • Will now provide informative feedback if the spec file being used is malformed and needs linting (#31)
  • Add ability to expose underlying exception details when using $this->withoutExceptionHandling() in your test case (#34) (from @beblife)

Add support for schema that has an array of objects with nullable properties

16 Feb 22:53
8ff47fc
Compare
Choose a tag to compare

Add Github personal token support

16 Feb 00:32
13b295a
Compare
Choose a tag to compare