Skip to content

Releases: nestjs/swagger

Release 8.0.5

08 Nov 14:31
4ac55e2
Compare
Choose a tag to compare

8.0.5 (2024-11-08)

Dependencies

Release 8.0.4

08 Nov 07:27
3ae635e
Compare
Choose a tag to compare

8.0.4 (2024-11-08)

Bug fixes

  • #3155 fix(plugin): resolve compiler option paths relative to base (@Michsior14)

Dependencies

Committers: 1

Release 8.0.3

07 Nov 07:38
bf6e213
Compare
Choose a tag to compare

8.0.3 (2024-11-07)

Bug fixes

Enhancements

Dependencies

Committers: 1

Release 8.0.2

05 Nov 12:26
96259e6
Compare
Choose a tag to compare

8.0.2 (2024-11-05)

Bug fixes

Dependencies

Committers: 2

Release 8.0.1

29 Oct 07:41
75560fc
Compare
Choose a tag to compare

8.0.1 (2024-10-29)

Enhancements

Committers: 1

8.0.0

28 Oct 14:31
5699254
Compare
Choose a tag to compare

8.0.0 (2024-10-28)

Breaking changes

  • #3017 feat(@nestjs/swagger): defaults api tag to controller name
  • #2877 fix(): Updated types for Specific ApiResponse decorator options to omit status
  • #1454 fix(transformer): prefer explicit config over auto-detected schema

Features

  • #2233 Api callbacks decorator (@MiguelSavignano)
  • #3017 feat(@nestjs/swagger): defaults api tag to controller name
  • #1173 Support OpenAPI link objects (@coyotte508)
  • #2427 Add @ApiSchema decorator to allow specification of the schema type name

Bug fixes

  • #3029 fix: properly import external enums (@Michsior14)
  • #1454 fix(transformer): prefer explicit config over auto-detected schema
  • #3127 fix(@nest/swagger): Add merge-options condition for dtoFileNameSuffix to CLI-Plugin
  • #1696 fix(core): isArray always false for enum arrays in plugin metadata
  • #1434 fix(): move modifiers properties to items object on array type @nartc
  • #1113 fix: Arrays and objects are not managed properly when located in first level of @query() @arnaud-cortisse

Enhancements

  • #3123 feat: introduce enum schema attribute (@kamilmysliwiec)
  • #2998 feat: make methods of swagger module protected (@SocketSomeone)
  • #3106 feat(document-builder): add setOpenApiVersion method (@avoylenko)
  • #2877 fix(): Updated types for Specific ApiResponse decorator options to omit status
  • #1455 feat(decorator): @ApiResponse annotation, support multiple response body examples
  • #2742 feat: refactoring and extending the support of validation property assignments

Release 7.4.2

17 Sep 10:09
d2afd8b
Compare
Choose a tag to compare
  • Merge pull request #3031 from danielsharvey/feature/example-support (391abb3)
  • Merge pull request #3037 from blended-bram/patch-1 (00a6b80)
  • Merge pull request #3067 from nadavhalfon/feat/x-enumNames (5cb058e)
  • Merge pull request #3062 from thiagotognoli/master (fdf9c1c)
  • chore(deps): update typescript-eslint monorepo to v8.6.0 (276b4fa)
  • chore(deps): update dependency eslint to v8.57.1 (f389bd4)
  • chore(deps): update dependency express to v4.21.0 (3b9c7f9)
  • chore(deps): update nest monorepo to v10.4.2 (1c27db8)
  • feat: support x-enumNames param for client code generations, supporting numeric enums (bdd0ac8)
  • bugfix: correct param in map (f28b947)
  • fix: support examples field in @ApiHeader (c7721d6)
  • feat: Add schema support for "example" annotations (bd75d0a)

Release 7.4.1

