This file contains the upgrade notes. These notes highlight changes that could break your application when you upgrade the package from one version to another.
Important! The following upgrading instructions are cumulative. That is, if you want to upgrade from version A to version C and there is version B between A and C, you need to following the instructions for both A and B.
- The namespace has changed from
Yiisoft\SwaggertoYiisoft\Yii\Swagger. You should update all usages to the new namespace. Yiisoft\Swagger\Middleware\SwaggerJsonandYiisoft\Swagger\Middleware\SwaggerUiwas removed. Replace usage of them to\Yiisoft\Swagger\Action\SwaggerJsonand\Yiisoft\Swagger\Action\SwaggerUi.- Rename configuration parameters:
annotation-pathstosource-paths,open-api-optionstooptions. - Annotations support has been deprecated. To continue using annotations in your code, install
doctrine/annotations. - Added optional
OpenApi\Generatorparameter toSwaggerServiceconstructor, update instance creating locations.