Releases: cnizzardini/cakephp-swagger-bake
Releases · cnizzardini/cakephp-swagger-bake
v3.0.5
What's Changed
- Fix bug, isNullable is not being set from Attribute by @cnizzardini in #560
Full Changelog: v3.0.4...v3.0.5
v2.5.10
What's Changed
- Fix bug, isNullable is not being set from Attribute by @cnizzardini in #559
Full Changelog: v2.5.9...v2.5.10
v3.0.4
v3.0.3
What's Changed
- Pass enums through array_values by @cnizzardini in #549
Full Changelog: v3.0.2...v3.0.3
v3.0.2
What's Changed
- Hidden properties take precedence in being hidden by @cnizzardini in #547
Full Changelog: v3.0.1...v3.0.2
v3.0.1
What's Changed
- Prevent loading associations in ApiResponse(associations: $var) by @cnizzardini in #541
- Only do file exists check for YML config by @cnizzardini in #542
Full Changelog: v3.0.0...v3.0.1
v2.5.9
What's Changed
- Mepeiso/add false option to associations white list by @manuelpeiso in #538
New Contributors
- @manuelpeiso made their first contribution in #538
Full Changelog: v2.5.8...v2.5.9
v3.0.0
SwaggerBake v3.0.0 is now available! See the changelog for every commit.
- Requires CakePHP ^5.0
- Requires PHP ^8.1
Changes
- Moved openapi build logic out of constructor #469. You must now call
build()
before accessing OpenAPI data via theSwagger
class. - Updates Redocly to the latest: https://github.com/Redocly/redoc/releases/tag/v2.1.3
- Updates SwaggerUI to the lastest: https://github.com/swagger-api/swagger-ui/releases/tag/v5.11.0
Removes
OpenApiDtoQuery
attribute has been removed, useOpenApiQueryParam
instead #426OpenApiDtoRequestBody
attribute has been removed, useOpenApiSchemaProperty
instead #426SwaggerUiComponent
has been removed, useOpenApiControllerService
which can optionally be injected as an argument to your controller method.SwaggerBake\Lib\Factory\SwaggerFactory
has been removed, useSwaggerBake\Lib\SwaggerFactory
instead.- Misspelled visibility constants in
OpenApiSchema
have been removed, use the corrected ones instead. Configuration
methods get/set have been removed, use property specific getters and setters insteadSchema
public property was removed, use visibility property and its getters/setters instead.- Support for x-exception-fqn was removed. Use OpenApiExceptionSchemaInterface.
OpenApiSearch::tableClass
has been removed, useOpenApiSearch::alias instead
#451
Misc
- Adds PHP 8.1 language features #427
- Convert Attribute properties to readonly where possible.
- Bumps phpstan to ^1.8 and fixes code
- Replaces usage of phpstan reflection classes in tests
v2.5.8
What's Changed
- Adds timers and memory tracking if DebugKit is loaded by @cnizzardini in #524
- Response attribute takes precedence over doc block by @cnizzardini in #531
Full Changelog: v2.5.7...v2.5.8
v2.5.7
What's Changed
- Use hasBehavior instead of calling finder in OpenApiSearch by @cnizzardini in #522
- Resolve bug in exception code, do not instantiate exceptions by @cnizzardini in #523
Full Changelog: v2.5.6...v2.5.7