@nestjs/common
12.5.1 · 16 Nov 2026MIT26M / weekRepositoryHomepagenpmAtom feed
11.2.11 is the newest release of 11.x.
In short
15 fixed
Release note
The section about @nestjs/common of a note shared by several packages.
What's changed
@nestjs/common: fix(common): reject non-numeric items in ParseArrayPipe with items Number — backport of #17876
@nestjs/common: fix(common): reject arrays nested in ParseArrayPipe items — backport of #18073
@nestjs/common: fix(common): skip array holes when stripping prototype keys
@nestjs/common: fix(common): copy array and object defaults in
DefaultValuePipe@nestjs/common: fix(common): cut json log records short past a million characters
@nestjs/common: fix(common): strip a falsy constructor key from request data
@nestjs/common: fix(common): validate parsed array items one at a time
@nestjs/common: fix(common): stop copying nested validation errors for each level
@nestjs/common: fix(common): reject arrays and primitives for validated classes
@nestjs/common: fix(common): limit the length of validation error messages by default
@nestjs/common: fix(common): stop exposing the validated object on validation errors
@nestjs/common: fix(common): match a file type string up to the end of a name
@nestjs/common: fix(common): handle
StreamableFileerrors raised before the reply@nestjs/common: fix(common): keep
StreamableFileerror messages out of responses@nestjs/common: fix(common): abort the response when a streamable file fails midway — backport of #18220
@nestjs/core: fix(core,express,fastify): match excluded routes like the router does
@nestjs/core: fix(core): match excluded routes exactly when the router is unknown
@nestjs/core: fix(core): answer host mismatches on fastify with 404
@nestjs/core: fix(core): never exclude request targets with "#" or in absolute form
@nestjs/core: fix(core): mount unversioned middleware paths under the default version
@nestjs/core: fix(core): map controller middleware under every module declaring it
@nestjs/core: fix(core): mount transient-scoped middleware instead of skipping it — on v11 this also mounts the middleware listed after a transient one, which was skipped as well
@nestjs/core: fix(core): drop an overlapped middleware route only when it is covered
@nestjs/core: fix(core): mount wildcard middleware on every path when "/" is excluded
@nestjs/core: fix(core): mount middleware paths on routes excluded from the prefix
@nestjs/core: fix(core): stop wildcard exclusions from covering their parent route
@nestjs/core: fix(core): run middleware on a controller root excluded by a wildcard
@nestjs/core: fix(core,common): exclude a version only for requests that ask for it
@nestjs/core: fix(core,microservices,websockets): ignore inherited keys of non-objects
@nestjs/core: fix(core): stop the Observable producer when the client disconnects — backport of #17826
@nestjs/core: fix(core): end sse responses to head requests once headers are sent
@nestjs/core: fix(core): do not send the message of an unexposed http error
@nestjs/core: fix(core): destroy a
StreamableFiledropped by a timed-out handler@nestjs/core: fix(core): destroy a
StreamableFilethat is not sent@nestjs/core: fix(core,express,fastify): remove uploads of requests a pipe rejected
@nestjs/core: fix(core): hand sse header errors to the exception filters
@nestjs/core: fix(core): drop sse clients that stop reading their events
@nestjs/core: fix(core): hide internal error messages from sse error events
@nestjs/core: fix(core): make the sse pending data limit configurable
@nestjs/core: fix(core): apply the expose flag of http errors to sse error events
@nestjs/core: fix(core,microservices): run transient global enhancers on controllers — backport of #17993
@nestjs/core: fix(core): stop silently dropping request-scoped global enhancers — backport of #18066; a global enhancer whose dependency tree is request-scoped is no longer silently skipped
@nestjs/core: fix(core): fail at startup for request-scoped class global enhancers — backport of #18104; such an enhancer (e.g.
APP_GUARDwithuseClass) now fails at startup instead of running without its dependencies@nestjs/core: fix(core): read class-level enhancers from the registered class
@nestjs/core: fix(core): apply the enhancers of class providers under any token
@nestjs/core: fix(core): run enhancers that are request-scoped through dependencies
@nestjs/core: fix(core): fail at startup when a global enhancer is not instantiated
@nestjs/core: fix(core): run transient global enhancers on static entry providers
@nestjs/core: fix(core,websockets): run transient enhancers bound to static gateways
@nestjs/core: fix(core): run guards bound as classes without a name
@nestjs/core: fix(core): subscribe to guard observables from other copies of rxjs
@nestjs/core: fix(core): run interceptor, pipe and filter classes without a name
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.