Skip to content

Releases: nelmio/NelmioApiDocBundle

v4.26.2

29 May 07:21
9379c44
Compare
Choose a tag to compare

What's Changed

  • feat: apply rule TypedPropertyFromStrictConstructor from rector by @shakaran in #2283
  • Respect assets mode config in controller by @HypeMC in #2280

New Contributors

Full Changelog: v4.26.1...v4.26.2

v4.26.1

20 Apr 11:19
2af8c5d
Compare
Choose a tag to compare

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

19 Apr 14:45
2d0f12d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.25.3...v4.26.0

4.25.3

15 Apr 17:02
38682dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.25.2...4.25.3

4.25.2

06 Apr 12:13
fc5d60d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.25.1...4.25.2

v4.25.1

04 Apr 08:17
f594e60
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.25.0...v4.25.1

v4.25.0

30 Mar 14:53
4ff744f
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v4.24.1...v4.25.0

v4.24.1

25 Mar 13:10
Compare
Choose a tag to compare

Changes

v4.24.0

14 Mar 15:14
9fb5170
Compare
Choose a tag to compare

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

Full Changelog: v4.23.1...v4.24.0

v4.23.1

07 Mar 09:21
a15b592
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.23.0...v4.23.1