Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Upgrading @nestjs/common From 11.0.1 to 12.5.1

81 releases in betweennotes for 69

Other targets from 11.0.1Newest 11.x11.2.11Clears its advisory11.0.16
  1. 11.0.1yours
  2. 19 releases
  3. 11.0.21security
  4. 28 releases
  5. 11.1.28security
  6. 7 releases
  7. 11.2.6security
  8. 2 releases
  9. 11.2.9security
  10. 2 releases
  11. 12.0.0major
  12. 4 releases
  13. 12.1.0security
  14. 4 releases
  15. 12.3.0security
  16. 7 releases
  17. 12.5.1target
  18. 8 pre
3+
changes to make
1
advisory fixed
48+
new
476+
fixes

Counted from 69 of 81 release notes. Advisories are counted from the advisory database, in full.

Start here

Before you upgrade

Tick each one off as you go
  • Breaking12.2.0
  • Breaking11.1.29
  • Deprecated12.2.0

Security

Fixes 1 advisory affecting 11.0.1

Release by release

  1. 12.5.1

    16 Nov 20265 new · 4 fixes
    • New

      core: feat(core): accept module metadata as the root module (@kamilmysliwiec)

    • New

      microservices: feat(microservices): graceful shutdown for the rmq server (@samuelmbabhazi)

    • New

      microservices: feat(microservices): graceful shutdown for the tcp server (@samuelmbabhazi)

    • New

      microservices: feat(microservices): graceful shutdown for the mqtt server (@samuelmbabhazi)

  2. 12.5.0

    12 Nov 2026163 fixes
    • Fixed

      platform-fastify: fix(fastify): fail an object-mode file stream on a non-bytes chunk (@kamilmysliwiec)

    • Fixed

      platform-fastify: fix(fastify): release file streams of pipelined requests on close (@kamilmysliwiec)

    • Fixed

      platform-fastify: fix(fastify): handle a failed file stream on a raw response (@kamilmysliwiec)

    • Fixed

      platform-fastify: fix(fastify): match routes whose parameter names the router misreads (@kamilmysliwiec)

  3. 12.4.2no release note

  4. 12.4.1

    9 Nov 20262 new · 2 fixes
    • New

      platform-node: feat(node): inject requests into the node adapter like the fastify one (@thekhegay)

    • New

      platform-node: feat(node): set req.route on the node adapter like express does (@thekhegay)

    • Fixed

      core: fix(core): roll back modules on failed lazy load (@Asadshah7950)

    • Fixed

      common, core: fix(core,common): warn when decorator metadata is missing (@kamilmysliwiec)

  5. 12.4.0

    6 Nov 20261 new · 5 fixes
    • New

      common, core: feat(core,common): send a web response or stream a handler returns (@kamilmysliwiec)

    • Fixed

      common: fix(common): keep the fields of grouped item errors in parse array pipe (@pavstev)

    • Fixed

      common: fix(common): keep console logger from mutating the caller options (@pavstev)

    • Fixed

      core, testing: fix(core): apply a provider override whose value is undefined (@pavstev)

    • Fixed

      core: fix(core): run middleware on subpaths next to an all-methods route (@beyondwin)

    • Fixed

      core: fix(core): cache external handler metadata per context type (@kamilmysliwiec)

  6. 12.3.1 – 12.3.33 releases, no release note

  7. 12.3.0

    Security fix27 Oct 202617 fixes
    • Security

      platform-express: fix(deps): update dependency multer to v2.5.0 [security] (@renovate[bot])

    • Fixed

      common: fix(common): report the detected file type in file type errors (@DenisCDev)

    • Fixed

      common: fix(common): avoid throwing for arrow prototype constructors (@fengxueweilai)

    • Fixed

      common: fix(common): abort the response when a streamable file fails midway (@thekhegay)

  8. 12.2.0

    Migration needed19 Oct 20262 new · 93 fixes
    • Breaking

      FileTypeValidator matches a string fileType up to the end of a name (e.g. font/woff no longer accepts font/woff2; use a RegExp for that) – 770c6f1a19

    • Deprecated

      microservices: feat(microservices): deprecate event handlers replying to send() (@kamilmysliwiec)

    • New

      core: perf(core): resolve route params without a promise when no pipe runs (@thekhegay)

    • New

      core: perf(core): avoid AsyncResource.bind() per request in the interceptor chain (@thekhegay)

98 other lines we could not sort, mostly version bumps
  • WsAdapter takes maxPayload, the largest message a client may send (1 MB by default, was 100 MB; a gateway's own maxPayload takes precedence, 0 lifts the limit); a larger message closes the connection with code 1009 – 109e52cd9b

    12.5.0
  • IoAdapter takes maxWaitingMessages, the number of a client's messages of one event that may wait beyond those being handled (10,000 by default; Infinity lifts it) – c98b5f782e

    12.5.0
  • TCP server: maxConcurrentMessages (1000 per connection by default; 0 lifts it) – 42c619cd69

    12.5.0
  • gRPC server: maxPendingResponses (1000 by default; 0 disables), after which a streaming call whose client leaves its responses unread fails with RESOURCE_EXHAUSTED – ce6d44d858

    12.5.0
  • Redis server: maxWildcardChannelLength (1024 characters by default; 0 disables) for requests matched through a wildcard subscription – 074dcf7c60

    12.5.0
  • RabbitMQ: maxMessageSize (16 MiB by default) for messages and replies decoded as JSON – da6b3fc5bc

    12.5.0
  • @nestjs/platform-fastify: multipart limits.jsonFieldsSize (1 MiB by default) for the fields of a request sent as application/json – 958316696f

    12.5.0
  • TCP: maxBufferSize defaults to 16 Mi characters (was 128 Mi), in both directions – 55da0b0d33 – and now applies to each packet rather than to everything received in one read, so a burst of small packets no longer closes the connection (#18502) – ce285e6ad3

    12.5.0
  • TCP server: an empty or unset host now listens on localhost; set host: '0.0.0.0' (or '::') to listen on every interface – 4196d3655d

    12.5.0
  • @nestjs/platform-express, @nestjs/platform-node: multipart requests default to at most 1000 parts, which also caps a fields, files or maxCount above 1000 unless limits.parts is raised – b2bbc17122

    12.5.0

165 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.