Skip to content

fix(deps): bump @nestjs/swagger from 11.4.6 to 12.0.2 - #160

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/swagger-12.0.2
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nestjs/swagger-12.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @nestjs/swagger from 11.4.6 to 12.0.2.

Release notes

Sourced from @​nestjs/swagger's releases.

12.0.2

What's Changed

New Contributors

Full Changelog: nestjs/swagger@12.0.1...12.0.2

Release 12.0.1

12.0.1 (2026-08-28)

Bug fixes

Dependencies

Committers: 1

Release 12.0.0

What's Changed

@nestjs/swagger is now a native ES module, requires Nest 12, and changes how nullable schemas are spelled in the generated document.

ESM migration

The package is published as pure ESM ("type": "module", compiled with NodeNext) behind a proper exports map. The legacy root index.ts / plugin.js / plugin.ts shims are gone, and deep imports into build internals are no longer resolvable — import from the package root (@nestjs/swagger) or from @nestjs/swagger/plugin.

require(esm) — CommonJS still works

You do not need to convert your app to ESM. Thanks to Node's require(esm) support, a CommonJS app can keep doing const { SwaggerModule } = require('@nestjs/swagger'). The CLI plugin entry (@nestjs/swagger/plugin) also keeps a require condition so nest-cli.json setups load it unchanged.

This is why the package now declares "engines": { "node": "^20.19.0 || >=22.12.0" } — those are the Node versions where require(esm) is available without a flag.

... (truncated)

Commits
  • 8f00eb9 chore(): release v12.0.2
  • bfb2315 fix(swagger-ui): preserve $ characters when building swagger-ui-init.js (#4119)
  • 2bea96a feat: support the HTTP QUERY method (RFC 10008) (#4007)
  • 752e5c7 chore(deps): update dependency supertest to v7.3.0 (#4142)
  • 4faed70 fix(deps): update dependency @​microsoft/tsdoc to v0.17.0 (#4124)
  • d0e7976 fix(deps): update dependency swagger-ui-dist to v5.33.0 (#4128)
  • abce2be fix: declare typescript as an optional peer dependency (#4134)
  • 234c20c fix(standard-schema): promote schema description to parameter object (#4140)
  • 9652868 chore(deps): update dependency oxlint to v1.85.0 (#4141)
  • 92ee181 chore(deps): update nest monorepo to v12.0.4 (#4138)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency npm npm dependency updates labels Sep 28, 2026
Bumps [@nestjs/swagger](https://github.com/nestjs/swagger) from 11.4.6 to 12.0.2.
- [Release notes](https://github.com/nestjs/swagger/releases)
- [Commits](nestjs/swagger@11.4.6...12.0.2)

---
updated-dependencies:
- dependency-name: "@nestjs/swagger"
  dependency-version: 12.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/nestjs/swagger-12.0.2 branch from c1abff3 to 35d1b23 Compare September 28, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency npm npm dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants