@nestjs/microservices breaking changes
Updated December 4, 2026
On this page
Latest version 12.6.3, released November 26, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@nestjs/microservices 12.6.3 breaking changes
- Behavior changed
GrpcExceptionFilter
Exceptions that are not RpcException are now logged on the server before the UNKNOWN reply, as BaseRpcExceptionFilter already does. Code that relies on no server-side output for these errors will see new log lines. github.com
@nestjs/microservices 12.6.1 breaking changes
- Behavior changed
applyDecorators
A returned descriptor replaces the method and a returned class replaces the class, as in TypeScript. Composed parameter decorators now receive the parameter index. github.com - Behavior changed
ConsoleLogger
Headers, URLSearchParams, FormData, URL credentials and SuppressedError fields are now masked in logs, and JSON mode serializes SuppressedError fields. github.com - Behavior changed
ParseDatePipe
Dates past the end of a month, such as 2/30/2024 or Feb 30, 2024, are now rejected instead of being rolled over. Check inputs that relied on the rollover. github.com - Behavior changed
ParseEnumPipe
For an enum with both a string and a numeric match, an input such as '0' now returns the exact match rather than the number. github.com - Signature changed
RmqOptions.options
Was options?: {urls?: string[] | RmqUrl[]; queue?: string; prefetchCount?: number; isGlobalPrefetchCount?: boolean; queueOptions?: AmqplibQueueOptions; socketOptions?: AmqpConnectionManagerSocketOptions; noAck?: boolean; consumerTag?... npmjs.com
@nestjs/microservices 12.6.0 breaking changes
- Behavior changed
A NATS or MQTT server closed before its client connects now makes listen() fail with "Connection closed" instead of starting. Stop calling close early or handle the error. github.com - Behavior changed
Closing the Kafka server waits for replies in progress, for gracePeriod (10 s by default) at most, after the consumer disconnects. github.com - Behavior changed
Routes on host patterns are now checked for overlap, so conflicts may be reported at startup that were not reported before. github.com - Behavior changed
Kafka, MQTT, Redis and RabbitMQ clients now reject pending requests with "Connection closed" in some cases where they used to leave them waiting. Code that awaits replies must handle this error. github.com - Behavior changed
A custom parameter decorator that gives the handler the response object now passes it as it is, and no pipe runs on it, whatever the adapter. github.com - Behavior changed
@Res
A method that overrides a @Res({ passthrough: true }) handler with a plain @Res() no longer inherits passthrough. Add passthrough explicitly if you need it. github.com - Behavior changed
createNestApplication
logger: true now keeps the logger, which used to turn logging off. forceConsole: true now logs through console. github.com - Behavior changed
createNestMicroservice
logger: true now keeps the logger, which used to turn logging off. forceConsole: true now logs through console. github.com - Behavior changed
gracefulShutdown
Calls still running after gracePeriod (10 s by default) are now cancelled instead of being waited on without limit. Raise gracePeriod for long-running streams. github.com - Signature changed
GrpcOptions.options
Was options: {url?: string; maxSendMessageLength?: number; maxReceiveMessageLength?: number; maxMetadataSize?: number; keepalive?: {keepaliveTimeMs?: number; keepaliveTimeoutMs?: number; keepalivePermitWithoutCalls?: number... npmjs.com
And 1 more in this version. Sign up to see every change
@nestjs/microservices 12.5.1 breaking changes
- Signature changed
MqttOptions.options
Was options?: MqttClientOptions & {url?: string; serializer?: Serializer; deserializer?: Deserializer; subscribeOptions?: {qos: QoS; nl?: boolean; rap?: boolean; rh?: number;}; userProperties?: Record<string, string | string[]>... npmjs.com - Signature changed
RedisOptions.options
Was options?: {host?: string; port?: number; retryAttempts?: number; retryDelay?: number; wildcards?: boolean; maxWildcardChannelLength?: number; serializer?: Serializer; deserializer?: Deserializer;} & IORedisOptions; now options?... npmjs.com - Signature changed
RmqOptions.options
Was options?: {urls?: string[] | RmqUrl[]; queue?: string; prefetchCount?: number; isGlobalPrefetchCount?: boolean; queueOptions?: AmqplibQueueOptions; socketOptions?: AmqpConnectionManagerSocketOptions; noAck?: boolean; consumerTag?... npmjs.com - Signature changed
ServerTCP.close
Was close(): void; now close(): void | Promise<void>. npmjs.com - Signature changed
TcpOptions.options
Was options?: {host?: string; port?: number; retryAttempts?: number; retryDelay?: number; serializer?: Serializer; tlsOptions?: TlsOptions; deserializer?: Deserializer; socketClass?: Type<TcpSocket>; maxBufferSize?: number... npmjs.com
@nestjs/microservices 12.5.0 breaking changes
- Behavior changed
Short strings over 255 bytes are now rejected. github.com - Behavior changed
A message whose pattern names a different handler than its routing key is no longer handled. github.com - Behavior changed
Clients and servers using such patterns should be on the same version. github.com - Behavior changed
Events can no longer ask for a reply through reply headers, and replies no longer include them. Code relying on reply headers must change. github.com - Behavior changed
A request whose reply topic is one the server handles itself is now dropped. github.com - Behavior changed
An object with a key or value and other properties is now sent as the payload. github.com - Behavior changed
maxConcurrentMessages
Messages beyond 1000 per connection are limited unless maxConcurrentMessages is set; 0 lifts the limit. github.com - Behavior changed
maxMessageSize
Larger messages and replies decoded as JSON are refused unless maxMessageSize is raised. github.com - Behavior changed
maxPendingResponses
A streaming call whose client leaves responses unread now fails with RESOURCE_EXHAUSTED after 1000 pending responses unless maxPendingResponses is changed. github.com - Behavior changed
maxWildcardChannelLength
Requests matched through a wildcard subscription longer than the limit are refused unless maxWildcardChannelLength is changed. github.com
And 9 more in this version. Sign up to see every change
@nestjs/microservices 12.0.0 breaking changes
- Removed
ClientGrpcProxy.options.maxPendingResponses
ClientGrpcProxy.options.maxPendingResponses was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientGrpcProxy.writeRequestStream
ClientGrpcProxy.writeRequestStream was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientKafka.withoutReplyHeaders
ClientKafka.withoutReplyHeaders was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientMqtt.assertTopicLength
ClientMqtt.assertTopicLength was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientMqtt.assertTopicName
ClientMqtt.assertTopicName was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientRedis.pendingSubscriptions
ClientRedis.pendingSubscriptions was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientRMQ.assertShortStrings
ClientRMQ.assertShortStrings was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientRMQ.handleClose
ClientRMQ.handleClose was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientRMQ.maxMessageSize
ClientRMQ.maxMessageSize was removed in @nestjs/microservices 12.0.0 npmjs.com - Removed
ClientRMQ.options.maxMessageSize
ClientRMQ.options.maxMessageSize was removed in @nestjs/microservices 12.0.0 npmjs.com
And 79 more in this version. Sign up to see every change
Related packages
- @nestjs/common
- @nestjs/core
- @nestjs/platform-fastify
- @nestjs/testing
- @nestjs/platform-express
- @nestjs/cli
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.