16 Sep 10:28
14f6521
Compare
Choose a tag to compare
  • Merge pull request #3071 from nestjs/renovate/npm-path-to-regexp-vulnerability (057e560)
  • chore(deps): update dependency @types/jest to v29.5.13 (7721ad5)
  • chore(deps): update dependency husky to v9.1.6 (ba963e1)
  • fix(deps): update dependency path-to-regexp to v3.3.0 [security] (0c1e756)
  • chore(deps): update commitlint monorepo to v19.5.0 (4e13bb0)
  • chore(deps): update dependency express to v4.20.0 (df76aa1)
  • chore(deps): update typescript-eslint monorepo to v8.5.0 (f5f1b02)
  • chore(deps): update dependency @types/node to v20.16.5 (d1a3da6)
  • chore(deps): update dependency @types/node to v20.16.4 (f7098ce)
  • chore(deps): update dependency eslint-plugin-import to v2.30.0 (bdbbeb9)
  • chore(deps): update typescript-eslint monorepo to v8.4.0 (e3976b5)
  • chore(deps): update dependency lint-staged to v15.2.10 (2ef9f9e)
  • chore(deps): update dependency @types/node to v20.16.3 (526801f)
  • chore(deps): update commitlint monorepo to v19.4.1 (375e3ac)
  • chore(deps): update dependency @types/node to v20.16.2 (7f0b3a9)
  • chore(deps): update typescript-eslint monorepo to v8.3.0 (84cfcd2)
  • chore(deps): update dependency ts-jest to v29.2.5 (1374005)
  • chore(deps): update dependency husky to v9.1.5 (39a5a15)
  • chore(deps): update typescript-eslint monorepo to v8.2.0 (c3f98b2)
  • chore(deps): update dependency @types/node to v20.16.1 (ca5f7a5)
  • chore(deps): update dependency @types/node to v20.16.0 (5d4436f)
  • chore(deps): update dependency @types/node to v20.15.0 (986351f)
  • chore(deps): update nest monorepo to v10.4.1 (2e11b2d)
  • chore(deps): update dependency lint-staged to v15.2.9 (2e4b4dd)
  • chore(deps): update typescript-eslint monorepo to v8.1.0 (f499e54)
  • chore(deps): update nest monorepo to v10.4.0 (15ad2b6)
  • chore(deps): update dependency @types/node to v20.14.15 (ea25697)
  • chore(deps): update dependency @commitlint/cli to v19.4.0 (51d7f50)
  • chore(deps): update typescript-eslint monorepo to v8.0.1 (341918a)
  • chore(deps): update dependency lint-staged to v15.2.8 (02e0341)
  • chore(deps): update dependency @types/node to v20.14.14 (9cb4742)
  • chore(deps): update dependency ts-jest to v29.2.4 (ab74629)
  • chore(deps): update typescript-eslint monorepo to v8 (c5964c0)
  • chore(deps): update typescript-eslint monorepo to v7.18.0 (13f99fe)
  • chore(deps): update dependency husky to v9.1.4 (6715367)
  • chore(deps): update dependency @types/node to v20.14.13 (b122574)
  • chore(deps): update dependency husky to v9.1.3 (68b9814)
  • chore(deps): update dependency husky to v9.1.2 (6f83cd0)
  • chore(deps): update dependency @types/node to v20.14.12 (8323c3b)
  • chore(deps): update typescript-eslint monorepo to v7.17.0 (5f40531)
  • chore(deps): update dependency ts-jest to v29.2.3 (def2f77)
  • chore(deps): update dependency husky to v9.1.1 (7c175bb)
  • chore(deps): update dependency husky to v9.1.0 (0637912)
  • chore(deps): update dependency @types/node to v20.14.11 (28424c9)
  • chore(deps): update dependency @types/lodash to v4.17.7 (976d5c5)
  • chore(deps): update typescript-eslint monorepo to v7.16.1 (29f59e9)
  • chore(deps): update dependency release-it to v17.6.0 (f42c75f)
  • chore(deps): update dependency ts-jest to v29.2.2 (05db366)
  • chore(deps): update dependency ts-jest to v29.2.1 (b4e4f91)
  • chore(deps): update typescript-eslint monorepo to v7.16.0 (2d61362)
  • chore(deps): update dependency release-it to v17.5.0 (1a32e24)
  • chore(deps): update dependency ts-jest to v29.2.0 (88859bb)
  • chore(deps): update dependency @types/node to v20.14.10 (0b448ca)
  • chore(deps): update typescript-eslint monorepo to v7.15.0 (ce9a5f6)

Release 7.4.0

