2017-12-28 10:55:05 +01:00
|
|
|
CHANGELOG
|
|
|
|
=========
|
|
|
|
|
2018-01-28 13:56:02 +01:00
|
|
|
3.1.0 (2017-01-28)
|
2017-12-28 10:55:05 +01:00
|
|
|
------------------
|
|
|
|
|
2018-01-25 15:03:03 +01:00
|
|
|
* Added Symfony Validator constraints support
|
|
|
|
|
2017-12-28 10:55:05 +01:00
|
|
|
Symfony Forms
|
|
|
|
* Support for boolean checkbox
|
|
|
|
* Support for integer
|
|
|
|
|
|
|
|
JMS Serializer
|
|
|
|
* Support JMS `int` (alias for `integer`)
|
2018-01-25 15:03:03 +01:00
|
|
|
* Also process phpdoc annotations
|
2017-12-28 10:55:05 +01:00
|
|
|
|
|
|
|
SwaggerPHP
|
|
|
|
* Handle `enum` and `default` properties from SwaggerPHP annotation
|
2018-01-25 21:11:34 +01:00
|
|
|
* Support `@Security` annotations
|
2017-12-28 10:55:05 +01:00
|
|
|
|
2018-01-05 13:08:02 +01:00
|
|
|
Config
|
|
|
|
* `nelmio_api_doc.routes` has been replaced by `nelmio_api_doc.areas`. Please update your config accordingly.
|
|
|
|
|
|
|
|
Before:
|
|
|
|
```yml
|
|
|
|
nelmio_api_doc:
|
|
|
|
routes: [ path_patterns: [ /api ] ]
|
|
|
|
```
|
|
|
|
|
|
|
|
After:
|
|
|
|
```yml
|
|
|
|
nelmio_api_doc:
|
|
|
|
areas: [ path_patterns: [ /api ] ]
|
|
|
|
```
|
|
|
|
|
2017-12-28 10:55:05 +01:00
|
|
|
3.0.0 (2017-12-10)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Large refactoring introducing `zircote/swagger-php` for swagger annotations.
|
|
|
|
|
|
|
|
See UPGRADE-3.0.md for upgrading instructions.
|