Packages

@nestjs/common

12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed

Upgrading @nestjs/common From 9.4.3 to 12.4.0

134 releases in betweennotes for 93

Other targets from 9.4.3Clears its advisory10.4.16Latest12.5.1
  1. 9.4.3yours
  2. 10.0.0major
  3. 52 releases
  4. 10.4.21security
  5. 10.4.22security
  6. 11.0.0major
  7. 20 releases
  8. 11.0.21security
  9. 28 releases
  10. 11.1.28security
  11. 7 releases
  12. 11.2.6security
  13. 2 releases
  14. 11.2.9security
  15. 2 releases
  16. 12.0.0major
  17. 4 releases
  18. 12.1.0security
  19. 4 releases
  20. 12.3.0security
  21. 3 releases
  22. 12.4.0target
  23. 12 pre
5+
changes to make
1
advisory fixed
93+
new
365+
fixes

Counted from 93 of 134 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
  • Breaking11.0.0
  • Breaking10.0.0
  • Deprecated12.2.0

Security

Fixes 1 advisory affecting 9.4.3

Release by release

  1. 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)

  2. 12.3.1 – 12.3.33 releases, no release note

  3. 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)

  4. 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)

  5. 12.1.3

    12 Oct 202633 fixes
    • Fixed

      core, microservices: fix(core,microservices): flush buffered logs when initialization fails (@thekhegay)

    • Fixed

      core, microservices: fix(core,microservices): run transient global enhancers on controllers (@johnnyhuirilef)

    • Fixed

      core: fix(core): fail at startup for request-scoped class global enhancers (@thekhegay)

    • Fixed

      core: fix(core): stop silently dropping request-scoped global enhancers (@OmBhandwaldar)

  6. 12.1.2no release note

  7. 12.1.1

    28 Sep 20261 new · 14 fixes
    • New

      microservices: feat(microservices): export deserializers from the package root (@lazerg)

    • Fixed

      common, core, microservices, testing: fix(common): logger bugs in json output, level changes, fatal and buffered logs (@kamilmysliwiec)

    • Fixed

      microservices: fix(microservices): let the mqtt client retry after a failed connect (@hktitof)

    • Fixed

      microservices: fix(microservices): keep tcp event listeners across reconnects (@KAPUIST)

  8. 12.1.0

    Security fix23 Sep 20262 new · 5 fixes
    • Security

      common, core, platform-fastify: feat(common,core,fastify): built-in CSRF protection and security headers (@kamilmysliwiec)

    • New

      common, core: feat(core): add support for array of global prefixes (@micalevisk)

    • New

      common, core: feat(common,core): add built-in, adapter-agnostic cookies (@kamilmysliwiec)

    • Fixed

      core: fix(core): inherit optional ctor params when the ctor is not redeclared (@kamilmysliwiec)

68 other lines we could not sort, mostly version bumps
  • @Sse({ maxPendingDataLength }) sets how many characters of event data may wait for a client that is not reading its events (4M by default; 0 or Infinity lifts the limit) – 2f05ad954e

    12.2.0
  • IoAdapter and WsAdapter take maxConcurrentMessages, the number of a client's messages handled at once (1000 by default; Infinity lifts it) – 0bd0810ed7

    12.2.0
  • ValidationPipe takes maxErrorMessagesLength (1,000,000 characters by default); messages past it are replaced by a "Further validation errors were omitted" entry – 086c1c514f

    12.2.0
  • Kafka: parser.maxMessageSize (16 MiB after decompression by default); larger messages are logged and skipped – 9bdf844fca

    12.2.0
  • TCP server: drainTimeout (30 s by default, 0 disables) disconnects a peer that leaves its responses unread – 583d6077ad

    12.2.0
  • MQTT server: reconnectOnConnackError is now enabled by default, so a refused connection attempt is retried; set it to false for the previous behaviour – a63cea600a

    12.2.0
  • HttpServer.getRouteMatchingOptions(), an optional adapter hook that tells core how the router matches paths (see "Middleware exclusions" below) – 08d8677c8d

    12.2.0
  • @nestjs/platform-express, @nestjs/platform-fastify: fieldNestingDepth and fieldArrayIndexLimit (#18074) now default to 32 and 1000; set them to Infinity to lift the limits – 94fcc93770

    12.2.0
  • ValidationPipe validates with validationError.target: false unless the options set it, so an exceptionFactory that reads error.target gets undefined; set validationError.target to true for the old errors – 8c5a59bf63

    12.2.0
  • ValidationPipe answers an array or a primitive sent for a validated class with a 400 – 197371c1f3

    12.2.0

894 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.