Releases: nelmio/NelmioApiDocBundle
Releases · nelmio/NelmioApiDocBundle
v4.26.2
v4.26.1
What's Changed
- fix: Unknown Constraint class when not using symfony/validator by @DjordyKoert in #2276
Full Changelog: v4.26.0...v4.26.1
v4.26.0
What's Changed
- feat: Add ability to configure UI through configuration by @HypeMC in #2251
- fix: Generate operationids properly by @lhausammann in #2266
New Contributors
Full Changelog: 4.25.3...v4.26.0
4.25.3
What's Changed
- [CI] Install friendsofsymfony/rest-bundle with Symfony 7 by @DjordyKoert in #2257
- remove phpunit 8.5, add phpunit 10.5 by @DjordyKoert in #2258
- Update CONTRIBUTING guide by @DominicLuidold in #2261
- Improve composer.json by @DominicLuidold in #2260
- PHPStan bump to level 6 by @DjordyKoert in #2259
Full Changelog: 4.25.2...4.25.3
4.25.2
What's Changed
- Bump actions/cache from 3 to 4 by @dependabot in #2255
- drop sensio/framework-extra-bundle by @DjordyKoert in #2256
- phpstan installation by @DjordyKoert in #2249
New Contributors
- @dependabot made their first contribution in #2255
Full Changelog: v4.25.1...4.25.2
v4.25.1
What's Changed
- Install & run PHP-CS-Fixer by @DominicLuidold in #2250
Full Changelog: v4.25.0...v4.25.1
v4.25.0
Changelog
- Added support for JMS @Discriminator annotation/attribute
#[\JMS\Serializer\Annotation\Discriminator(field: 'type', map: ['car' => Car::class, 'plane' => Plane::class])] abstract class Vehicle { } class Car extends Vehicle { } class Plane extends Vehicle { }
What's Changed
- fix(#2222): Fix properties with default values getting marked as required by @DominicLuidold in #2248
- Support for JMS discriminator map by @BesedinSasha in #2247
New Contributors
- @DominicLuidold made their first contribution in #2248
- @BesedinSasha made their first contribution in #2247
Full Changelog: v4.24.1...v4.25.0
v4.24.1
Changes
- Added conflict for swagger-php 4.8.7, see issue zircote/swagger-php#1562
v4.24.0
Changelog
Added support for some integer ranges (https://phpstan.org/writing-php-code/phpdoc-types#integer-ranges).
Annotations attached to integer properties like:
/**
* @var int<6, 11>
* @var int<min, 11>
* @var int<6, max>
* @var positive-int
* @var negative-int
*/
will be interpreted as appropriate minimum and maximum properties in the generated OpenAPI specification.
Minor breaking change
Dropped support for PHP 7.2 and PHP 7.3. PHP 7.4 is the minimum required version now.
What's Changed
- Update .symfony.bundle.yaml by @javiereguiluz in #2241
- Issue templates by @DjordyKoert in #2242
- Support for range integers + drop support for PHP 7.2 & 7.3 by @bnowak in #2236
Full Changelog: v4.23.1...v4.24.0
v4.23.1
What's Changed
- fix: use iterable check instead of array by @DjordyKoert in #2239
Full Changelog: v4.23.0...v4.23.1