Releases: nestjs/swagger
Releases · nestjs/swagger
Release 11.3.0
11.3.0 (2026-04-15)
Bug fixes
- #3826 fix: support nullable field in @apiresponse decorator (@Nedunchezhiyan-M)
- #3784 fix(schema): include type field when nullable is used with allOf (@maruthang)
- #3774 fix enum issue (@SupunGeethanjana)
- #3798 fix(plugin): normalize workspace package import paths in metadata generator (@maruthang)
- #3821 fix(plugin): handle same-file type references in SWC readonly metadata generation (@maruthang)
- #3822 fix(type-helpers): eagerly apply plugin metadata properties in mapped type helpers (@maruthang)
- #3840 fix: use child class type when re-declaring an inherited @ApiProperty (@Nedunchezhiyan-M)
Enhancements
- #3449 feat(api-header): add example property to ApiHeader decorator (@leemhoon00)
- #3787 feat(decorators): support RegExp instances in @ApiProperty({ pattern }) (@temrjan)
- #3699 feat(api-body): add support for encoding in ApiBody decorator (@lamuertepeluda)
- #3824 feat: support async patchDocumentOnRequest hook (@Nedunchezhiyan-M)
- #3834 feat: expose generateSchema utility for programmatic schema access (@Nedunchezhiyan-M)
- #3836 feat(plugin): add autoFillEnumName option to suppress duplicate enum schemas (@Nedunchezhiyan-M)
- #3837 feat: merge descriptions when multiple decorators share the same HTTP status code (@Nedunchezhiyan-M)
- #3839 feat: add excludeDynamicDefaults option to strip runtime-evaluated schema defaults (@Nedunchezhiyan-M)
- #3841 feat: add DeepPartialType mapped-type helper for recursive optional properties (@Nedunchezhiyan-M)
Dependencies
- #3850 fix(deps): update dependency swagger-ui-dist to v5.32.4 (@renovate[bot])
Committers: 7
- JongHun Lim (@leemhoon00)
- Maruthan G (@maruthang)
- Rajasekar Janakiraman (@rajasekar33)
- Supun Geethanjana Jayasinghe (@SupunGeethanjana)
- Temrjan (@temrjan)
- Vito Macchia (@lamuertepeluda)
- @Nedunchezhiyan-M
11.2.7
What's Changed
- fix(deps): update dependency lodash to v4.18.1 [security] by @renovate[bot] in #3808
- fix(deps): update dependency @nestjs/mapped-types to v2.1.1 by @renovate[bot] in #3791
- fix(plugin): support TypeScript project references in ReadonlyVisitor by @maruthang in #3804
- fix(plugin): skip auto-generated response decorator when Api*Response already present by @maruthang in #3803
- fix(schema): handle const enum objects from SWC compiler metadata by @maruthang in #3802
- fix(deps): update dependency path-to-regexp to v8.4.2 by @renovate[bot] in #3815
- fix(swagger-explorer): prevent enum schema mutation across multiple document generations by @maruthang in #3799
- fix(decorators): do not crash on Controller getter by @robbtraister in #3788
- fix(plugin): handle non-ASCII characters in project paths by @maruthang in #3786
- fix(explorer): pass version to operationIdFactory for all versioning types by @maruthang in #3783
- chore(deps): update dependency class-validator to v0.15.1 by @renovate[bot] in #3753
- fix(deps): update dependency swagger-ui-dist to v5.32.2 by @renovate[bot] in #3738
New Contributors
- @maruthang made their first contribution in #3804
- @robbtraister made their first contribution in #3788
Full Changelog: 11.2.6...11.2.7
11.2.6
What's Changed
- feat: support adding custom fields on the
servers[*]entry by @micalevisk in #3715 - fix(decorator) add string literal types to ApiQueryOptions for autoco… by @wanderer-s in #3707
- feat: add type definition for format option in @ApiProperty decorator by @ismaildasci in #3697
- fix(deps): update dependency lodash to v4.17.23 [security] by @renovate[bot] in #3705
New Contributors
- @wanderer-s made their first contribution in #3707
- @ismaildasci made their first contribution in #3697
Full Changelog: 11.2.5...11.2.6
Release 11.2.5
11.2.5 (2026-01-14)
Bug fixes
Enhancements
- #3684 fix(plugin): respect debug option for all debug log messages (@jtomaszewski)
Committers: 2
- Jacek Tomaszewski (@jtomaszewski)
- dev_heo (@spandios)
11.2.4
What's Changed
- chore(deps): update dependency @fastify/static to v9 by @renovate[bot] in #3667
- Add 'file' type to schema object metadata interface by @karianpour in #3671
- chore(deps): update node.js to v24.12.0 by @renovate[bot] in #3657
- fix(deps): update dependency swagger-ui-dist to v5.31.0 by @renovate[bot] in #3639
- fix(schema): preserve items schema when metadata.items is already defined by @bas0N in #3635
New Contributors
- @karianpour made their first contribution in #3671
- @bas0N made their first contribution in #3635
Full Changelog: 11.2.3...11.2.4
Release 11.2.3
What's Changed
- Revert "fix(plugin): add async modifier when a reference is await import statement" by @kamilmysliwiec in #3633
Full Changelog: 11.2.2...11.2.3
Release 11.2.2
11.2.2 (2025-11-16)
Bug fixes
- #3603 fix(plugin): add async modifier when a reference is await import statement (@seonggukchoi)
Dependencies
- #3593 fix(deps): update dependency swagger-ui-dist to v5.30.2 (@renovate[bot])
- #3621 fix(deps): update dependency @microsoft/tsdoc to v0.16.0 (@renovate[bot])
- #3627 fix(deps): update dependency js-yaml to v4.1.1 [security] (@renovate[bot])
Committers: 1
- Eric Choi (@seonggukchoi)
11.2.1
What's Changed
- feat(@APIextension): When used on a controller it applies to all methods by @drewish in #3485
- fix: dont serve pet store definiton on api/api by @kamilmysliwiec in #3585
- fix(deps): update dependency path-to-regexp to v8.3.0 by @renovate[bot] in #3556
- fix(deps): update dependency swagger-ui-dist to v5.29.4 by @renovate[bot] in #3458
- fix: missing ApiProperty enum undefined on array handling by @pvdspek in #3590
- fix(plugin): correct enum+nullable handling for
Enum | null(and ar… by @AliRaZa1121 in #3544
New Contributors
- @pvdspek made their first contribution in #3590
- @AliRaZa1121 made their first contribution in #3544
Full Changelog: 11.2.0...11.2.1
Release 11.2.0
11.2.0 (2025-05-05)
Enhancements
- #3424 feat(document-builder): add support for setting extensions inside the info object (@daniseijo)
- #3248 feat(swagger): add extension in SecuritySchemeObject (@mag123c)
Committers: 2
- Daniel Seijo (@daniseijo)
- JaeHo Jang (@mag123c)