Skip to content

Releases: nelmio/NelmioApiDocBundle

v4.23.0

06 Mar 18:37
db467dc
Compare
Choose a tag to compare

Changelog

  • Cache configuration option nelmio_api_doc.cache.item_id now automatically gets the area appended.
    nelmio_api_doc:
        cache:
            pool: app.cache
            item_id: nelmio_api_doc.docs
        areas:
            default: 
                ...
            area1:   
                ...
    Result in cache keys: nelmio_api_doc.docs.default & nelmio_api_doc.docs.area1 to be used respectively.
  • Added cache configuration option per area.
    nelmio_api_doc:
        areas:
            default: # Manual cache configuration
                cache:
                    pool: app.cache
                    item_id: nelmio_api_doc.docs.default
                ...
            area1:   
                cache:
                    pool: app.cache
                    item_id: nelmio_api_doc.docs.area1
                ...
    Non-configured options will be inherited from nelmio_api_doc.cache.
  • Fixed vendor extensions (x-*) from configuration not being outputted in the generated specification.
    nelmio_api_doc:
        documentation:
            info:
                title: 'My API'
                description: 'My API description'
                x-foo: 'bar'
    Now results in JSON specification:
    {
      ...
      "info": {
        "title": "API",
        "version": "1.0",
        "x-foo": "bar"
      },
      ...
    }
  • Updated nullable enum handling to align with the behaviour of other object types. It now uses wraps nullable enums with oneOf instead of allOf.

What's Changed

New Contributors

Full Changelog: v4.22.1...v4.23.0

v4.22.1

02 Mar 17:06
b306289
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.22.0...v4.22.1

v4.22.0

02 Mar 16:46
7cb4389
Compare
Choose a tag to compare

Changelog

What's Changed

Full Changelog: v4.21.0...v4.22.0

v4.21.0

02 Mar 13:28
Compare
Choose a tag to compare

Changelog

  • Added bundle configuration options cache.pool and cache.item_id.

What's Changed

New Contributors

Full Changelog: v4.20.0...v4.21.0

v4.20.0

13 Feb 14:16
61c08f1
Compare
Choose a tag to compare

Changelog

What's Changed

New Contributors

Full Changelog: v4.19.3...v4.20.0

v4.19.3

07 Feb 13:22
daadb0b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.19.2...v4.19.3

v4.19.2

30 Jan 09:14
5a5049d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.19.1...v4.19.2

v4.19.1

29 Jan 12:29
19d628a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.19.0...v4.19.1

v4.19.0

26 Jan 12:07
b96c263
Compare
Choose a tag to compare

What's Changed

  • Support CSRF protection token of Symfony's form component by @stollr in #2132

New Contributors

Full Changelog: v4.18.3...v4.19.0

v4.18.3

26 Jan 11:56
d7f9b80
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.18.2...v4.18.3