01 Jul 11:54
3eb32c9
Compare
Choose a tag to compare
  • Merge pull request #2870 from arkraft/fix/array-enums-queries-or-params (d3bad9d)
  • Merge pull request #2835 from lit26/feature/add-response-decorator-from-comment (6c5a7f6)
  • Merge pull request #2992 from nestjs/renovate/release-it-17.x (29adc2d)
  • Merge pull request #2993 from nestjs/renovate/nest-monorepo (5e01879)
  • chore(deps): update nest monorepo to v10.3.10 (6fd3c1c)
  • chore(deps): update dependency release-it to v17.4.1 (4933f9e)
  • Merge pull request #2827 from nestjs/renovate/swagger-ui-dist-5.x (71f7af1)
  • Merge pull request #2994 from nestjs/revert-2909-fix-exclusive-min-max-types (6f1ee0c)
  • Merge pull request #2840 from lucas-gregoire/feat/allow-to-disable-swagger-ui (c541886)
  • Revert "fix: exclusive minimum and exclusive maximum are numbers" (9614b1d)
  • Merge pull request #2836 from lit26/feature/add-more-apiresponse (91a7c76)
  • Merge pull request #2869 from jinyongp/fix/cannot-find-typename-containing-promise-or-observable (91a40a3)
  • Merge pull request #2871 from lit26/feature/add-response-example (56622e8)
  • Merge pull request #2909 from mastermatt/fix-exclusive-min-max-types (d675211)
  • Merge pull request #2930 from nestjs/renovate/cimg-node-22.x (b7eeffd)
  • Merge pull request #2935 from slukes/add-enum-function (adb6561)
  • Merge pull request #2952 from voriteam/clintonb/name-bug (a57f853)
  • Merge pull request #2962 from nestjs/renovate/microsoft-tsdoc-0.x (d0a58e0)
  • Merge pull request #2985 from Azbesciak/patch-2 (b165909)
  • Merge branch 'nestjs:master' into fix/array-enums-queries-or-params (d74136b)
  • chore(deps): update dependency @types/lodash to v4.17.6 (2245084)
  • (fix) invalid return value of refs shim (325ba73)
  • chore(deps): update dependency @types/node to v20.14.9 (29331c7)
  • Merge branch 'nestjs:master' into feature/add-response-example (ff2cd2e)
  • Merge branch 'nestjs:master' into feature/add-response-decorator-from-comment (3baf1de)
  • Merge branch 'nestjs:master' into feature/add-more-apiresponse (2358cae)
  • chore(deps): update typescript-eslint monorepo to v7.14.1 (bdc3fde)
  • chore(deps): update dependency @types/node to v20.14.8 (1805b12)
  • chore(deps): update dependency @types/node to v20.14.7 (24ca49c)
  • chore(deps): update dependency release-it to v17.4.0 (1718d8b)
  • fix: add missing refs declaration in swagger-shim (bc1edc5)
  • chore(deps): update node.js to v22 (d286317)
  • chore(deps): update dependency @types/node to v20.14.6 (0edbbfa)
  • chore(deps): update dependency @types/node to v20.14.5 (5b8f7fa)
  • chore(deps): update dependency @types/node to v20.14.4 (53f7023)
  • chore(deps): update typescript-eslint monorepo to v7.13.1 (45cfe0d)
  • chore(deps): update dependency ts-jest to v29.1.5 (9372130)
  • chore(deps): update dependency lint-staged to v15.2.7 (7e64f94)
  • chore(deps): update dependency lint-staged to v15.2.6 (6f07fa0)
  • chore(deps): update typescript-eslint monorepo to v7.13.0 (6d25f5a)
  • chore(deps): update dependency @types/lodash to v4.17.5 (04f199a)
  • chore(deps): update dependency @types/node to v20.14.2 (61fdb23)
  • chore(deps): update dependency @types/node to v20.14.1 (d4b66f8)
  • chore(deps): update typescript-eslint monorepo to v7.12.0 (ffa315a)
  • chore(deps): update nest monorepo to v10.3.9 (3edab81)
  • chore(deps): update dependency @types/node to v20.14.0 (96858e9)
  • chore(deps): update dependency @types/node to v20.13.0 (b913771)
  • chore(deps): update dependency @types/node to v20.12.13 (9c2e270)
  • fix(deps): update dependency @microsoft/tsdoc to ^0.15.0 (910b677)
  • chore(deps): update dependency ts-jest to v29.1.4 (1cb5be5)
  • fix(deps): update dependency swagger-ui-dist to v5.17.14 (6a5bcf6)
  • chore(deps): update typescript-eslint monorepo to v7.11.0 (a660e18)
  • chore(deps): update dependency lint-staged to v15.2.5 (3557547)
  • chore(deps): update dependency lint-staged to v15.2.4 (4d93b7f)
  • chore(deps): update dependency ts-jest to v29.1.3 (ce63ee3)
  • chore(deps): update typescript-eslint monorepo to v7.10.0 (bcda39c)
  • chore(deps): update dependency release-it to v17.3.0 (5324b0a)
  • chore(deps): update dependency @types/lodash to v4.17.4 (0792ff0)
  • fix: Retain $ref when setting name property (94f565c)
  • chore(deps): update dependency @types/node to v20.12.12 (e6ea29f)
  • chore(deps): update typescript-eslint monorepo to v7.9.0 (3cbaee7)
  • chore(deps): update dependency @types/node to v20.12.11 (89d2f25)
  • chore(deps): update dependency @fastify/static to v7.0.4 (9b1ce71)
  • chore(deps): update dependency @types/node to v20.12.10 (7de37fb)
  • chore(deps): update dependency @types/lodash to v4.17.1 (ca821c2)
  • chore(deps): update dependency @types/node to v20.12.8 (ad89618)
  • feat: add function for enum types (afc47a7)
  • chore(deps): update typescript-eslint monorepo to v7.8.0 (d5591ec)
  • chore(deps): update dependency release-it to v17.2.1 (5748b7a)
  • chore(deps): update dependency supertest to v7 (6242728)
  • chore(deps): update commitlint monorepo to v19.3.0 (d501bed)
  • chore(deps): update typescript-eslint monorepo to v7.7.1 (ecf0c72)
  • chore(deps): update nest monorepo to v10.3.8 (32cba16)
  • chore(deps): update typescript-eslint monorepo to v7.7.0 (f2bc18a)
  • chore(deps): update commitlint monorepo to v19.2.2 (9fddb4b)
  • chore(deps): update dependency release-it to v17.2.0 (fd309b8)
  • chore(deps): update dependency @types/node to v20.12.7 (b29dc1d)
  • chore(deps): update dependency @types/node to v20.12.6 (e0c0547)
  • chore(deps): update typescript-eslint monorepo to v7.6.0 (ae7fbe7)
  • chore(deps): update dependency @types/node to v20.12.5 (27d6895)
  • fix: exclusive minimum and exclusive maximum are numbers (ba62457)
  • chore(deps): update dependency @types/node to v20.12.4 (b2a5ae9)
  • chore(deps): update dependency @fastify/static to v7.0.3 (d0184d1)
  • Merge branch 'nestjs:master' into feature/add-response-example (8e7208f)
  • Merge branch 'nestjs:master' into feature/add-response-decorator-from-comment (468ccba)
  • Merge branch 'nestjs:master' into feature/add-more-apiresponse (28fb0ba)
  • chore(deps): update dependency @types/node to v20.12.3 (eedd401)
  • chore(deps): update typescript-eslint monorepo to v7.5.0 (c23dc05)
  • chore(deps): update dependency @types/node to v20.12.2 (607eaa4)
  • chore(deps): update dependency @fastify/static to v7.0.2 (1791ffc)
  • Optimize dict (e5adbe9)
  • Add response example (713c48c)
  • prettier (5ab17a9)
  • add tests for enum schema types (11f6ac5)
  • if enum is of type array, use the item type (7230915)
  • add params and queries to routes (16d1ea9)
  • fix(plugin): ensure open-api docs generation for types named with Promise or Observable (9465e0e)
  • Refactor (220ba97)
  • docs: add docs on SwaggerCustomOptions (d56087c)
  • test: add tests for Swagger UI disabling (25942eb)
  • feat: add swaggerUiEnabled option to control activation of Swagger UI (8b2c6a3)
  • chore: remove unused swaggerDoc property in buildSwaggerHTML and adapt usages (de2d695)
  • docs: add deprecation warning on useless SwaggerCustomOptions properties (c373d51)
  • feat: add more api response (5a0020e)
  • feat: remove removing response decorator (445886f)
  • feat: update function name (746ee88)
  • feat: update test (e3eed25)
  • feat: add error response decorator (d9e0454)

