NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3423 most downloaded on npm
Testing for NestJS: build a test module, replace providers with mocks, and run end-to-end tests against a real application.
Latest stable
12.4.2
Last release 13 days ago
09 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Most releases are documented
notes for 52 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
437 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
common: add registerAsync to HttpModule #1257
registerAsync to HttpModule #1257exceptionFactory option to ValidationPipe #1267protoLoader option for gRPC transport #1269throwError) exceptions #1285throwError) exceptions #1285Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
core: e2e tests are failing due to HTTP_SERVER_REF #1160
HTTP_SERVER_REF #1160common: update axios to latest version #1152
axios to latest version #1152UnknownDependenciesMessage #1143ModuleRef.create() #1172Nothing published for this version
Nothing published for this version
Nothing published for this version
core: change context initial arguments #1188
WsAdapter close function error #1156WsAdapter) #1183core: make use of default assignments (DI) #1151
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
common: caching mechanism - add CacheModule module #695
CacheModule module #695ClassSerializerInterceptor interceptorMulterModule moduleExternalContextCreator now supports pipesIoAdapter #982HttpServer within ExpressAdapter #1017WsAdapter and IoAdapter)Nothing published for this version
Nothing published for this version
Nothing published for this version
common: provide global config for axios instance HttpModule.register() #846
HttpModule.register() #846@Optional() decorator #847ExternalContextCreator (for 3rd-party libraries purposes)NestFactory.create[..]() #671FileInterceptor interceptors per class #935Logger instance #926@grpc-loader withing gRPC transport #980OnModuleDestroy hook for testing module #899Nothing published for this version
common: FileFieldsInterceptor upload multiple files with different names (multer.fields) #741
FileFieldsInterceptor upload multiple files with different names (multer.fields) #741MiddlewareBuilder #790RouteInfo in the MiddlewareBuilder (restrict middleware to certain request method)forRoutes(
{ path: 'cats', method: RequestMethod.GET },
{ path: 'cats', method: RequestMethod.POST },
)
ValidationPipe) #734APP_ providers get registered #812axiosRef from HttpService#842MiddlewareFunction generic #778TestModule.get() is too restrictive #772common: add missing forbidUnknownValues property (ValidationPipe) #706
forbidUnknownValues property (ValidationPipe) #706forRoutes() #692@WebSocketGateway and @SubscribeMessage do not properly handle errors #683common: deprecate @Component(), @Middleware(), @Interceptor(), @Pipe(), and @Guard() decorators (use @Injectable() instead)
OnModuleInit and OnModuleDestroy) #569FastifyAdapter){
provide: APP_INTERCEPTOR,
useClass: LoggerInterceptor,
}
@UseGuards(), @UsePipes(), @UseFilters(), and @UseInterceptors() extend metadata, instead of overriding existing oneArgumentsHost to exception filters (ability to access each argument)ExecutionContext to both interceptors and guards (ability to access each argument and execution context)multer dependency #532NestApplicationContext process #503reflect-metadata peer dependency #563es2017)useContainer() (class-validator and typeorm packages) #528@WebSocketGateway() takes options argument that is passed to socket.io instance #508@Component(), @Middleware(), @Interceptor(), @Pipe(), and @Guard() decorators (use @Injectable() instead)ExpressMiddleware (use MiddlewareFunction)modules: [] property (use imports: [] instead)components: [] property (use providers: [] instead)MiddlewaresConsumer (use MiddlewareConsumer)Migration guide: https://docs.nestjs.com/migration-guide
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
core: param pipes aren't working correctly #592
core: incorrect ExpressAdapter method wrappers #585
Nothing published for this version
Nothing published for this version
common: deprecate @Component(), @Middleware(), @Interceptor(), @Pipe(), and @Guard() decorators (use @Injectable() instead)
OnModuleInit and OnModuleDestroy) #569FastifyAdapter){
provide: APP_INTERCEPTOR,
useClass: LoggerInterceptor,
}
@UseGuards(), @UsePipes(), @UseFilters(), and @UseInterceptors() extend metadata, instead of overriding existing oneArgumentsHost to exception filters (ability to access each argument)ExecutionContext to both interceptors and guards (ability to access each argument and execution context)multer dependency #532NestApplicationContext process #503reflect-metadata peer dependency #563useContainer() (class-validator and typeorm packages) #528@WebSocketGateway() takes options argument that is passed to socket.io instance #508@Component(), @Middleware(), @Interceptor(), @Pipe(), and @Guard() decorators (use @Injectable() instead)modules: [] property (use imports: [] instead)components: [] property (use providers: [] instead)common: File(s)Interceptor throws http status code 500 #465
common: ValidationPipe improvements #383
ValidationPipe improvements #383ParseIntPipe improvements #385FileInterceptor, FilesInterceptor, @UploadedFile() and @UploadedFiles() (multer integration)HttpModule that exposes HttpService (axios integration)app.disable() and app.enable() wrappers around express appexpress reference (EXPRESS_REF token)NestFactory.create() now accepts third argument HttpsOptionsapp.enableCors() to INestApplication (cors integration)@Render() decorator (MVC applications)Logger.overrideLogger() #247appOptions property to create[..] methods of NestFactorylistenAsync() to INestMicroservice instancewss://) #384NestFactory.createMicroservice() #398$stream observable returns another observable instead of the response object #376Observable.throw from controller results in unhandled rejection promise #373ModuleMetadata interfaceINestApplication, INestMicroservice, and INestApplicationContext) return this instead of voidNestFactoryNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.