Last 7 days
0
Features: 0
Changes: 0
Fixes: 0
Deprecations: 0
Structured Node.js framework for scalable server-side applications.
Latest NestJS changelog updates, official release notes, breaking changes, security patches, pricing changes, and developer reactions in one product feed.
Follow this NestJS release-notes page to spot useful features, risky migrations, noisy announcements, and source links before they hit your backlog.
Changes.Watch links back to official changelog and release-note sources so summaries stay easy to verify.
Use channels to follow groups of tools around a stack, workflow, or topic.
Rolling windows show how many product updates landed in the last 7, 30, 90, and 365 days, grouped by existing changelog semantics.
0
3
8
27
Fixed early return issue causing Server-Sent Events (SSE) aborts in core
Fixed multiple core, common, and fastify issues: shared singleton providers, regex file type matching, route wildcard conversion, middleware prefix handling, lazy module scanning, and enum validation.
Added an override mimetype option to the file‑type validator and introduced SSE comment support in the core module
Fixed core, common, and websockets bugs: SSE producer teardown on disconnect, missing HttpError exception classes, and corrected websockets type guard.
Fixed SSE async handlers teardown issue in the core module
Fix core post SSE endpoint to return proper response instead of empty
Fix microservices to reject pending Redis requests on close
Fixed issue where dependency tree cache wasn’t cleared after metadata changes
Fixed core bug (issue #16998) affecting snapshot: true behavior
Fix inflight request injection bug
Fixes skipped provider initialization during settlement in the core module.
Fixed core bugs such as deep nested transient provider resolution, SSE event loss, and microservices RMQ crash; also addressed socket.io disconnect listener deduplication and common timestamp parsing issues.
Use a backing field for the consumer CRASH event listener to fix crashes
Fixed NATS serializer to preserve packet headers in microservices.
Added Redis driver identification for microservices.
Fix double callback issue in microservices when isDisposed or error is truthy
Fixed microservices handling: corrected falsy check when `indexOf` returns 0 and added configurable max pattern depth and object complexity limits.
Fixed Fastify middleware bypass vulnerability (CVE) in the fastify platform
Fixed skipping of maxArrayLength and maxStringLength options and excluded built‑in primitives from strip proto keys.
Fixed regression in loading file type on Windows OS.
Updated Express body parser to v1.20.4.
Update Express to 4.22.1, fixing CVE‑2025‑15284
Fixed Fastify platform issue where middie bypassed through decoded characters.
Added Promise<Observable> support for SSE handlers, keep‑alive for gRPC server, async logger compatibility option, and a message property to the file‑type validator.
Fixed core get() to throw when used with implicitly request-scoped trees.
Fix core nested transient provider isolation issue (15815).
Added new features: manual acknowledgement handling for websockets (@Ack decorator), force console option and color allowance check for the logger, and an InvalidTcpDataReceptionException for TCP errors.
Fix race condition in core class dependency resolution and attach root inquirer for nested transient providers.
Update multer dependency from 2.0.1 to 2.0.2 in the platform express package.
Fixed multiple core bugs including race condition in class dependency resolution, flattenRoutePath handling, and fastify adapter auto-initialization.
Updated multer dependency from 2.0.0 to 2.0.1.
Fixed graceful shutdown when the REPL exits.
Updated multer dependency from 1.4.5 LTS.2 to 2.0.0.
Fix microservices to support custom strategy in async useFactory configuration
Fixed HTTP adapter error mapping and ensured all Redis/AMQP client connections are properly closed in core and microservices.
Add support for RabbitMQ topic exchange in microservices
Added fallbackToMimetype support to FileTypeValidator (common)
Refactored common module to stop wrapping JavaScript in eval
Temporarily moved the file type dependency from dev to regular dependencies in the common package.
Introduce a magic file type validator in the NestJS common package to improve file handling validation.
Fix common module to validate file mimetypes based on the file type.
Fix methods comparison logic in the Fastify platform.
Fixed Fastify platform by adding support for non-standard HTTP methods.
Fix fastify adapter handling of global prefix exclusion with middleware
Fixed infinite loop caused by broken circular reference in core.
Switched Fastify to use the fast querystring parser, removing the deprecated parser for performance gains
Fix microservices server send dropping emitted values
Fixed core performance by using topology tree for distance calculations
Fixed addLeadingSlash to support optional regex groups.
Resolve middleware sort issues (core #14523).
Fix core issue #14522 by allowing optional named wildcard groups.
Fixed core bug (#14495) where global module middleware was not executed first.
Node 16 and 18 are dropped (Node 20 required) and several breaking API changes are introduced (type‑narrowed @Inject tokens, removal of promise exports, plainToClass deprecated).
Updated the Express dependency to version 4.21.2
Added type declaration for the RawBody decorator with pipes.
Fixed validation pipe to enforce string type in the common module
Fixed platform socket.io and websockets issue ensuring non‑shared servers call close correctly.
Fix core request context merging, websockets shutdown handling, enum validation fallback, transient lazy provider resolution, and gRPC client streaming bugs
- Fixed microservices bugs: discarded RabbitMQ client options and prevented missing MQTT messages when QoS is set
Upgrade Express to 4.2.1 and update @nestjs/platform‑express in several sample projects
Updated runtime dependencies across core and platform packages (e.g., tslib to 2.7.0, light‑my‑request to 6.0, dset to 3.1.4, @apollo/gateway and @apollo/query‑planner to 2.9.0, webpack to 5.94.0, mongoose to 8.6).
Fixed core bug where forward references in the exports array caused issues.
Fixed a possible memory leak in core when using server‑side events and ensured logs auto‑flush on synchronous internal errors.
Reverted a microservices fix that introduced redundant error emission and fixed a core reference chain issue.
Fixed core middleware execution for root routes with a global prefix, corrected RabbitMQ assert handling, and repaired stacktrace regex parsing.
Fixed several microservices bugs: RMQ nack handling, KafkaJS typings, inbox prefix passing, and missing SEARCH verb registration.
Fixed unique hash generation for dynamic modules and corrected grpc client closing in microservices.
Add Fastify route constraints and a decorator for invalid gRPC messages in microservices; improve core REPL options, prefer useFactory over useValue, and display module names in select‑module errors
Fixed URL parsing error in the platform WS module (bugfix).
Added a generic type for the transformed value in the decorators factory (core enhancement).
Add strongly typed decorator factory and decorator‑based discovery to core, plus a new “fatal” log level in common utilities.
Fixed missing completed field on settlement for improved tracking.
Fixed various core, microservices, and common issues: provider imports in lazy modules, circular factory errors, gRPC client cancel support, FileValidator type correction, and ensured single application initialization.
v10 introduces extensive new features: controller‑level middleware for versioned routes, global‑prefix handling with versioning, async‑local‑storage in interceptors, support for `multer.none`, `@Search` decorator, websocket pattern gette...
Add TCP microservice over TLS and extend microservice event/message extras support
Fixed false positive "value provider not registered" error in core when value is undefined.
Fix cache TTL respect, correct Express listen type definition, filter nil results in WS, and add ParseArrayPipe test case;
Fix core issue by removing xxhash and handle undefined stack in logger
Fixed provider durability calculation bug.
Fixed microservices Kafka emit issue and added graceful RabbitMQ reconnection on error.
Add enhanced REPL '.help' command supporting NestJS functions and introduce graph inspector with preview mode
Fixed cache handling and Fastify adapter registration issues.
Add API version info to routes, introduce error options object and support custom validators for ParseFilePipeBuilder, and improve Express listen return type to Server.
Added payload setting for durable trees in core and producer reference support in KafkaContext for microservices.
Fixed microservice server termination logic and added guard against sending responses after destruction.
Added configurable "maxConnectionAttempts" option to RabbitMQ microservices and hid URL logs
Added support for passing options to nested async modules and a flag to disable LazyModuleLoader logs
Fixed pipeline usage over stream.pipe and corrected raw body handling for urlencoded requests in Express/Fastify.
Fixed CacheModule registerAsync bug.
Added configurable module builder, durable providers, REPL enhancements, new file‑validator pipe, mandatory HttpServer.applyVersionFilter, and error‑chaining for HttpException.
Expose base context on the main package for microservices (new feature).
Fixed scoped injection handling for symbol field names in core.
Fixed microservices issue with multiple RabbitMQ client URLs (bugfix).
Fixed core middleware handling for routes without prefix and corrected context usage for nested transient providers.
Core: added support for optional dependencies in factory providers and fixed container keys to use class references.
Updated Babel monorepo and several TypeScript type definitions (e.g., @types/node, @types/bull).
Core fixes: stream sink content handling, convert platform URIError to BadRequestException, and remove duplicate getClassScope function.
Bumped numerous runtime and dev dependencies (e.g., fastify, express, socket.io, follow-redirects, @types/node) to newer patch versions.
Fixed AMQP v4 incompatibility in microservices.
Fixed core bugs: auto‑flush logs after useLogger, correct getInstanceName return, apply existing headers to SSE responses, and added observable stream error handling.
Updated core dependencies including webpack, typeorm, @nestjs packages, jest types, and GraphQL libraries
Updated a wide range of dependencies, including Fastify, Apollo GraphQL, Webpack, and TypeScript typings.
Refactored built‑in logger with buffering, log‑level output and separate Logger wrapper class
Added conditional cache TTL with async factories, Server‑Sent Events support, abortOnError option, and GrpcCall reference for microservices.
Add microservice.dispose() for graceful shutdown
Added introspect() method to ModuleRef and NestApplicationContext classes
Added ApplicationConfig inheritance support for hybrid applications in the core module.
Added automatic primitive transformation with ValidationPipe and new ParseArrayPipe/ParseBoolPipe.
Added strong typing for custom decorators, static KEY property for SetMetadata decorators, and included tslib support
Added transient inquirer injection to the core module.
Added new decorators and utilities: class‑transformer `excludeExtraneousValues` flag, `applyDecorators`, `CacheTTL()`, `@Ip()` decorator, `getUrl()` method, and custom `createParamDecorator` support for websockets.
Added new utility methods to the Reflector class and introduced RPC/WS decorators
Added getType() methods to ExecutionContext and ArgumentsHost for runtime type inspection.
Improve performance of distance calculation in core middleware
Fixed core bug where middleware execution order was reversed
Fixed core crash caused by circular dependencies that caused a maximum call stack size exceeded error.
Improved developer experience with API docs, new log levels, @Redirect decorator, async NestModule.configure, beforeApplicationShutdown hook, and resolve() for scoped providers.
Fix microservices pattern regression that broke serialization
Removed invalid type references in microservices to resolve dependency issues
Introduced AnyFilesInterceptor for the platform-express
Added ApplicationConfig injectable and HttpArgumentsHost.getNext() to core
Fixed missing `user` property in NatsOptions
Fix invalid scope resolution during module re-export in core
Added enableImplicitConversion to ValidationPipe, new ParseUUID pipe, and options for validating custom decorators; introduced init() method to the application context and useExisting provider support.
Stripped prototype keys in ValidationPipe to avoid false positives.
Fixed override factory provider issue in end‑to‑end (e2e) tests.
Fixed core override and replace logic.
Added customizable ExternalContextCreator with options for selecting enhancers (interceptors, guards, filters).
Fix HttpException handling of the message property
Added ability to set response headers and status code from interceptors/guards (core) and configure socketOptions for ClientRMQ and ServerRMQ (microservices).
Fix Scope.REQUEST handling in microservices (issue #1886)
Fixed ExternalExceptionFilterContext handling in core
Fixed core handling of invalid proxy configuration
Added platform extraction for Express, Fastify, Socket.io, and WS, plus HTTP request‑scoped and transient DI with new lifecycle hooks.
Fixed ValidationPipe to return proper error responses
Fix display of symbol in UnknownDependencyException in core
Fixed Fastify middleware bug where query parameters broke wildcard handling
Fixed core interceptor bug that caused requests to hang (issue #1536).
Added support for array syntax in request mapping decorators (e.g., @Get([]), @Post([]))
Add options support to ValidationPipe during transformation and support abstract classes in NestApplicationContext
Add registerAsync to HttpModule and exceptionFactory option to ValidationPipe
Fixed e2e test failures caused by an HTTP server reference issue.
Updated Axios to the latest version.
Fixed core DI token handling and corrected initial context arguments
Fix default assignment handling in core dependency injection.
Add CacheModule with caching mechanism, introduce ClassSerializerInterceptor and MulterModule, and extend ExternalContextCreator to support pipes
Add global Axios configuration through HttpModule.register and support DynamicModule in NestFactory.create;
Added FileFieldsInterceptor for multi‑file uploads and async dynamic module support, plus new MiddlewareBuilder capabilities (route exclusion and method‑specific RouteInfo)
Added missing `forbidUnknownValues` property to ValidationPipe.
Added async lifecycle hooks, Fastify adapter, and ability to bind global interceptors, pipes, filters, and guards from any module.
Fixed File(s)Interceptor 500 error and Express REF injector issue in e2e tests
Fixed File(s)Interceptor to correctly populate thrown exceptions.
Fix logger override scope and ensure FileInterceptor handles a single options object
Added numerous common utilities such as ValidationPipe and ParseIntPipe improvements, file upload interceptors (FileInterceptor, FilesInterceptor, @UploadedFile/@UploadedFiles) and an HttpModule with HttpService (axios integration).