Repository navigation
chore(deps): update nest monorepo to v12.2.0 - #27
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
12.1.3→12.2.012.1.3→12.2.012.1.3→12.2.012.1.3→12.2.012.1.3→12.2.012.1.3→12.2.012.1.3→12.2.012.1.3→12.2.0Release Notes
nestjs/nest (@nestjs/common)
v12.2.0Compare Source
v12.2.0 (2026-10-19)
Notable changes
New options
@Sse({ maxPendingDataLength })sets how many characters of event data may wait for a client that is not reading its events (4M by default;0orInfinitylifts the limit) – 2f05ad954eIoAdapterandWsAdaptertakemaxConcurrentMessages, the number of a client's messages handled at once (1000 by default;Infinitylifts it) – 0bd0810ed7ValidationPipetakesmaxErrorMessagesLength(1,000,000 characters by default); messages past it are replaced by a "Further validation errors were omitted" entry – 086c1c514fparser.maxMessageSize(16 MiB after decompression by default); larger messages are logged and skipped – 9bdf844fcadrainTimeout(30 s by default,0disables) disconnects a peer that leaves its responses unread – 583d6077adreconnectOnConnackErroris now enabled by default, so a refused connection attempt is retried; set it tofalsefor the previous behaviour – a63cea600aHttpServer.getRouteMatchingOptions(), an optional adapter hook that tells core how the router matches paths (see "Middleware exclusions" below) – 08d8677c8dNew defaults and behaviour changes
@nestjs/platform-express,@nestjs/platform-fastify:fieldNestingDepthandfieldArrayIndexLimit(#18074) now default to 32 and 1000; set them toInfinityto lift the limits – 94fcc93770ValidationPipevalidates withvalidationError.target: falseunless the options set it, so anexceptionFactorythat readserror.targetgetsundefined; setvalidationError.targettotruefor the old errors – 8c5a59bf63ValidationPipeanswers an array or a primitive sent for a validated class with a 400 – 197371c1f3FileTypeValidatormatches a stringfileTypeup to the end of a name (e.g.font/woffno longer acceptsfont/woff2; use a RegExp for that) – 770c6f1a19@SerializeOptions({})on a handler no longer turns off the class schema – d27cb7017fBaseExceptionFilteranswershttp-errorserrors created withexpose: false(the default from 500) with the standard reason phrase instead of their message – 9ed572f853StreamableFileerror still gets a 400, but the body no longer carries the error message – 2f28d91afb@nestjs/platform-fastify: a route withfileSize: undefined(ornull) falls back to the plugin's limit; set it toInfinityto keep uploads unlimited – dd549e1a74@nestjs/platform-express: object error bodies are sent asapplication/jsonon routes with a non-JSONContent-Type– 7dc6e349d5ConsoleLoggerin JSON mode cuts a record short past about a million characters – ad4915eaa3APP_FILTERnow logs a startup warning, as it only applies to exceptions thrown from controllers – df5275c5e1@EventPattern()handler that replies toClientProxy#send()now logs a deprecation warning. The reply is unchanged; in the next major version event handlers will not reply tosend(), as on Kafka already – ba3668d36bMiddleware exclusions
MiddlewareConsumer.exclude()now compiles excluded routes with the router's case and trailing-slash matching (08d8677c8d). Update@nestjs/coretogether with@nestjs/platform-express/@nestjs/platform-fastify: with an adapter that does not implementgetRouteMatchingOptions(), excluded routes are matched exactly (f5aa875e40), so on a lenient router other spellings of an excluded path run the middleware.exclude({ path, method, version })andenableCsrfProtection({ exclude })apply only to requests that ask for one of the excluded versions – 1a7a31fa46@nestjs/platform-fastify: the request hook used byenableCsrfProtection()anduseSecurityHeaders()now runs before Nest andapp.use()middleware withNestFactory.create()too, including middleware registered before either call, as it already did withTest.createNestApplication()– 8351806290Bug fixes
platform-fastifymicroservicescoreStreamableFilethat is not sent (@kamilmysliwiec)StreamableFiledropped by a timed-out handler (@kamilmysliwiec)commonStreamableFileerror messages out of responses (@kamilmysliwiec)StreamableFileerrors raised before the reply (@kamilmysliwiec)DefaultValuePipe(@kamilmysliwiec)stringifyReplacerwith the logger asthis(@Chaoqi31)error()calls with a lone or an undefined stack (@Chaoqi31)platform-express,platform-fastifyStreamableFilethat cannot be streamed (@kamilmysliwiec)testingcore,microserviceswebsocketscore,websocketscommon,corecore,platform-expressplatform-expressplatform-ws,websocketsplatform-socket.io,platform-ws,websocketscore,microservices,websocketsplatform-wscore,platform-express,platform-fastifycore,testingcommon,platform-fastifycommon,core,platform-express,platform-fastifycommon,core,microservices,platform-express,platform-fastify,platform-socket.io,platform-ws,testing,websocketsEnhancements
microservicescoreDocs
microservicesDependencies
platform-fastifyplatform-expressCommitters: 15
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.