Skip to content

Update nest monorepo to v12 - #322

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-nest-monorepo
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-nest-monorepo

Conversation

@renovate

@renovate renovate Bot commented Jul 16, 2022 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@nestjs/common (source) ^6.10.0 || ^7.0.0 || ^8.0.0 → ^6.10.0 || ^7.0.0 || ^8.0.0 || ^12.0.0 age confidence
@nestjs/common (source) 8.4.7 → 12.2.0 age confidence
@nestjs/core (source) 8.4.7 → 12.2.0 age confidence
@nestjs/microservices (source) 8.4.7 → 12.2.0 age confidence
@nestjs/platform-express (source) 8.4.7 → 12.2.0 age confidence
@nestjs/testing (source) 8.4.7 → 12.2.0 age confidence

Release Notes

nestjs/nest (@​nestjs/common)

v12.2.0

Compare 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; 0 or Infinity lifts the limit) – 2f05ad954e
  • IoAdapter and WsAdapter take maxConcurrentMessages, the number of a client's messages handled at once (1000 by default; Infinity lifts it) – 0bd0810ed7
  • ValidationPipe takes maxErrorMessagesLength (1,000,000 characters by default); messages past it are replaced by a "Further validation errors were omitted" entry – 086c1c514f
  • Kafka: parser.maxMessageSize (16 MiB after decompression by default); larger messages are logged and skipped – 9bdf844fca
  • TCP server: drainTimeout (30 s by default, 0 disables) disconnects a peer that leaves its responses unread – 583d6077ad
  • MQTT server: reconnectOnConnackError is now enabled by default, so a refused connection attempt is retried; set it to false for the previous behaviour – a63cea600a
  • HttpServer.getRouteMatchingOptions(), an optional adapter hook that tells core how the router matches paths (see "Middleware exclusions" below) – 08d8677c8d

New defaults and behaviour changes

  • @nestjs/platform-express, @nestjs/platform-fastify: fieldNestingDepth and fieldArrayIndexLimit (#​18074) now default to 32 and 1000; set them to Infinity to lift the limits – 94fcc93770
  • ValidationPipe validates with validationError.target: false unless the options set it, so an exceptionFactory that reads error.target gets undefined; set validationError.target to true for the old errors – 8c5a59bf63
  • ValidationPipe answers an array or a primitive sent for a validated class with a 400 – 197371c1f3
  • FileTypeValidator matches a string fileType up to the end of a name (e.g. font/woff no longer accepts font/woff2; use a RegExp for that) – 770c6f1a19
  • @SerializeOptions({}) on a handler no longer turns off the class schema – d27cb7017f
  • BaseExceptionFilter answers http-errors errors created with expose: false (the default from 500) with the standard reason phrase instead of their message – 9ed572f853
  • A StreamableFile error still gets a 400, but the body no longer carries the error message – 2f28d91afb
  • Files uploaded with a request that a pipe rejected are removed from storage – acb98de89e
  • @nestjs/platform-fastify: a route with fileSize: undefined (or null) falls back to the plugin's limit; set it to Infinity to keep uploads unlimited – dd549e1a74
  • @nestjs/platform-express: object error bodies are sent as application/json on routes with a non-JSON Content-Type – 7dc6e349d5
  • ConsoleLogger in JSON mode cuts a record short past about a million characters – ad4915eaa3
  • A global enhancer that the injector failed to instantiate now fails the application at startup – ae78524ced
  • A request- or transient-scoped APP_FILTER now logs a startup warning, as it only applies to exceptions thrown from controllers – df5275c5e1
  • Microservices: a pattern key longer than 256 characters matches no handler – accd27e66c
  • Kafka: a message may carry up to 10,000 header values (e419ff540b); headers given as a string or array are not sent (312777743f); reply headers are decoded as text (ee94f6aaae)
  • gRPC: request streams are paused while their replies wait to be written – 37e5cf7706
  • Deprecation: on TCP, Redis, NATS, MQTT and RabbitMQ, an @EventPattern() handler that replies to ClientProxy#send() now logs a deprecation warning. The reply is unchanged; in the next major version event handlers will not reply to send(), as on Kafka already – ba3668d36b

Middleware exclusions

  • MiddlewareConsumer.exclude() now compiles excluded routes with the router's case and trailing-slash matching (08d8677c8d). Update @nestjs/core together with @nestjs/platform-express / @nestjs/platform-fastify: with an adapter that does not implement getRouteMatchingOptions(), excluded routes are matched exactly (f5aa875e40), so on a lenient router other spellings of an excluded path run the middleware.
  • With header, media type or custom versioning, exclude({ path, method, version }) and enableCsrfProtection({ exclude }) apply only to requests that ask for one of the excluded versions – 1a7a31fa46
  • @nestjs/platform-fastify: the request hook used by enableCsrfProtection() and useSecurityHeaders() now runs before Nest and app.use() middleware with NestFactory.create() too, including middleware registered before either call, as it already did with Test.createNestApplication() – 8351806290
Bug fixes
Enhancements
Docs
Dependencies
Committers: 15

v12.1.3

Compare Source

v12.1.3 (2026-10-12)

Bug fixes

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on the 15th through 16th day of the month"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 9172225 to 6f2d887 Compare July 20, 2022 11:45
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from 863f835 to 456f8a3 Compare August 3, 2022 12:55
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from a4adbf2 to d7c1d40 Compare August 16, 2022 11:40
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from e9a44ac to 1ad4e41 Compare September 19, 2022 14:40
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 1ad4e41 to 0126cbe Compare September 22, 2022 12:05
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 3b518d1 to b582091 Compare October 5, 2022 14:19
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from f86aa1f to b9cac7a Compare October 24, 2022 14:36
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from b9cac7a to 8dd3546 Compare November 7, 2022 12:42
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 8dd3546 to 693a528 Compare November 29, 2022 10:25
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 693a528 to 0c5fc4a Compare December 15, 2022 04:24
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 0c5fc4a to 8aefb00 Compare January 15, 2023 12:24
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 5 times, most recently from e7867f5 to adfb874 Compare February 8, 2023 14:44
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from cba19b0 to 3716a6b Compare February 15, 2023 07:15
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from dbc0abc to 8a739d8 Compare March 22, 2023 09:07
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 8a739d8 to 99c6f46 Compare April 5, 2023 11:08
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from e2b1b54 to 1300c9b Compare July 17, 2023 09:33
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from 1033e44 to 65e647b Compare July 31, 2023 09:41
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 65e647b to d78f56a Compare July 31, 2023 12:47
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from 051b778 to 513c2f8 Compare August 21, 2023 11:48
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 7354a7b to f1aada7 Compare August 28, 2023 10:53
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from ca3c821 to 892def5 Compare August 31, 2023 22:35
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 892def5 to 15cd24d Compare September 11, 2023 11:09
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 15cd24d to 0651ae9 Compare September 22, 2023 09:34
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 0651ae9 to 62e07a8 Compare October 5, 2023 06:58
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 62e07a8 to 421891a Compare October 15, 2023 04:59
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 421891a to f1c9c1d Compare November 2, 2023 14:25
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from edcceb1 to 3f9f9f6 Compare November 20, 2023 13:29
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from 3f9f9f6 to de9592a Compare December 18, 2023 11:17
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch from de9592a to 3de5819 Compare January 23, 2024 16:56
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from ff38c27 to f732291 Compare February 12, 2024 10:50
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 2 times, most recently from 8ee452e to fca3109 Compare March 18, 2024 14:11
@renovate
renovate Bot force-pushed the renovate/major-nest-monorepo branch 3 times, most recently from e10032a to bb5ba02 Compare March 28, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants