Releases: nestjs/swagger
Releases · nestjs/swagger
Release list
11.4.7
What's Changed
- fix(plugin): preserve inferred responses for enum error statuses by @GiHoon1123 in #4014
- chore(deps): update dependency @fastify/static to v10 [security] by @renovate[bot] in #4028
- feat(interfaces): export full OpenAPI object-model types in public API by @Fcmam5 in #4048
- fix(plugin): handle decorators with property access expressions in getIdentifierFromName by @jorenl in #4042
- fix(deps): update dependency js-yaml to v5.3.0 by @renovate[bot] in #4053
- feat(api-header): support custom OpenAPI extensions by @kyungseopk1m in #4047
- fix(type-helpers): apply deep partial substitution to plugin metadata by @kyungseopk1m in #4030
- fix(plugin): rebase readonly import paths onto the output directory by @kyungseopk1m in #4019
- fix(plugin): generate object examples from @example doc tags by @y-hsgw in #4005
New Contributors
- @GiHoon1123 made their first contribution in #4014
- @Fcmam5 made their first contribution in #4048
- @jorenl made their first contribution in #4042
Full Changelog: 11.4.6...11.4.7
Release 11.4.6
11.4.6 (2026-07-17)
Features
Bug fixes
- #3947 fix(type-helpers): preserve array-ness for nested DTO arrays in DeepPartialType (@yogeshwaran-c)
- #3945 fix(mimetype-content-wrapper): clone object per mimetype to avoid shared references (@yogeshwaran-c)
- #3972 fix: avoid inline PickType schema collisions (@cyphercodes)
- #3969 fix: Added missing summary type to the response object (@MichielDeMey)
Enhancements
- #3949 feat(api-query): support custom OpenAPI extensions (@yogeshwaran-c)
Dependencies
- #3986 fix(deps): update dependency js-yaml to v5 (@renovate[bot])
Committers: 4
- Michiel De Mey (@MichielDeMey)
- Rayan Salhab (@cyphercodes)
- Yogeshwaran C (@yogeshwaran-c)
- Yukihiro Hasegawa (@y-hsgw)
11.4.5
What's Changed
- feat(plugin): generate additionalProperties for Record/index-signature types by @y-hsgw in #3957
- fix(deps): update dependency swagger-ui-dist to v5.32.8 by @renovate[bot] in #3973
- fix(deps): update dependency js-yaml to v4.2.0 [security] by @renovate[bot] in #3988
Full Changelog: 11.4.4...11.4.5
Release 11.4.4
11.4.4 (2026-05-21)
Bug fixes
- #3930 fix: top-level nullable with discriminator issue (@kamilmysliwiec)
Enhancements
- #3921 feat(swagger): add summary field to Tag Object (OpenAPI 3.2) (@frbuceta)
- #3924 feat(swagger): warn when @apitags receives hierarchy fields (@frbuceta)
- #3925 fix(swagger): type Tag Object kind as a free-form string (@frbuceta)
Committers: 4
- Alexander Scholz (@LucidityDesign)
- Francisco Buceta (@frbuceta)
- Kamil Mysliwiec (@kamilmysliwiec)
- Natanael dos Santos Feitosa (@natanfeitosa)
Release 11.4.3
11.4.3 (2026-05-14)
Bug fixes
- #3910 fix(swagger): support const enum query params (@yudin-s)
- #3911 fix(swagger-module): return reply from async route handlers (@tibohaffner)
- #3883 fix(response-object-factory): preserve example/examples for built-in scalar response types (@yogeshwaran-c)
- #3882 fix(swagger-types-mapper): place multipleOf inside parameter schema (@yogeshwaran-c)
Enhancements
- #3885 feat(plugin): auto-generate enum metadata for string and number literal union types (@y-hsgw)
- #3604 feat: added api-include-endpoint (@TomSpott)
Dependencies
- #3906 fix(deps): update dependency swagger-ui-dist to v5.32.6 (@renovate[bot])
Committers: 6
- Serge Yudin (@yudin-s)
- Thibault Haffner (@tibohaffner)
- Yogeshwaran C (@yogeshwaran-c)
- Yukihiro Hasegawa (@y-hsgw)
- @TomSpott
- @kyungseopk1m
Release 11.4.2
11.4.2 (2026-04-27)
Bug fixes
- #3867 fix(plugin): keep auto-inferred default response when only error Api*Response decorators are present (@PeterTheOne)
- #3876 fix(plugin): handle IsIn enum inference when type falls back to Object (@y-hsgw)
Committers: 2
- Peter Grassberger (@PeterTheOne)
- Yukihiro Hasegawa (@y-hsgw)
Release 11.4.1
11.4.1 (2026-04-22)
Bug fixes
- #3871 fix(plugin): avoid duplicate keys when auto-generating @apioperation (@yogeshwaran-c)
Committers: 1
- Yogeshwaran C (@yogeshwaran-c)
Release 11.4.0
11.4.0 (2026-04-22)
Features
- #3868 feat(plugin): auto-mark optional @query parameters as required: false (@yogeshwaran-c)
- #3725 feat(swagger): add OpenAPI 3.2 hierarchical tags support (@apt-bh)
Bug fixes
- #3874 fix(document-builder): accept multi-digit OpenAPI version segments (@yogeshwaran-c)
- #3873 fix(plugin): strip regex delimiters and flags from @matches patterns (@yogeshwaran-c)
- #3870 fix(decorators): forward all OpenAPI parameter fields in @ApiHeader (@yogeshwaran-c)
- #3872 fix(plugin): emit @throws descriptions as proper string literals (@yogeshwaran-c)
- #3782 fix(schema): preserve example metadata for non-body params with named types (@maruthang)
- #3761 fix(plugin): support boolean literal types and boolean enum values (@lucreiss)
Enhancements
- #3865 feat(schema-object-factory): include class name chain in circular dependency errors (@yogeshwaran-c)
Committers: 4
- Lu R A (@lucreiss)
- Maruthan G (@maruthang)
- Yogeshwaran C (@yogeshwaran-c)
- @apt-bh
Release 11.3.2
What's Changed
- fix(plugin): remap import paths within rootDir to outDir by @alex-all3dp in #3858
New Contributors
- @alex-all3dp made their first contribution in #3858
Full Changelog: 11.3.1...11.3.2
Release 11.3.1
11.3.1 (2026-04-20)
Bug fixes
- #3847 fix(plugin): adjust relative import paths for tsconfig outDir depth (@kyungseopk1m)
- #3781 fix(schema): prioritize oneOf/anyOf/allOf over inferred type resolution (@maruthang)
- #3820 fix(schema): support enumName with oneOf and anyOf combinators (@maruthang)
Enhancements
- #3854 fix(swagger-ui): replace hardcoded sentinel with per-call UUID in buildJSInitOptions (@kyuna0312)
Committers: 5
- Kamil Mysliwiec (@kamilmysliwiec)
- Maruthan G (@maruthang)
- Yukihiro Hasegawa (@y-hsgw)
- @kyungseopk1m
- kyuna0312 (@kyuna0312)