Releases: zircote/swagger-php
Releases · zircote/swagger-php
PHP 8.1 support + attributes
3.3.2
3.3.1: Fix argument exception (#999)
Bug fix release with a temporary fix to handle missing context when using swagger-php via the nelmio annotation bundle (symfony)
Bugfix / Maintenance
- Switch to non-static PSR logger internally
- Ensure all code path have access to a context instance (for logging)
- Add convenience methods to manage processors to
Generator
- Improve examples
- Fix PHP 8.1 compatibility
- Add new
Attachable
annotation to attach arbitrary data to actual OpenApi annotations
3.2.3
Bug fix release
- Fixes a regressing in
MergeIntoOpenApi
- Minor tweaks to examples
3.2.2
- Improve uniqueness of generated
operationId
; aslo hash the value by default to avoid leaking imlementation details - Examples updated to illustrate use of line-break in description and other free form properties
- Examples updated to illustrate of
oneOf
- Bug fix: inject PHP docblock summary/description only to root annotation in docblock, not nested ones #955
3.2.1: Regression: Fix traits without class-level phpDocs (#941)
Fix regression around traits without @OA\Schema
annotation.
Bug fix / feature roll up
- Lots of bug fixes and minor tweaks
- Improved documentation and examples
- PHP8 support
- Migration to gh-actions
- Introdution of the
Generator
class to provide a single OO entrypoint into running swagger-php
see: https://zircote.github.io/swagger-php/Generator-migration.html
This release marks a few things replaced by the Generator
as deprecated
:
- The constsants
OpenApi\\UNDEFINED
,OpenApi\\Annotations\\UNDEFINED
andOpenApi\\Processors\\UNDEFINED
- The
OpenApi\\scan()
function Analyser::$whitelist
Analyser::$defaultImports
- The
OpenApi\\Logger
class
2.1.0: Merge pull request #882 from Tobion/patch-1
Add support for PHP 8