note: la síntesis y las notas de la versión están en inglés
note: sin síntesis para esta release digest
Las releases digest se listan sin síntesis. Las notas de la versión originales de esta versión están aquí abajo.
release-notesgithub.com/nestjs/nest · 116 líneas
- ## What's changed
- - `@nestjs/common`
- - [fix(common): reject non-numeric items in ParseArrayPipe with items Number](https://github.com/nestjs/nest/commit/d13ff5775ec42c883156c6803b1f3e546c247a34) — backport of #17876
- - [fix(common): reject arrays nested in ParseArrayPipe items](https://github.com/nestjs/nest/commit/83097a40942d5002d4ca87249d2432156d066707) — backport of #18073
- - [fix(common): skip array holes when stripping prototype keys](https://github.com/nestjs/nest/commit/21eeab065b7f42ee105b25af243cf17b03d4cdd3)
- - [fix(common): copy array and object defaults in `DefaultValuePipe`](https://github.com/nestjs/nest/commit/21169ca361b149f5d4a90b3ec128fb36638cced9)
- - [fix(common): cut json log records short past a million characters](https://github.com/nestjs/nest/commit/87afea4bab210de22d32ed62d6a79778bf49b439)
- - [fix(common): strip a falsy constructor key from request data](https://github.com/nestjs/nest/commit/fdedb97975072d72d7ca5980d92bd0b57137083c)
- - [fix(common): validate parsed array items one at a time](https://github.com/nestjs/nest/commit/bf16fca54488082f7233cceee090e17e7a315971)
- - [fix(common): stop copying nested validation errors for each level](https://github.com/nestjs/nest/commit/90db510318defad95117861cb596925d5002afeb)
- - [fix(common): reject arrays and primitives for validated classes](https://github.com/nestjs/nest/commit/b3afc3e9036e361f693290d7c7f031d01eb11b91)
- - [fix(common): limit the length of validation error messages by default](https://github.com/nestjs/nest/commit/ba1ae3dc58ea54b01d27546f2214d0cfde8b22ae)
- - [fix(common): stop exposing the validated object on validation errors](https://github.com/nestjs/nest/commit/a0ee2e4ac275d25b6d5bd30a7acb80343cfe7792)
- - [fix(common): match a file type string up to the end of a name](https://github.com/nestjs/nest/commit/f9a02e4a814c817cd5e056c498576180fa780cd0)
- - [fix(common): handle `StreamableFile` errors raised before the reply](https://github.com/nestjs/nest/commit/988ab06c5188cd612b5fab174c55e16bf5072930)
- - [fix(common): keep `StreamableFile` error messages out of responses](https://github.com/nestjs/nest/commit/da962a3f182b227aae244f73b5f7915b0792910f)
- - [fix(common): abort the response when a streamable file fails midway](https://github.com/nestjs/nest/commit/2246181c8bc7a08d0be5e845bdac7659a451f9fc) — backport of #18220
- - `@nestjs/core`
- - [fix(core,express,fastify): match excluded routes like the router does](https://github.com/nestjs/nest/commit/1f895dbc4900262ca25810737b2bc8be4300ff89)
- - [fix(core): match excluded routes exactly when the router is unknown](https://github.com/nestjs/nest/commit/ad43ace0601b90ae557839b24c59ba4df879fb9e)
- - [fix(core): answer host mismatches on fastify with 404](https://github.com/nestjs/nest/commit/f787587aea5e78b9f073947534361be6f452a67f)
- - [fix(core): never exclude request targets with "#" or in absolute form](https://github.com/nestjs/nest/commit/f67140dbe0bb23f4fdfbe063b833528988a65486)
- - [fix(core): mount unversioned middleware paths under the default version](https://github.com/nestjs/nest/commit/02513a73b67fb5861e8caa7695e024a86dc7d34c)
- - [fix(core): map controller middleware under every module declaring it](https://github.com/nestjs/nest/commit/6f710f2d71a338ccb04f4dfea54a0892e63a05f4)
- - [fix(core): mount transient-scoped middleware instead of skipping it](https://github.com/nestjs/nest/commit/5cbaea7ea7d419916f9826ced5a4b2c651a70297) — on v11 this also mounts the middleware listed after a transient one, which was skipped as well
- - [fix(core): drop an overlapped middleware route only when it is covered](https://github.com/nestjs/nest/commit/761d1d9a2a6ed96dcbb639990f0eef309f513b2a)
- - [fix(core): mount wildcard middleware on every path when "/" is excluded](https://github.com/nestjs/nest/commit/9e79a27b9cb5d2977fe7665c43e875e8449a1bb5)
- - [fix(core): mount middleware paths on routes excluded from the prefix](https://github.com/nestjs/nest/commit/52f5b276741bfdbe7247965eaede67bbd6c4aff5)
- - [fix(core): stop wildcard exclusions from covering their parent route](https://github.com/nestjs/nest/commit/d31d56d87a5c0ac3277f39e756970e64e7d8e383)
- - [fix(core): run middleware on a controller root excluded by a wildcard](https://github.com/nestjs/nest/commit/7d427f8136cb1892ffefb72cbc07933e4827b107)
- - [fix(core,common): exclude a version only for requests that ask for it](https://github.com/nestjs/nest/commit/021ca717e1068ba978cfe0b0340f7370b626b7ee)
- - [fix(core,microservices,websockets): ignore inherited keys of non-objects](https://github.com/nestjs/nest/commit/76ca5c61920f62f7c27323c49fd1450df60a5de6)
- - [fix(core): stop the Observable producer when the client disconnects](https://github.com/nestjs/nest/commit/08e37c2e96d1026d3d453b7cb05ddab59662d7d0) — backport of #17826
- - [fix(core): end sse responses to head requests once headers are sent](https://github.com/nestjs/nest/commit/9cc84962d46b8bad58e5d7d5e85e5a38547b34ab)
- - [fix(core): do not send the message of an unexposed http error](https://github.com/nestjs/nest/commit/89f20e2a3350aa7fcb4636bd54eec795035af58a)
- - [fix(core): destroy a `StreamableFile` dropped by a timed-out handler](https://github.com/nestjs/nest/commit/01b6812cad0712467346217c7db667d18b142f96)
- - [fix(core): destroy a `StreamableFile` that is not sent](https://github.com/nestjs/nest/commit/cf3da144a6897ece45e75ef3437ec11d0c96299e)
- - [fix(core,express,fastify): remove uploads of requests a pipe rejected](https://github.com/nestjs/nest/commit/a69d9868e87bd417d3c857213a4d574a650a203a)
- - [fix(core): hand sse header errors to the exception filters](https://github.com/nestjs/nest/commit/9d73145ffaa4051febda2ed429a5abc8c6dbe5ea)
- - [fix(core): drop sse clients that stop reading their events](https://github.com/nestjs/nest/commit/7bdbe7061749444b782c7e43dbabb3e74617ccbe)
- - [fix(core): hide internal error messages from sse error events](https://github.com/nestjs/nest/commit/9002299e5e3d4a38992c910f788a4f42ebd51c58)
- - [fix(core): make the sse pending data limit configurable](https://github.com/nestjs/nest/commit/b9cc36286bee07a4a0c16bdb9b7f5cf94b9f820d)
- - [fix(core): apply the expose flag of http errors to sse error events](https://github.com/nestjs/nest/commit/6bbf29d4ac980ead341041a927e14b41f6a30bb1)
- - [fix(core,microservices): run transient global enhancers on controllers](https://github.com/nestjs/nest/commit/493cfd43c4af98b1ea610c5f207843b5fe0c7ef1) — backport of #17993
- - [fix(core): stop silently dropping request-scoped global enhancers](https://github.com/nestjs/nest/commit/bb67dba1dd5ff5aedbae745573caf90a3d551d59) — backport of #18066; a global enhancer whose dependency tree is request-scoped is no longer silently skipped
- - [fix(core): fail at startup for request-scoped class global enhancers](https://github.com/nestjs/nest/commit/820fe4c922db6189fa547c56381574223646cac8) — backport of #18104; such an enhancer (e.g. `APP_GUARD` with `useClass`) now fails at startup instead of running without its dependencies
- - [fix(core): read class-level enhancers from the registered class](https://github.com/nestjs/nest/commit/30d6629787b5649c239854150a65f39fdc7328fa)
- - [fix(core): apply the enhancers of class providers under any token](https://github.com/nestjs/nest/commit/9bf44a02c12e305213d014d22d69be395c5cfccc)
- - [fix(core): run enhancers that are request-scoped through dependencies](https://github.com/nestjs/nest/commit/3aef3a37580cf7e13d6414c8dbeb51a2cb6b26cf)
- - [fix(core): fail at startup when a global enhancer is not instantiated](https://github.com/nestjs/nest/commit/47ec4ab73d436aca6a4fb14fdbca702f3d5a2d07)
- - [fix(core): run transient global enhancers on static entry providers](https://github.com/nestjs/nest/commit/5466771c5c1f80e66f5e0ae7d5bd9c957a1db95e)
- - [fix(core,websockets): run transient enhancers bound to static gateways](https://github.com/nestjs/nest/commit/12ffbad995eb388c72c9a26d54465b73f7612196)
- - [fix(core): run guards bound as classes without a name](https://github.com/nestjs/nest/commit/2e8f8c6112aa85ded9c988c9acd2235caf58d57c)
- - [fix(core): subscribe to guard observables from other copies of rxjs](https://github.com/nestjs/nest/commit/502874d9ce9af2f1010747a1b3918404fd01a8e5)
- - [fix(core): run interceptor, pipe and filter classes without a name](https://github.com/nestjs/nest/commit/f53b8f278a5b3f7984c74eb248a6fd95f8bbfb2a)
- - `@nestjs/platform-express`
- - [fix(express): run wildcard middleware on "/api/" for a named wildcard](https://github.com/nestjs/nest/commit/5557ceb8b2ff5f7c061a4e617637b6b989e7f164)
- - [fix(express): apply middleware to controller root routes in strict mode](https://github.com/nestjs/nest/commit/6a4e49a787e4ac5d19f6491b2c0b4cc396d2cac0)
- - [fix(express): map multer array index and invalid field name codes to 400](https://github.com/nestjs/nest/commit/20ee552a46e0bdd8f5f9fff82c9844e0e0d9f68d) — backport of #17857
- - [fix(express): destroy the `StreamableFile` source on client disconnect](https://github.com/nestjs/nest/commit/2a2af0f010dc8260e5b8084eb7dace8d4c2787dd) — backport of #17973
- - [fix(express): send object error bodies with a json content type](https://github.com/nestjs/nest/commit/26003c641e95ad1014e7f8d637652e01452984e7)
- - [fix(express,fastify): handle a `StreamableFile` that cannot be streamed](https://github.com/nestjs/nest/commit/8edd9ed9354af36bb293d7c9795239aa20f0bf15)
- - [fix(express): stop reading a streamable file for a head request](https://github.com/nestjs/nest/commit/e1944e1db367212f0b2eae22cc0f67cfd90cf19e)
- - `@nestjs/platform-fastify`
- - [fix(fastify): treat an empty route parameter as a route miss](https://github.com/nestjs/nest/commit/3ef20fb7e58bb60950255631161468aa0551e1d4)
- - [fix(fastify): answer request targets that are not a path with 404](https://github.com/nestjs/nest/commit/5560ab1c493b83739c504dbf0a82595d34297f23)
- - [fix(fastify): pass middleware rejections to the error handler](https://github.com/nestjs/nest/commit/eff52a638d13b06484eeb00b427bafaed3ec24f5)
- - [fix(fastify): pass version extractor errors to the error handler](https://github.com/nestjs/nest/commit/521bad2fe6de8fd30c87326324afb21a92319492)
- - [fix(fastify): match middleware paths like a case-insensitive router](https://github.com/nestjs/nest/commit/07a6a5d5a0b078154fde633e2b1d37d3050f77ad)
- - [fix(fastify): apply middleware to plugins registered before init](https://github.com/nestjs/nest/commit/b7ab5f8583ea9130a7a5b46b34eac0b5c165b530)
- - [fix(fastify): run cors before nest middleware](https://github.com/nestjs/nest/commit/0c2d3e929175ca00e86d4e8fe04fb199b3898888) — backport of #18217
- - [fix(fastify): stop reading a streamable file for a head request](https://github.com/nestjs/nest/commit/67cfc8206a2600bb8e64d3eb4252b540c2b28273)
- - `@nestjs/microservices`
- - [fix(microservices): close tls connections still in their handshake](https://github.com/nestjs/nest/commit/f44a744992e26ff89c22597eb5dad4b4b99061c3)
- - [fix(microservices): keep sibling event handlers running on error](https://github.com/nestjs/nest/commit/85e8320ae3ff41eb67562d601bd6be2d9f67a42a)
- - [fix(microservices): reject tcp data too long to be a content length](https://github.com/nestjs/nest/commit/206790d16ff8b5800c739669942446d8ca065b01)
- - [fix(microservices): keep reading tcp replies during client backpressure](https://github.com/nestjs/nest/commit/2a5384a6c6398b58fda49f92cf3ad47a7863ee39) — backport of #18162
- - [fix(microservices): drop tcp peers that stop reading their responses](https://github.com/nestjs/nest/commit/24f8de029e6b059d34e3955092f5563310e055ba)
- - [fix(microservices): reply to a request only from its message handler](https://github.com/nestjs/nest/commit/4f142d85d2a3b138d112d4240d66f52c895ba077)
- - [fix(microservices): stop tcp observable responses when the peer leaves](https://github.com/nestjs/nest/commit/f500c5c4d4983a7b77458bafd3cf321f4bd82734)
- - [fix(microservices): route message handler rejections to handleError](https://github.com/nestjs/nest/commit/9b62410c69324bd8c93bdbe8689c264d63c5d4b8) — backport of #17785
- - [fix(microservices): reject mqtt topics longer than 65535 bytes](https://github.com/nestjs/nest/commit/5627df15ff92050875512f57aa279025251a6f98)
- - [fix(microservices): use unguessable request ids and nats reply inboxes](https://github.com/nestjs/nest/commit/98c7001dca1f97ac4dd995477722f8a694cbbabc)
- - [fix(microservices): drop rmq replies that amqp cannot address](https://github.com/nestjs/nest/commit/298c922bce984f44a59e1b0b0944dde699fc8dab)
- - [fix(microservices): only emit rmq replies that a request waits for](https://github.com/nestjs/nest/commit/b8e8fa7bb26ef7f9c15471cbc6e01ff214392e47)
- - [fix(microservices): drain streamed replies in linear time](https://github.com/nestjs/nest/commit/fa60de47a597f5924ddddbf72e46a3b18c286656)
- - [fix(microservices): limit the length of pattern keys](https://github.com/nestjs/nest/commit/747e30509582a584121a0f34c2f3d2bcb15da6e7)
- - [fix(microservices): validate request ids before echoing them](https://github.com/nestjs/nest/commit/7d4a3a3b6eb7e3fda64f6d6a067271bf05081b0f)
- - [fix(microservices): route mqtt messages by the topic they arrived on](https://github.com/nestjs/nest/commit/06127f3db39b5e00eb800d8fa03bb95822186b39)
- - [fix(microservices): send no kafka headers given as a string or array](https://github.com/nestjs/nest/commit/7752fd561f6ac2be7cf4872db08c02d78c8ddb30)
- - [fix(microservices): decode kafka reply headers as text](https://github.com/nestjs/nest/commit/99fe23eef5cb59f0fc2a9f9d72020bd2b92e44a9)
- - [fix(microservices): limit the size of kafka messages the parser decodes](https://github.com/nestjs/nest/commit/bb45556984c35da0e75a455431a60a070febedf9)
- - [fix(microservices): limit the number of kafka header values](https://github.com/nestjs/nest/commit/f5998cf4da1423a97c987c2bfcfa12d08cb22340)
- - [fix(microservices): let only the exact message handler answer a request](https://github.com/nestjs/nest/commit/20cdfa571da3cbdc19022899a0de3692e0b668e2) — backport of #18229
- - [fix(microservices): honor mqtt topic filter boundaries](https://github.com/nestjs/nest/commit/fd9cf1cffb349db39cc84e4fc2f9ead296c4ab96) — backport of #18221
- - [fix(microservices): treat an error in an rpc exception as unknown](https://github.com/nestjs/nest/commit/2acf9675f4f0ef811e01e211feb2e5c92f19ba71)
- - [fix(microservices): answer grpc calls that error or complete empty](https://github.com/nestjs/nest/commit/06c280a21669337515cca09cd6a9b7e3d50fd8d8)
- - [fix(microservices): error grpc duplex calls on upstream error](https://github.com/nestjs/nest/commit/f8e22a30107303e1deb484aac2cda64920c8f72c)
- - [fix(microservices): send grpc errors that grpc-js can encode](https://github.com/nestjs/nest/commit/35323027974c671799ea842ed8f474d6fe66a7b8)
- - [fix(microservices): fail grpc response streams that emit null](https://github.com/nestjs/nest/commit/b8ac480743da2b153cc0f39b137bf05f73e7f000)
- - [fix(microservices): fail grpc calls whose handler promise rejects](https://github.com/nestjs/nest/commit/39d6b665d666c9579519464ff00574836ad6c8fe)
- - [fix(microservices): end grpc unary subscriptions with the call](https://github.com/nestjs/nest/commit/6334c321521ca0739e95dbd6305a8a069a752006)
- - [fix(microservices): pause grpc request streams while replies wait](https://github.com/nestjs/nest/commit/9c811f3ca2ec6cc4ea1d38cfdd0bff1053cb7726)
- - `@nestjs/websockets`
- - [fix(websockets): log and reply when the error cause cannot be sent](https://github.com/nestjs/nest/commit/334090faad473d14273f6d77af1806252ce398a1)
- - [fix(websockets): bound how many messages of a client are handled at once](https://github.com/nestjs/nest/commit/6177c9ab08b979f2c5a0ab6b5525399962a38a95)
- - [fix(websockets): treat an error in a ws exception as unknown](https://github.com/nestjs/nest/commit/7761f0c130068582efa4bfaa2ff3099e65d6d5cd)
- - `@nestjs/platform-ws`
- - [fix(ws): drop messages from a client the server is closing](https://github.com/nestjs/nest/commit/c9c2c42ecd3174e52a1406b195e11cad765cdb9e)
- - [fix(ws): close the socket of an upgrade request it cannot parse](https://github.com/nestjs/nest/commit/f7e96b4cf3c6e178e4d6cc93e0692e2b1903e9b9)
- - [fix(ws): answer non-upgrade requests on a gateway's own port with 426](https://github.com/nestjs/nest/commit/415a67248c5776ca24de5bf5a8cfa19e3c021e2b)
- - [fix(ws): listen on the host of a gateway with its own port and a path](https://github.com/nestjs/nest/commit/69dab372c995383bf517d26762e0eb0cebedaa08)
- - [fix(ws): stop reading from a client that does not read its replies](https://github.com/nestjs/nest/commit/da9d7c434955eb48759b02e3e8ce521560d353dd)
- **Full Changelog**: https://github.com/nestjs/nest/compare/v11.2.7...v11.2.8