Release 7.3.1

29 Mar 07:47
b8b438a
Compare
Choose a tag to compare
  • Merge pull request #2863 from NovikovEvgeny/partial-type-helper-add-skip-null-option (d3c8844)
  • chore(deps): update dependency reflect-metadata to v0.2.2 (8a51339)
  • chore(deps): update nest monorepo to v10.3.7 (22ddf91)
  • chore(deps): update nest monorepo to v10.3.6 (48929bf)
  • chore(deps): update typescript-eslint monorepo to v7.4.0 (dbdb839)
  • chore(deps): update dependency express to v4.19.2 (d2c9a74)
  • chore(deps): update nest monorepo to v10.3.5 (1270f83)
  • chore(deps): update dependency express to v4.19.1 (823ba9c)
  • chore(deps): update dependency express to v4.19.0 (439aeba)
  • chore(deps): update dependency @types/node to v20.11.30 (4de8627)
  • chore(deps): update dependency @commitlint/cli to v19.2.1 (52d3ac1)
  • chore(deps): update typescript-eslint monorepo to v7.3.1 (7ca4009)
  • chore(deps): update dependency @types/node to v20.11.29 (a4eb2b7)
  • chore(deps): update typescript-eslint monorepo to v7.3.0 (d4e7ed9)
  • chore(deps): update nest monorepo to v10.3.4 (b632b88)
  • chore(deps): update dependency @types/node to v20.11.28 (46ace94)
  • chore(deps): update dependency @commitlint/cli to v19.2.0 (85e631b)
  • chore(deps): update dependency @types/node to v20.11.27 (da23222)
  • chore(deps): update dependency @types/lodash to v4.17.0 (3e516a7)
  • chore(deps): update commitlint monorepo to v19.1.0 (badd92a)
  • chore(deps): update dependency @types/node to v20.11.26 (9eb2159)
  • chore(deps): update typescript-eslint monorepo to v7.2.0 (041be9f)
  • chore(deps): update dependency @types/node to v20.11.25 (2ee9b7c)
  • chore(deps): update typescript-eslint monorepo to v7.1.1 (900d953)
  • chore(deps): update dependency @types/node to v20.11.24 (847b2f6)
  • feat: add skip null properties option to partial type (1b4084e)
  • chore(deps): update dependency express to v4.18.3 (3814115)
  • chore(deps): update dependency @types/node to v20.11.22 (7be9512)
  • chore(deps): update commitlint monorepo to v19.0.3 (9fa839e)
  • chore(deps): update dependency @types/node to v20.11.21 (6633c36)
  • chore(deps): update dependency @commitlint/cli to v19.0.1 (bc1abb7)
  • chore(deps): update commitlint monorepo to v19 (d3a2530)
  • chore(deps): update typescript-eslint monorepo to v7.1.0 (a60a233)
  • chore(deps): update dependency eslint to v8.57.0 (4e5c930)
  • chore(deps): update dependency @types/node to v20.11.20 (8543737)
  • chore(deps): update typescript-eslint monorepo to v7.0.2 (7b20359)
  • chore(deps): update dependency release-it to v17.1.1 (027eec8)
  • chore(deps): update dependency release-it to v17.1.0 (ed12169)
  • chore(deps): update dependency @types/node to v20.11.19 (0dac5ad)
  • chore(deps): update dependency @types/node to v20.11.18 (cd13994)
  • chore(deps): update dependency release-it to v17.0.5 (b35412c)
  • chore(deps): update dependency husky to v9.0.11 (7dd751b)
  • chore(deps): update commitlint monorepo to v18.6.1 (7a3bfc8)
  • chore(deps): update typescript-eslint monorepo to v7 (a584b05)
  • chore(deps): update nest monorepo to v10.3.3 (3e2f60c)
  • chore(deps): update dependency @types/node to v20.11.17 (feca721)
  • chore(deps): update dependency @fastify/static to v7.0.1 (4e672c8)