Skip to content

Releases: cebe/php-openapi

Version 1.7.0

20 Apr 15:34
020d72b
Compare
Choose a tag to compare

Improvements:

Version 1.6.0

10 Feb 09:47
Compare
Choose a tag to compare

Bugfixes:

  • #100 Fixed a bug with merging PathItems where extension properties (x-*) were not present in the merge result (thanks @marcelthole)
  • #131 Adjust default value for Schema::$nullable when no type is specified. nullable will be false by default when a type is specified but null when no type is specified.
  • #77 Fixes default value for exclusiveMinimum and exclusiveMaximum only return false when minimum or maximum is specified, defaults to null otherwise.
  • #125 Fix OpenAPI v3.0 Schema Violation: Array value found, but an object is required (thanks @om4james)
  • #119 Stricter type checking when resolving references, avoid trying to call methods on array
  • #144 Catch recursion when resolving inside included file

Dependencies:

Other changes:

  • Reworked CI (thanks @simPod)
  • Added Docker environment for local development

Version 1.5.2

24 May 11:45
8f1f706
Compare
Choose a tag to compare

Bugfixes:

  • #87, #102 Fix PathItem::resolveReferences() for array fields, a PHP Notice had been thrown (thanks @iZucken and @rv1971)
  • #107 Inline references does not resolve relative references (thanks @marcelthole)
  • #95 Adjust relative URLs for externalValue fields in Example Objects when inlining references.

Documentation:

  • Fixed typos in README and CLI help (thanks @ssfinney)

Version 1.5.1

16 Feb 11:20
8397720
Compare
Choose a tag to compare

Bugs

  • #94 Fixed resolving relative paths with multiple ../ (thanks @il-m-yamagishi)

Documentation

Version 1.5.0

31 Dec 00:55
310de02
Compare
Choose a tag to compare

Improvements:

  • Overall performance improvements and other optimization for loading references
  • #63 Added option to only resolve external references (inlining)

Bugfixes:

  • #74 Fix PHPDoc for exclusiveMinimum and exclusiveMaximum to boolean (thanks @canvural)
  • #92 Resolving references to external files did not work correctly on windows (thanks @Insolita)

Other changes:

Version 1.4.2

27 May 16:18
672aea6
Compare
Choose a tag to compare
  • #61 Allow Symfony YAML 4.4 to be installed

Version 1.4.1

07 Apr 15:58
ff90fca
Compare
Choose a tag to compare

Version 1.4.0

06 Mar 18:59
a27ffc4
Compare
Choose a tag to compare

Version 1.3.4

28 Feb 17:01
ed96467
Compare
Choose a tag to compare
  • #57 Fix transitive reference resolving in the current document context

Version 1.3.3

16 Dec 13:47
1.3.3
497683f
Compare
Choose a tag to compare
  • #44 Fix recursion issue with reading references which are included multiple times