Compare commits

...

1416 Commits

Author SHA1 Message Date
Kamil Myśliwiec
e099625a33 fix(microservices): introuduce max pattern depth and object complexity 2026-02-20 10:48:05 +01:00
Kamil Myśliwiec
5d31df7eb6 chore(release): publish v11.1.14 release 2026-02-17 17:24:39 +01:00
Kamil Mysliwiec
fd8d073e0e Merge pull request #16384 from nestjs/fix/fastify-middleware-vulnerability
fix(fastify): fastify middleware bypass cve
2026-02-17 17:23:24 +01:00
Kamil Myśliwiec
d74e9a8c5f fix(fastify): fastify middleware bypass cve 2026-02-17 17:22:01 +01:00
Kamil Mysliwiec
dd90f57f40 Merge pull request #16379 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.56.0
2026-02-17 09:48:57 +01:00
Kamil Mysliwiec
aad5c23ca0 Merge pull request #16378 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.17.2
2026-02-17 09:48:49 +01:00
Kamil Mysliwiec
4a097a56ed Merge pull request #16383 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.56.0
chore(deps-dev): bump typescript-eslint from 8.55.0 to 8.56.0
2026-02-17 09:48:38 +01:00
Kamil Mysliwiec
dd6bc27254 Merge pull request #16382 from nestjs/dependabot/npm_and_yarn/mysql2-3.17.2
chore(deps-dev): bump mysql2 from 3.17.1 to 3.17.2
2026-02-17 09:48:30 +01:00
dependabot[bot]
7d3149286e chore(deps-dev): bump typescript-eslint from 8.55.0 to 8.56.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.56.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.56.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-17 01:14:16 +00:00
dependabot[bot]
a10feddb7e chore(deps-dev): bump mysql2 from 3.17.1 to 3.17.2
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.17.1 to 3.17.2.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.17.1...v3.17.2)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.17.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-17 01:13:51 +00:00
renovate[bot]
3f8c907938 chore(deps): update typescript-eslint monorepo to v8.56.0 2026-02-16 19:24:17 +00:00
renovate[bot]
e3f94668c6 fix(deps): update dependency mysql2 to v3.17.2 2026-02-16 19:23:59 +00:00
Kamil Mysliwiec
2b12a7821e Merge pull request #16377 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.11.0
2026-02-16 20:21:19 +01:00
renovate[bot]
6dde3f7521 chore(deps): update dependency redis to v5.11.0 2026-02-16 16:51:37 +00:00
Kamil Mysliwiec
a260c30a7b Merge pull request #16375 from nestjs/renovate/rimraf-6.x
fix(deps): update dependency rimraf to v6.1.3
2026-02-16 10:37:14 +01:00
renovate[bot]
8c4a0fbd03 fix(deps): update dependency rimraf to v6.1.3 2026-02-16 02:37:58 +00:00
Kamil Mysliwiec
0f7c7169a6 Merge pull request #16356 from nestjs/renovate/dotenv-17.x
fix(deps): update dependency dotenv to v17.3.1
2026-02-13 11:38:49 +01:00
Kamil Mysliwiec
4fb359a334 Merge pull request #16358 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.17.1
2026-02-13 11:36:00 +01:00
Kamil Mysliwiec
0bf1ab1f67 Merge pull request #16355 from nestjs/dependabot/npm_and_yarn/tools/benchmarks/qs-6.14.2
chore(deps): bump qs from 6.14.1 to 6.14.2 in /tools/benchmarks
2026-02-13 11:35:49 +01:00
renovate[bot]
01cf3a8250 fix(deps): update dependency dotenv to v17.3.1 2026-02-13 01:15:45 +00:00
renovate[bot]
f1d1f25426 fix(deps): update dependency mysql2 to v3.17.1 2026-02-13 01:15:40 +00:00
dependabot[bot]
a51c86be3b chore(deps): bump qs from 6.14.1 to 6.14.2 in /tools/benchmarks
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-12 19:27:35 +00:00
Kamil Mysliwiec
cf35ce6500 Merge pull request #16354 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.105.2
2026-02-12 20:26:37 +01:00
Kamil Mysliwiec
4bbd3565f5 Merge pull request #16353 from nestjs/renovate/ioredis-5.x
chore(deps): update dependency ioredis to v5.9.3
2026-02-12 20:26:30 +01:00
renovate[bot]
28917eac81 chore(deps): update dependency webpack to v5.105.2 2026-02-12 19:02:03 +00:00
renovate[bot]
ca93bfed9f chore(deps): update dependency ioredis to v5.9.3 2026-02-12 19:01:56 +00:00
Kamil Mysliwiec
3307b135ec Merge pull request #16352 from nestjs/renovate/prisma-monorepo
fix(deps): update prisma monorepo to v7.4.0
2026-02-11 19:46:03 +01:00
Kamil Mysliwiec
4c4298dff1 Merge pull request #16351 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.2.1
2026-02-11 19:45:52 +01:00
renovate[bot]
9b8c737317 fix(deps): update prisma monorepo to v7.4.0 2026-02-11 18:03:33 +00:00
renovate[bot]
6260224b33 fix(deps): update dependency mongoose to v9.2.1 2026-02-11 18:03:27 +00:00
Kamil Mysliwiec
58fd32d125 Merge pull request #16339 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.105.1
2026-02-11 14:53:40 +01:00
Kamil Mysliwiec
baba12654c Merge pull request #16347 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.17.0
2026-02-11 14:53:31 +01:00
renovate[bot]
e739251315 chore(deps): update dependency webpack to v5.105.1 2026-02-11 12:11:39 +00:00
renovate[bot]
1f64f2fd9b fix(deps): update dependency mysql2 to v3.17.0 2026-02-11 12:09:36 +00:00
Kamil Mysliwiec
d37f45e8c3 Merge pull request #16337 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.13
2026-02-11 13:07:48 +01:00
Kamil Mysliwiec
99c2054b8f Merge pull request #16338 from nestjs/renovate/node-25.x
chore(deps): update dependency @types/node to v25.2.3
2026-02-11 13:07:39 +01:00
Kamil Mysliwiec
f6f4c84160 Merge pull request #16331 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.2.0
2026-02-11 13:06:40 +01:00
Kamil Mysliwiec
84035537c5 Merge pull request #16341 from nestjs/renovate/lerna-monorepo
chore(deps): update dependency lerna to v9.0.4
2026-02-11 13:06:23 +01:00
Kamil Mysliwiec
c87defa837 Merge pull request #16343 from nestjs/dependabot/npm_and_yarn/mysql2-3.17.0
chore(deps-dev): bump mysql2 from 3.16.3 to 3.17.0
2026-02-11 13:06:16 +01:00
Kamil Mysliwiec
6cf8465a38 Merge pull request #16344 from nestjs/dependabot/npm_and_yarn/types/node-25.2.3
chore(deps-dev): bump @types/node from 25.2.2 to 25.2.3
2026-02-11 13:06:10 +01:00
Kamil Mysliwiec
4b40496f51 Merge pull request #16330 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.55.0
2026-02-11 13:06:03 +01:00
dependabot[bot]
a417bb757d chore(deps-dev): bump @types/node from 25.2.2 to 25.2.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 25.2.2 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-11 01:15:20 +00:00
dependabot[bot]
4754956f44 chore(deps-dev): bump mysql2 from 3.16.3 to 3.17.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.16.3 to 3.17.0.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.16.3...v3.17.0)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-11 01:15:04 +00:00
renovate[bot]
748708b4bb chore(deps): update dependency lerna to v9.0.4 2026-02-10 22:06:25 +00:00
renovate[bot]
edd6fb757e chore(deps): update dependency @types/node to v25.2.3 2026-02-10 14:58:03 +00:00
renovate[bot]
9708691177 chore(deps): update dependency @types/node to v24.10.13 2026-02-10 14:57:46 +00:00
renovate[bot]
ef1ebf924e fix(deps): update dependency mongoose to v9.2.0 2026-02-10 02:07:37 +00:00
renovate[bot]
3078bb539a chore(deps): update typescript-eslint monorepo to v8.55.0 2026-02-09 18:39:50 +00:00
Kamil Mysliwiec
9f55de66ed Merge pull request #16326 from suuuuuuminnnnnn/test/kafka-run-options-forwarding
test(microservices): verify kafka run options forwarding
2026-02-09 13:57:15 +01:00
suuuuuuminnnnnn
e0c40e4a1b test(microservices): verify kafka run options forwarding 2026-02-09 00:35:06 +09:00
Kamil Mysliwiec
f2c2a3ecdc Merge pull request #16324 from nestjs/renovate/node-25.x
chore(deps): update dependency @types/node to v25.2.2
2026-02-08 11:35:20 +01:00
Kamil Mysliwiec
a35a5ce768 Merge pull request #16323 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.12
2026-02-08 11:35:00 +01:00
renovate[bot]
c0ae174694 chore(deps): update dependency @types/node to v25.2.2 2026-02-08 04:04:19 +00:00
renovate[bot]
6572cf5f8a chore(deps): update dependency @types/node to v24.10.12 2026-02-08 04:04:01 +00:00
Kamil Mysliwiec
1c324622de Merge pull request #16318 from nestjs/renovate/dotenv-17.x
fix(deps): update dependency dotenv to v17.2.4
2026-02-06 12:11:02 +01:00
Kamil Mysliwiec
88a2c1c8bf Merge pull request #16319 from nestjs/renovate/fast-json-stringify-6.x
fix(deps): update dependency fast-json-stringify to v6.3.0
2026-02-06 12:10:54 +01:00
Kamil Mysliwiec
829d326727 Merge pull request #16314 from SpencerKaiser/bugfix/cors-types
fix(common): change requestOrigin type
2026-02-06 12:06:34 +01:00
Kamil Mysliwiec
f854f9cbe6 Merge pull request #16316 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.11
2026-02-06 12:06:13 +01:00
renovate[bot]
af9b46513b fix(deps): update dependency fast-json-stringify to v6.3.0 2026-02-06 05:00:59 +00:00
renovate[bot]
b290fbc85f fix(deps): update dependency dotenv to v17.2.4 2026-02-05 22:14:36 +00:00
renovate[bot]
3c00b44771 chore(deps): update dependency @types/node to v24.10.11 2026-02-05 18:09:10 +00:00
Kamil Mysliwiec
fcaa117e22 Merge pull request #16317 from nestjs/renovate/node-25.x
chore(deps): update dependency @types/node to v25.2.1
2026-02-05 19:04:36 +01:00
renovate[bot]
35a1ec1adb chore(deps): update dependency @types/node to v25.2.1 2026-02-05 16:31:05 +00:00
Kamil Mysliwiec
d35b3a8fe8 Merge pull request #16303 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update nest-graphql monorepo to v13.2.4
2026-02-05 12:48:52 +01:00
renovate[bot]
7b9f885262 fix(deps): update nest-graphql monorepo to v13.2.4 2026-02-05 11:44:04 +00:00
Kamil Mysliwiec
e50e3e79fb Merge pull request #16300 from nestjs/renovate/nestjs-schedule-6.x
fix(deps): update dependency @nestjs/schedule to v6.1.1
2026-02-05 12:40:52 +01:00
Kamil Mysliwiec
7cbebba3d8 Merge pull request #16301 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.2.6
2026-02-05 12:40:41 +01:00
Kamil Mysliwiec
770c7ca4af Merge pull request #16304 from nestjs/renovate/apollo-graphql-packages
fix(deps): update dependency @apollo/server to v5.4.0
2026-02-05 12:40:26 +01:00
Kamil Mysliwiec
8b616d2e27 Merge pull request #16310 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-13.2.4
chore(deps-dev): bump @nestjs/graphql from 13.2.3 to 13.2.4
2026-02-05 12:40:18 +01:00
Kamil Mysliwiec
a2db2bc673 Merge pull request #16311 from nestjs/dependabot/npm_and_yarn/apollo/server-5.4.0
chore(deps-dev): bump @apollo/server from 5.3.0 to 5.4.0
2026-02-05 12:40:13 +01:00
Kamil Mysliwiec
e7d186d605 Merge pull request #16307 from Recursyve/fix/console-logger-error-context
fix: logger print invalid context when no stack trace provided
2026-02-05 12:39:56 +01:00
dependabot[bot]
ecd34f65c1 chore(deps-dev): bump @apollo/server from 5.3.0 to 5.4.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@5.4.0/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-version: 5.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-05 11:39:52 +00:00
Kamil Mysliwiec
af11a1cdcf Merge pull request #16308 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.6
2026-02-05 12:38:34 +01:00
Kamil Mysliwiec
0fe64923ab Merge pull request #16312 from nestjs/dependabot/npm_and_yarn/mongoose-9.1.6
chore(deps-dev): bump mongoose from 9.1.5 to 9.1.6
2026-02-05 12:38:22 +01:00
Spencer Kaiser
5058600ae3 fix(common): change requestOrigin type
fix(common): change requestOrigin type
2026-02-04 20:48:36 -06:00
dependabot[bot]
be35bb7dac chore(deps-dev): bump mongoose from 9.1.5 to 9.1.6
Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.1.5 to 9.1.6.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.1.5...9.1.6)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-05 00:54:11 +00:00
dependabot[bot]
ca64b40164 chore(deps-dev): bump @nestjs/graphql from 13.2.3 to 13.2.4
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 13.2.3 to 13.2.4.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v13.2.3...v13.2.4)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-version: 13.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-05 00:53:05 +00:00
renovate[bot]
fa9baa8eb0 fix(deps): update dependency @apollo/server to v5.4.0 2026-02-04 22:40:10 +00:00
renovate[bot]
31c34340c6 fix(deps): update dependency mongoose to v9.1.6 2026-02-04 22:39:56 +00:00
JulienDuf
91212b20d3 fix: return type error 2026-02-04 16:01:55 -05:00
JulienDuf
804d27bbe4 fix: invalid context when no stack trace is provided 2026-02-04 14:20:21 -05:00
renovate[bot]
f66414667f fix(deps): update dependency @nestjs/swagger to v11.2.6 2026-02-04 14:17:10 +00:00
renovate[bot]
b813820611 fix(deps): update dependency @nestjs/schedule to v6.1.1 2026-02-04 14:17:05 +00:00
Kamil Mysliwiec
bec4329be4 Merge pull request #16298 from nestjs/dependabot/npm_and_yarn/tools/benchmarks/multi-b4698b0d36
chore(deps): bump fastify and @nestjs/platform-fastify in /tools/benchmarks
2026-02-04 11:42:43 +01:00
Kamil Mysliwiec
5a42e7cf23 Merge pull request #16299 from nestjs/renovate/nest-monorepo
chore(deps): update nest monorepo to v11.1.13
2026-02-04 11:42:33 +01:00
Kamil Mysliwiec
deb4c250a5 Merge pull request #16294 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.16.3
2026-02-04 11:42:22 +01:00
renovate[bot]
379f9f9030 fix(deps): update dependency mysql2 to v3.16.3 2026-02-04 10:27:59 +00:00
renovate[bot]
ce86b45d7d chore(deps): update nest monorepo to v11.1.13 2026-02-04 10:25:45 +00:00
Kamil Mysliwiec
2e75afa512 Merge pull request #16296 from nestjs/renovate/mongodb-7.x
fix(deps): update dependency mongodb to v7.1.0
2026-02-04 11:24:38 +01:00
dependabot[bot]
2bec40a801 chore(deps): bump fastify and @nestjs/platform-fastify
Bumps [fastify](https://github.com/fastify/fastify) to 5.7.4 and updates ancestor dependency [@nestjs/platform-fastify](https://github.com/nestjs/nest/tree/HEAD/packages/platform-fastify). These dependencies need to be updated together.


Updates `fastify` from 5.6.2 to 5.7.4
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.6.2...v5.7.4)

Updates `@nestjs/platform-fastify` from 11.1.12 to 11.1.13
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v11.1.13/packages/platform-fastify)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.7.4
  dependency-type: indirect
- dependency-name: "@nestjs/platform-fastify"
  dependency-version: 11.1.13
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-04 10:24:10 +00:00
Kamil Mysliwiec
8a8833d678 Merge pull request #16271 from mixator/feat/replace-benchmarks
build: replace benchmarks
2026-02-04 11:23:03 +01:00
renovate[bot]
b0f5509f53 fix(deps): update dependency mongodb to v7.1.0 2026-02-04 04:31:01 +00:00
Mykhailo Skrypskyi
72be027d16 Merge branch 'master' into feat/replace-benchmarks 2026-02-03 21:23:19 +02:00
Kamil Mysliwiec
72283cc7a9 Merge pull request #16293 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.105.0
2026-02-03 19:51:22 +01:00
Kamil Mysliwiec
bb8cf85bc9 Merge pull request #16292 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.13
2026-02-03 19:51:15 +01:00
renovate[bot]
d0f4d7545b chore(deps): update dependency webpack to v5.105.0 2026-02-03 16:31:17 +00:00
renovate[bot]
1b60fd317f fix(deps): update nest monorepo to v11.1.13 2026-02-03 16:31:06 +00:00
Kamil Myśliwiec
8d1c16c1ca chore: update readme 2026-02-03 14:07:38 +01:00
Kamil Myśliwiec
e3a958ac3e chore(release): publish v11.1.13 release 2026-02-03 13:47:36 +01:00
Kamil Mysliwiec
db90c3fb67 Merge pull request #16286 from suuuuuuminnnnnn/feat/microservices-mqtt-per-handler-qos
feat(microservices): support per-handler qos in mqtt
2026-02-03 13:42:33 +01:00
Kamil Mysliwiec
9a0ea3360c Merge pull request #16290 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.10
2026-02-03 13:35:42 +01:00
Kamil Mysliwiec
7bdca191c5 Merge pull request #16283 from nestjs/renovate/mqtt-5.x
chore(deps): update dependency mqtt to v5.15.0
2026-02-03 13:35:32 +01:00
Kamil Mysliwiec
401d81b1c4 Merge pull request #16282 from nestjs/renovate/fastify-5.x
fix(deps): update dependency fastify to v5.7.4
2026-02-03 13:34:57 +01:00
Kamil Mysliwiec
87cb6f92a5 Merge pull request #16288 from nestjs/dependabot/npm_and_yarn/mqtt-5.15.0
chore(deps-dev): bump mqtt from 5.14.1 to 5.15.0
2026-02-03 13:34:43 +01:00
renovate[bot]
a92bb399f9 chore(deps): update dependency @types/node to v24.10.10 2026-02-03 10:47:25 +00:00
Mykhailo Skrypskyi
3de4d8a8ef chore: merge changes from master 2026-02-03 11:31:16 +02:00
dependabot[bot]
e9869ed2fa chore(deps-dev): bump mqtt from 5.14.1 to 5.15.0
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.14.1 to 5.15.0.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.14.1...v5.15.0)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-version: 5.15.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-03 05:12:48 +00:00
suuuuuuminnnnnn
f5148709ff feat(microservices): support per-handler qos in mqtt 2026-02-03 10:41:51 +09:00
Mykhailo Skrypskyi
fad09363aa fix: apply chages from review 2026-02-02 23:02:54 +02:00
renovate[bot]
b885673aa8 chore(deps): update dependency mqtt to v5.15.0 2026-02-02 19:31:16 +00:00
renovate[bot]
fba0de79f2 fix(deps): update dependency fastify to v5.7.4 2026-02-02 19:31:05 +00:00
Kamil Mysliwiec
346c954312 Merge pull request #16262 from jobnow/feat/microservices-configurable-max-buffer-size
Feat/microservices configurable max buffer size
2026-02-02 14:20:43 +01:00
Kamil Mysliwiec
4081c1f5e0 Merge pull request #16281 from nestjs/renovate/commitlint-monorepo
chore(deps): update dependency @commitlint/config-angular to v20.4.1
2026-02-02 14:20:08 +01:00
Kamil Mysliwiec
1b11d01840 Update Readme.md 2026-02-02 14:19:47 +01:00
renovate[bot]
fcb774c8ed chore(deps): update dependency @commitlint/config-angular to v20.4.1 2026-02-02 13:09:27 +00:00
Kamil Mysliwiec
49cf11a063 Merge pull request #16276 from nestjs/dependabot/npm_and_yarn/commitlint/cli-20.4.0
chore(deps-dev): bump @commitlint/cli from 20.3.1 to 20.4.0
2026-02-02 14:06:51 +01:00
dependabot[bot]
bfa0ecb176 chore(deps-dev): bump @commitlint/cli from 20.3.1 to 20.4.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 20.3.1 to 20.4.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.4.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-version: 20.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 12:58:38 +00:00
Kamil Mysliwiec
e5003a1a01 Merge pull request #16265 from nestjs/dependabot/npm_and_yarn/artillery-2.0.29
chore(deps-dev): bump artillery from 2.0.28 to 2.0.29
2026-02-02 13:57:21 +01:00
Kamil Mysliwiec
e4a19bbdeb Merge pull request #16266 from nestjs/renovate/commitlint-monorepo
chore(deps): update commitlint monorepo to v20.4.0
2026-02-02 13:57:07 +01:00
Kamil Mysliwiec
e846bcd0e7 Merge pull request #16269 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.29.0
2026-02-02 13:56:58 +01:00
Kamil Mysliwiec
12e70a4bf4 Merge pull request #16270 from nestjs/renovate/globals-17.x
chore(deps): update dependency globals to v17.3.0
2026-02-02 13:56:44 +01:00
Kamil Mysliwiec
8a0e32c616 Merge pull request #16273 from nestjs/renovate/node-25.x
chore(deps): update dependency @types/node to v25.2.0
2026-02-02 13:56:36 +01:00
Kamil Mysliwiec
007a9bdbe9 Merge pull request #16264 from nestjs/renovate/artillery-2.x
chore(deps): update dependency artillery to v2.0.29
2026-02-02 13:56:26 +01:00
renovate[bot]
c96bb2a849 chore(deps): update dependency @types/node to v25.2.0 2026-02-01 17:14:19 +00:00
Mykhailo Skrypskyi
e49e92102a fix: update dependencies 2026-02-01 11:47:08 +02:00
Mykhailo Skrypskyi
3cb3c2d6ad feat: update benchmarks 2026-02-01 11:42:27 +02:00
renovate[bot]
048da85025 chore(deps): update dependency globals to v17.3.0 2026-02-01 01:04:48 +00:00
renovate[bot]
3c7b75b00c chore(deps): update babel monorepo to v7.29.0 2026-01-31 21:47:25 +00:00
renovate[bot]
2e8c645bc1 chore(deps): update commitlint monorepo to v20.4.0 2026-01-30 14:45:32 +00:00
dependabot[bot]
978256d75d chore(deps-dev): bump artillery from 2.0.28 to 2.0.29
Bumps [artillery](https://github.com/artilleryio/artillery) from 2.0.28 to 2.0.29.
- [Release notes](https://github.com/artilleryio/artillery/releases)
- [Commits](https://github.com/artilleryio/artillery/compare/artillery-2.0.28...artillery-2.0.29)

---
updated-dependencies:
- dependency-name: artillery
  dependency-version: 2.0.29
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-30 00:53:37 +00:00
renovate[bot]
d17dff12d4 chore(deps): update dependency artillery to v2.0.29 2026-01-29 18:05:20 +00:00
Ricardo
a5be2710ee refactor(microservices): Use options object for JsonSocket constructor
- Replace maxBufferSize parameter with JsonSocketOptions object
- Add JsonSocketOptions interface for better extensibility
- Update ClientTCP and ServerTCP to pass options object
- Update all tests to use new options format

Addresses review feedback from @kamilmysliwiec
2026-01-28 17:12:46 -03:00
Kamil Mysliwiec
782e0715f0 Merge pull request #16253 from nestjs/dependabot/npm_and_yarn/fastify-5.7.2
chore(deps): bump fastify from 5.7.1 to 5.7.2
2026-01-28 20:48:43 +01:00
Kamil Mysliwiec
91a9655d23 Merge pull request #16254 from nestjs/dependabot/npm_and_yarn/mysql2-3.16.2
chore(deps-dev): bump mysql2 from 3.16.1 to 3.16.2
2026-01-28 20:48:37 +01:00
Kamil Mysliwiec
3a2b180ddb Merge pull request #16247 from nestjs/renovate/fastify-5.x
fix(deps): update dependency fastify to v5.7.2
2026-01-28 20:48:29 +01:00
Kamil Mysliwiec
0d5b566789 Merge pull request #16249 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.16.2
2026-01-28 20:48:18 +01:00
Kamil Mysliwiec
6e8d083eed Merge pull request #16259 from nestjs/renovate/globals-17.x
chore(deps): update dependency globals to v17.2.0
2026-01-28 20:48:07 +01:00
Kamil Mysliwiec
30ccfd75bd Merge pull request #16261 from nestjs/renovate/node-25.x
chore(deps): update dependency @types/node to v25.1.0
2026-01-28 20:48:01 +01:00
Kamil Mysliwiec
bd83c3f5eb Merge pull request #16255 from devizi0/master
perf(core): use set instead of array for module registry lookup
2026-01-28 20:47:52 +01:00
Kamil Mysliwiec
7d8a4428a8 Merge pull request #16248 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.54.0
2026-01-28 20:47:21 +01:00
Ricardo
5dd0a9ab8c test(microservices): Fix maxBufferSize tests
- Use valid JSON strings in test data
- Account for packet header length in buffer size calculations
- Fix chunked data test to properly accumulate buffer
2026-01-28 15:22:39 -03:00
Ricardo
2c62817436 feat(microservices): Add configurable maxBufferSize option
- Add maxBufferSize option to TcpOptions and TcpClientOptions interfaces
- Modify JsonSocket to accept maxBufferSize as constructor parameter
- Update ClientTCP and ServerTCP to pass maxBufferSize to JsonSocket
- Add comprehensive tests for maxBufferSize functionality
- Maintain backward compatibility with default value (128MB in characters)

Closes #16256
2026-01-28 15:21:04 -03:00
renovate[bot]
c818015862 chore(deps): update dependency @types/node to v25.1.0 2026-01-28 17:15:39 +00:00
renovate[bot]
321cf7dca2 chore(deps): update dependency globals to v17.2.0 2026-01-27 16:09:48 +00:00
Lee Donghyun
db9494a2ad perf(core): use set instead of array for module registry lookup 2026-01-27 12:08:57 +09:00
dependabot[bot]
c875f6fb18 chore(deps-dev): bump mysql2 from 3.16.1 to 3.16.2
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.16.1 to 3.16.2.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.16.1...v3.16.2)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.16.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-27 01:21:50 +00:00
dependabot[bot]
2748f48bfa chore(deps): bump fastify from 5.7.1 to 5.7.2
Bumps [fastify](https://github.com/fastify/fastify) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-27 01:21:28 +00:00
renovate[bot]
ae495f7e82 fix(deps): update dependency mysql2 to v3.16.2 2026-01-26 21:49:10 +00:00
renovate[bot]
4029607103 chore(deps): update typescript-eslint monorepo to v8.54.0 2026-01-26 17:45:33 +00:00
renovate[bot]
e2ef54b02b fix(deps): update dependency fastify to v5.7.2 2026-01-26 13:39:29 +00:00
Kamil Mysliwiec
b4324b8968 Merge pull request #16246 from 0xC0FFE2/test/add-unit-tests-discovery-and-serializer
test: add unit tests for DiscoveryService and ClassSerializerInterceptor
2026-01-25 18:48:54 +01:00
Lee Donghyun
d88856c3fa test(common): add unit tests for class serializer interceptor
Add comprehensive unit tests for ClassSerializerInterceptor which
previously had no test coverage despite being a public API.

Test coverage includes:
- constructor with custom transformer package injection
- intercept() with RxJS pipe and context options merging
- serialize() for arrays, objects, and StreamableFile handling
- transformToPlain() with type conversion and instanceOf checks
- getContextOptions() with metadata precedence (handler > class)
- Edge cases: null/undefined, mixed arrays, Date objects, primitives

Total: 25+ test cases covering all public methods and edge cases.
2026-01-26 00:38:25 +09:00
Lee Donghyun
909b504d2d test(core): add unit tests for discovery service
Add comprehensive unit tests for DiscoveryService which previously
had no test coverage despite being a public API.

Test coverage includes:
- createDecorator() static method with unique key generation
- getProviders() with metadataKey and include options filtering
- getControllers() with module-based filtering
- getMetadataByDecorator() with method and class metadata
- getModules() protected method with include filtering
- Edge cases: empty modules, undefined instances, null checks

Total: 30+ test cases covering all public methods and edge cases.
2026-01-26 00:38:14 +09:00
Kamil Mysliwiec
747de7149a Merge pull request #16245 from nestjs/renovate/artillery-2.x
chore(deps): update dependency artillery to v2.0.28
2026-01-25 12:56:14 +01:00
renovate[bot]
84968c4dd8 chore(deps): update dependency artillery to v2.0.28 2026-01-24 10:41:59 +00:00
Kamil Mysliwiec
a1f6162971 Merge pull request #16202 from som14062005/fix/issue-16195
fix(common): exclude built-in primitives from strip proto keys
2026-01-23 09:44:35 +01:00
Kamil Mysliwiec
69892e4f95 Merge pull request #16241 from nestjs/renovate/cors-2.x
fix(deps): update dependency cors to v2.8.6
2026-01-23 09:42:09 +01:00
Kamil Mysliwiec
faba27b355 Merge pull request #16243 from nestjs/renovate/globals-17.x
chore(deps): update dependency globals to v17.1.0
2026-01-23 09:42:03 +01:00
renovate[bot]
ce37a4de1c chore(deps): update dependency globals to v17.1.0 2026-01-23 05:10:53 +00:00
renovate[bot]
58c761a10c fix(deps): update dependency cors to v2.8.6 2026-01-22 17:56:13 +00:00
Kamil Myśliwiec
ed8370697d chore: add type cast in nats emitter 2026-01-22 09:34:45 +01:00
Kamil Mysliwiec
a97228848c Merge pull request #16237 from nestjs/dependabot/npm_and_yarn/types/node-25.0.10
chore(deps-dev): bump @types/node from 24.10.9 to 25.0.10
2026-01-22 09:21:19 +01:00
dependabot[bot]
c5d8988f0e chore(deps-dev): bump @types/node from 24.10.9 to 25.0.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.9 to 25.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.0.10
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 08:19:16 +00:00
Kamil Mysliwiec
fd9607fd65 Merge pull request #16232 from nestjs/renovate/apollo-graphql-packages
fix(deps): update dependency @apollo/server to v5.3.0
2026-01-22 09:18:50 +01:00
Kamil Mysliwiec
f6eb7317e2 Merge pull request #16233 from nestjs/renovate/prisma-monorepo
fix(deps): update prisma monorepo to v7.3.0
2026-01-22 09:17:56 +01:00
Kamil Mysliwiec
1c1b017d9c Merge pull request #16234 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.8.1
2026-01-22 09:17:50 +01:00
Kamil Mysliwiec
69138113c5 Merge pull request #16235 from nestjs/dependabot/npm_and_yarn/prettier-3.8.1
chore(deps-dev): bump prettier from 3.8.0 to 3.8.1
2026-01-22 09:17:44 +01:00
Kamil Mysliwiec
7f70c1f992 Merge pull request #16236 from nestjs/dependabot/npm_and_yarn/apollo/server-5.3.0
chore(deps-dev): bump @apollo/server from 5.2.0 to 5.3.0
2026-01-22 09:17:38 +01:00
Kamil Mysliwiec
db4779464a Merge pull request #16238 from nestjs/renovate/mysql-9.x
chore(deps): update mysql docker tag to v9.6.0
2026-01-22 09:17:33 +01:00
renovate[bot]
46a9190770 chore(deps): update mysql docker tag to v9.6.0 2026-01-22 05:47:22 +00:00
dependabot[bot]
7ca537ad6d chore(deps-dev): bump @apollo/server from 5.2.0 to 5.3.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@5.3.0/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-version: 5.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 00:53:29 +00:00
dependabot[bot]
f507228dc7 chore(deps-dev): bump prettier from 3.8.0 to 3.8.1
Bumps [prettier](https://github.com/prettier/prettier) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.0...3.8.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.8.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 00:53:01 +00:00
renovate[bot]
d4e0c6fb40 chore(deps): update dependency prettier to v3.8.1 2026-01-21 21:48:51 +00:00
renovate[bot]
3f8b278d53 fix(deps): update prisma monorepo to v7.3.0 2026-01-21 17:41:12 +00:00
som14062005
82226347fd refactor: move built-in types to module-level constant 2026-01-21 19:42:22 +05:30
renovate[bot]
57129361dc fix(deps): update dependency @apollo/server to v5.3.0 2026-01-21 12:45:16 +00:00
Kamil Mysliwiec
c2944be1cf Merge pull request #16224 from mixator/remove-unused-deps
build: remove unused dependencies
2026-01-21 11:08:24 +01:00
Mykhailo Skrypskyi
77b4b8a763 fix: update package-lock.json 2026-01-21 11:48:24 +02:00
Mykhailo Skrypskyi
36e52495e0 fix: update package-lock.json 2026-01-21 11:22:44 +02:00
Mykhailo Skrypskyi
9a97cbf0a4 Merge remote-tracking branch 'origin/remove-unused-deps' into remove-unused-deps 2026-01-21 11:01:58 +02:00
Mykhailo Skrypskyi
8d528452ee chore: merge changes from master 2026-01-21 11:00:15 +02:00
Mykhailo Skrypskyi
3551745a48 refactor(common): replace eslint and prettier with oxc toolchain 2026-01-21 10:55:09 +02:00
Kamil Mysliwiec
3d1b44c0ca Merge pull request #16230 from chojs23/fix/console-logger-option
fix(common): Fix skipping maxArrayLength and maxStringLength option
2026-01-21 08:51:41 +01:00
Kamil Mysliwiec
e94951f86b Merge pull request #16227 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages to v2.13.0
2026-01-21 08:51:23 +01:00
Kamil Mysliwiec
76b4fbed34 Merge pull request #16226 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.5
2026-01-21 08:51:15 +01:00
neo
979a8e2f04 fix(common): Fix skipping maxArrayLength and maxStringLength option
Fixes #16229
2026-01-21 16:00:28 +09:00
renovate[bot]
5535146f65 fix(deps): update apollo graphql packages to v2.13.0 2026-01-21 00:35:32 +00:00
renovate[bot]
2fa655bbbf fix(deps): update dependency mongoose to v9.1.5 2026-01-20 16:46:06 +00:00
Mykhailo Skrypskyi
46ee1074f1 build: remove unused dependencies 2026-01-20 10:43:51 +02:00
Kamil Mysliwiec
07022aff11 Merge pull request #16220 from nestjs/dependabot/npm_and_yarn/fastify/multipart-9.4.0
chore(deps-dev): bump @fastify/multipart from 9.3.0 to 9.4.0
2026-01-20 09:18:22 +01:00
Kamil Mysliwiec
3459e9b595 Merge pull request #16215 from nestjs/renovate/mercurius-16.x
fix(deps): update dependency mercurius to v16.7.0
2026-01-20 09:06:06 +01:00
Kamil Mysliwiec
e42362edb1 Merge pull request #16217 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.53.1
2026-01-20 09:00:52 +01:00
dependabot[bot]
c78b7a1d67 chore(deps-dev): bump @fastify/multipart from 9.3.0 to 9.4.0
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 9.3.0 to 9.4.0.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v9.3.0...v9.4.0)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-version: 9.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-20 00:54:53 +00:00
renovate[bot]
9dd5d650d7 chore(deps): update typescript-eslint monorepo to v8.53.1 2026-01-19 17:49:42 +00:00
renovate[bot]
aca0658100 fix(deps): update dependency mercurius to v16.7.0 2026-01-19 15:55:30 +00:00
Kamil Mysliwiec
c93c247474 Merge pull request #16201 from nestjs/renovate/fastify-5.x
fix(deps): update dependency fastify to v5.7.1
2026-01-18 10:48:13 +01:00
renovate[bot]
4fa9409366 fix(deps): update dependency fastify to v5.7.1 2026-01-16 09:17:26 +00:00
Kamil Mysliwiec
2ab7ba377f Merge pull request #16210 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.4
2026-01-16 10:15:44 +01:00
renovate[bot]
8ccb55bddc fix(deps): update dependency mongoose to v9.1.4 2026-01-16 09:14:01 +00:00
Kamil Mysliwiec
b94858b4b1 Merge pull request #16211 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.16.1
2026-01-16 10:11:51 +01:00
renovate[bot]
2c95e3a159 fix(deps): update dependency mysql2 to v3.16.1 2026-01-16 08:55:48 +00:00
Kamil Mysliwiec
fc682e4117 Merge pull request #16203 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.9
2026-01-16 09:53:04 +01:00
renovate[bot]
611bfc46cc chore(deps): update dependency @types/node to v24.10.9 2026-01-16 08:34:33 +00:00
Kamil Mysliwiec
c149138dc0 Merge pull request #16197 from nestjs/dependabot/npm_and_yarn/prettier-3.8.0
chore(deps-dev): bump prettier from 3.7.4 to 3.8.0
2026-01-16 09:32:37 +01:00
Kamil Mysliwiec
184757fbe3 Merge pull request #16200 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo
2026-01-16 09:17:06 +01:00
dependabot[bot]
36c064c255 chore(deps-dev): bump prettier from 3.7.4 to 3.8.0
Bumps [prettier](https://github.com/prettier/prettier) from 3.7.4 to 3.8.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.7.4...3.8.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 08:14:02 +00:00
Kamil Mysliwiec
9f2a48de3c Merge pull request #16199 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.8.0
2026-01-16 09:12:58 +01:00
Kamil Mysliwiec
b9e56c3978 Merge pull request #16206 from nestjs/dependabot/npm_and_yarn/ioredis-5.9.2
chore(deps-dev): bump ioredis from 5.9.1 to 5.9.2
2026-01-16 09:12:39 +01:00
Kamil Mysliwiec
b73328be85 Merge pull request #16208 from nestjs/dependabot/npm_and_yarn/fastify-5.7.0
chore(deps): bump fastify from 5.6.2 to 5.7.0
2026-01-16 09:12:25 +01:00
Kamil Mysliwiec
b145994021 Merge pull request #16207 from nestjs/dependabot/npm_and_yarn/fast-json-stringify-6.2.0
chore(deps): bump fast-json-stringify from 6.1.1 to 6.2.0
2026-01-16 09:11:47 +01:00
dependabot[bot]
ffddbfe71e chore(deps): bump fastify from 5.6.2 to 5.7.0
Bumps [fastify](https://github.com/fastify/fastify) from 5.6.2 to 5.7.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.6.2...v5.7.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 00:53:51 +00:00
dependabot[bot]
60df323ce0 chore(deps): bump fast-json-stringify from 6.1.1 to 6.2.0
Bumps [fast-json-stringify](https://github.com/fastify/fast-json-stringify) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/fastify/fast-json-stringify/releases)
- [Commits](https://github.com/fastify/fast-json-stringify/compare/v6.1.1...v6.2.0)

---
updated-dependencies:
- dependency-name: fast-json-stringify
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 00:53:26 +00:00
dependabot[bot]
df1f3af2cc chore(deps-dev): bump ioredis from 5.9.1 to 5.9.2
Bumps [ioredis](https://github.com/luin/ioredis) from 5.9.1 to 5.9.2.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.9.1...v5.9.2)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.9.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-16 00:53:00 +00:00
som14062005
8fb17f517c fix(common): exclude built-in primitives from strip proto keys
Skip constructor deletion for Date, RegExp, Error, Map, Set, WeakMap, and WeakSet to fix Jest useFakeTimers compatibility. Maintains prototype pollution protection for regular objects.

Fixes #16195
2026-01-16 02:00:15 +05:30
renovate[bot]
939559cd28 fix(deps): update nest monorepo 2026-01-15 20:27:53 +00:00
som14062005
16296b9ce8 fix(common): exclude built-in primitives from strip proto keys
Skip constructor deletion for Date, RegExp, Error, Map, Set, WeakMap, and WeakSet to fix Jest useFakeTimers compatibility. Maintains prototype pollution protection for regular objects.

Fixes #16195
2026-01-15 21:30:09 +05:30
renovate[bot]
64ad1e263e chore(deps): update dependency prettier to v3.8.0 2026-01-15 08:32:56 +00:00
Kamil Myśliwiec
96932ad073 chore(release): publish v11.1.12 release 2026-01-15 09:29:44 +01:00
Kamil Mysliwiec
09e96bdee7 Merge pull request #16187 from iamkanguk97/fix/file-type-under-window-os
fix(common): regression in loading file-type under Windows OS
2026-01-15 09:27:08 +01:00
Kamil Myśliwiec
4fdeb0b504 style: address lint issues 2026-01-15 09:25:17 +01:00
Kamil Mysliwiec
6620c431ea Merge pull request #16192 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.8
2026-01-14 19:59:32 +01:00
Kamil Mysliwiec
294506171f Merge pull request #16194 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.2.5
2026-01-14 19:58:50 +01:00
Kamil Mysliwiec
31fc72a90b Merge pull request #16196 from nestjs/renovate/eslint-plugin-prettier-5.x
chore(deps): update dependency eslint-plugin-prettier to v5.5.5
2026-01-14 19:58:40 +01:00
Kamil Myśliwiec
e5616c2b92 feat: apply instance decorator to all enhancers 2026-01-14 19:58:10 +01:00
renovate[bot]
5237c886d1 chore(deps): update dependency eslint-plugin-prettier to v5.5.5 2026-01-14 14:05:40 +00:00
renovate[bot]
881bc371d6 fix(deps): update dependency @nestjs/swagger to v11.2.5 2026-01-14 09:01:48 +00:00
renovate[bot]
2304a68250 chore(deps): update dependency @types/node to v24.10.8 2026-01-13 16:55:16 +00:00
Kamil Mysliwiec
defe683829 Merge pull request #16186 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.3
2026-01-12 20:08:21 +01:00
Kamil Mysliwiec
d9f1fea585 Merge pull request #16189 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.28.6
2026-01-12 20:08:14 +01:00
Kamil Mysliwiec
b79d89dd29 Merge pull request #16190 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.53.0
2026-01-12 20:08:09 +01:00
renovate[bot]
0c9e713f66 chore(deps): update typescript-eslint monorepo to v8.53.0 2026-01-12 18:16:59 +00:00
renovate[bot]
0aeab872c9 chore(deps): update babel monorepo to v7.28.6 2026-01-12 18:16:24 +00:00
renovate[bot]
91ca1f913c fix(deps): update dependency mongoose to v9.1.3 2026-01-12 00:57:03 +00:00
iamkanguk97
52bb09abbf ci: remove custom workflow 2026-01-12 00:31:36 +09:00
iamkanguk97
b41dd24259 ci: disable fail-fast to ensure all platforms are tested 2026-01-12 00:18:38 +09:00
iamkanguk97
a52e60820e fix(common): convert absolute paths to urls for esm loading
Uses pathToFileURL to convert file system paths to proper URLs
before passing to the ESM loader, ensuring cross-platform compatibility.

Fixes #16179
2026-01-12 00:05:45 +09:00
iamkanguk97
c9de047945 ci: add cross-platform testing to prevent platform-specific regressions
This adds GitHub Actions workflow to test on Ubuntu, Windows, and macOS.
This is optional and can be removed if the maintainers prefer.

Related to #16179
2026-01-12 00:02:16 +09:00
Kamil Mysliwiec
caf8487b76 Merge pull request #16183 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.7
2026-01-11 11:28:47 +01:00
renovate[bot]
8501bb2c0b chore(deps): update dependency @types/node to v24.10.7 2026-01-10 20:35:38 +00:00
Kamil Mysliwiec
a830cedab9 Merge pull request #16182 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.6
2026-01-10 16:44:03 +01:00
Kamil Mysliwiec
841f150675 Merge pull request #16181 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.8
2026-01-10 16:42:58 +01:00
renovate[bot]
d3761bdb32 chore(deps): update dependency @types/node to v24.10.6 2026-01-10 04:34:24 +00:00
renovate[bot]
6f4da5c41e fix(deps): update dependency cache-manager to v7.2.8 2026-01-09 21:47:47 +00:00
Kamil Mysliwiec
5f431b9f38 Merge pull request #16180 from Tony133/chore/update-license
chore: update license
2026-01-09 19:56:55 +01:00
Tony133
2526ec1f1a chore: update license 2026-01-09 17:16:50 +01:00
Kamil Mysliwiec
55b09b8387 Merge pull request #16174 from nestjs/renovate/commitlint-monorepo
chore(deps): update dependency @commitlint/config-angular to v20.3.1
2026-01-09 13:48:49 +01:00
Kamil Mysliwiec
29228ed9f4 Merge pull request #16176 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-20.3.1
chore(deps-dev): bump @commitlint/config-angular from 20.3.0 to 20.3.1
2026-01-09 13:48:41 +01:00
renovate[bot]
85030eca5c chore(deps): update dependency @commitlint/config-angular to v20.3.1 2026-01-09 09:49:39 +00:00
dependabot[bot]
15d1e4b103 chore(deps-dev): bump @commitlint/config-angular from 20.3.0 to 20.3.1
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 20.3.0 to 20.3.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.3.1/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-version: 20.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-09 09:48:34 +00:00
Kamil Mysliwiec
373b78cfbb Merge pull request #16172 from nestjs/renovate/ioredis-5.x
chore(deps): update dependency ioredis to v5.9.1
2026-01-09 10:47:52 +01:00
Kamil Mysliwiec
eea5c5899c Merge pull request #16175 from nestjs/dependabot/npm_and_yarn/ioredis-5.9.1
chore(deps-dev): bump ioredis from 5.9.0 to 5.9.1
2026-01-09 10:47:34 +01:00
Kamil Mysliwiec
87df305640 Merge pull request #16177 from nestjs/dependabot/npm_and_yarn/commitlint/cli-20.3.1
chore(deps-dev): bump @commitlint/cli from 20.3.0 to 20.3.1
2026-01-09 10:47:18 +01:00
dependabot[bot]
975e6099c2 chore(deps-dev): bump @commitlint/cli from 20.3.0 to 20.3.1
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 20.3.0 to 20.3.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.3.1/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-version: 20.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-09 01:04:38 +00:00
dependabot[bot]
014369029f chore(deps-dev): bump ioredis from 5.9.0 to 5.9.1
Bumps [ioredis](https://github.com/luin/ioredis) from 5.9.0 to 5.9.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.9.0...v5.9.1)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.9.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-09 01:03:40 +00:00
renovate[bot]
0ae760071d chore(deps): update dependency ioredis to v5.9.1 2026-01-08 13:53:03 +00:00
Kamil Mysliwiec
31de8a1d2d Merge pull request #16170 from nestjs/renovate/body-parser-2.x
chore(deps): update dependency body-parser to v2.2.2
2026-01-07 14:54:42 +01:00
renovate[bot]
4576270535 chore(deps): update dependency body-parser to v2.2.2 2026-01-07 13:51:58 +00:00
Kamil Mysliwiec
16a4d4d6a2 Merge pull request #16162 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.52.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.51.0 to 8.52.0
2026-01-07 09:13:23 +01:00
Kamil Mysliwiec
34d2103468 Merge pull request #16167 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.2.4
2026-01-07 09:13:15 +01:00
Kamil Mysliwiec
991d07267e Merge pull request #16168 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update dependency graphql-tools to v9.0.26
2026-01-07 09:13:08 +01:00
Kamil Mysliwiec
a0cd0d543a Merge pull request #16169 from nestjs/renovate/major-graphql-tools-monorepo
fix(deps): update dependency @graphql-tools/utils to v11
2026-01-07 09:13:01 +01:00
Kamil Mysliwiec
a25170d8d6 Merge pull request #16160 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.52.0
2026-01-07 09:12:50 +01:00
renovate[bot]
af10902bcf fix(deps): update dependency @graphql-tools/utils to v11 2026-01-07 02:04:46 +00:00
renovate[bot]
30670319a8 fix(deps): update dependency graphql-tools to v9.0.26 2026-01-07 02:04:33 +00:00
renovate[bot]
8e6d6b7dfb fix(deps): update dependency @nestjs/swagger to v11.2.4 2026-01-06 20:56:33 +00:00
renovate[bot]
9bcf7049c5 chore(deps): update typescript-eslint monorepo to v8.52.0 2026-01-06 17:35:58 +00:00
dependabot[bot]
92a2ec2402 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.51.0 to 8.52.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.52.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.52.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-06 17:34:32 +00:00
Kamil Mysliwiec
9415f659bd Merge pull request #16165 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-8.52.0
chore(deps-dev): bump @typescript-eslint/parser from 8.51.0 to 8.52.0
2026-01-06 18:32:56 +01:00
dependabot[bot]
afefa9050e chore(deps-dev): bump @typescript-eslint/parser from 8.51.0 to 8.52.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.51.0 to 8.52.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.52.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.52.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-06 17:31:53 +00:00
Kamil Mysliwiec
88af6c5428 Merge pull request #16161 from nestjs/dependabot/npm_and_yarn/ws-8.19.0
chore(deps): bump ws from 8.18.3 to 8.19.0
2026-01-06 18:30:57 +01:00
Kamil Mysliwiec
72eec8964e Merge pull request #16164 from nestjs/dependabot/npm_and_yarn/mongoose-9.1.2
chore(deps-dev): bump mongoose from 9.1.1 to 9.1.2
2026-01-06 18:30:43 +01:00
Kamil Mysliwiec
22a5121d9c Merge pull request #16159 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.2
2026-01-06 18:30:30 +01:00
Kamil Mysliwiec
d2f3a2f7d6 Merge pull request #16166 from nestjs/renovate/supertest-7.x
chore(deps): update dependency supertest to v7.2.2
2026-01-06 18:30:21 +01:00
Kamil Mysliwiec
6de4864790 Merge pull request #16163 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.52.0
chore(deps-dev): bump typescript-eslint from 8.51.0 to 8.52.0
2026-01-06 18:30:04 +01:00
renovate[bot]
02d2749b04 chore(deps): update dependency supertest to v7.2.2 2026-01-06 09:58:10 +00:00
dependabot[bot]
a9952edff0 chore(deps-dev): bump mongoose from 9.1.1 to 9.1.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.1.1...9.1.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-06 00:03:27 +00:00
dependabot[bot]
23e13fb7c7 chore(deps-dev): bump typescript-eslint from 8.51.0 to 8.52.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.51.0 to 8.52.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.52.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.52.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-06 00:03:05 +00:00
dependabot[bot]
eac120336f chore(deps): bump ws from 8.18.3 to 8.19.0
Bumps [ws](https://github.com/websockets/ws) from 8.18.3 to 8.19.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.18.3...8.19.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.19.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-06 00:01:48 +00:00
renovate[bot]
45da564b8b fix(deps): update dependency mongoose to v9.1.2 2026-01-05 17:36:07 +00:00
Kamil Mysliwiec
3df5a1836c Merge pull request #16158 from nestjs/renovate/ioredis-5.x
chore(deps): update dependency ioredis to v5.9.0
2026-01-05 18:33:51 +01:00
renovate[bot]
fb292791cf chore(deps): update dependency ioredis to v5.9.0 2026-01-05 14:43:21 +00:00
Kamil Mysliwiec
33911ead25 Merge pull request #16155 from nestjs/renovate/file-type-21.x
fix(deps): update dependency file-type to v21.3.0
2026-01-04 19:16:54 +01:00
renovate[bot]
8a5be22e94 fix(deps): update dependency file-type to v21.3.0 2026-01-04 01:44:43 +00:00
Kamil Mysliwiec
4500f04525 Merge pull request #16154 from nestjs/renovate/find-my-way-9.x
fix(deps): update dependency find-my-way to v9.4.0
2026-01-03 17:51:30 +01:00
Kamil Mysliwiec
b1edd0872f Merge pull request #16153 from nestjs/renovate/fastify-middie-9.x
chore(deps): update dependency @fastify/middie to v9.1.0
2026-01-03 17:51:25 +01:00
renovate[bot]
73f71c45e8 fix(deps): update dependency find-my-way to v9.4.0 2026-01-03 13:53:40 +00:00
renovate[bot]
936173ddff chore(deps): update dependency @fastify/middie to v9.1.0 2026-01-03 13:53:23 +00:00
Kamil Mysliwiec
295bbe27f0 Merge pull request #16151 from nestjs/renovate/globals-17.x
chore(deps): update dependency globals to v17
2026-01-02 15:19:35 +01:00
renovate[bot]
242e4cef4f chore(deps): update dependency globals to v17 2026-01-01 21:03:51 +00:00
Kamil Mysliwiec
01a14d46d1 Merge pull request #16145 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.1
2026-01-01 16:32:53 +01:00
Kamil Mysliwiec
fdfa52a2a7 Merge pull request #16149 from nestjs/renovate/commitlint-monorepo
chore(deps): update commitlint monorepo to v20.3.0
2026-01-01 16:31:59 +01:00
Kamil Mysliwiec
f7d8e025d9 Merge pull request #16138 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.51.0
2026-01-01 16:31:29 +01:00
renovate[bot]
00f6e87586 chore(deps): update commitlint monorepo to v20.3.0 2026-01-01 13:39:30 +00:00
renovate[bot]
112167837e fix(deps): update dependency mongoose to v9.1.1 2025-12-31 14:16:45 +00:00
renovate[bot]
da59d1c39c chore(deps): update typescript-eslint monorepo to v8.51.0 2025-12-31 10:47:44 +00:00
Kamil Mysliwiec
182f97d604 Merge pull request #16146 from miso-kyoungminkim/resolve-dependency
chore: Resolve dependencies
2025-12-31 11:43:37 +01:00
Kamil Mysliwiec
4869827aa0 Merge pull request #16144 from nestjs/dependabot/npm_and_yarn/mongoose-9.1.1
chore(deps-dev): bump mongoose from 9.1.0 to 9.1.1
2025-12-31 11:42:56 +01:00
kyoungminkim
8ead13d4f6 chore: Downgrade sinon-chai version 2025-12-31 13:49:18 +09:00
kyoungminkim
d021321624 chore: Update dependencies 2025-12-31 11:00:00 +09:00
dependabot[bot]
66d5059b80 chore(deps-dev): bump mongoose from 9.1.0 to 9.1.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.1.0 to 9.1.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.1.0...9.1.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-31 00:01:35 +00:00
Kamil Mysliwiec
7a3f5b568f Merge pull request #16141 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-8.51.0
chore(deps-dev): bump @typescript-eslint/parser from 8.50.1 to 8.51.0
2025-12-30 10:14:42 +01:00
Kamil Mysliwiec
60355c44e0 Merge pull request #16142 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.1.0
2025-12-30 10:14:33 +01:00
renovate[bot]
38e4a826dc fix(deps): update dependency mongoose to v9.1.0 2025-12-30 08:35:04 +00:00
dependabot[bot]
f40895423a chore(deps-dev): bump @typescript-eslint/parser from 8.50.1 to 8.51.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.50.1 to 8.51.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.51.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.51.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-30 08:34:04 +00:00
Kamil Mysliwiec
ce83c9a6de Merge pull request #16143 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.51.0
chore(deps-dev): bump typescript-eslint from 8.50.1 to 8.51.0
2025-12-30 09:32:49 +01:00
Kamil Mysliwiec
b0aa22d030 Merge pull request #16140 from nestjs/dependabot/npm_and_yarn/mongoose-9.1.0
chore(deps-dev): bump mongoose from 9.0.2 to 9.1.0
2025-12-30 09:32:40 +01:00
dependabot[bot]
2052855d3f chore(deps-dev): bump typescript-eslint from 8.50.1 to 8.51.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.50.1 to 8.51.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.51.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.51.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-30 00:03:53 +00:00
dependabot[bot]
d858df5dda chore(deps-dev): bump mongoose from 9.0.2 to 9.1.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.0.2 to 9.1.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.0.2...9.1.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-30 00:02:36 +00:00
Kamil Mysliwiec
91b97edfda Merge pull request #16137 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.11
2025-12-29 18:05:09 +01:00
renovate[bot]
00790a06ff fix(deps): update nest monorepo to v11.1.11 2025-12-29 16:51:16 +00:00
Kamil Mysliwiec
1bbd3ec178 Merge pull request #16136 from nestjs/renovate/nest-monorepo
fix(deps): update dependency @nestjs/platform-ws to v11.1.11
2025-12-29 17:48:48 +01:00
renovate[bot]
1818032838 fix(deps): update dependency @nestjs/platform-ws to v11.1.11 2025-12-29 13:32:37 +00:00
Kamil Myśliwiec
20529c07e3 chore(release): publish v11.1.11 release 2025-12-29 14:31:01 +01:00
Kamil Myśliwiec
585f55f0e4 chore: revert lerna version 2025-12-29 14:30:25 +01:00
Kamil Myśliwiec
bcb4747f75 chore(release): publish v11.1.11 release 2025-12-29 14:29:38 +01:00
Kamil Myśliwiec
3f5cfaa61b chore: revert lerna version 2025-12-29 14:29:14 +01:00
Kamil Myśliwiec
817e8c9923 chore(release): publish v11.1.11 release 2025-12-29 14:28:27 +01:00
Kamil Myśliwiec
d86eb37fb1 chore: revert lerna version 2025-12-29 14:27:45 +01:00
Kamil Myśliwiec
fef323b2c9 chore(release): publish v11.1.11 release 2025-12-29 14:26:08 +01:00
Kamil Myśliwiec
d1e55d082f style: disable linter for fastify middie external 2025-12-29 14:19:57 +01:00
Kamil Mysliwiec
149ed5cede Merge pull request #16135 from nestjs/fix/middie-bypass
fix(platform-fastify): middie bypassing through decoded chars
2025-12-29 13:45:26 +01:00
Kamil Myśliwiec
c4cedda15a fix(platform-fastify): middie bypassing through decoded chars 2025-12-29 13:44:26 +01:00
Kamil Mysliwiec
ad88fa8a1d Merge pull request #16133 from coti-z/fix/injector-unhandled-promise-rejection
fix(core): add missing catch handler for forward-ref provider resolution
2025-12-29 09:30:11 +01:00
Kamil Mysliwiec
b00a159c7d Merge pull request #16134 from manureja64/test/request-scope-bubbling
test(core): add regression test for request scope bubbling
2025-12-29 09:29:48 +01:00
Himanshu Gupta
6f1eddb601 test(core): add regression test for request scope bubbling
This adds an integration test to ensure that a Singleton service injected with a Request-Scoped dependency is correctly downgraded to Request-Scoped. This prevents future regressions in scope bubbling behavior.
2025-12-28 20:46:04 +05:30
coti-z
15198c650d fix(core): add missing catch handler for forward-ref provider resolution
When forwardRef provider fails to load in a non-static context
(REQUEST/TRANSIENT scope, the error was silently swallowed because the
promise was fire-and-forget without catch handler

This fix add catch handler that propagate the error through
ettlementSignal, ensuring proper error handling and preventing unhandled
promise rejection
2025-12-28 18:47:47 +09:00
Kamil Mysliwiec
3624d55aa1 Merge pull request #16122 from nestjs/dependabot/npm_and_yarn/socket.io-4.8.3
chore(deps): bump socket.io from 4.8.2 to 4.8.3
2025-12-26 13:40:31 +01:00
Kamil Mysliwiec
b45a9cd6d8 Merge pull request #16117 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.50.1
2025-12-26 13:38:54 +01:00
dependabot[bot]
ec3d6ad9fb chore(deps): bump socket.io from 4.8.2 to 4.8.3
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.8.2 to 4.8.3.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.8.2...socket.io@4.8.3)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-version: 4.8.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-26 12:38:43 +00:00
Kamil Mysliwiec
beb852aba6 Merge pull request #16125 from nestjs/renovate/socket.io-packages
fix(deps): update socket.io packages to v4.8.3
2025-12-26 13:38:42 +01:00
Kamil Mysliwiec
0ad1409115 Merge pull request #16128 from nestjs/dependabot/npm_and_yarn/fastify/static-9.0.0
chore(deps-dev): bump @fastify/static from 8.3.0 to 9.0.0
2025-12-26 13:38:34 +01:00
Kamil Mysliwiec
6bfe25e05e Merge pull request #16129 from nestjs/renovate/file-type-21.x
fix(deps): update dependency file-type to v21.2.0
2025-12-26 13:38:25 +01:00
Kamil Mysliwiec
990b1d4b92 Merge pull request #16130 from nestjs/renovate/fastify-static-9.x
fix(deps): update dependency @fastify/static to v9
2025-12-26 13:38:14 +01:00
Kamil Mysliwiec
9b1f239db1 Merge pull request #16121 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.8.3
chore(deps-dev): bump socket.io-client from 4.8.2 to 4.8.3
2025-12-26 13:37:42 +01:00
Kamil Mysliwiec
68f7e858dd Merge pull request #16126 from nestjs/renovate/nestjs-cache-manager-3.x
fix(deps): update dependency @nestjs/cache-manager to v3.1.0
2025-12-26 13:37:35 +01:00
Kamil Mysliwiec
0eb6e6e462 Merge pull request #16127 from nestjs/dependabot/npm_and_yarn/file-type-21.2.0
chore(deps): bump file-type from 21.1.1 to 21.2.0
2025-12-26 13:37:29 +01:00
Kamil Mysliwiec
76d1720d76 Merge pull request #16124 from nestjs/dependabot/npm_and_yarn/engine.io-client-6.6.4
chore(deps-dev): bump engine.io-client from 6.6.3 to 6.6.4
2025-12-26 13:37:24 +01:00
renovate[bot]
9b09e38e7d fix(deps): update dependency @fastify/static to v9 2025-12-26 00:03:19 +00:00
renovate[bot]
0d846b500f fix(deps): update dependency file-type to v21.2.0 2025-12-26 00:03:11 +00:00
dependabot[bot]
063b050cb6 chore(deps-dev): bump @fastify/static from 8.3.0 to 9.0.0
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 8.3.0 to 9.0.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v8.3.0...v9.0.0)

---
updated-dependencies:
- dependency-name: "@fastify/static"
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-26 00:02:27 +00:00
dependabot[bot]
a4a50d4fc4 chore(deps): bump file-type from 21.1.1 to 21.2.0
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.1.1 to 21.2.0.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.1.1...v21.2.0)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-26 00:01:55 +00:00
renovate[bot]
fb78273218 fix(deps): update dependency @nestjs/cache-manager to v3.1.0 2025-12-24 01:33:49 +00:00
renovate[bot]
462d02d803 fix(deps): update socket.io packages to v4.8.3 2025-12-24 00:03:15 +00:00
renovate[bot]
ba950c7da4 chore(deps): update typescript-eslint monorepo to v8.50.1 2025-12-24 00:03:05 +00:00
dependabot[bot]
f2a3e5bd4e chore(deps-dev): bump engine.io-client from 6.6.3 to 6.6.4
Bumps [engine.io-client](https://github.com/socketio/socket.io) from 6.6.3 to 6.6.4.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/engine.io-client@6.6.3...engine.io-client@6.6.4)

---
updated-dependencies:
- dependency-name: engine.io-client
  dependency-version: 6.6.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-24 00:03:02 +00:00
dependabot[bot]
45dbba3773 chore(deps-dev): bump socket.io-client from 4.8.2 to 4.8.3
Bumps [socket.io-client](https://github.com/socketio/socket.io) from 4.8.2 to 4.8.3.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-client@4.8.2...socket.io-client@4.8.3)

---
updated-dependencies:
- dependency-name: socket.io-client
  dependency-version: 4.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-24 00:01:41 +00:00
Kamil Mysliwiec
92cefc4041 Merge pull request #16113 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.50.1
chore(deps-dev): bump typescript-eslint from 8.50.0 to 8.50.1
2025-12-23 12:21:17 +01:00
Kamil Mysliwiec
bfc0b6bb96 Merge pull request #16112 from nestjs/dependabot/npm_and_yarn/socket.io-client-4.8.2
chore(deps-dev): bump socket.io-client from 4.8.1 to 4.8.2
2025-12-23 12:21:11 +01:00
dependabot[bot]
78c5b300c9 chore(deps-dev): bump socket.io-client from 4.8.1 to 4.8.2
Bumps [socket.io-client](https://github.com/socketio/socket.io) from 4.8.1 to 4.8.2.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-client@4.8.1...socket.io-client@4.8.2)

---
updated-dependencies:
- dependency-name: socket.io-client
  dependency-version: 4.8.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-23 09:18:59 +00:00
dependabot[bot]
a263cd62e8 chore(deps-dev): bump typescript-eslint from 8.50.0 to 8.50.1
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.50.0 to 8.50.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.50.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-23 09:18:11 +00:00
Kamil Mysliwiec
2d9f543329 Merge pull request #16118 from nestjs/renovate/socket.io-packages
fix(deps): update socket.io packages to v4.8.2
2025-12-23 10:17:30 +01:00
Kamil Mysliwiec
3282fbf98f Merge pull request #16114 from nestjs/dependabot/npm_and_yarn/socket.io-4.8.2
chore(deps): bump socket.io from 4.8.1 to 4.8.2
2025-12-23 10:17:02 +01:00
Kamil Mysliwiec
7bfcf6fa5f Merge pull request #16115 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-8.50.1
chore(deps-dev): bump @typescript-eslint/parser from 8.50.0 to 8.50.1
2025-12-23 10:16:58 +01:00
dependabot[bot]
9674ae343a chore(deps-dev): bump @typescript-eslint/parser from 8.50.0 to 8.50.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.50.0 to 8.50.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.50.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-23 09:14:36 +00:00
Kamil Mysliwiec
67f9bdf091 Merge pull request #16116 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.50.1
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.50.0 to 8.50.1
2025-12-23 10:13:11 +01:00
renovate[bot]
ab186ebdc8 fix(deps): update socket.io packages to v4.8.2 2025-12-23 00:04:19 +00:00
dependabot[bot]
373685df1c chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.50.0 to 8.50.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.50.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-23 00:03:58 +00:00
dependabot[bot]
d6da0401e7 chore(deps): bump socket.io from 4.8.1 to 4.8.2
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.8.1 to 4.8.2.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.8.1...socket.io@4.8.2)

---
updated-dependencies:
- dependency-name: socket.io
  dependency-version: 4.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-23 00:03:08 +00:00
Kamil Mysliwiec
38b0eca9b2 Merge pull request #16107 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.104.1
2025-12-22 19:39:53 +01:00
Kamil Mysliwiec
a3449fb720 Merge pull request #16109 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.10
2025-12-22 19:39:44 +01:00
renovate[bot]
0206279da5 fix(deps): update nest monorepo to v11.1.10 2025-12-22 14:44:38 +00:00
Kamil Myśliwiec
5864ff7612 chore: bump package.json version 2025-12-22 09:56:27 +01:00
Kamil Myśliwiec
8ea5aaef56 chore(release): publish v11.1.10 release 2025-12-22 09:55:06 +01:00
Kamil Myśliwiec
84739e02e2 chore: update release commit message 2025-12-22 09:54:39 +01:00
Kamil Myśliwiec
2b7ab5ef3b chore: remove access flag 2025-12-22 09:51:35 +01:00
Kamil Myśliwiec
5186601cd8 chore: update lerna to the latest version 2025-12-22 09:47:43 +01:00
Kamil Myśliwiec
0a79b7249f chore(@nestjs) publish v11.1.10 release 2025-12-22 09:43:57 +01:00
Kamil Myśliwiec
b7c36b51a5 chore: reverse lerna version 2025-12-22 09:43:09 +01:00
Kamil Myśliwiec
54432bd917 chore(@nestjs) publish v11.1.10 release 2025-12-22 09:39:49 +01:00
Kamil Myśliwiec
6395241b62 chore: reverse lerna version 2025-12-22 09:38:40 +01:00
Kamil Myśliwiec
173c24331e chore(@nestjs) publish v11.1.10 release 2025-12-22 09:38:18 +01:00
Kamil Myśliwiec
00253fa201 chore: reverse lerna version 2025-12-22 09:37:56 +01:00
Kamil Myśliwiec
1500555f7e chore(@nestjs) publish v11.1.10 release 2025-12-22 09:36:47 +01:00
Kamil Myśliwiec
17ac5e00d4 chore: reverse lerna version 2025-12-22 09:36:25 +01:00
Kamil Myśliwiec
de5e0262d2 chore(@nestjs) publish v11.1.10 release 2025-12-22 09:31:35 +01:00
renovate[bot]
f4ce374199 chore(deps): update dependency webpack to v5.104.1 2025-12-22 08:26:02 +00:00
Kamil Mysliwiec
d4c18df5ca Merge pull request #16106 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.50.0
2025-12-22 09:24:18 +01:00
Kamil Mysliwiec
62455a6977 Merge pull request #16108 from nestjs/dependabot/npm_and_yarn/sinon-21.0.1
chore(deps-dev): bump sinon from 21.0.0 to 21.0.1
2025-12-22 09:24:04 +01:00
Kamil Mysliwiec
4d15b38305 Merge pull request #16105 from nestjs/renovate/run-script-webpack-plugin-0.x
chore(deps): update dependency run-script-webpack-plugin to v0.2.3
2025-12-22 09:23:59 +01:00
dependabot[bot]
117f03a386 chore(deps-dev): bump sinon from 21.0.0 to 21.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 21.0.0 to 21.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v21.0.0...v21.0.1)

---
updated-dependencies:
- dependency-name: sinon
  dependency-version: 21.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-22 00:02:06 +00:00
renovate[bot]
cf414108a0 chore(deps): update dependency typescript-eslint to v8.50.0 2025-12-21 18:27:46 +00:00
renovate[bot]
0672f38ec1 chore(deps): update dependency run-script-webpack-plugin to v0.2.3 2025-12-21 18:27:34 +00:00
Kamil Mysliwiec
548b43859b Merge pull request #16103 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.4
2025-12-21 19:26:03 +01:00
Kamil Mysliwiec
07124887af Merge pull request #16104 from nestjs/renovate/webpack-env-1.x
chore(deps): update dependency @types/webpack-env to v1.18.8
2025-12-21 19:25:53 +01:00
Kamil Mysliwiec
f58d86dcc4 Merge pull request #16100 from malkovitc/fix/file-type-validator-esm-error
fix(common): improve error handling in FileTypeValidator
2025-12-21 19:25:46 +01:00
renovate[bot]
1e438bc635 chore(deps): update dependency @types/webpack-env to v1.18.8 2025-12-21 17:24:12 +00:00
renovate[bot]
69fe953960 chore(deps): update dependency @types/node to v24.10.4 2025-12-21 17:24:08 +00:00
Kamil Mysliwiec
fd46a65dc8 Merge branch 'master' into fix/file-type-validator-esm-error 2025-12-21 18:24:01 +01:00
Kamil Mysliwiec
4da3e2ce0f Update packages/common/pipes/file/file-type.validator.ts 2025-12-21 18:23:23 +01:00
Kamil Mysliwiec
00bbb82903 Merge pull request #16078 from shash-hq/fix/hmr-esm-support
feat(sample): add hmr with esm example
2025-12-21 18:22:07 +01:00
Kamil Mysliwiec
cc2659aba1 Merge pull request #16060 from Jo-Minseok/feat/filevalidator-custom-message
feat(common): add message property to file type validator
2025-12-21 18:21:45 +01:00
Kamil Mysliwiec
2620db61b4 Merge pull request #16098 from mag123c/fix/static-nested-transient-instantiation
fix(core): instantiate nested transient providers in static context
2025-12-21 14:27:15 +01:00
mag123c
2c5221dac0 refactor(core): improve is-static method readability 2025-12-21 11:08:34 +09:00
Kamil Mysliwiec
7f1df6dc53 Merge pull request #16099 from nestjs/renovate/sinon-21.x
chore(deps): update dependency sinon to v21.0.1
2025-12-20 11:11:32 +01:00
mag123c
a4959fa5a7 test(core): nested transient chain instantiation 2025-12-20 16:16:18 +09:00
renovate[bot]
755978abee chore(deps): update dependency sinon to v21.0.1 2025-12-19 18:14:33 +00:00
mag123c
351f977b3d fix(core): instantiate nested transient providers in static context 2025-12-19 17:14:00 +09:00
Kamil Mysliwiec
8d4d0443b0 Merge pull request #16096 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.104.1
2025-12-19 09:04:49 +01:00
Kamil Mysliwiec
fb7173b10c Merge pull request #16093 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.0.2
2025-12-19 09:04:29 +01:00
renovate[bot]
878bbfdf30 chore(deps): update dependency webpack to v5.104.1 2025-12-18 14:59:40 +00:00
renovate[bot]
37a896c937 fix(deps): update dependency mongoose to v9.0.2 2025-12-18 12:18:15 +00:00
Kamil Mysliwiec
c1b498c14f Merge pull request #16092 from nestjs/renovate/prisma-monorepo
fix(deps): update prisma monorepo to v7.2.0
2025-12-18 13:16:55 +01:00
Kamil Mysliwiec
0de67810a6 Merge pull request #16094 from nestjs/dependabot/npm_and_yarn/mongoose-9.0.2
chore(deps-dev): bump mongoose from 9.0.1 to 9.0.2
2025-12-18 13:16:45 +01:00
Kamil Mysliwiec
a01807681d Merge pull request #16091 from som14062005/fix/sample-26-queues-flaky-test
Fixes flaky E2E test in sample 26-queues that occasionally fails with `ECONNRESET` error.
2025-12-18 13:16:37 +01:00
dependabot[bot]
56e35dfa85 chore(deps-dev): bump mongoose from 9.0.1 to 9.0.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.0.1...9.0.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 00:01:50 +00:00
renovate[bot]
43fee9f875 fix(deps): update prisma monorepo to v7.2.0 2025-12-17 18:38:21 +00:00
som14062005
59edda49c9 fix: correct indentation 2025-12-17 19:21:34 +05:30
som14062005
91fc8a1d35 fix(sample): reduce concurrent requests in 26-queues E2E test 2025-12-17 19:01:06 +05:30
Kamil Mysliwiec
0df3f43466 Merge pull request #16089 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.16.0
2025-12-17 10:45:27 +01:00
Kamil Mysliwiec
c1af9663b4 Merge pull request #16086 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.104.0
2025-12-17 10:45:16 +01:00
Kamil Mysliwiec
0bb63559c3 Merge pull request #16087 from nestjs/dependabot/npm_and_yarn/mysql2-3.16.0
chore(deps-dev): bump mysql2 from 3.15.3 to 3.16.0
2025-12-17 10:45:04 +01:00
evgeniy.chernomortsev
c97b2ce4fe fix(common): improve error handling in FileTypeValidator
Add warning logs when file-type package fails to load due to ESM
import issues. This helps users debug issues when running tests
with Jest without --experimental-vm-modules flag.

When loading fails and fallbackToMimetype is enabled, the validator
now correctly falls back to mimetype comparison instead of silently
returning false.

Closes #15055
2025-12-17 13:40:37 +04:00
renovate[bot]
c0130ab899 fix(deps): update dependency mysql2 to v3.16.0 2025-12-17 00:03:46 +00:00
dependabot[bot]
4d3a079486 chore(deps-dev): bump mysql2 from 3.15.3 to 3.16.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.15.3 to 3.16.0.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.15.3...v3.16.0)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-17 00:01:38 +00:00
renovate[bot]
54aa85626d chore(deps): update dependency webpack to v5.104.0 2025-12-16 16:31:56 +00:00
Kamil Mysliwiec
da792d7c2b Merge pull request #16084 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.50.0
2025-12-16 09:50:26 +01:00
Kamil Mysliwiec
22c18fcd24 Merge pull request #16083 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-8.50.0
chore(deps-dev): bump @typescript-eslint/parser from 8.49.0 to 8.50.0
2025-12-16 09:50:16 +01:00
renovate[bot]
eda2bbec2b chore(deps): update typescript-eslint monorepo to v8.50.0 2025-12-16 08:31:29 +00:00
dependabot[bot]
d44d76964a chore(deps-dev): bump @typescript-eslint/parser from 8.49.0 to 8.50.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.50.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 08:30:32 +00:00
Kamil Mysliwiec
17e38681e3 Merge pull request #16081 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.50.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.49.0 to 8.50.0
2025-12-16 09:29:01 +01:00
dependabot[bot]
f0d0adfdc5 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.50.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 08:08:42 +00:00
Kamil Mysliwiec
347516b668 Merge pull request #16082 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.50.0
chore(deps-dev): bump typescript-eslint from 8.49.0 to 8.50.0
2025-12-16 09:07:18 +01:00
dependabot[bot]
82f4f5f858 chore(deps-dev): bump typescript-eslint from 8.49.0 to 8.50.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.49.0 to 8.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.50.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.50.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 00:02:35 +00:00
J_Coder
b6aa4a2311 test(common): add tests for dynamic custom error message 2025-12-16 02:56:38 +09:00
J_Coder
6c2f2bf254 feat(common): add error message factory function and shared context type 2025-12-16 02:53:59 +09:00
Kamil Mysliwiec
f3fb0c2c44 Merge pull request #16079 from liu-jin-yi/fix/issue-16050
fix: enhance ValidationPipe to prevent prototype pollution
2025-12-15 11:40:26 +01:00
Kamil Mysliwiec
43cde25ad0 Merge pull request #16080 from nestjs/renovate/redis-8.x
chore(deps): update redis docker tag to v8
2025-12-15 10:39:49 +01:00
Kamil Myśliwiec
61d728bfd6 style: address linter errors 2025-12-15 10:37:27 +01:00
renovate[bot]
3a5792b865 chore(deps): update redis docker tag to v8 2025-12-15 09:13:56 +00:00
Kamil Mysliwiec
a0d79d8528 Merge pull request #15721 from pythonjsgo/feat/sse-promise-support
feat(core): add Promise<Observable> support for SSE handlers
2025-12-15 10:12:00 +01:00
Kamil Mysliwiec
adff255d89 Merge pull request #16005 from malkovitc/fix/resolve-each-multiple-providers
fix(core): resolve all providers when using resolve() with each option
2025-12-15 10:11:24 +01:00
Kamil Mysliwiec
ae9cc02131 Merge pull request #16070 from som14062005/test/sample-26-queues
test(sample): add comprehensive tests for 26-queues sample
2025-12-15 10:09:58 +01:00
Kamil Mysliwiec
842be73825 Merge pull request #16068 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.4
2025-12-15 10:07:09 +01:00
Kamil Mysliwiec
4d57c214d5 Merge pull request #16072 from shash-hq/fix/grpc-observable-return
fix(microservices): fix grpc stream method return type
2025-12-15 10:06:51 +01:00
Kamil Mysliwiec
983668b202 Merge pull request #16077 from shash-hq/fix/file-type-validator-version
fix(common): resolve file-type path explicitly
2025-12-15 10:06:13 +01:00
renovate[bot]
170cecb837 chore(deps): update dependency @types/node to v24.10.4 2025-12-15 09:06:02 +00:00
Kamil Mysliwiec
10c603c7a6 Merge pull request #16073 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-13.2.3
chore(deps-dev): bump @nestjs/apollo from 13.2.1 to 13.2.3
2025-12-15 10:03:21 +01:00
liujinyi
c995f70f02 fix: enhance ValidationPipe to prevent prototype pollution by stripping 'constructor' and 'prototype' properties 2025-12-15 16:48:53 +08:00
shash-hq
def58e0581 fix(common): handle legacy node version in file validator 2025-12-15 11:11:04 +05:30
shash-hq
6a2636925d feat(sample): add hmr with esm example #14331 2025-12-15 10:29:58 +05:30
shash-hq
bd36c2832d fix(common): resolve file-type path explicitly #15270 2025-12-15 09:08:27 +05:30
dependabot[bot]
9ab2d71976 chore(deps-dev): bump @nestjs/apollo from 13.2.1 to 13.2.3
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 13.2.1 to 13.2.3.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v13.2.1...v13.2.3)

---
updated-dependencies:
- dependency-name: "@nestjs/apollo"
  dependency-version: 13.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 00:01:42 +00:00
shash-hq
541ef2ffef fix(microservices): fix grpc stream method return type
Ensure GrpcStreamMethod returns Observable directly instead of wrapping it in a Promise when called locally.

Closes #15953
2025-12-14 21:49:58 +05:30
som14062005
a189883ec8 refactor: add Redis service to CircleCI for E2E tests
- Added Redis container to samples job in CircleCI config
- Removed all mocking from E2E tests to use real Bull queue
- Updated app.module.ts to support environment-based Redis config
- Fixed test routes to match controller (POST /audio/transcode)
- Updated jest-e2e.json with proper timeout and exit settings
- Tests now perform true integration testing with real Redis
2025-12-14 18:13:27 +05:30
Kamil Mysliwiec
8c77a1955e Merge pull request #16069 from KAPUIST/test/core/silent-logger
test(core): Add tests for SilentLogger utility
2025-12-14 11:58:15 +01:00
som14062005
270f0a710f fix: correct E2E test structure and expectations 2025-12-14 13:01:13 +05:30
som14062005
4ca69c488e test: mock BullModule in E2E tests to avoid Redis dependency 2025-12-14 12:42:24 +05:30
som14062005
275ae436c0 fix: increase E2E test timeouts for CI environment 2025-12-14 12:19:08 +05:30
som14062005
dbaee717cb test(sample): add comprehensive tests for 26-queues sample
- Add unit tests for AudioController with 6 test cases
- Add unit tests for AudioProcessor with 8 test cases
- Add E2E tests for audio transcoding endpoint with 9 test cases
- Add Jest configuration for unit and E2E tests
- Update package.json test scripts
- Total: 23 passing tests

Relates to #1539
2025-12-14 10:55:29 +05:30
taegwon son
3cbf2818de test(core): Add tests for SilentLogger utility
- Verify SilentLogger extends Logger
- Test all logging methods (log, error, warn, debug, verbose, fatal)
- Test setLogLevels method
- All methods return undefined without side effects

Coverage: 30% → 100%
2025-12-14 11:31:36 +09:00
Kamil Mysliwiec
a989c6f136 Merge pull request #16066 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update nest-graphql monorepo to v13.2.3
2025-12-13 21:08:33 +01:00
J_Coder
af671a15ed test(common): add tests for custom error message and deprecated message 2025-12-14 04:10:01 +09:00
J_Coder
f9b6026b12 refactor(common): deprecate message option and prefer error message 2025-12-14 04:04:32 +09:00
J_Coder
abe4efea62 refactor(common): rename message property to error message 2025-12-14 03:21:38 +09:00
renovate[bot]
32bbe2564a fix(deps): update nest-graphql monorepo to v13.2.3 2025-12-13 17:02:42 +00:00
Kamil Mysliwiec
d90e8dd004 Merge pull request #16062 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.39.2
2025-12-13 18:00:28 +01:00
Kamil Mysliwiec
4e28b37286 Merge pull request #16061 from giorgikakauridze/refactor/log-level-evaluation
refactor(logging): optimize isLogLevelEnabled by replacing sort with single-pass max
2025-12-13 18:00:18 +01:00
giorgikakauridze
7dd7737c07 style(logging): apply prettier formatting 2025-12-13 15:22:07 +04:00
giorgikakauridze
5d089abe46 style(logging): apply prettier formatting 2025-12-13 15:07:54 +04:00
renovate[bot]
6398fa9525 chore(deps): update eslint monorepo to v9.39.2 2025-12-13 10:50:40 +00:00
Kamil Mysliwiec
a1df1c87ae Merge pull request #16063 from KAPUIST/test/express/get-body-parser-options
test(express): Add tests for getBodyParserOptions utility
2025-12-13 11:46:51 +01:00
Kamil Mysliwiec
b09718a24e Merge pull request #16064 from KAPUIST/test/common/streamable-file-full-coverage
test(common): Add missing tests for StreamableFile
2025-12-13 11:46:36 +01:00
Kamil Mysliwiec
17fcaf619c Merge pull request #16065 from KAPUIST/test/core/discoverable-meta-host-collection
test(core): Add tests for DiscoverableMetaHostCollection
2025-12-13 11:46:24 +01:00
Kamil Mysliwiec
f3aadbf5c2 Merge pull request #16055 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.14.3
chore(deps-dev): bump @grpc/grpc-js from 1.14.2 to 1.14.3
2025-12-13 11:46:06 +01:00
taegwon son
5ea3988a80 test(core): Add tests for DiscoverableMetaHostCollection
Improve test coverage for discoverable-meta-host-collection.ts
from 38.46% to 100% by adding comprehensive unit tests for:
- addClassMetaHostLink
- insertByMetaKey
- getProvidersByMetaKey / getControllersByMetaKey
- inspectProvider / inspectController
- useValue and useFactory provider scenarios
2025-12-13 16:57:31 +09:00
taegwon son
af7289e4f5 test(common): Add missing tests for StreamableFile
Add tests for:
- Default error logger behavior (logger.error invocation)
- Edge case when input is neither Uint8Array nor has pipe method

Coverage: 97.06% -> 100%
2025-12-13 16:33:27 +09:00
taegwon son
8f0840ad70 test(express): Add tests for getBodyParserOptions utility
Add comprehensive unit tests for the getBodyParserOptions utility function
including rawBodyParser verify callback coverage.

Coverage: 55.56% -> 100%
2025-12-13 16:16:30 +09:00
giorgikakauridze
e6d34f06b9 refactor(logging): optimize isLogLevelEnabled by replacing sort with single-pass max 2025-12-12 23:34:39 +04:00
J_Coder
2f26b30fd9 test(common): add unit tests for file type validator 2025-12-13 02:36:34 +09:00
J_Coder
8309ddc859 feat(common): add message property to file type validator 2025-12-13 01:52:20 +09:00
J_Coder
52d30f276f docs(common): add tsdoc to max file size validator properties 2025-12-13 01:52:07 +09:00
dependabot[bot]
e1b0993475 chore(deps-dev): bump @grpc/grpc-js from 1.14.2 to 1.14.3
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.14.2...@grpc/grpc-js@1.14.3)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-version: 1.14.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 08:23:35 +00:00
Kamil Mysliwiec
845993d22a Merge pull request #16054 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.14.3
2025-12-12 09:22:11 +01:00
renovate[bot]
396ca69f10 fix(deps): update dependency @grpc/grpc-js to v1.14.3 2025-12-11 19:04:33 +00:00
Kamil Mysliwiec
b47ea7ee3c Merge pull request #16048 from KAPUIST/test/tree-node-coverage
test(core): Add comprehensive tests for TreeNode class
2025-12-11 13:01:47 +01:00
Kamil Mysliwiec
3817c50fd6 Merge pull request #16045 from nestjs/dependabot/npm_and_yarn/nestjs/mongoose-11.0.4
chore(deps-dev): bump @nestjs/mongoose from 11.0.3 to 11.0.4
2025-12-11 13:01:21 +01:00
taegwon son
e8df30cceb test(core): Add comprehensive tests for TreeNode class 2025-12-11 18:10:57 +09:00
dependabot[bot]
dea0651125 chore(deps-dev): bump @nestjs/mongoose from 11.0.3 to 11.0.4
Bumps [@nestjs/mongoose](https://github.com/nestjs/mongoose) from 11.0.3 to 11.0.4.
- [Release notes](https://github.com/nestjs/mongoose/releases)
- [Commits](https://github.com/nestjs/mongoose/compare/11.0.3...11.0.4)

---
updated-dependencies:
- dependency-name: "@nestjs/mongoose"
  dependency-version: 11.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-11 08:24:34 +00:00
Kamil Mysliwiec
ed0f6763da Merge pull request #16039 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.7
chore(deps-dev): bump cache-manager from 7.2.6 to 7.2.7
2025-12-11 09:23:09 +01:00
Kamil Mysliwiec
b37e896ade Merge pull request #16038 from nestjs/dependabot/npm_and_yarn/fastify/cors-11.2.0
chore(deps): bump @fastify/cors from 11.1.0 to 11.2.0
2025-12-11 09:23:01 +01:00
Kamil Mysliwiec
176e7256fa Merge pull request #16046 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.3
2025-12-11 09:22:53 +01:00
Kamil Mysliwiec
50609b7f3d Merge pull request #16043 from nestjs/renovate/nestjs-mongoose-11.x
fix(deps): update dependency @nestjs/mongoose to v11.0.4
2025-12-11 09:22:37 +01:00
Kamil Mysliwiec
ddd30e90ab Merge pull request #16047 from KAPUIST/test/streamable-file-coverage
test(common): Add missing tests for StreamableFile error handling
2025-12-11 09:22:31 +01:00
taegwon son
d4b527f9e7 test(common): Add missing tests for StreamableFile error handling 2025-12-11 14:48:02 +09:00
renovate[bot]
6f4cd7850a chore(deps): update dependency @types/node to v24.10.3 2025-12-11 00:03:52 +00:00
renovate[bot]
3aecb74e5a fix(deps): update dependency @nestjs/mongoose to v11.0.4 2025-12-10 15:57:05 +00:00
dependabot[bot]
077bc3ca78 chore(deps): bump @fastify/cors from 11.1.0 to 11.2.0
Bumps [@fastify/cors](https://github.com/fastify/fastify-cors) from 11.1.0 to 11.2.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v11.1.0...v11.2.0)

---
updated-dependencies:
- dependency-name: "@fastify/cors"
  dependency-version: 11.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-10 09:38:02 +00:00
dependabot[bot]
ae7c7f5fb2 chore(deps-dev): bump cache-manager from 7.2.6 to 7.2.7
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.2.6 to 7.2.7.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-10 09:37:59 +00:00
Kamil Mysliwiec
41b3041478 Merge pull request #16041 from nestjs/renovate/fastify-cors-11.x
fix(deps): update dependency @fastify/cors to v11.2.0
2025-12-10 10:36:39 +01:00
Kamil Mysliwiec
4b3213fa4d Merge pull request #16040 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.7
2025-12-10 10:36:31 +01:00
renovate[bot]
d3b95ab42b fix(deps): update dependency @fastify/cors to v11.2.0 2025-12-10 00:03:42 +00:00
renovate[bot]
4389b69789 fix(deps): update dependency cache-manager to v7.2.7 2025-12-10 00:03:30 +00:00
evgeniy.chernomortsev
0b1a40df23 test(core): add integration test for resolve() with each option on default-scoped providers 2025-12-09 18:36:45 +04:00
Kamil Mysliwiec
350ccd9872 Merge pull request #16037 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.49.0
2025-12-09 14:26:48 +01:00
renovate[bot]
ebc0ddcba3 chore(deps): update typescript-eslint monorepo to v8.49.0 2025-12-09 12:02:14 +00:00
Kamil Mysliwiec
1ab4f479ff Merge pull request #16035 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.2
2025-12-09 12:58:03 +01:00
Kamil Mysliwiec
67b3db0d16 Merge pull request #16036 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages to v2.12.2
2025-12-09 12:57:58 +01:00
Kamil Mysliwiec
becc023160 Merge pull request #16031 from nestjs/dependabot/npm_and_yarn/typescript-eslint/parser-8.49.0
chore(deps-dev): bump @typescript-eslint/parser from 8.48.1 to 8.49.0
2025-12-09 12:57:22 +01:00
renovate[bot]
dff7c86470 fix(deps): update apollo graphql packages to v2.12.2 2025-12-09 08:10:24 +00:00
renovate[bot]
69bcef9481 chore(deps): update dependency @types/node to v24.10.2 2025-12-09 08:10:18 +00:00
dependabot[bot]
7f468c79df chore(deps-dev): bump @typescript-eslint/parser from 8.48.1 to 8.49.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.48.1 to 8.49.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.49.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.49.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 08:09:04 +00:00
Kamil Mysliwiec
309056e22a Merge pull request #16032 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.49.0
chore(deps-dev): bump typescript-eslint from 8.48.1 to 8.49.0
2025-12-09 09:07:32 +01:00
dependabot[bot]
07ab918a82 chore(deps-dev): bump typescript-eslint from 8.48.1 to 8.49.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.48.1 to 8.49.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.49.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.49.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 08:04:44 +00:00
Kamil Mysliwiec
b17893e80c Merge pull request #16033 from nestjs/dependabot/npm_and_yarn/types/node-24.10.2
chore(deps-dev): bump @types/node from 24.10.1 to 24.10.2
2025-12-09 09:03:28 +01:00
Kamil Mysliwiec
781ee34444 Merge pull request #16034 from nestjs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-8.49.0
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.48.1 to 8.49.0
2025-12-09 09:03:18 +01:00
Kamil Mysliwiec
c607a25996 Merge pull request #16028 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.6
2025-12-09 09:03:10 +01:00
dependabot[bot]
628f942153 chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.48.1 to 8.49.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.49.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-version: 8.49.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 00:03:19 +00:00
dependabot[bot]
7835df84b3 chore(deps-dev): bump @types/node from 24.10.1 to 24.10.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.1 to 24.10.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.10.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 00:02:55 +00:00
Kamil Mysliwiec
296822c0d3 Merge pull request #16030 from nestjs/renovate/nestjs-schedule-6.x
fix(deps): update dependency @nestjs/schedule to v6.1.0
2025-12-08 13:06:32 +01:00
renovate[bot]
134b6bbc64 fix(deps): update dependency @nestjs/schedule to v6.1.0 2025-12-08 11:52:58 +00:00
renovate[bot]
a4477c3369 fix(deps): update dependency cache-manager to v7.2.6 2025-12-08 11:52:53 +00:00
Kamil Mysliwiec
f18114e450 Merge pull request #16025 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9.0.1
2025-12-08 12:51:15 +01:00
Kamil Mysliwiec
3cdf2e5e3f Merge pull request #16027 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.6
chore(deps-dev): bump cache-manager from 7.2.5 to 7.2.6
2025-12-08 12:51:08 +01:00
renovate[bot]
17f1854e5d fix(deps): update dependency mongoose to v9.0.1 2025-12-08 08:45:07 +00:00
dependabot[bot]
1e4c623104 chore(deps-dev): bump cache-manager from 7.2.5 to 7.2.6
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.2.5 to 7.2.6.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 08:44:40 +00:00
Kamil Mysliwiec
60a6f9311e Merge pull request #16026 from nestjs/dependabot/npm_and_yarn/mongoose-9.0.1
chore(deps-dev): bump mongoose from 9.0.0 to 9.0.1
2025-12-08 09:43:22 +01:00
dependabot[bot]
04b3e7669d chore(deps-dev): bump mongoose from 9.0.0 to 9.0.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/9.0.0...9.0.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 00:01:35 +00:00
Kamil Mysliwiec
8f80fed53f Merge pull request #15983 from nestjs/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.7.4
2025-12-05 14:20:49 +01:00
renovate[bot]
a764a46f11 chore(deps): update dependency prettier to v3.7.4 2025-12-05 13:08:32 +00:00
Kamil Mysliwiec
e2fd92394c Merge pull request #15903 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.48.1
2025-12-05 14:04:08 +01:00
renovate[bot]
d0f3f9ba8b chore(deps): update typescript-eslint monorepo to v8.48.1 2025-12-05 12:37:45 +00:00
Kamil Myśliwiec
0c93692bc9 chore: update prettier 2025-12-05 13:35:27 +01:00
Kamil Myśliwiec
0430f3f190 chore: resolve conflicts 2025-12-05 13:31:11 +01:00
Kamil Myśliwiec
5045fea937 chore: update eslint monorepo 2025-12-05 13:29:23 +01:00
Kamil Mysliwiec
e33be81c60 Merge pull request #15975 from OlegStrokan/feat/keepalive-server-support
feat(microservices): add keepalive support for server side
2025-12-05 13:01:42 +01:00
Kamil Mysliwiec
3723412508 Merge pull request #15986 from mag123c/fix/shutdown-hooks-process-exit
feat(core): add option for async logger compatibility
2025-12-05 13:00:52 +01:00
Kamil Mysliwiec
7769180e92 Merge pull request #16013 from chenjieya/alvis-refactor-filetypevalidator-pipe
fix(common): Support fallbackToMimetype without buffer
2025-12-05 12:58:30 +01:00
Kamil Mysliwiec
46183524c8 Merge pull request #16023 from nestjs/renovate/nestjs-jwt-11.x
fix(deps): update dependency @nestjs/jwt to v11.0.2
2025-12-05 12:57:15 +01:00
renovate[bot]
ed4656c954 fix(deps): update dependency @nestjs/jwt to v11.0.2 2025-12-05 10:43:01 +00:00
Kamil Mysliwiec
c6fc175ee6 Merge pull request #16022 from nestjs/renovate/commitlint-monorepo
chore(deps): update commitlint monorepo to v20.2.0
2025-12-05 11:38:23 +01:00
renovate[bot]
f9e174bcc3 chore(deps): update commitlint monorepo to v20.2.0 2025-12-05 07:10:50 +00:00
Kamil Mysliwiec
2eb669f5c8 Merge pull request #16021 from nestjs/dependabot/npm_and_yarn/jws-3.2.3
chore(deps-dev): bump jws from 3.2.2 to 3.2.3
2025-12-04 21:13:40 +01:00
dependabot[bot]
c35f04ebba chore(deps-dev): bump jws from 3.2.2 to 3.2.3
Bumps [jws](https://github.com/brianloveswords/node-jws) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/brianloveswords/node-jws/releases)
- [Changelog](https://github.com/auth0/node-jws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/brianloveswords/node-jws/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: jws
  dependency-version: 3.2.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 16:57:19 +00:00
Kamil Mysliwiec
2d7551cc1e Merge pull request #16018 from nestjs/renovate/confluentinc-cp-kafka-8.x
chore(deps): update confluentinc/cp-kafka docker tag to v8.1.1
2025-12-04 10:40:57 +01:00
Kamil Mysliwiec
67c1c98336 Merge pull request #16020 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.28
chore(deps-dev): bump typeorm from 0.3.27 to 0.3.28
2025-12-04 10:40:52 +01:00
dependabot[bot]
44a81bb658 chore(deps-dev): bump typeorm from 0.3.27 to 0.3.28
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.27 to 0.3.28.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.27...0.3.28)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-version: 0.3.28
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 00:02:39 +00:00
renovate[bot]
1ddcd1cc5c chore(deps): update confluentinc/cp-kafka docker tag to v8.1.1 2025-12-03 15:35:58 +00:00
Kamil Mysliwiec
c719fd2b00 Merge pull request #16015 from nestjs/renovate/prisma-monorepo
fix(deps): update prisma monorepo to v7.1.0
2025-12-03 16:33:44 +01:00
Kamil Mysliwiec
7b4131f051 Merge pull request #16014 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.28
2025-12-03 16:33:34 +01:00
Kamil Mysliwiec
64e8b06cac Merge pull request #16003 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.14.2
2025-12-03 15:01:52 +01:00
renovate[bot]
7a9e1fec2c fix(deps): update prisma monorepo to v7.1.0 2025-12-03 13:56:20 +00:00
renovate[bot]
62b2e34892 fix(deps): update dependency typeorm to v0.3.28 2025-12-03 13:55:28 +00:00
Kamil Mysliwiec
59dc7d645d Merge pull request #16004 from nestjs/dependabot/npm_and_yarn/validator-13.15.23
chore(deps): bump validator from 13.15.20 to 13.15.23
2025-12-03 14:52:44 +01:00
Alvis
a4590016c3 fix(common): Support fallbackToMimetype without buffer
Allow FileTypeValidator to validate files saved on disk where no buffer is available.
Use mimetype as a fallback when fallbackToMimetype=true and buffer is missing.
Preserves existing behavior when fallbackToMimetype is not enabled.
2025-12-03 21:23:21 +08:00
renovate[bot]
f0bdd6ca0d fix(deps): update dependency @grpc/grpc-js to v1.14.2 2025-12-03 08:18:29 +00:00
dependabot[bot]
8d495ae153 chore(deps): bump validator from 13.15.20 to 13.15.23
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.15.20 to 13.15.23.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validatorjs/validator.js/compare/13.15.20...13.15.23)

---
updated-dependencies:
- dependency-name: validator
  dependency-version: 13.15.23
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 08:18:18 +00:00
Kamil Mysliwiec
6ec7e3be90 Merge pull request #16009 from nestjs/dependabot/npm_and_yarn/express-5.2.1
chore(deps): bump express from 5.2.0 to 5.2.1
2025-12-03 09:16:49 +01:00
Kamil Mysliwiec
7360a9a0a2 Merge pull request #16010 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.14.2
chore(deps-dev): bump @grpc/grpc-js from 1.14.1 to 1.14.2
2025-12-03 09:16:43 +01:00
dependabot[bot]
d07b048202 chore(deps-dev): bump @grpc/grpc-js from 1.14.1 to 1.14.2
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.14.1...@grpc/grpc-js@1.14.2)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-version: 1.14.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 00:02:16 +00:00
dependabot[bot]
9b229a71c5 chore(deps): bump express from 5.2.0 to 5.2.1
Bumps [express](https://github.com/expressjs/express) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 00:01:35 +00:00
evgeniy.chernomortsev
acb1ae56d4 fix(core): resolve all providers when using resolve() with each option
When resolving multiple default-scoped providers registered under the same
token using `moduleRef.resolve(token, undefined, { each: true })`, the method
was returning the same instance repeated N times instead of all distinct
provider instances.

The issue was in `resolvePerContext` where for static dependency trees it
called `this.get()` which always returned the last registered provider,
ignoring the specific `instanceLink` being processed. Now it returns
`wrapperRef.instance` directly from each instance link.

Closes #15979
2025-12-03 01:40:33 +04:00
Kamil Mysliwiec
6b3c41aa49 Merge pull request #16002 from nestjs/renovate/express-5.x
fix(deps): update dependency express to v5.2.1
2025-12-02 12:04:20 +01:00
Kamil Mysliwiec
b6efef72c6 Merge pull request #15999 from nestjs/dependabot/npm_and_yarn/express-5.2.1
chore(deps): bump express from 5.1.0 to 5.2.1
2025-12-02 12:04:09 +01:00
renovate[bot]
cacc3e77f8 fix(deps): update dependency express to v5.2.1 2025-12-02 08:41:14 +00:00
dependabot[bot]
8913204d18 chore(deps): bump express from 5.1.0 to 5.2.1
Bumps [express](https://github.com/expressjs/express) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 08:39:03 +00:00
Kamil Mysliwiec
d4b44e358c Merge pull request #15998 from nestjs/renovate/express-5.x
chore(deps): update dependency @types/express to v5.0.6
2025-12-02 09:37:31 +01:00
Kamil Mysliwiec
7eb04485f9 Merge pull request #16000 from nestjs/renovate/npm-express-vulnerability
fix(deps): update dependency express to v5.2.0 [security]
2025-12-02 09:36:46 +01:00
Kamil Mysliwiec
e8965fde23 Merge pull request #15997 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.4.6
2025-12-02 09:36:35 +01:00
Kamil Mysliwiec
5a6846990f Merge pull request #16001 from nestjs/dependabot/npm_and_yarn/packages/platform-express/express-5.2.0
chore(deps): bump express from 5.1.0 to 5.2.0 in /packages/platform-express
2025-12-02 09:36:13 +01:00
dependabot[bot]
2703aadaa5 chore(deps): bump express in /packages/platform-express
Bumps [express](https://github.com/expressjs/express) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 21:55:01 +00:00
renovate[bot]
729443674c chore(deps): update dependency @types/express to v5.0.6 2025-12-01 21:06:09 +00:00
renovate[bot]
5679c8d981 fix(deps): update dependency express to v5.2.0 [security] 2025-12-01 21:05:54 +00:00
renovate[bot]
64676895ad chore(deps): update dependency ts-jest to v29.4.6 2025-12-01 18:59:04 +00:00
Kamil Mysliwiec
37b310208e Merge pull request #15992 from nestjs/renovate/eslint-eslintrc-3.x
chore(deps): update dependency @eslint/eslintrc to v3.3.3
2025-12-01 09:18:57 +01:00
Kamil Mysliwiec
c840a7284f Merge pull request #15994 from nestjs/dependabot/npm_and_yarn/eslint/eslintrc-3.3.3
chore(deps-dev): bump @eslint/eslintrc from 3.3.1 to 3.3.3
2025-12-01 09:18:44 +01:00
Kamil Mysliwiec
979e97358c Merge pull request #15995 from nestjs/dependabot/npm_and_yarn/graphql-tools-9.0.25
chore(deps-dev): bump graphql-tools from 9.0.24 to 9.0.25
2025-12-01 09:18:19 +01:00
dependabot[bot]
a9d047ecf4 chore(deps-dev): bump graphql-tools from 9.0.24 to 9.0.25
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 9.0.24 to 9.0.25.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/graphql-tools/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/graphql-tools@9.0.25/packages/graphql-tools)

---
updated-dependencies:
- dependency-name: graphql-tools
  dependency-version: 9.0.25
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 00:02:49 +00:00
dependabot[bot]
79cced8186 chore(deps-dev): bump @eslint/eslintrc from 3.3.1 to 3.3.3
Bumps [@eslint/eslintrc](https://github.com/eslint/eslintrc) from 3.3.1 to 3.3.3.
- [Release notes](https://github.com/eslint/eslintrc/releases)
- [Changelog](https://github.com/eslint/eslintrc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslintrc/compare/v3.3.1...eslintrc-v3.3.3)

---
updated-dependencies:
- dependency-name: "@eslint/eslintrc"
  dependency-version: 3.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 00:02:22 +00:00
renovate[bot]
125adff8e7 chore(deps): update dependency @eslint/eslintrc to v3.3.3 2025-11-30 10:46:32 +00:00
Kamil Mysliwiec
390c2b0335 Merge pull request #15987 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-11-30 11:44:01 +01:00
Kamil Mysliwiec
9f6284b1be Merge pull request #15989 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.5
2025-11-30 11:41:49 +01:00
renovate[bot]
917818e30d chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.5 2025-11-28 17:03:47 +00:00
renovate[bot]
df8c379610 fix(deps): update graphql-tools monorepo 2025-11-28 14:40:23 +00:00
Kamil Mysliwiec
03eaea5fc6 Merge pull request #15985 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.14
2025-11-28 15:38:03 +01:00
mag123c
b64aef5d69 fix(core): add option for async logger compatibility 2025-11-28 22:52:38 +09:00
renovate[bot]
3a4969c456 chore(deps): update dependency @nestjs/cli to v11.0.14 2025-11-28 08:58:31 +00:00
Kamil Mysliwiec
d76e9b446a Merge pull request #15982 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.13
2025-11-28 09:07:36 +01:00
Kamil Mysliwiec
9df4ac38ec Merge pull request #15984 from mag123c/fix/sample-22-prisma7-compatibility
sample(sample/22): fix Prisma 7 compatibility
2025-11-28 09:07:24 +01:00
mag123c
218075e4b6 sample(sample/22): fix Prisma 7 compatibility 2025-11-28 09:43:23 +09:00
renovate[bot]
9e0c706dd9 chore(deps): update dependency @nestjs/cli to v11.0.13 2025-11-28 00:03:47 +00:00
Kamil Mysliwiec
3a5b5e1f0a Merge pull request #15973 from nestjs/renovate/npm-body-parser-vulnerability
chore(deps): update dependency body-parser to v2.2.1 [security]
2025-11-27 10:32:26 +01:00
Kamil Mysliwiec
1fea63cf6c Merge pull request #15963 from nestjs/renovate/mongoose-9.x
fix(deps): update dependency mongoose to v9
2025-11-27 10:32:06 +01:00
Kamil Mysliwiec
7aad0f4a4d Merge pull request #15968 from nestjs/renovate/class-validator-0.x
fix(deps): update dependency class-validator to v0.14.3
2025-11-27 10:31:56 +01:00
Kamil Mysliwiec
142963efb7 Merge pull request #15964 from nestjs/renovate/apollo-graphql-packages
fix(deps): update dependency @apollo/server to v5.2.0
2025-11-27 10:31:22 +01:00
Kamil Mysliwiec
ef5a8b7c63 Merge pull request #15970 from nestjs/dependabot/npm_and_yarn/body-parser-2.2.1
chore(deps-dev): bump body-parser from 2.2.0 to 2.2.1
2025-11-27 10:31:15 +01:00
Kamil Mysliwiec
74d89a092a Merge pull request #15972 from nestjs/dependabot/npm_and_yarn/class-validator-0.14.3
chore(deps): bump class-validator from 0.14.2 to 0.14.3
2025-11-27 10:31:07 +01:00
Kamil Mysliwiec
b6dd43fe73 Merge pull request #15974 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v7.0.1
2025-11-27 10:31:02 +01:00
Oleh Strokan
62242bcab9 feat(microservices): add keepalive support for server side 2025-11-25 20:04:36 +01:00
renovate[bot]
e56b9157de fix(deps): update dependency @prisma/client to v7.0.1 2025-11-25 18:43:50 +00:00
renovate[bot]
b5db102875 chore(deps): update dependency body-parser to v2.2.1 [security] 2025-11-25 18:43:43 +00:00
dependabot[bot]
74f6b71daf chore(deps): bump class-validator from 0.14.2 to 0.14.3
Bumps [class-validator](https://github.com/typestack/class-validator) from 0.14.2 to 0.14.3.
- [Release notes](https://github.com/typestack/class-validator/releases)
- [Changelog](https://github.com/typestack/class-validator/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/typestack/class-validator/compare/v0.14.2...v0.14.3)

---
updated-dependencies:
- dependency-name: class-validator
  dependency-version: 0.14.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 00:13:56 +00:00
dependabot[bot]
1f93504c18 chore(deps-dev): bump body-parser from 2.2.0 to 2.2.1
Bumps [body-parser](https://github.com/expressjs/body-parser) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/v2.2.0...v2.2.1)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-version: 2.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 00:12:21 +00:00
renovate[bot]
9b1e97153a fix(deps): update dependency class-validator to v0.14.3 2025-11-24 13:14:35 +00:00
renovate[bot]
f3db5c769b fix(deps): update dependency mongoose to v9 2025-11-24 09:33:25 +00:00
renovate[bot]
c84115754f fix(deps): update dependency @apollo/server to v5.2.0 2025-11-24 09:33:20 +00:00
Kamil Mysliwiec
ebe6c9549b Merge pull request #15966 from nestjs/dependabot/npm_and_yarn/mongoose-9.0.0
chore(deps-dev): bump mongoose from 8.20.1 to 9.0.0
2025-11-24 10:31:10 +01:00
Kamil Mysliwiec
49d9ac8f3a Merge pull request #15967 from nestjs/dependabot/npm_and_yarn/apollo/server-5.2.0
chore(deps-dev): bump @apollo/server from 5.1.0 to 5.2.0
2025-11-24 10:31:01 +01:00
dependabot[bot]
9d56bc91d3 chore(deps-dev): bump @apollo/server from 5.1.0 to 5.2.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@5.2.0/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-version: 5.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 00:02:43 +00:00
dependabot[bot]
c5dd73bd90 chore(deps-dev): bump mongoose from 8.20.1 to 9.0.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.20.1 to 9.0.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.20.1...9.0.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 00:02:11 +00:00
Kamil Mysliwiec
8f3d51f8d5 Merge pull request #15959 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.20.1
2025-11-21 08:37:01 +01:00
Kamil Mysliwiec
432dfb37d8 Merge pull request #15954 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.10.0
2025-11-21 08:36:51 +01:00
Kamil Mysliwiec
6177fe5c8c Merge pull request #15957 from nestjs/dependabot/npm_and_yarn/mongoose-8.20.1
chore(deps-dev): bump mongoose from 8.20.0 to 8.20.1
2025-11-21 08:36:43 +01:00
Kamil Mysliwiec
27a970a70a Merge pull request #15955 from nestjs/renovate/actions-checkout-6.x
chore(deps): update actions/checkout action to v6
2025-11-21 08:36:35 +01:00
Kamil Mysliwiec
5d71b02811 Merge pull request #15958 from nestjs/dependabot/npm_and_yarn/http-errors-2.0.1
chore(deps-dev): bump http-errors from 2.0.0 to 2.0.1
2025-11-21 08:36:25 +01:00
renovate[bot]
4838d857dc fix(deps): update dependency mongoose to v8.20.1 2025-11-21 00:02:52 +00:00
dependabot[bot]
307333fcae chore(deps-dev): bump http-errors from 2.0.0 to 2.0.1
Bumps [http-errors](https://github.com/jshttp/http-errors) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/jshttp/http-errors/releases)
- [Changelog](https://github.com/jshttp/http-errors/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/http-errors/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: http-errors
  dependency-version: 2.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 00:02:04 +00:00
dependabot[bot]
ed2d6c7930 chore(deps-dev): bump mongoose from 8.20.0 to 8.20.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.20.0 to 8.20.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.20.0...8.20.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.20.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 00:01:43 +00:00
renovate[bot]
6a5fe199e2 chore(deps): update dependency redis to v5.10.0 2025-11-20 19:02:58 +00:00
renovate[bot]
3590b7074a chore(deps): update actions/checkout action to v6 2025-11-20 19:00:41 +00:00
Kamil Mysliwiec
34956f1ff9 Merge pull request #15952 from nestjs/renovate/eventsource-4.x
chore(deps): update dependency eventsource to v4.1.0
2025-11-20 19:59:34 +01:00
Kamil Mysliwiec
c66213038d Merge pull request #15951 from nestjs/dependabot/npm_and_yarn/lint-staged-16.2.7
chore(deps-dev): bump lint-staged from 16.2.6 to 16.2.7
2025-11-20 19:59:25 +01:00
Kamil Mysliwiec
cd52be8da7 Merge pull request #15946 from nestjs/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16.2.7
2025-11-20 19:59:09 +01:00
Kamil Mysliwiec
c023903b4b Merge pull request #15944 from nestjs/renovate/major-prisma-monorepo
fix(deps): update prisma monorepo to v7 (major)
2025-11-20 19:59:00 +01:00
Kamil Mysliwiec
bca902f7f2 Merge pull request #15945 from nestjs/renovate/rimraf-6.x
fix(deps): update dependency rimraf to v6.1.2
2025-11-20 19:58:49 +01:00
Kamil Mysliwiec
07028359fa Merge pull request #15947 from nestjs/renovate/file-type-21.x
fix(deps): update dependency file-type to v21.1.1
2025-11-20 19:58:40 +01:00
Kamil Mysliwiec
f57d338b98 Merge pull request #15948 from nestjs/dependabot/npm_and_yarn/file-type-21.1.1
chore(deps): bump file-type from 21.1.0 to 21.1.1
2025-11-20 19:58:20 +01:00
Kamil Mysliwiec
4750253015 Merge pull request #15949 from nestjs/dependabot/npm_and_yarn/eventsource-4.1.0
chore(deps-dev): bump eventsource from 4.0.0 to 4.1.0
2025-11-20 19:58:16 +01:00
Kamil Mysliwiec
58c4ab55ad Merge pull request #15950 from nestjs/dependabot/npm_and_yarn/redis-5.10.0
chore(deps-dev): bump redis from 5.9.0 to 5.10.0
2025-11-20 19:58:09 +01:00
Kamil Mysliwiec
58be7c0b5f Merge pull request #15941 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.12
2025-11-20 19:58:02 +01:00
renovate[bot]
47efdda454 chore(deps): update dependency eventsource to v4.1.0 2025-11-20 11:37:47 +00:00
dependabot[bot]
24c776b1e9 chore(deps-dev): bump lint-staged from 16.2.6 to 16.2.7
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.6 to 16.2.7.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.6...v16.2.7)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 00:03:15 +00:00
dependabot[bot]
4eaa532f0d chore(deps-dev): bump redis from 5.9.0 to 5.10.0
Bumps [redis](https://github.com/redis/node-redis) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.9.0...redis@5.10.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 00:02:49 +00:00
dependabot[bot]
0d5c88ea84 chore(deps-dev): bump eventsource from 4.0.0 to 4.1.0
Bumps [eventsource](https://github.com/EventSource/eventsource) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 00:02:07 +00:00
dependabot[bot]
ada33a1578 chore(deps): bump file-type from 21.1.0 to 21.1.1
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.1.0 to 21.1.1.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.1.0...v21.1.1)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-20 00:01:36 +00:00
renovate[bot]
9732ea35ac fix(deps): update dependency file-type to v21.1.1 2025-11-19 21:42:19 +00:00
renovate[bot]
566c510c78 chore(deps): update dependency lint-staged to v16.2.7 2025-11-19 21:42:07 +00:00
renovate[bot]
413d58e5b1 fix(deps): update dependency rimraf to v6.1.2 2025-11-19 16:42:49 +00:00
renovate[bot]
46f34f9f22 fix(deps): update prisma monorepo to v7 2025-11-19 12:47:31 +00:00
renovate[bot]
2874455ba7 chore(deps): update dependency @nestjs/cli to v11.0.12 2025-11-19 12:47:26 +00:00
Kamil Mysliwiec
65ce61ddd0 Merge pull request #15942 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.103.0
2025-11-19 09:52:16 +01:00
Kamil Mysliwiec
5c3c50754e Merge pull request #15940 from nestjs/dependabot/npm_and_yarn/core-js-3.47.0
chore(deps-dev): bump core-js from 3.46.0 to 3.47.0
2025-11-19 09:52:04 +01:00
renovate[bot]
2c1217a2cf chore(deps): update dependency webpack to v5.103.0 2025-11-19 08:50:33 +00:00
Kamil Mysliwiec
dda4c4c334 Merge pull request #15939 from nestjs/dependabot/npm_and_yarn/artillery-2.0.27
chore(deps-dev): bump artillery from 2.0.26 to 2.0.27
2025-11-19 09:49:09 +01:00
dependabot[bot]
9bc0564ca8 chore(deps-dev): bump core-js from 3.46.0 to 3.47.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.46.0 to 3.47.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.47.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.47.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 00:02:16 +00:00
dependabot[bot]
e88aa1adba chore(deps-dev): bump artillery from 2.0.26 to 2.0.27
Bumps [artillery](https://github.com/artilleryio/artillery) from 2.0.26 to 2.0.27.
- [Release notes](https://github.com/artilleryio/artillery/releases)
- [Commits](https://github.com/artilleryio/artillery/compare/artillery-2.0.26...artillery-2.0.27)

---
updated-dependencies:
- dependency-name: artillery
  dependency-version: 2.0.27
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 00:01:46 +00:00
Kamil Mysliwiec
b9060c9f71 Merge pull request #15932 from nestjs/dependabot/npm_and_yarn/multi-75e6bc5210
chore(deps): bump js-yaml
2025-11-18 18:24:42 +01:00
Kamil Mysliwiec
caaf66f273 Merge pull request #15933 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.2.3
2025-11-18 11:08:00 +01:00
renovate[bot]
386c1b1a82 fix(deps): update dependency @nestjs/swagger to v11.2.3 2025-11-18 10:01:00 +00:00
dependabot[bot]
de6eace57a chore(deps): bump js-yaml
Bumps  and [js-yaml](https://github.com/nodeca/js-yaml). These dependencies needed to be updated together.

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

Updates `js-yaml` from 4.1.0 to 4.1.1
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 10:00:21 +00:00
Kamil Mysliwiec
d7199f4abe Merge pull request #15927 from nestjs/dependabot/npm_and_yarn/types/sinon-21.0.0
chore(deps-dev): bump @types/sinon from 20.0.0 to 21.0.0
2025-11-18 10:59:45 +01:00
Kamil Mysliwiec
d7e856b60a Merge pull request #15930 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.20.0
2025-11-18 10:59:29 +01:00
Kamil Mysliwiec
a08e1a762c Merge pull request #15931 from nestjs/renovate/sinon-21.x
chore(deps): update dependency @types/sinon to v21
2025-11-18 10:59:18 +01:00
Kamil Mysliwiec
69ae8d1ac1 Merge pull request #15929 from nestjs/dependabot/npm_and_yarn/mongoose-8.20.0
chore(deps-dev): bump mongoose from 8.19.4 to 8.20.0
2025-11-18 10:59:07 +01:00
Kamil Mysliwiec
9457ce029e Merge pull request #15922 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.5
2025-11-18 10:58:57 +01:00
renovate[bot]
dd34b6744b chore(deps): update dependency @types/sinon to v21 2025-11-18 00:04:42 +00:00
renovate[bot]
2b551108c3 fix(deps): update dependency mongoose to v8.20.0 2025-11-18 00:04:30 +00:00
dependabot[bot]
dd2385976e chore(deps-dev): bump mongoose from 8.19.4 to 8.20.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.19.4 to 8.20.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.19.4...8.20.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.20.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 00:02:47 +00:00
dependabot[bot]
71c8fbe2ef chore(deps-dev): bump @types/sinon from 20.0.0 to 21.0.0
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 20.0.0 to 21.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: "@types/sinon"
  dependency-version: 21.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 00:01:48 +00:00
renovate[bot]
599dc58918 fix(deps): update dependency cache-manager to v7.2.5 2025-11-17 08:42:36 +00:00
Kamil Mysliwiec
56588bcfab Merge pull request #15924 from nestjs/dependabot/npm_and_yarn/mongoose-8.19.4
chore(deps-dev): bump mongoose from 8.19.3 to 8.19.4
2025-11-17 09:40:29 +01:00
Kamil Mysliwiec
cdb53246e3 Merge pull request #15925 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.5
chore(deps-dev): bump cache-manager from 7.2.4 to 7.2.5
2025-11-17 09:40:12 +01:00
Kamil Mysliwiec
f7749bdd3e Merge pull request #15921 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.2.2
2025-11-17 09:39:53 +01:00
dependabot[bot]
a61419db2f chore(deps-dev): bump cache-manager from 7.2.4 to 7.2.5
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.2.4 to 7.2.5.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 00:03:04 +00:00
dependabot[bot]
6083893543 chore(deps-dev): bump mongoose from 8.19.3 to 8.19.4
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.19.3 to 8.19.4.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.19.3...8.19.4)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.19.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 00:02:47 +00:00
renovate[bot]
02a6f2b661 fix(deps): update dependency @nestjs/swagger to v11.2.2 2025-11-16 16:49:33 +00:00
Kamil Mysliwiec
88b3ce7d71 Merge pull request #15920 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.19.4
2025-11-16 17:46:59 +01:00
renovate[bot]
b180c89ec7 fix(deps): update dependency mongoose to v8.19.4 2025-11-16 14:49:37 +00:00
Kamil Mysliwiec
202c16ce01 Merge pull request #15918 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.9
2025-11-16 15:46:44 +01:00
renovate[bot]
cf76d42803 fix(deps): update nest monorepo to v11.1.9 2025-11-14 20:16:41 +00:00
Kamil Myśliwiec
64c85527f5 chore(@nestjs) publish v11.1.9 release 2025-11-14 11:18:00 +01:00
Kamil Mysliwiec
5170e60a20 Merge pull request #15865 from JoeNutt/fix/core-implicit-request-scope-get-throws
fix(core): make get() throw for implicitly request-scoped trees
2025-11-14 11:17:15 +01:00
Kamil Mysliwiec
26f8f5a5e0 Merge pull request #15863 from TomerSteinberg/TomerSteinberg-feat/sse-method-options
feat(common): add method options to @sse decorator
2025-11-14 11:16:43 +01:00
Kamil Mysliwiec
3c156f2c53 Merge pull request #15916 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages to v2.12.1
2025-11-13 20:48:01 +01:00
Kamil Mysliwiec
03f521581d Merge pull request #15917 from nestjs/renovate/mercurius-16.x
fix(deps): update dependency mercurius to v16.6.0
2025-11-13 20:47:50 +01:00
renovate[bot]
62d221bc3b fix(deps): update dependency mercurius to v16.6.0 2025-11-13 18:49:02 +00:00
renovate[bot]
9a5d67e277 fix(deps): update apollo graphql packages to v2.12.1 2025-11-13 18:48:54 +00:00
Kamil Mysliwiec
44ccfd5219 Merge pull request #15911 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.1
2025-11-13 09:25:36 +01:00
Kamil Mysliwiec
fdac37d975 Merge pull request #15915 from nestjs/dependabot/npm_and_yarn/types/sinon-20.0.0
chore(deps-dev): bump @types/sinon from 17.0.4 to 20.0.0
2025-11-13 09:23:11 +01:00
dependabot[bot]
63ca3d42df chore(deps-dev): bump @types/sinon from 17.0.4 to 20.0.0
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 17.0.4 to 20.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: "@types/sinon"
  dependency-version: 20.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-13 00:02:33 +00:00
renovate[bot]
191d91b2d8 chore(deps): update dependency @types/node to v24.10.1 2025-11-12 17:03:29 +00:00
Kamil Mysliwiec
668b7adac9 Merge pull request #15912 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-11-12 18:01:33 +01:00
Kamil Mysliwiec
5c1b93b137 Merge pull request #15891 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.14.1
2025-11-12 18:01:22 +01:00
Kamil Mysliwiec
7298f56cb1 Merge pull request #15905 from nestjs/renovate/nodemon-3.x
chore(deps): update dependency nodemon to v3.1.11
2025-11-12 18:01:11 +01:00
renovate[bot]
7afb53f899 fix(deps): update dependency @grpc/grpc-js to v1.14.1 2025-11-12 12:38:29 +00:00
renovate[bot]
04621d8480 chore(deps): update dependency nodemon to v3.1.11 2025-11-12 12:37:57 +00:00
renovate[bot]
542ba807c8 fix(deps): update graphql-tools monorepo 2025-11-12 12:35:38 +00:00
Kamil Mysliwiec
aa31a88e3e Merge pull request #15904 from nestjs/renovate/file-type-21.x
fix(deps): update dependency file-type to v21.1.0
2025-11-12 13:34:22 +01:00
Kamil Mysliwiec
0aced6f5c4 Merge pull request #15899 from nestjs/dependabot/npm_and_yarn/fastify-5.6.2
chore(deps): bump fastify from 5.6.1 to 5.6.2
2025-11-12 13:34:15 +01:00
Kamil Mysliwiec
cfec76cb7b Merge pull request #15898 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.14.1
chore(deps-dev): bump @grpc/grpc-js from 1.14.0 to 1.14.1
2025-11-12 13:34:07 +01:00
Kamil Mysliwiec
3009d21be1 Merge pull request #15901 from nestjs/dependabot/npm_and_yarn/file-type-21.1.0
chore(deps): bump file-type from 21.0.0 to 21.1.0
2025-11-12 13:33:47 +01:00
Kamil Mysliwiec
da9c3181a7 Merge pull request #15907 from nestjs/dependabot/npm_and_yarn/graphql-tools-9.0.23
chore(deps-dev): bump graphql-tools from 9.0.22 to 9.0.23
2025-11-12 13:33:41 +01:00
Kamil Mysliwiec
96332c7cd0 Merge pull request #15908 from nestjs/dependabot/npm_and_yarn/types/node-24.10.1
chore(deps-dev): bump @types/node from 24.10.0 to 24.10.1
2025-11-12 13:33:34 +01:00
Kamil Mysliwiec
94f95ae03b Merge pull request #15909 from nestjs/dependabot/npm_and_yarn/nodemon-3.1.11
chore(deps-dev): bump nodemon from 3.1.10 to 3.1.11
2025-11-12 13:32:59 +01:00
dependabot[bot]
49b4b86b02 chore(deps-dev): bump nodemon from 3.1.10 to 3.1.11
Bumps [nodemon](https://github.com/remy/nodemon) from 3.1.10 to 3.1.11.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.1.10...v3.1.11)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-version: 3.1.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 00:03:12 +00:00
dependabot[bot]
4b61917926 chore(deps-dev): bump @types/node from 24.10.0 to 24.10.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.0 to 24.10.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.10.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 00:02:54 +00:00
dependabot[bot]
3741ee3baf chore(deps-dev): bump graphql-tools from 9.0.22 to 9.0.23
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 9.0.22 to 9.0.23.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/graphql-tools/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/graphql-tools@9.0.23/packages/graphql-tools)

---
updated-dependencies:
- dependency-name: graphql-tools
  dependency-version: 9.0.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-12 00:01:48 +00:00
renovate[bot]
4e94250485 fix(deps): update dependency file-type to v21.1.0 2025-11-11 00:13:51 +00:00
dependabot[bot]
4c268d75f1 chore(deps): bump file-type from 21.0.0 to 21.1.0
Bumps [file-type](https://github.com/sindresorhus/file-type) from 21.0.0 to 21.1.0.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v21.0.0...v21.1.0)

---
updated-dependencies:
- dependency-name: file-type
  dependency-version: 21.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-11 00:10:43 +00:00
dependabot[bot]
276bd7c1e5 chore(deps): bump fastify from 5.6.1 to 5.6.2
Bumps [fastify](https://github.com/fastify/fastify) from 5.6.1 to 5.6.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.6.1...v5.6.2)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 00:02:10 +00:00
dependabot[bot]
e8ce855cec chore(deps-dev): bump @grpc/grpc-js from 1.14.0 to 1.14.1
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.14.0...@grpc/grpc-js@1.14.1)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-version: 1.14.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 00:01:49 +00:00
Kamil Mysliwiec
dbdf0dc27f Merge pull request #15893 from dev-rhynel/patch-2
Update target attribute for Nest logo link
2025-11-09 13:37:30 +01:00
Rhynel Algopera
d64cef2598 Update target attribute for Nest logo link 2025-11-09 02:54:21 +08:00
Kamil Mysliwiec
7b5a8cc2e6 Merge pull request #15889 from WuMingDao/patch-1
Fix: grammar issue in readme.md
2025-11-07 09:41:48 +01:00
WuMingDao
45952ef7c4 Fix: grammar issue in readme.md 2025-11-07 16:11:33 +08:00
Kamil Mysliwiec
fcb92faac8 Merge pull request #15888 from nestjs/renovate/mongodb-7.x
fix(deps): update dependency mongodb to v7
2025-11-06 21:53:53 +01:00
renovate[bot]
3bd0ea8979 fix(deps): update dependency mongodb to v7 2025-11-06 17:54:07 +00:00
Kamil Mysliwiec
24bcf18d3f Add new sponsor logo for Pandektes 2025-11-06 10:00:33 +01:00
Kamil Mysliwiec
da603dffdf Update Readme.md 2025-11-06 09:59:32 +01:00
Kamil Mysliwiec
db2d283eb7 Merge pull request #15885 from nestjs/dependabot/npm_and_yarn/graphql-tools-9.0.22
chore(deps-dev): bump graphql-tools from 9.0.21 to 9.0.22
2025-11-06 09:51:02 +01:00
Kamil Mysliwiec
79436a22a9 Merge pull request #15886 from nestjs/dependabot/npm_and_yarn/mocha-11.7.5
chore(deps-dev): bump mocha from 11.7.4 to 11.7.5
2025-11-06 09:50:44 +01:00
Kamil Mysliwiec
e2989ccce8 Merge pull request #15887 from nestjs/dependabot/npm_and_yarn/mongoose-8.19.3
chore(deps-dev): bump mongoose from 8.19.2 to 8.19.3
2025-11-06 09:50:35 +01:00
Kamil Mysliwiec
265332812d Merge pull request #15884 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.19.0
2025-11-06 09:49:52 +01:00
dependabot[bot]
dd36e474f7 chore(deps-dev): bump mongoose from 8.19.2 to 8.19.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.19.2 to 8.19.3.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.19.2...8.19.3)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.19.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 00:04:08 +00:00
dependabot[bot]
d03978e402 chore(deps-dev): bump mocha from 11.7.4 to 11.7.5
Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.4 to 11.7.5.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/v11.7.5/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.7.4...v11.7.5)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 11.7.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 00:03:13 +00:00
dependabot[bot]
fc0cfa567c chore(deps-dev): bump graphql-tools from 9.0.21 to 9.0.22
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 9.0.21 to 9.0.22.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/graphql-tools/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/graphql-tools@9.0.22/packages/graphql-tools)

---
updated-dependencies:
- dependency-name: graphql-tools
  dependency-version: 9.0.22
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 00:02:52 +00:00
renovate[bot]
930c30520e fix(deps): update dependency @prisma/client to v6.19.0 2025-11-05 17:44:05 +00:00
Kamil Mysliwiec
85c967c6ac Merge pull request #15879 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.19.3
2025-11-05 11:52:12 +01:00
Kamil Mysliwiec
616c04ddfb Merge pull request #15867 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.39.1
2025-11-05 11:52:02 +01:00
renovate[bot]
c597248026 chore(deps): update eslint monorepo to v9.39.1 2025-11-05 09:14:10 +00:00
renovate[bot]
6fbcc1c0a4 fix(deps): update dependency mongoose to v8.19.3 2025-11-05 09:13:52 +00:00
Kamil Mysliwiec
4e4c488612 Merge pull request #15880 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-11-05 10:11:47 +01:00
Kamil Mysliwiec
42ec514ad8 Merge pull request #15882 from nestjs/renovate/mocha-11.x
chore(deps): update dependency mocha to v11.7.5
2025-11-05 10:11:28 +01:00
renovate[bot]
4fc991ac80 chore(deps): update dependency mocha to v11.7.5 2025-11-05 08:21:47 +00:00
Kamil Mysliwiec
e24b5542e2 Merge pull request #15877 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.46.3
2025-11-05 09:19:54 +01:00
Kamil Mysliwiec
c1cae543b0 Merge pull request #15881 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages to v2.12.0
2025-11-05 09:19:48 +01:00
renovate[bot]
8b25e59447 fix(deps): update apollo graphql packages to v2.12.0 2025-11-04 21:26:15 +00:00
renovate[bot]
1b116d2caf fix(deps): update graphql-tools monorepo 2025-11-04 18:11:46 +00:00
renovate[bot]
9854350acd chore(deps): update typescript-eslint monorepo to v8.46.3 2025-11-04 08:34:09 +00:00
Kamil Mysliwiec
2aea174baa Merge pull request #15876 from nestjs/dependabot/npm_and_yarn/eslint-9.39.1
chore(deps-dev): bump eslint from 9.39.0 to 9.39.1
2025-11-04 09:32:44 +01:00
Kamil Mysliwiec
88990040df Merge pull request #15875 from nestjs/dependabot/npm_and_yarn/types/node-24.10.0
chore(deps-dev): bump @types/node from 24.9.2 to 24.10.0
2025-11-04 09:32:38 +01:00
Kamil Mysliwiec
048a99be5c Merge pull request #15874 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.46.3
chore(deps-dev): bump typescript-eslint from 8.46.2 to 8.46.3
2025-11-04 09:32:29 +01:00
Kamil Mysliwiec
d48f662087 Merge pull request #15866 from nestjs/renovate/globals-16.x
chore(deps): update dependency globals to v16.5.0
2025-11-04 09:32:23 +01:00
dependabot[bot]
3910a69251 chore(deps-dev): bump eslint from 9.39.0 to 9.39.1
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.0 to 9.39.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.39.0...v9.39.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.39.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-04 00:02:57 +00:00
dependabot[bot]
867cd78644 chore(deps-dev): bump @types/node from 24.9.2 to 24.10.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.9.2 to 24.10.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-04 00:02:12 +00:00
dependabot[bot]
e96025612c chore(deps-dev): bump typescript-eslint from 8.46.2 to 8.46.3
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.46.2 to 8.46.3.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.3/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.46.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-04 00:01:45 +00:00
renovate[bot]
ae727cd36f chore(deps): update dependency globals to v16.5.0 2025-11-03 10:19:48 +00:00
Kamil Mysliwiec
c0dc1ece22 Merge pull request #15872 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.10.0
2025-11-03 11:17:34 +01:00
Kamil Mysliwiec
0f29963001 Merge pull request #15870 from nestjs/dependabot/npm_and_yarn/globals-16.5.0
chore(deps-dev): bump globals from 16.4.0 to 16.5.0
2025-11-03 11:17:26 +01:00
dependabot[bot]
a4b02a3c0e chore(deps-dev): bump globals from 16.4.0 to 16.5.0
Bumps [globals](https://github.com/sindresorhus/globals) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.4.0...v16.5.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 16.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 08:51:39 +00:00
renovate[bot]
608bd5ca64 chore(deps): update dependency @types/node to v24.10.0 2025-11-03 08:44:48 +00:00
Kamil Mysliwiec
1186255903 Merge pull request #15868 from nestjs/renovate/delay-7.x
fix(deps): update dependency delay to v7
2025-11-03 09:34:26 +01:00
Kamil Mysliwiec
05da181551 Merge pull request #15869 from nestjs/dependabot/npm_and_yarn/eslint-9.39.0
chore(deps-dev): bump eslint from 9.38.0 to 9.39.0
2025-11-03 09:34:06 +01:00
Kamil Mysliwiec
08f1997667 Merge pull request #15871 from nestjs/dependabot/npm_and_yarn/graphql-16.12.0
chore(deps-dev): bump graphql from 16.11.0 to 16.12.0
2025-11-03 09:33:28 +01:00
dependabot[bot]
c0358517be chore(deps-dev): bump graphql from 16.11.0 to 16.12.0
Bumps [graphql](https://github.com/graphql/graphql-js) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v16.11.0...v16.12.0)

---
updated-dependencies:
- dependency-name: graphql
  dependency-version: 16.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 00:03:08 +00:00
dependabot[bot]
252d45e1a7 chore(deps-dev): bump eslint from 9.38.0 to 9.39.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.38.0 to 9.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.38.0...v9.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 00:02:16 +00:00
renovate[bot]
b1fdf33987 fix(deps): update dependency delay to v7 2025-11-02 14:37:42 +00:00
Joseph Nutt
cc50925c04 fix(core): make get() throw for implicitly request-scoped trees
Treat non-static dependency trees as scoped in get(); instruct consumers to use resolve().\n\nAdds focused tests under NestApplicationContext spec to cover implicit request scope via enhancers.\n\nCloses #15836.
2025-11-01 13:07:31 +00:00
Tomer Steinberg
fcfea5ed2a feat(common): add method options to @sse decorator 2025-10-31 17:31:02 +02:00
Kamil Mysliwiec
ba1647821b Merge pull request #15858 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-10-31 10:07:32 +01:00
renovate[bot]
ad324968e5 fix(deps): update graphql-tools monorepo 2025-10-31 08:23:24 +00:00
Kamil Mysliwiec
a4c6a041b0 Merge pull request #15861 from nestjs/renovate/rimraf-6.x
fix(deps): update dependency rimraf to v6.1.0
2025-10-31 09:22:16 +01:00
Kamil Mysliwiec
c461d7fb3e Merge pull request #15862 from nestjs/dependabot/npm_and_yarn/graphql-tools-9.0.21
chore(deps-dev): bump graphql-tools from 9.0.20 to 9.0.21
2025-10-31 09:22:11 +01:00
dependabot[bot]
ce66af53d7 chore(deps-dev): bump graphql-tools from 9.0.20 to 9.0.21
Bumps [graphql-tools](https://github.com/ardatan/graphql-tools/tree/HEAD/packages/graphql-tools) from 9.0.20 to 9.0.21.
- [Release notes](https://github.com/ardatan/graphql-tools/releases)
- [Changelog](https://github.com/ardatan/graphql-tools/blob/master/packages/graphql-tools/CHANGELOG.md)
- [Commits](https://github.com/ardatan/graphql-tools/commits/graphql-tools@9.0.21/packages/graphql-tools)

---
updated-dependencies:
- dependency-name: graphql-tools
  dependency-version: 9.0.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-31 00:01:46 +00:00
renovate[bot]
376f25384f fix(deps): update dependency rimraf to v6.1.0 2025-10-30 23:23:52 +00:00
Kamil Mysliwiec
086dbe2160 Merge pull request #15857 from nestjs/renovate/apollo-graphql-packages
fix(deps): update dependency @apollo/server to v5.1.0
2025-10-29 10:58:54 +01:00
Kamil Mysliwiec
e620668039 Merge pull request #15853 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.9.2
2025-10-29 10:58:45 +01:00
renovate[bot]
09819fa920 fix(deps): update dependency @apollo/server to v5.1.0 2025-10-29 09:32:58 +00:00
renovate[bot]
9098353d2b chore(deps): update dependency @types/node to v24.9.2 2025-10-29 09:32:53 +00:00
Kamil Mysliwiec
92a95ece38 Merge pull request #15855 from nestjs/dependabot/npm_and_yarn/apollo/server-5.1.0
chore(deps-dev): bump @apollo/server from 5.0.0 to 5.1.0
2025-10-29 10:30:41 +01:00
Kamil Mysliwiec
b83a3b224e Merge pull request #15856 from nestjs/dependabot/npm_and_yarn/types/node-24.9.2
chore(deps-dev): bump @types/node from 24.9.1 to 24.9.2
2025-10-29 10:29:32 +01:00
Kamil Mysliwiec
2aec115954 Merge pull request #15854 from nestjs/renovate/mongo-8.x
chore(deps): update mongo docker tag to v8.2
2025-10-29 10:29:22 +01:00
dependabot[bot]
49669694a3 chore(deps-dev): bump @types/node from 24.9.1 to 24.9.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.9.1 to 24.9.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.9.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-29 00:02:15 +00:00
dependabot[bot]
8892e91d1a chore(deps-dev): bump @apollo/server from 5.0.0 to 5.1.0
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Changelog](https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-server/commits/@apollo/server@5.1.0/packages/server)

---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-version: 5.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-29 00:01:50 +00:00
renovate[bot]
7ae529b31c chore(deps): update mongo docker tag to v8.2 2025-10-28 20:00:28 +00:00
Kamil Mysliwiec
dabf31f514 Merge pull request #15849 from nestjs/renovate/express-5.x
chore(deps): update dependency @types/express to v5.0.5
2025-10-28 10:53:31 +01:00
renovate[bot]
27c0c417b2 chore(deps): update dependency @types/express to v5.0.5 2025-10-28 08:29:32 +00:00
Kamil Mysliwiec
cd7ad9f4cd Merge pull request #15848 from nestjs/dependabot/npm_and_yarn/types/express-5.0.5
chore(deps-dev): bump @types/express from 5.0.4 to 5.0.5
2025-10-28 09:27:59 +01:00
Kamil Mysliwiec
d5835eb8d5 Merge pull request #15850 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24
2025-10-28 09:27:54 +01:00
Kamil Mysliwiec
469c21ffbb Merge pull request #15851 from nestjs/dependabot/npm_and_yarn/validator-13.15.20
chore(deps): bump validator from 13.12.0 to 13.15.20
2025-10-28 09:27:47 +01:00
dependabot[bot]
394e7b9adb chore(deps): bump validator from 13.12.0 to 13.15.20
Bumps [validator](https://github.com/validatorjs/validator.js) from 13.12.0 to 13.15.20.
- [Release notes](https://github.com/validatorjs/validator.js/releases)
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/validatorjs/validator.js/compare/13.12.0...13.15.20)

---
updated-dependencies:
- dependency-name: validator
  dependency-version: 13.15.20
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 02:44:28 +00:00
renovate[bot]
c22589895b chore(deps): update dependency @types/node to v24 2025-10-28 01:32:05 +00:00
dependabot[bot]
ee00778480 chore(deps-dev): bump @types/express from 5.0.4 to 5.0.5
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-version: 5.0.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 01:29:39 +00:00
Alexander Suvorov
17358676da chore: trigger ci build 2025-10-28 01:49:43 +03:00
Kamil Mysliwiec
04fb2ee24e Merge pull request #15846 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.8
2025-10-27 11:31:30 +01:00
renovate[bot]
1ff2dd11af fix(deps): update nest monorepo to v11.1.8 2025-10-27 09:23:51 +00:00
Kamil Mysliwiec
eaf1e9770e Merge pull request #15845 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.8
2025-10-27 10:22:14 +01:00
Kamil Mysliwiec
23c90e4de2 Merge pull request #15822 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.18.0
2025-10-27 10:22:06 +01:00
renovate[bot]
a9bd4ddac9 fix(deps): update nest monorepo to v11.1.8 2025-10-27 09:04:17 +00:00
renovate[bot]
ec29bb36d6 fix(deps): update dependency @prisma/client to v6.18.0 2025-10-27 09:02:07 +00:00
Kamil Myśliwiec
68cd545949 chore(@nestjs) publish v11.1.8 release 2025-10-27 10:00:53 +01:00
Kamil Mysliwiec
46411cf0cf Merge pull request #15832 from nestjs/renovate/amqplib-0.x
chore(deps): update dependency @types/amqplib to v0.10.8
2025-10-27 10:00:11 +01:00
renovate[bot]
f796cba79c chore(deps): update dependency @types/amqplib to v0.10.8 2025-10-27 08:56:21 +00:00
Kamil Mysliwiec
f70be75684 Merge pull request #15820 from nestjs/renovate/mysql-9.x
chore(deps): update mysql docker tag to v9.5.0
2025-10-27 09:54:14 +01:00
renovate[bot]
61e9782f0d chore(deps): update mysql docker tag to v9.5.0 2025-10-27 08:31:56 +00:00
Kamil Mysliwiec
334012e5b9 Merge pull request #15815 from mag123c/fix/transient-nested-dependency-isolation
fix(core): ensure nested transient provider isolation
2025-10-27 09:31:06 +01:00
Kamil Mysliwiec
cead80abe4 Merge pull request #15829 from nestjs/dependabot/npm_and_yarn/redis-5.9.0
chore(deps-dev): bump redis from 5.8.3 to 5.9.0
2025-10-27 09:30:19 +01:00
dependabot[bot]
125157e76b chore(deps-dev): bump redis from 5.8.3 to 5.9.0
Bumps [redis](https://github.com/redis/node-redis) from 5.8.3 to 5.9.0.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.8.3...redis@5.9.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 08:24:08 +00:00
Kamil Mysliwiec
e06df79140 Merge pull request #15824 from nestjs/dependabot/npm_and_yarn/lint-staged-16.2.6
chore(deps-dev): bump lint-staged from 16.2.5 to 16.2.6
2025-10-27 09:20:45 +01:00
Kamil Mysliwiec
0355ad452d Merge pull request #15828 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.9.0
2025-10-27 09:20:37 +01:00
Kamil Mysliwiec
f8375d1c7a Merge pull request #15844 from nestjs/renovate/express-5.x
chore(deps): update dependency @types/express to v5.0.4
2025-10-27 09:20:22 +01:00
Kamil Mysliwiec
b57c06385f Merge pull request #15831 from kim-sung-jee/fix/fastify-top-level-options
fix(fastify): Migrate fastify top-level options to routerOptions
2025-10-27 09:20:11 +01:00
renovate[bot]
66f1d42c65 chore(deps): update dependency redis to v5.9.0 2025-10-27 08:18:17 +00:00
renovate[bot]
e147a00d86 chore(deps): update dependency @types/express to v5.0.4 2025-10-27 08:17:50 +00:00
Kamil Mysliwiec
994f51e5b6 Merge pull request #15840 from nestjs/dependabot/npm_and_yarn/types/express-5.0.4
chore(deps-dev): bump @types/express from 5.0.3 to 5.0.4
2025-10-27 09:16:11 +01:00
Kamil Mysliwiec
bd58c7a05a Merge pull request #15827 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.28.5
2025-10-27 09:15:57 +01:00
renovate[bot]
be3f3efeb8 chore(deps): update babel monorepo to v7.28.5 2025-10-27 08:13:24 +00:00
dependabot[bot]
aee2cd41e5 chore(deps-dev): bump @types/express from 5.0.3 to 5.0.4
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 08:11:35 +00:00
Kamil Mysliwiec
8ef8e899e2 Merge pull request #15841 from nestjs/dependabot/npm_and_yarn/types/amqplib-0.10.8
chore(deps-dev): bump @types/amqplib from 0.10.7 to 0.10.8
2025-10-27 09:08:49 +01:00
Kamil Mysliwiec
91de2fba50 Merge pull request #15842 from nestjs/dependabot/npm_and_yarn/fastify/multipart-9.3.0
chore(deps-dev): bump @fastify/multipart from 9.2.1 to 9.3.0
2025-10-27 09:08:41 +01:00
Kamil Mysliwiec
a40d4ac2dc Merge pull request #15843 from nestjs/dependabot/npm_and_yarn/types/gulp-4.0.18
chore(deps-dev): bump @types/gulp from 4.0.17 to 4.0.18
2025-10-27 09:08:31 +01:00
Kamil Mysliwiec
28ee401e98 Merge pull request #15819 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.15.3
2025-10-27 09:08:22 +01:00
dependabot[bot]
e6f926964b chore(deps-dev): bump @types/gulp from 4.0.17 to 4.0.18
Bumps [@types/gulp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gulp) from 4.0.17 to 4.0.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gulp)

---
updated-dependencies:
- dependency-name: "@types/gulp"
  dependency-version: 4.0.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 00:03:10 +00:00
dependabot[bot]
937b090a85 chore(deps-dev): bump @fastify/multipart from 9.2.1 to 9.3.0
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 9.2.1 to 9.3.0.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v9.2.1...v9.3.0)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-version: 9.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 00:02:29 +00:00
dependabot[bot]
41004007f7 chore(deps-dev): bump @types/amqplib from 0.10.7 to 0.10.8
Bumps [@types/amqplib](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/amqplib) from 0.10.7 to 0.10.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/amqplib)

---
updated-dependencies:
- dependency-name: "@types/amqplib"
  dependency-version: 0.10.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 00:02:05 +00:00
renovate[bot]
12e8051588 fix(deps): update dependency mysql2 to v3.15.3 2025-10-26 17:42:48 +00:00
Kamil Mysliwiec
6bc30869df Merge pull request #15835 from mag123c/fix/sample-34-test-resilience
fix(sample): make sample 34 test resilient to external package changes
2025-10-26 18:35:42 +01:00
mag123c
afdb2e85de fix(sample): make sample 34 test resilient to external package changes 2025-10-24 21:35:36 +09:00
Seongjee Kim
ab753307ea fix(fastify): Migrate fastify top-level options to routerOptions 2025-10-24 16:01:28 +09:00
dependabot[bot]
9b1016d6a0 chore(deps-dev): bump lint-staged from 16.2.5 to 16.2.6
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.5 to 16.2.6.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.5...v16.2.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-23 00:02:08 +00:00
Kamil Mysliwiec
b4c2fb24ae Merge pull request #15816 from nestjs/dependabot/npm_and_yarn/ioredis-5.8.2
chore(deps-dev): bump ioredis from 5.8.1 to 5.8.2
2025-10-22 18:47:53 +02:00
Kamil Mysliwiec
5eb013560b Merge pull request #15814 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.7
2025-10-22 10:29:36 +02:00
Kamil Mysliwiec
49e7fed666 Merge pull request #15817 from nestjs/dependabot/npm_and_yarn/mysql2-3.15.3
chore(deps-dev): bump mysql2 from 3.15.2 to 3.15.3
2025-10-22 10:28:56 +02:00
mag123c
cde4fb8334 test(core): add nested transient isolation integration test 2025-10-22 09:34:37 +09:00
renovate[bot]
267b359a41 fix(deps): update nest monorepo to v11.1.7 2025-10-22 00:05:01 +00:00
dependabot[bot]
4f7c3161e7 chore(deps-dev): bump mysql2 from 3.15.2 to 3.15.3
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.15.2 to 3.15.3.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.15.2...v3.15.3)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.15.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 00:02:42 +00:00
dependabot[bot]
bdd4bab823 chore(deps-dev): bump ioredis from 5.8.1 to 5.8.2
Bumps [ioredis](https://github.com/luin/ioredis) from 5.8.1 to 5.8.2.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.8.1...v5.8.2)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.8.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 00:02:15 +00:00
mag123c
4ffe045628 fix(core): ensure nested transient provider isolation 2025-10-21 21:51:14 +09:00
Kamil Myśliwiec
ee1b347555 chore(@nestjs) publish v11.1.7 release 2025-10-21 10:54:51 +02:00
Kamil Myśliwiec
33d6cb59a6 chore: update readme 2025-10-21 10:54:00 +02:00
Kamil Myśliwiec
36ab38801b chore(deps): revert lerna 2025-10-21 10:53:53 +02:00
Kamil Mysliwiec
884e8a2296 Update packages/core/router/router-response-controller.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-21 10:45:20 +02:00
Kamil Mysliwiec
6f35185752 Merge pull request #15543 from kim-sung-jee/feature/websockets-manual-ack
feat(websockets): allow manual acknowledgement handling with @Ack() decorator
2025-10-21 10:32:04 +02:00
Kamil Mysliwiec
91471c946b Merge pull request #15705 from mag123c/fix/configurable-module-async-extras
fix(core): resolve extras in configurable module builder async methods
2025-10-21 10:29:02 +02:00
Kamil Mysliwiec
bf80d39d3f Merge pull request #15747 from slon2015/fix/rmq-microservice-fanout-bind
Fix/rmq microservice fanout bind
2025-10-21 10:27:36 +02:00
Kamil Mysliwiec
c74542d0fb Merge pull request #15732 from thedv91/fix/update-fastify-constraints-type
fix: correct parameter type in RouteConstraints decorator
2025-10-21 10:26:48 +02:00
Kamil Mysliwiec
aec2711e45 Merge pull request #15806 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.46.2
chore(deps-dev): bump typescript-eslint from 8.46.1 to 8.46.2
2025-10-21 10:25:00 +02:00
dependabot[bot]
63d680a52e chore(deps-dev): bump typescript-eslint from 8.46.1 to 8.46.2
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.46.1 to 8.46.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.46.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 07:15:13 +00:00
Kamil Mysliwiec
c6f115b3c5 Merge pull request #15808 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.46.2
2025-10-21 09:14:21 +02:00
Kamil Mysliwiec
af083ad1ec Merge pull request #15811 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.19.2
2025-10-21 09:14:14 +02:00
Kamil Mysliwiec
130977b55e Merge pull request #15807 from nestjs/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16.2.5
2025-10-21 09:14:06 +02:00
Kamil Mysliwiec
000c7c3836 Merge pull request #15803 from nestjs/dependabot/npm_and_yarn/mongoose-8.19.2
chore(deps-dev): bump mongoose from 8.19.1 to 8.19.2
2025-10-21 09:13:41 +02:00
Kamil Mysliwiec
d4162768f6 Merge pull request #15805 from nestjs/dependabot/npm_and_yarn/lint-staged-16.2.5
chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5
2025-10-21 09:13:34 +02:00
Kamil Mysliwiec
1cc0456596 Merge pull request #15809 from nestjs/dependabot/npm_and_yarn/types/node-24.9.1
chore(deps-dev): bump @types/node from 24.8.1 to 24.9.1
2025-10-21 09:13:26 +02:00
Kamil Mysliwiec
a0f81d1c6e Merge pull request #15810 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.12
2025-10-21 09:13:18 +02:00
renovate[bot]
bb0c6f87a7 fix(deps): update dependency mongoose to v8.19.2 2025-10-21 05:15:22 +00:00
renovate[bot]
cda7de13c3 chore(deps): update dependency @types/node to v22.18.12 2025-10-21 05:14:56 +00:00
dependabot[bot]
9a613b62c1 chore(deps-dev): bump @types/node from 24.8.1 to 24.9.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.8.1 to 24.9.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.9.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 00:26:35 +00:00
renovate[bot]
876035cef8 chore(deps): update typescript-eslint monorepo to v8.46.2 2025-10-21 00:04:24 +00:00
renovate[bot]
9d7823bf1a chore(deps): update dependency lint-staged to v16.2.5 2025-10-21 00:04:02 +00:00
dependabot[bot]
5ebee89b9a chore(deps-dev): bump lint-staged from 16.2.4 to 16.2.5
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.4 to 16.2.5.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.4...v16.2.5)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 00:02:54 +00:00
dependabot[bot]
faa94a9d26 chore(deps-dev): bump mongoose from 8.19.1 to 8.19.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.19.1 to 8.19.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.19.1...8.19.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.19.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-21 00:01:58 +00:00
Kamil Mysliwiec
eedc0f2418 Merge pull request #15800 from nestjs/dependabot/npm_and_yarn/eslint-9.38.0
chore(deps-dev): bump eslint from 9.37.0 to 9.38.0
2025-10-20 10:32:40 +02:00
Kamil Mysliwiec
10a830c6b0 Merge pull request #15801 from nestjs/dependabot/npm_and_yarn/types/node-24.8.1
chore(deps-dev): bump @types/node from 24.8.0 to 24.8.1
2025-10-20 10:32:30 +02:00
Kamil Mysliwiec
bc9d8bdde9 Merge pull request #15802 from nestjs/dependabot/npm_and_yarn/fastify/static-8.3.0
chore(deps-dev): bump @fastify/static from 8.2.0 to 8.3.0
2025-10-20 10:32:22 +02:00
dependabot[bot]
4e961fd693 chore(deps-dev): bump @fastify/static from 8.2.0 to 8.3.0
Bumps [@fastify/static](https://github.com/fastify/fastify-static) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/fastify/fastify-static/releases)
- [Commits](https://github.com/fastify/fastify-static/compare/v8.2.0...v8.3.0)

---
updated-dependencies:
- dependency-name: "@fastify/static"
  dependency-version: 8.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 00:03:05 +00:00
dependabot[bot]
8b5b4e8c4b chore(deps-dev): bump @types/node from 24.8.0 to 24.8.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.8.0 to 24.8.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.8.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 00:02:27 +00:00
dependabot[bot]
62e2a06f5c chore(deps-dev): bump eslint from 9.37.0 to 9.38.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.37.0 to 9.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.37.0...v9.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-20 00:01:53 +00:00
Kamil Mysliwiec
5318719f6a Merge pull request #15798 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.38.0
2025-10-19 12:27:06 +02:00
renovate[bot]
9937f5089a chore(deps): update eslint monorepo to v9.38.0 2025-10-19 09:50:47 +00:00
Kamil Mysliwiec
ba15bf25fe Merge pull request #15797 from nestjs/renovate/fastify-static-8.x
fix(deps): update dependency @fastify/static to v8.3.0
2025-10-19 11:48:34 +02:00
Kamil Mysliwiec
804c9e91df Merge pull request #15796 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.38.0
2025-10-19 11:48:24 +02:00
Kamil Mysliwiec
bfa7a355da Merge pull request #15790 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.8.1
2025-10-19 11:48:20 +02:00
Kamil Mysliwiec
9b5bd78134 Merge pull request #15794 from Olexandr88/patch-1
chore(docs): edited the link to the license badge
2025-10-19 11:47:51 +02:00
renovate[bot]
b23bb39223 fix(deps): update dependency @fastify/static to v8.3.0 2025-10-18 15:05:22 +00:00
renovate[bot]
355a1f4042 chore(deps): update eslint monorepo to v9.38.0 2025-10-18 15:05:04 +00:00
Olexandr88
1a586aac9f Update Readme.md 2025-10-18 13:37:51 +03:00
renovate[bot]
0a38080cec chore(deps): update dependency @types/node to v24.8.1 2025-10-17 08:53:15 +00:00
Kamil Mysliwiec
7180ec1fed Merge pull request #15789 from nestjs/dependabot/npm_and_yarn/types/node-24.8.0
chore(deps-dev): bump @types/node from 24.7.2 to 24.8.0
2025-10-17 10:50:43 +02:00
Kamil Mysliwiec
eb18cfba30 Merge pull request #15791 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.11
2025-10-17 10:20:40 +02:00
renovate[bot]
6dfe57affa chore(deps): update dependency @types/node to v22.18.11 2025-10-17 05:03:22 +00:00
dependabot[bot]
61e24d158e chore(deps-dev): bump @types/node from 24.7.2 to 24.8.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.7.2 to 24.8.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-17 00:01:45 +00:00
Kamil Mysliwiec
f4f6fe582b Merge pull request #15788 from nestjs/renovate/nestjs-swagger-11.x
fix(deps): update dependency @nestjs/swagger to v11.2.1
2025-10-16 11:57:14 +02:00
renovate[bot]
aa8ad3e6f0 fix(deps): update dependency @nestjs/swagger to v11.2.1 2025-10-16 08:34:30 +00:00
Kamil Mysliwiec
ffd669852a Merge pull request #15784 from nestjs/renovate/confluentinc-cp-kafka-8.x
chore(deps): update confluentinc/cp-kafka docker tag to v8.1.0
2025-10-16 09:43:16 +02:00
renovate[bot]
543d146f43 chore(deps): update confluentinc/cp-kafka docker tag to v8.1.0 2025-10-15 14:15:15 +00:00
Serafim Gerasimov
4fcd068d13 fix(microservices): rmq generated queue name in server
Generated queue name use in the server channel setup process
2025-10-14 21:09:36 +03:00
Serafim Gerasimov
c3ed27dab6 test(microservices): Integration test for the fanout exchange 2025-10-14 21:06:47 +03:00
Kamil Mysliwiec
b7bdb283b5 Merge pull request #15780 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.46.1
2025-10-14 10:59:48 +02:00
renovate[bot]
64ca62aeb5 chore(deps): update typescript-eslint monorepo to v8.46.1 2025-10-14 07:46:43 +00:00
Kamil Mysliwiec
5b62a5a768 Merge pull request #15779 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.46.1
chore(deps-dev): bump typescript-eslint from 8.46.0 to 8.46.1
2025-10-14 09:44:50 +02:00
dependabot[bot]
ca9414a9c3 chore(deps-dev): bump typescript-eslint from 8.46.0 to 8.46.1
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.46.0 to 8.46.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.46.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-14 00:01:59 +00:00
Serafim Gerasimov
c58da76adf fix(microservices): Prevent unusable queue assertion
The client queue assertion and bind prevent for cases when exchange will be used for send
2025-10-14 01:11:09 +03:00
Kamil Mysliwiec
22e2b8cc4e Merge pull request #15268 from nestjs/renovate/major-jest-monorepo
chore(deps): update jest monorepo to v30 (major)
2025-10-13 14:04:36 +02:00
Kamil Mysliwiec
cfaa010136 Merge pull request #15423 from nestjs/dependabot/npm_and_yarn/apollo/server-5.0.0
chore(deps-dev): bump @apollo/server from 4.12.2 to 5.0.0
2025-10-13 13:45:07 +02:00
Kamil Myśliwiec
a1b75ff404 sample: migrate from removed jest matchers 2025-10-13 13:41:49 +02:00
dependabot[bot]
c157f1b7a4 chore(deps-dev): bump @apollo/server from 4.12.2 to 5.0.0
---
updated-dependencies:
- dependency-name: "@apollo/server"
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 11:24:50 +00:00
renovate[bot]
778eeb05a0 chore(deps): update jest monorepo to v30 2025-10-13 11:22:35 +00:00
Kamil Mysliwiec
df34b4ff1f Merge pull request #15419 from nestjs/renovate/major-apollo-graphql-packages
fix(deps): update dependency @apollo/server to v5
2025-10-13 13:20:25 +02:00
renovate[bot]
ebf2454d98 fix(deps): update dependency @apollo/server to v5 2025-10-13 10:44:42 +00:00
Kamil Mysliwiec
cd290015d2 Merge pull request #15776 from nestjs/renovate/ts-morph-27.x
fix(deps): update dependency ts-morph to v27.0.2
2025-10-13 12:42:26 +02:00
Kamil Mysliwiec
a819b86583 Merge pull request #15757 from nestjs/renovate/apollo-graphql-packages
fix(deps): update apollo graphql packages to v2.11.3
2025-10-13 12:42:19 +02:00
renovate[bot]
7b0b140a2b fix(deps): update dependency ts-morph to v27.0.2 2025-10-13 08:06:25 +00:00
Kamil Mysliwiec
2d376b2e77 Merge pull request #15771 from nestjs/dependabot/npm_and_yarn/ts-morph-27.0.2
chore(deps-dev): bump ts-morph from 27.0.0 to 27.0.2
2025-10-13 10:02:54 +02:00
Kamil Mysliwiec
e6560681bc Merge pull request #15775 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.17.1
2025-10-13 10:02:45 +02:00
Kamil Mysliwiec
0b05db392c Merge pull request #15774 from nestjs/renovate/nestjs-serve-static-5.x
fix(deps): update dependency @nestjs/serve-static to v5.0.4
2025-10-13 10:00:59 +02:00
renovate[bot]
fcbe44f7cf fix(deps): update apollo graphql packages to v2.11.3 2025-10-13 08:00:01 +00:00
renovate[bot]
bca8dce777 fix(deps): update dependency @prisma/client to v6.17.1 2025-10-13 07:57:42 +00:00
dependabot[bot]
af390ee647 chore(deps-dev): bump ts-morph from 27.0.0 to 27.0.2
Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 27.0.0 to 27.0.2.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](https://github.com/dsherret/ts-morph/compare/27.0.0...27.0.2)

---
updated-dependencies:
- dependency-name: ts-morph
  dependency-version: 27.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 07:57:39 +00:00
renovate[bot]
1daabdacaf fix(deps): update dependency @nestjs/serve-static to v5.0.4 2025-10-13 07:57:37 +00:00
Kamil Mysliwiec
39f1b05bdf Merge pull request #15767 from nestjs/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16.2.4
2025-10-13 09:56:26 +02:00
Kamil Mysliwiec
22f7096117 Merge pull request #15765 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/schematics to v11.0.9
2025-10-13 09:55:59 +02:00
Kamil Mysliwiec
447203c541 Merge pull request #15768 from nestjs/renovate/nestjs-jwt-11.x
fix(deps): update dependency @nestjs/jwt to v11.0.1
2025-10-13 09:55:37 +02:00
Kamil Mysliwiec
1e1f85fdc5 Merge pull request #15769 from nestjs/renovate/nestjs-sequelize-11.x
fix(deps): update dependency @nestjs/sequelize to v11.0.1
2025-10-13 09:55:25 +02:00
Kamil Mysliwiec
3cebbb4b6d Merge pull request #15770 from nestjs/dependabot/npm_and_yarn/types/node-24.7.2
chore(deps-dev): bump @types/node from 24.7.1 to 24.7.2
2025-10-13 09:55:12 +02:00
Kamil Mysliwiec
8c88e8cc7c Merge pull request #15772 from nestjs/dependabot/npm_and_yarn/lint-staged-16.2.4
chore(deps-dev): bump lint-staged from 16.2.3 to 16.2.4
2025-10-13 09:55:06 +02:00
dependabot[bot]
f489b7a990 chore(deps-dev): bump lint-staged from 16.2.3 to 16.2.4
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.3 to 16.2.4.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.3...v16.2.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 00:03:10 +00:00
dependabot[bot]
c06ff4bb96 chore(deps-dev): bump @types/node from 24.7.1 to 24.7.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.7.1 to 24.7.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.7.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 00:02:29 +00:00
renovate[bot]
2ead5814ef fix(deps): update dependency @nestjs/sequelize to v11.0.1 2025-10-12 17:11:17 +00:00
renovate[bot]
d2c68af7cb fix(deps): update dependency @nestjs/jwt to v11.0.1 2025-10-12 16:07:39 +00:00
renovate[bot]
bd09ef93ca chore(deps): update dependency lint-staged to v16.2.4 2025-10-12 16:07:35 +00:00
renovate[bot]
f45128b68b chore(deps): update dependency @nestjs/schematics to v11.0.9 2025-10-12 16:07:17 +00:00
Kamil Mysliwiec
93b6cba6b8 Merge pull request #15717 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.7.2
2025-10-12 18:05:09 +02:00
Kamil Mysliwiec
db5d0bfe1a Merge pull request #15755 from nestjs/dependabot/npm_and_yarn/core-js-3.46.0
chore(deps-dev): bump core-js from 3.45.1 to 3.46.0
2025-10-12 18:04:36 +02:00
Kamil Mysliwiec
c62b8067dc Merge pull request #15766 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.10
2025-10-12 18:04:00 +02:00
renovate[bot]
301f7225d8 chore(deps): update dependency @types/node to v24.7.2 2025-10-12 15:01:22 +00:00
renovate[bot]
2225116d21 chore(deps): update dependency @types/node to v22.18.10 2025-10-12 15:01:07 +00:00
Kamil Mysliwiec
51ff7f3f37 Merge pull request #15762 from nestjs/renovate/nestjs-bull-11.x
fix(deps): update dependency @nestjs/bull to v11.0.4
2025-10-12 16:59:15 +02:00
Kamil Mysliwiec
5b1251ced2 Merge pull request #15761 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.4
2025-10-12 16:57:53 +02:00
Kamil Mysliwiec
83a594f5f5 Merge pull request #15763 from nestjs/renovate/confluentinc-cp-kafka-8.x
chore(deps): update confluentinc/cp-kafka docker tag to v8.0.2
2025-10-12 16:57:46 +02:00
renovate[bot]
72344b4aa8 chore(deps): update confluentinc/cp-kafka docker tag to v8.0.2 2025-10-10 17:53:07 +00:00
renovate[bot]
6fdf7b8aeb fix(deps): update dependency @nestjs/bull to v11.0.4 2025-10-10 13:22:33 +00:00
renovate[bot]
acfd2803f6 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.4 2025-10-10 13:22:27 +00:00
Kamil Mysliwiec
7f48b37474 Merge pull request #15760 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.4.5
2025-10-10 15:19:10 +02:00
renovate[bot]
1da805cc6f chore(deps): update dependency ts-jest to v29.4.5 2025-10-10 12:13:55 +00:00
Kamil Mysliwiec
58dcbb0dc5 Merge pull request #15754 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.9
2025-10-10 14:11:51 +02:00
renovate[bot]
c107a895b2 chore(deps): update dependency @types/node to v22.18.9 2025-10-10 09:47:57 +00:00
Kamil Mysliwiec
d8c6d3e1bb Merge pull request #15759 from nestjs/renovate/mercurius-16.x
fix(deps): update dependency mercurius to v16.5.0
2025-10-10 11:45:34 +02:00
renovate[bot]
7cfb147a18 fix(deps): update dependency mercurius to v16.5.0 2025-10-10 08:52:56 +00:00
Kamil Mysliwiec
bb97abb937 Merge pull request #15756 from nestjs/dependabot/npm_and_yarn/types/node-24.7.1
chore(deps-dev): bump @types/node from 24.7.0 to 24.7.1
2025-10-10 10:50:06 +02:00
dependabot[bot]
6440e4fcf1 chore(deps-dev): bump @types/node from 24.7.0 to 24.7.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.7.0 to 24.7.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.7.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-10 00:02:50 +00:00
dependabot[bot]
81cb3bdbb8 chore(deps-dev): bump core-js from 3.45.1 to 3.46.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.45.1 to 3.46.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.46.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.46.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-10 00:02:09 +00:00
Kamil Mysliwiec
52b052cb5d Merge pull request #15751 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.15.2
2025-10-09 09:52:49 +02:00
renovate[bot]
dee134d577 fix(deps): update dependency mysql2 to v3.15.2 2025-10-09 07:15:39 +00:00
Kamil Mysliwiec
e1dcf0439f Merge pull request #15750 from nestjs/dependabot/npm_and_yarn/mysql2-3.15.2
chore(deps-dev): bump mysql2 from 3.15.1 to 3.15.2
2025-10-09 09:13:23 +02:00
dependabot[bot]
aaf745ad1e chore(deps-dev): bump mysql2 from 3.15.1 to 3.15.2
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.15.1 to 3.15.2.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.15.1...v3.15.2)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.15.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 00:01:45 +00:00
Kamil Mysliwiec
f555be1797 Merge pull request #15749 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.102.1
2025-10-08 09:43:59 +02:00
Kamil Mysliwiec
b1492dface Merge pull request #15748 from nestjs/dependabot/github_actions/github/codeql-action-4
chore(deps): bump github/codeql-action from 3 to 4
2025-10-08 09:43:52 +02:00
Kamil Mysliwiec
dbb43625f2 Merge pull request #15744 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.17.0
2025-10-08 09:42:58 +02:00
renovate[bot]
dac51bb209 chore(deps): update dependency webpack to v5.102.1 2025-10-08 00:06:42 +00:00
dependabot[bot]
debb358081 chore(deps): bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 00:04:31 +00:00
Serafim Gerasimov
bf59ad2ecc test(microservices): RMQ Client and Server queue bind
Tests for new fanout exchange functional

FIXES: #15746
2025-10-07 22:52:40 +03:00
Serafim Gerasimov
5238114a0e fix(microservices): RMQ Client fanout bind behaviour change
Enforce the client and server to bind the queue to exchange
2025-10-07 22:29:05 +03:00
renovate[bot]
886cf68fd0 fix(deps): update dependency @prisma/client to v6.17.0 2025-10-07 16:31:06 +00:00
Kamil Mysliwiec
eb464c4661 Merge pull request #15741 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.19.1
2025-10-07 10:25:43 +02:00
Kamil Mysliwiec
e76c602cad Merge pull request #15742 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.46.0
2025-10-07 10:25:36 +02:00
Kamil Mysliwiec
ea661916d4 Merge pull request #15740 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.4
2025-10-07 10:25:31 +02:00
renovate[bot]
02f53a0a89 chore(deps): update typescript-eslint monorepo to v8.46.0 2025-10-07 07:54:42 +00:00
renovate[bot]
b6643ddc77 fix(deps): update dependency mongoose to v8.19.1 2025-10-07 07:54:32 +00:00
renovate[bot]
fc7014d6da fix(deps): update dependency cache-manager to v7.2.4 2025-10-07 07:51:00 +00:00
Kamil Mysliwiec
7be7054c59 Merge pull request #15734 from nestjs/dependabot/npm_and_yarn/mongoose-8.19.1
chore(deps-dev): bump mongoose from 8.19.0 to 8.19.1
2025-10-07 09:49:12 +02:00
Kamil Mysliwiec
be6a3608ee Merge pull request #15735 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.46.0
chore(deps-dev): bump typescript-eslint from 8.45.0 to 8.46.0
2025-10-07 09:49:08 +02:00
Kamil Mysliwiec
b50a22699c Merge pull request #15736 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.4
chore(deps-dev): bump cache-manager from 7.2.3 to 7.2.4
2025-10-07 09:48:57 +02:00
Kamil Mysliwiec
04af7a0d79 Merge pull request #15737 from nestjs/dependabot/npm_and_yarn/ioredis-5.8.1
chore(deps-dev): bump ioredis from 5.8.0 to 5.8.1
2025-10-07 09:48:50 +02:00
Kamil Mysliwiec
e4069f5c3a Merge pull request #15738 from nestjs/dependabot/npm_and_yarn/types/node-24.7.0
chore(deps-dev): bump @types/node from 24.6.2 to 24.7.0
2025-10-07 09:48:44 +02:00
dependabot[bot]
266dcb1f97 chore(deps-dev): bump @types/node from 24.6.2 to 24.7.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.6.2 to 24.7.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 00:05:50 +00:00
dependabot[bot]
5aa0212015 chore(deps-dev): bump ioredis from 5.8.0 to 5.8.1
Bumps [ioredis](https://github.com/luin/ioredis) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.8.0...v5.8.1)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.8.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 00:05:40 +00:00
dependabot[bot]
9485e1b690 chore(deps-dev): bump cache-manager from 7.2.3 to 7.2.4
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.2.3 to 7.2.4.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 00:05:17 +00:00
dependabot[bot]
2e7cdb7bf1 chore(deps-dev): bump typescript-eslint from 8.45.0 to 8.46.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.45.0 to 8.46.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.46.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 00:05:03 +00:00
dependabot[bot]
6bc1493061 chore(deps-dev): bump mongoose from 8.19.0 to 8.19.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.19.0 to 8.19.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.19.0...8.19.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.19.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 00:04:28 +00:00
Kamil Mysliwiec
51cf948a81 Merge pull request #15706 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.37.0
2025-10-06 11:53:23 +02:00
Kamil Mysliwiec
ef725558c0 Merge pull request #15719 from nestjs/renovate/nest-graphql-monorepo
fix(deps): update nest-graphql monorepo
2025-10-06 09:48:55 +02:00
Kamil Mysliwiec
7f3365f524 Merge pull request #15725 from nestjs/dependabot/npm_and_yarn/nestjs/apollo-13.2.1
chore(deps-dev): bump @nestjs/apollo from 13.1.0 to 13.2.1
2025-10-06 09:48:43 +02:00
dependabot[bot]
ca266c946e chore(deps-dev): bump @nestjs/apollo from 13.1.0 to 13.2.1
Bumps [@nestjs/apollo](https://github.com/nestjs/graphql) from 13.1.0 to 13.2.1.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v13.1.0...v13.2.1)

---
updated-dependencies:
- dependency-name: "@nestjs/apollo"
  dependency-version: 13.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 07:26:19 +00:00
renovate[bot]
20a4a48823 fix(deps): update nest-graphql monorepo 2025-10-06 07:25:51 +00:00
renovate[bot]
6a7ed443c3 chore(deps): update eslint monorepo to v9.37.0 2025-10-06 07:22:46 +00:00
Kamil Myśliwiec
4d19de8ad9 chore(deps): add @as-integrations/express5 dev dependency 2025-10-06 09:20:06 +02:00
Kamil Mysliwiec
b4fcb61445 Merge pull request #15733 from nestjs/dependabot/npm_and_yarn/eslint-9.37.0
chore(deps-dev): bump eslint from 9.36.0 to 9.37.0
2025-10-06 09:15:33 +02:00
dependabot[bot]
bb9d973a11 chore(deps-dev): bump eslint from 9.36.0 to 9.37.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.36.0 to 9.37.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.36.0...v9.37.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.37.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 00:03:52 +00:00
Kamil Mysliwiec
9744de5c8f Update Readme.md 2025-10-05 15:01:08 +02:00
Harry
a9e1c7d18a fix: correct parameter type in routeconstraints decorator 2025-10-05 00:27:11 +07:00
Kamil Mysliwiec
59ef06ac98 Merge pull request #15728 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.19.0
2025-10-03 16:42:52 +02:00
Kamil Mysliwiec
9f3398cebb Merge pull request #15712 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.45.0
2025-10-03 16:40:17 +02:00
Kamil Mysliwiec
b1a0ce9e00 Merge pull request #15727 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.8.3
2025-10-03 16:39:59 +02:00
Kamil Mysliwiec
baefccc2f4 Merge pull request #15730 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/schematics to v11.0.8
2025-10-03 16:39:50 +02:00
renovate[bot]
b87260d1e1 chore(deps): update dependency @nestjs/schematics to v11.0.8 2025-10-03 13:45:58 +00:00
renovate[bot]
9f2fbf689a chore(deps): update typescript-eslint monorepo to v8.45.0 2025-10-03 07:29:13 +00:00
renovate[bot]
bddd603d0d chore(deps): update dependency redis to v5.8.3 2025-10-03 07:29:04 +00:00
Kamil Mysliwiec
ddd57c96eb Merge pull request #15724 from nestjs/dependabot/npm_and_yarn/types/node-24.6.2
chore(deps-dev): bump @types/node from 24.6.1 to 24.6.2
2025-10-03 09:27:30 +02:00
Kamil Mysliwiec
733d48f5d4 Merge pull request #15726 from nestjs/dependabot/npm_and_yarn/redis-5.8.3
chore(deps-dev): bump redis from 5.8.2 to 5.8.3
2025-10-03 09:27:22 +02:00
renovate[bot]
bcac7b9f7b fix(deps): update dependency mongoose to v8.19.0 2025-10-03 00:06:03 +00:00
dependabot[bot]
000bdcb6ff chore(deps-dev): bump redis from 5.8.2 to 5.8.3
Bumps [redis](https://github.com/redis/node-redis) from 5.8.2 to 5.8.3.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.8.2...redis@5.8.3)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.8.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-03 00:05:10 +00:00
dependabot[bot]
70b5395c0a chore(deps-dev): bump @types/node from 24.6.1 to 24.6.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.6.1 to 24.6.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-03 00:04:31 +00:00
Alexander Suvorov
258428a0a6 feat(core): add Promise<Observable> support for SSE handlers
Adds support for returning Promise<Observable<MessageEvent>> from SSE
handlers, enabling async validation before sending HTTP headers.

This allows developers to:
- Perform async validation before establishing SSE connection
- Return custom HTTP status codes (404, 401, etc.)
- Set headers based on async data
- Implement proper resource validation patterns

Implementation details:
- RouterResponseController.sse() now accepts Promise<Observable>
- Custom status codes extracted from response.statusCode
- SseStream.pipe() accepts optional statusCode parameter
- Full backward compatibility maintained

Fixes #12260
2025-10-02 13:31:56 +03:00
Kamil Mysliwiec
d34dd2e547 Merge pull request #15709 from nestjs/renovate/typescript-5.x
fix(deps): update dependency typescript to v5.9.3
2025-10-02 11:12:45 +02:00
Kamil Mysliwiec
65b388b9d0 Merge pull request #15718 from nestjs/renovate/mercurius-16.x
fix(deps): update dependency mercurius to v16.4.0
2025-10-02 11:12:23 +02:00
renovate[bot]
a81f1fb412 fix(deps): update dependency mercurius to v16.4.0 2025-10-02 08:15:01 +00:00
renovate[bot]
f7cd33aa13 fix(deps): update dependency typescript to v5.9.3 2025-10-02 08:14:34 +00:00
Kamil Mysliwiec
64905101e0 Merge pull request #15711 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.3
2025-10-02 10:12:56 +02:00
Kamil Mysliwiec
94ec13ddae Merge pull request #15715 from nestjs/dependabot/npm_and_yarn/nestjs/graphql-13.2.0
chore(deps-dev): bump @nestjs/graphql from 13.1.0 to 13.2.0
2025-10-02 10:12:34 +02:00
Kamil Mysliwiec
3a13d9c753 Merge pull request #15713 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.3
chore(deps-dev): bump cache-manager from 7.2.2 to 7.2.3
2025-10-02 10:12:24 +02:00
Kamil Mysliwiec
137a325701 Merge pull request #15710 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.102.0
2025-10-02 10:12:07 +02:00
Kamil Mysliwiec
aa7df4af10 Merge pull request #15716 from nestjs/dependabot/npm_and_yarn/mocha-11.7.4
chore(deps-dev): bump mocha from 11.7.3 to 11.7.4
2025-10-02 10:11:59 +02:00
dependabot[bot]
1d1ea73542 chore(deps-dev): bump mocha from 11.7.3 to 11.7.4
Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.3 to 11.7.4.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.7.3...v11.7.4)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 11.7.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 00:02:57 +00:00
dependabot[bot]
4ff0fbd34a chore(deps-dev): bump @nestjs/graphql from 13.1.0 to 13.2.0
Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 13.1.0 to 13.2.0.
- [Release notes](https://github.com/nestjs/graphql/releases)
- [Commits](https://github.com/nestjs/graphql/compare/v13.1.0...v13.2.0)

---
updated-dependencies:
- dependency-name: "@nestjs/graphql"
  dependency-version: 13.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 00:02:31 +00:00
dependabot[bot]
97ec4285f7 chore(deps-dev): bump cache-manager from 7.2.2 to 7.2.3
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 00:01:23 +00:00
renovate[bot]
6a0fbea80a fix(deps): update dependency cache-manager to v7.2.3 2025-10-01 22:24:14 +00:00
renovate[bot]
ff629c1392 chore(deps): update dependency webpack to v5.102.0 2025-10-01 10:56:54 +00:00
Kamil Mysliwiec
9a56d3ba35 Merge pull request #15698 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.45.0
chore(deps-dev): bump typescript-eslint from 8.44.1 to 8.45.0
2025-10-01 12:55:26 +02:00
Kamil Mysliwiec
a0a94b0dfd Merge pull request #15707 from nestjs/renovate/dotenv-17.x
fix(deps): update dependency dotenv to v17.2.3
2025-10-01 11:49:53 +02:00
Kamil Mysliwiec
3d08a3766f Merge pull request #15708 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.18.3
2025-10-01 11:49:33 +02:00
dependabot[bot]
bcf832f4e4 chore(deps-dev): bump typescript-eslint from 8.44.1 to 8.45.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.44.1 to 8.45.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.45.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.45.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 09:45:57 +00:00
Kamil Mysliwiec
b00b5317e5 Merge pull request #15704 from nestjs/dependabot/npm_and_yarn/amqp-connection-manager-5.0.0
chore(deps-dev): bump amqp-connection-manager from 4.1.14 to 5.0.0
2025-10-01 11:42:45 +02:00
renovate[bot]
e8fdfd4837 fix(deps): update dependency mongoose to v8.18.3 2025-10-01 09:37:21 +00:00
Kamil Mysliwiec
8b506a65cb Merge pull request #15697 from nestjs/dependabot/npm_and_yarn/mocha-11.7.3
chore(deps-dev): bump mocha from 11.7.2 to 11.7.3
2025-10-01 11:35:23 +02:00
Kamil Mysliwiec
52ee313560 Merge pull request #15696 from nestjs/dependabot/npm_and_yarn/typescript-5.9.3
chore(deps-dev): bump typescript from 5.9.2 to 5.9.3
2025-10-01 11:35:14 +02:00
Kamil Mysliwiec
70fc76f59e Merge pull request #15699 from nestjs/dependabot/npm_and_yarn/ansis-4.2.0
chore(deps): bump ansis from 4.1.0 to 4.2.0
2025-10-01 11:35:07 +02:00
Kamil Mysliwiec
cce7ae8bb1 Merge pull request #15700 from nestjs/dependabot/npm_and_yarn/commitlint/cli-20.1.0
chore(deps-dev): bump @commitlint/cli from 20.0.0 to 20.1.0
2025-10-01 11:35:01 +02:00
Kamil Mysliwiec
6b24e5d6a3 Merge pull request #15701 from nestjs/dependabot/npm_and_yarn/types/node-24.6.1
chore(deps-dev): bump @types/node from 24.5.2 to 24.6.1
2025-10-01 11:34:54 +02:00
Kamil Mysliwiec
bc8f732433 Merge pull request #15703 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.16.3
2025-10-01 11:34:43 +02:00
renovate[bot]
389a3e54be fix(deps): update dependency dotenv to v17.2.3 2025-10-01 09:30:38 +00:00
Kamil Mysliwiec
95cab94279 Merge pull request #15694 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.8
2025-10-01 11:26:55 +02:00
mag123c
cbf82f678a fix(common): resolve extras in configurable module builder async methods 2025-10-01 10:03:54 +09:00
dependabot[bot]
1ca63bc859 chore(deps-dev): bump amqp-connection-manager from 4.1.14 to 5.0.0
Bumps [amqp-connection-manager](https://github.com/jwalton/node-amqp-connection-manager) from 4.1.14 to 5.0.0.
- [Release notes](https://github.com/jwalton/node-amqp-connection-manager/releases)
- [Changelog](https://github.com/jwalton/node-amqp-connection-manager/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jwalton/node-amqp-connection-manager/compare/v4.1.14...v5.0.0)

---
updated-dependencies:
- dependency-name: amqp-connection-manager
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:04:37 +00:00
renovate[bot]
b14671da79 fix(deps): update dependency @prisma/client to v6.16.3 2025-10-01 00:04:32 +00:00
dependabot[bot]
a8a00ac8c7 chore(deps-dev): bump @types/node from 24.5.2 to 24.6.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.5.2 to 24.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.6.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:04:12 +00:00
renovate[bot]
d7c951e7ef chore(deps): update dependency @types/node to v22.18.8 2025-10-01 00:04:00 +00:00
dependabot[bot]
e0fc87ad00 chore(deps-dev): bump @commitlint/cli from 20.0.0 to 20.1.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 20.0.0 to 20.1.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.1.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-version: 20.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:03:44 +00:00
dependabot[bot]
04c33a1486 chore(deps): bump ansis from 4.1.0 to 4.2.0
Bumps [ansis](https://github.com/webdiscus/ansis) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webdiscus/ansis/releases)
- [Changelog](https://github.com/webdiscus/ansis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdiscus/ansis/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: ansis
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:03:14 +00:00
dependabot[bot]
77c875815d chore(deps-dev): bump mocha from 11.7.2 to 11.7.3
Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.2 to 11.7.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.7.2...v11.7.3)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 11.7.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:02:21 +00:00
dependabot[bot]
cb6323040c chore(deps-dev): bump typescript from 5.9.2 to 5.9.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.2...v5.9.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.9.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 00:01:50 +00:00
Kamil Mysliwiec
3c9a6e1387 Merge pull request #15692 from nestjs/renovate/confluentinc-cp-kafka-8.x
chore(deps): update confluentinc/cp-kafka docker tag to v8.0.1
2025-09-30 11:33:19 +02:00
Kamil Mysliwiec
369cb34cd1 Merge pull request #15693 from nestjs/renovate/confluentinc-cp-zookeeper-7.x
chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.3
2025-09-30 11:33:12 +02:00
Kamil Mysliwiec
b4b8279d31 Merge pull request #15679 from nestjs/dependabot/npm_and_yarn/commitlint/cli-20.0.0
chore(deps-dev): bump @commitlint/cli from 19.8.1 to 20.0.0
2025-09-30 11:33:03 +02:00
renovate[bot]
23898fe00c chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.3 2025-09-30 08:17:23 +00:00
renovate[bot]
503f0c3bbc chore(deps): update confluentinc/cp-kafka docker tag to v8.0.1 2025-09-30 08:17:18 +00:00
Kamil Mysliwiec
51da3fcc48 Merge pull request #15677 from nestjs/dependabot/npm_and_yarn/mysql2-3.15.1
chore(deps-dev): bump mysql2 from 3.15.0 to 3.15.1
2025-09-30 10:14:24 +02:00
dependabot[bot]
e404c30496 chore(deps-dev): bump @commitlint/cli from 19.8.1 to 20.0.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 19.8.1 to 20.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.0.0/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-version: 20.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 08:14:01 +00:00
Kamil Mysliwiec
66bb6c900c Merge pull request #15633 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.36.0
2025-09-30 10:14:01 +02:00
Kamil Mysliwiec
34cbbf8cb5 Merge pull request #15676 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.15.1
2025-09-30 10:13:45 +02:00
dependabot[bot]
15ff5ed42e chore(deps-dev): bump mysql2 from 3.15.0 to 3.15.1
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.15.0 to 3.15.1.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.15.0...v3.15.1)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.15.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 08:13:25 +00:00
Kamil Mysliwiec
947d66feb6 Merge pull request #15683 from nestjs/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16.2.3
2025-09-30 10:13:25 +02:00
Kamil Mysliwiec
761e153737 Merge pull request #15649 from nestjs/renovate/artillery-2.x
chore(deps): update dependency artillery to v2.0.26
2025-09-30 10:13:14 +02:00
Kamil Mysliwiec
18ba0f5e14 Merge pull request #15680 from nestjs/dependabot/npm_and_yarn/artillery-2.0.26
chore(deps-dev): bump artillery from 2.0.25 to 2.0.26
2025-09-30 10:13:01 +02:00
Kamil Mysliwiec
8a02523d63 Merge pull request #15682 from nestjs/dependabot/npm_and_yarn/commitlint/config-angular-20.0.0
chore(deps-dev): bump @commitlint/config-angular from 19.8.1 to 20.0.0
2025-09-30 10:12:35 +02:00
Kamil Mysliwiec
22ba3db823 Merge pull request #15688 from nestjs/dependabot/npm_and_yarn/lint-staged-16.2.3
chore(deps-dev): bump lint-staged from 16.2.0 to 16.2.3
2025-09-30 10:12:30 +02:00
Kamil Mysliwiec
a2fc384be6 Merge pull request #15690 from nestjs/dependabot/npm_and_yarn/mongoose-8.18.3
chore(deps-dev): bump mongoose from 8.18.2 to 8.18.3
2025-09-30 10:11:46 +02:00
Kamil Mysliwiec
0ad570ac03 Merge pull request #15691 from nestjs/dependabot/npm_and_yarn/fast-json-stringify-6.1.1
chore(deps): bump fast-json-stringify from 6.0.1 to 6.1.1
2025-09-30 10:11:38 +02:00
dependabot[bot]
85d81c1333 chore(deps): bump fast-json-stringify from 6.0.1 to 6.1.1
Bumps [fast-json-stringify](https://github.com/fastify/fast-json-stringify) from 6.0.1 to 6.1.1.
- [Release notes](https://github.com/fastify/fast-json-stringify/releases)
- [Commits](https://github.com/fastify/fast-json-stringify/compare/v6.0.1...v6.1.1)

---
updated-dependencies:
- dependency-name: fast-json-stringify
  dependency-version: 6.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 03:31:09 +00:00
dependabot[bot]
beb0ab4ce8 chore(deps-dev): bump mongoose from 8.18.2 to 8.18.3
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.18.2 to 8.18.3.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.18.2...8.18.3)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.18.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-30 01:49:44 +00:00
dependabot[bot]
4eff0ab73c chore(deps-dev): bump lint-staged from 16.2.0 to 16.2.3
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.0 to 16.2.3.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.2.0...v16.2.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.2.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 00:02:39 +00:00
renovate[bot]
a3cadeec61 chore(deps): update dependency lint-staged to v16.2.3 2025-09-28 14:05:39 +00:00
renovate[bot]
1eb8640dcf chore(deps): update dependency artillery to v2.0.26 2025-09-26 00:07:23 +00:00
renovate[bot]
f66b608060 fix(deps): update dependency mysql2 to v3.15.1 2025-09-26 00:04:38 +00:00
dependabot[bot]
1c9ac2dffc chore(deps-dev): bump @commitlint/config-angular from 19.8.1 to 20.0.0
Bumps [@commitlint/config-angular](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-angular) from 19.8.1 to 20.0.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-angular/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v20.0.0/@commitlint/config-angular)

---
updated-dependencies:
- dependency-name: "@commitlint/config-angular"
  dependency-version: 20.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-26 00:03:02 +00:00
dependabot[bot]
f55ca9b078 chore(deps-dev): bump artillery from 2.0.25 to 2.0.26
Bumps [artillery](https://github.com/artilleryio/artillery) from 2.0.25 to 2.0.26.
- [Release notes](https://github.com/artilleryio/artillery/releases)
- [Commits](https://github.com/artilleryio/artillery/commits)

---
updated-dependencies:
- dependency-name: artillery
  dependency-version: 2.0.26
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-26 00:02:04 +00:00
renovate[bot]
eefe7e5d9a chore(deps): update eslint monorepo to v9.36.0 2025-09-25 11:04:24 +00:00
Kamil Mysliwiec
0d86cf6622 Merge pull request #15678 from nestjs/renovate/mercurius-16.x
fix(deps): update dependency mercurius to v16.3.0
2025-09-25 13:01:36 +02:00
renovate[bot]
6c81544704 fix(deps): update dependency mercurius to v16.3.0 2025-09-25 09:04:54 +00:00
Kamil Mysliwiec
5538bfd374 Merge pull request #15673 from nestjs/dependabot/npm_and_yarn/ioredis-5.8.0
chore(deps-dev): bump ioredis from 5.7.0 to 5.8.0
2025-09-24 12:29:37 +02:00
Kamil Mysliwiec
d2bc5d121d Merge pull request #15667 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.44.1
2025-09-24 12:29:14 +02:00
dependabot[bot]
dd973151e4 chore(deps-dev): bump ioredis from 5.7.0 to 5.8.0
Bumps [ioredis](https://github.com/luin/ioredis) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-24 00:01:54 +00:00
renovate[bot]
b70fa4b00a chore(deps): update typescript-eslint monorepo to v8.44.1 2025-09-23 08:39:30 +00:00
Kamil Mysliwiec
abe1e65174 Merge pull request #15663 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.2
chore(deps-dev): bump cache-manager from 7.2.0 to 7.2.2
2025-09-23 10:34:33 +02:00
Kamil Mysliwiec
c937d24b7b Merge pull request #15664 from nestjs/dependabot/npm_and_yarn/fastify-5.6.1
chore(deps): bump fastify from 5.6.0 to 5.6.1
2025-09-23 10:34:26 +02:00
Kamil Mysliwiec
fe9c61cb47 Merge pull request #15668 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.2
2025-09-23 10:34:09 +02:00
Kamil Mysliwiec
1e23531552 Merge pull request #15669 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.44.1
chore(deps-dev): bump typescript-eslint from 8.44.0 to 8.44.1
2025-09-23 10:34:00 +02:00
Kamil Mysliwiec
dcaebc1143 Merge pull request #15671 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.18.2
2025-09-23 10:33:49 +02:00
renovate[bot]
890d53fb79 fix(deps): update dependency mongoose to v8.18.2 2025-09-23 01:48:55 +00:00
dependabot[bot]
3dee593e44 chore(deps-dev): bump typescript-eslint from 8.44.0 to 8.44.1
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.44.0 to 8.44.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.44.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.44.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-23 00:03:32 +00:00
renovate[bot]
80a49e1c57 fix(deps): update dependency cache-manager to v7.2.2 2025-09-23 00:03:26 +00:00
dependabot[bot]
70a8e2f204 chore(deps): bump fastify from 5.6.0 to 5.6.1
Bumps [fastify](https://github.com/fastify/fastify) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.6.0...v5.6.1)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-23 00:02:04 +00:00
dependabot[bot]
029f43f7e1 chore(deps-dev): bump cache-manager from 7.2.0 to 7.2.2
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.2.0 to 7.2.2.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-23 00:01:43 +00:00
Kamil Mysliwiec
12e85d5744 Merge pull request #15656 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.4.4
2025-09-22 15:50:51 +02:00
renovate[bot]
bfc4b87879 chore(deps): update dependency ts-jest to v29.4.4 2025-09-22 09:00:14 +00:00
Kamil Mysliwiec
9bff3c98e4 Merge pull request #15655 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.27
2025-09-22 10:57:53 +02:00
Kamil Mysliwiec
69bce25e01 Merge pull request #15662 from nestjs/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16.2.0
2025-09-22 10:39:00 +02:00
renovate[bot]
8cc8c4a8c9 chore(deps): update dependency lint-staged to v16.2.0 2025-09-22 08:34:39 +00:00
Kamil Mysliwiec
88f5cda8a0 Merge pull request #15659 from nestjs/dependabot/npm_and_yarn/eslint-9.36.0
chore(deps-dev): bump eslint from 9.35.0 to 9.36.0
2025-09-22 10:31:45 +02:00
renovate[bot]
4dbf70393d fix(deps): update dependency typeorm to v0.3.27 2025-09-22 08:31:31 +00:00
Kamil Mysliwiec
1862abfd60 Merge pull request #15660 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.27
chore(deps-dev): bump typeorm from 0.3.26 to 0.3.27
2025-09-22 10:29:34 +02:00
dependabot[bot]
2ddb3bdb63 chore(deps-dev): bump typeorm from 0.3.26 to 0.3.27
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.26...0.3.27)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-version: 0.3.27
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 00:02:48 +00:00
dependabot[bot]
4fa1ff2652 chore(deps-dev): bump eslint from 9.35.0 to 9.36.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.35.0 to 9.36.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.35.0...v9.36.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.36.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 00:02:23 +00:00
Kamil Mysliwiec
f6d0f52fb7 Merge pull request #15653 from nestjs/dependabot/npm_and_yarn/multi-d10db95f02
chore(deps): bump yargs-parser and lerna
2025-09-19 11:39:42 +02:00
Kamil Mysliwiec
d04243f914 Merge pull request #15648 from nestjs/renovate/nestjs-schedule-6.x
fix(deps): update dependency @nestjs/schedule to v6.0.1
2025-09-19 11:39:34 +02:00
dependabot[bot]
9578d55014 chore(deps): bump yargs-parser and lerna
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) to 21.1.1 and updates ancestor dependency [lerna](https://github.com/lerna/lerna/tree/HEAD/packages/lerna). These dependencies need to be updated together.


Updates `yargs-parser` from 7.0.0 to 21.1.1
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs-parser/compare/v7.0.0...yargs-parser-v21.1.1)

Updates `lerna` from 2.11.0 to 8.2.4
- [Release notes](https://github.com/lerna/lerna/releases)
- [Changelog](https://github.com/lerna/lerna/blob/main/packages/lerna/CHANGELOG.md)
- [Commits](https://github.com/lerna/lerna/commits/v8.2.4/packages/lerna)

---
updated-dependencies:
- dependency-name: yargs-parser
  dependency-version: 21.1.1
  dependency-type: indirect
- dependency-name: lerna
  dependency-version: 8.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-19 08:15:55 +00:00
Kamil Mysliwiec
b29d583dd3 Merge pull request #15650 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.20.0
2025-09-19 10:14:29 +02:00
Kamil Mysliwiec
a988949528 Merge pull request #15651 from nestjs/dependabot/npm_and_yarn/types/node-24.5.2
chore(deps-dev): bump @types/node from 24.5.1 to 24.5.2
2025-09-19 10:14:22 +02:00
Kamil Mysliwiec
06e0c86986 Merge pull request #15652 from nestjs/dependabot/npm_and_yarn/artillery-2.0.25
chore(deps-dev): bump artillery from 2.0.24 to 2.0.25
2025-09-19 10:14:16 +02:00
dependabot[bot]
aaefe35245 chore(deps-dev): bump artillery from 2.0.24 to 2.0.25
Bumps [artillery](https://github.com/artilleryio/artillery) from 2.0.24 to 2.0.25.
- [Release notes](https://github.com/artilleryio/artillery/releases)
- [Commits](https://github.com/artilleryio/artillery/compare/artillery-2.0.24...artillery-2.0.25)

---
updated-dependencies:
- dependency-name: artillery
  dependency-version: 2.0.25
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-19 00:02:49 +00:00
dependabot[bot]
c9bfcc5a9d chore(deps-dev): bump @types/node from 24.5.1 to 24.5.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.5.1 to 24.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.5.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-19 00:02:06 +00:00
renovate[bot]
fae0cfc061 fix(deps): update dependency mongodb to v6.20.0 2025-09-18 17:16:39 +00:00
renovate[bot]
89634317e0 fix(deps): update dependency @nestjs/schedule to v6.0.1 2025-09-18 09:19:41 +00:00
Kamil Mysliwiec
8112577069 Merge pull request #15647 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.4.3
2025-09-18 11:17:30 +02:00
renovate[bot]
6cf1efd6ce chore(deps): update dependency ts-jest to v29.4.3 2025-09-18 07:13:27 +00:00
Kamil Mysliwiec
8aa77becd6 Merge pull request #15645 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.6
2025-09-18 09:11:23 +02:00
renovate[bot]
70a9542e22 chore(deps): update dependency @types/node to v22.18.6 2025-09-18 02:03:13 +00:00
Kamil Mysliwiec
f3d98d1d68 Merge pull request #15644 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.15.0
2025-09-17 09:58:46 +02:00
Kamil Mysliwiec
bb46b03d48 Merge pull request #15643 from nestjs/renovate/grpc-grpc-js-1.x
fix(deps): update dependency @grpc/grpc-js to v1.14.0
2025-09-17 09:58:42 +02:00
renovate[bot]
8b0a57bfb5 fix(deps): update dependency @grpc/grpc-js to v1.14.0 2025-09-17 07:09:58 +00:00
renovate[bot]
f66a09c258 fix(deps): update dependency mysql2 to v3.15.0 2025-09-17 07:07:24 +00:00
Kamil Mysliwiec
6b9e34e2ec Merge pull request #15636 from nestjs/renovate/ts-morph-27.x
fix(deps): update dependency ts-morph to v27
2025-09-17 09:06:35 +02:00
Kamil Mysliwiec
24202fd558 Merge pull request #15641 from nestjs/renovate/node-24.x
chore(deps): update dependency @types/node to v24.5.1
2025-09-17 09:06:17 +02:00
Kamil Mysliwiec
96c5afebc7 Merge pull request #15635 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.16.2
2025-09-17 09:05:59 +02:00
Kamil Mysliwiec
6cf35b1e34 Merge pull request #15637 from nestjs/dependabot/npm_and_yarn/types/node-24.5.1
chore(deps-dev): bump @types/node from 24.5.0 to 24.5.1
2025-09-17 09:05:38 +02:00
Kamil Mysliwiec
e81780fb36 Merge pull request #15638 from nestjs/dependabot/npm_and_yarn/grpc/grpc-js-1.14.0
chore(deps-dev): bump @grpc/grpc-js from 1.13.4 to 1.14.0
2025-09-17 09:05:31 +02:00
Kamil Mysliwiec
12d03c1eee Merge pull request #15639 from nestjs/dependabot/npm_and_yarn/mysql2-3.15.0
chore(deps-dev): bump mysql2 from 3.14.5 to 3.15.0
2025-09-17 09:05:19 +02:00
Kamil Mysliwiec
26e90d84dc Merge pull request #15640 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.5
2025-09-17 09:05:11 +02:00
renovate[bot]
04156584ab chore(deps): update dependency @types/node to v24.5.1 2025-09-17 00:04:41 +00:00
renovate[bot]
abcb21976f chore(deps): update dependency @types/node to v22.18.5 2025-09-17 00:04:17 +00:00
dependabot[bot]
2bdd75c79b chore(deps-dev): bump mysql2 from 3.14.5 to 3.15.0
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.14.5 to 3.15.0.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.14.5...v3.15.0)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.15.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 00:03:18 +00:00
dependabot[bot]
101820510c chore(deps-dev): bump @grpc/grpc-js from 1.13.4 to 1.14.0
Bumps [@grpc/grpc-js](https://github.com/grpc/grpc-node) from 1.13.4 to 1.14.0.
- [Release notes](https://github.com/grpc/grpc-node/releases)
- [Commits](https://github.com/grpc/grpc-node/compare/@grpc/grpc-js@1.13.4...@grpc/grpc-js@1.14.0)

---
updated-dependencies:
- dependency-name: "@grpc/grpc-js"
  dependency-version: 1.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 00:02:53 +00:00
dependabot[bot]
1463ef03a2 chore(deps-dev): bump @types/node from 24.5.0 to 24.5.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.5.0 to 24.5.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.5.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 00:02:14 +00:00
renovate[bot]
25d739de0d fix(deps): update dependency ts-morph to v27 2025-09-16 13:49:32 +00:00
renovate[bot]
e609fdf4ec fix(deps): update dependency @prisma/client to v6.16.2 2025-09-16 13:48:57 +00:00
Kamil Mysliwiec
0341f989f0 Merge pull request #15634 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.44.0
2025-09-16 15:40:17 +02:00
renovate[bot]
4c0011f79c chore(deps): update typescript-eslint monorepo to v8.44.0 2025-09-16 10:21:52 +00:00
Kamil Mysliwiec
a3b4b6dfaa Merge pull request #15631 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.4
2025-09-16 11:55:54 +02:00
Kamil Mysliwiec
4f4c0feeaf Merge pull request #15632 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.4.2
2025-09-16 11:51:33 +02:00
renovate[bot]
4675b12aac chore(deps): update dependency ts-jest to v29.4.2 2025-09-16 08:13:58 +00:00
renovate[bot]
3225eec60a chore(deps): update dependency @types/node to v22.18.4 2025-09-16 08:13:50 +00:00
Kamil Mysliwiec
bacd685af6 Merge pull request #14720 from nestjs/renovate/typescript-5.x
fix(deps): update dependency typescript to v5.9.2
2025-09-16 10:10:56 +02:00
Kamil Mysliwiec
74b5ab8fc7 Merge pull request #15578 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.35.0
2025-09-16 10:07:52 +02:00
Kamil Mysliwiec
82b4f07d18 Merge pull request #15622 from nestjs/renovate/path-to-regexp-8.x
fix(deps): update dependency path-to-regexp to v8.3.0
2025-09-16 10:07:42 +02:00
Kamil Mysliwiec
55860382c5 Merge pull request #15503 from mag123c/feat/add-forceconsole-option-to-logger
feat(common): add force-console option to console logger
2025-09-16 10:07:15 +02:00
Kamil Mysliwiec
fada0a7f58 Merge pull request #15588 from at7211/feat/enhance-dependency-error-messages
fix(core): improve dependency resolution error messages
2025-09-16 10:06:05 +02:00
Kamil Mysliwiec
08917d3450 Merge pull request #15627 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.44.0
chore(deps-dev): bump typescript-eslint from 8.43.0 to 8.44.0
2025-09-16 10:05:25 +02:00
Kamil Mysliwiec
9dd698c5cd Merge pull request #15598 from ghyghoo8/patch-1
feat(errors): add InvalidTcpDataReceptionException for handling TCP receive errors​
2025-09-16 10:05:18 +02:00
Kamil Mysliwiec
42afba7aaf Merge pull request #15621 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.16.1
2025-09-16 10:04:35 +02:00
Kamil Mysliwiec
3510ea8e5d Merge pull request #15628 from nestjs/dependabot/npm_and_yarn/types/node-24.5.0
chore(deps-dev): bump @types/node from 24.3.1 to 24.5.0
2025-09-16 10:04:24 +02:00
Kamil Mysliwiec
86094c60e8 Merge pull request #15571 from mag123c/fix/transient-lifecycle-hook
fix(core): skip lifecycle hooks for non-instantiated transient services
2025-09-16 10:04:09 +02:00
dependabot[bot]
0d2e0584cf chore(deps-dev): bump @types/node from 24.3.1 to 24.5.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.3.1 to 24.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-16 00:05:01 +00:00
dependabot[bot]
7697c6fe48 chore(deps-dev): bump typescript-eslint from 8.43.0 to 8.44.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.43.0 to 8.44.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.44.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.44.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-16 00:04:39 +00:00
renovate[bot]
2ea299cb4e fix(deps): update dependency @prisma/client to v6.16.1 2025-09-11 12:49:44 +00:00
renovate[bot]
7ece30e147 fix(deps): update dependency typescript to v5.9.2 2025-09-10 14:50:37 +00:00
renovate[bot]
fc72d1ee26 fix(deps): update dependency path-to-regexp to v8.3.0 2025-09-10 14:50:24 +00:00
renovate[bot]
ad4fc4e79b chore(deps): update eslint monorepo to v9.35.0 2025-09-10 14:50:07 +00:00
Kamil Mysliwiec
6e1c4bcae4 Merge pull request #15617 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.18.1
2025-09-10 12:18:45 +02:00
Kamil Mysliwiec
eeac6282c4 Merge pull request #15618 from nestjs/renovate/globals-16.x
chore(deps): update dependency globals to v16.4.0
2025-09-10 12:18:38 +02:00
renovate[bot]
b9f9516784 chore(deps): update dependency globals to v16.4.0 2025-09-10 09:26:00 +00:00
renovate[bot]
59e9c3131b fix(deps): update dependency mongoose to v8.18.1 2025-09-10 09:25:52 +00:00
Kamil Mysliwiec
4d3448d678 Merge pull request #15602 from nestjs/renovate/dotenv-17.x
fix(deps): update dependency dotenv to v17.2.2
2025-09-10 10:13:40 +02:00
Kamil Mysliwiec
cd95acd134 Merge pull request #15604 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.14.5
2025-09-10 10:13:17 +02:00
Kamil Mysliwiec
b59db44bfd Merge pull request #15605 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.43.0
2025-09-10 10:13:10 +02:00
Kamil Mysliwiec
c1771fd453 Merge pull request #15611 from nestjs/dependabot/npm_and_yarn/mysql2-3.14.5
chore(deps-dev): bump mysql2 from 3.14.4 to 3.14.5
2025-09-10 10:12:54 +02:00
Kamil Mysliwiec
9c2af1c214 Merge pull request #15607 from nestjs/dependabot/npm_and_yarn/fastify-5.6.0
chore(deps): bump fastify from 5.5.0 to 5.6.0
2025-09-10 10:07:22 +02:00
ghy
68adf92897 fix 2025-09-10 16:07:01 +08:00
Kamil Mysliwiec
239264d3ae Merge pull request #15608 from nestjs/dependabot/npm_and_yarn/ts-morph-27.0.0
chore(deps-dev): bump ts-morph from 26.0.0 to 27.0.0
2025-09-10 10:01:12 +02:00
Kamil Mysliwiec
3bec79cddb Merge pull request #15610 from nestjs/dependabot/npm_and_yarn/eslint-9.35.0
chore(deps-dev): bump eslint from 9.34.0 to 9.35.0
2025-09-10 10:00:45 +02:00
Kamil Mysliwiec
80869ef5d9 Merge pull request #15612 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.43.0
chore(deps-dev): bump typescript-eslint from 8.42.0 to 8.43.0
2025-09-10 10:00:11 +02:00
Kamil Mysliwiec
8d87ec98b1 Merge pull request #15613 from nestjs/dependabot/npm_and_yarn/uuid-13.0.0
chore(deps): bump uuid from 11.1.0 to 13.0.0
2025-09-10 10:00:02 +02:00
ghy
f33aba8938 Update packages/microservices/errors/invalid-tcp-data-reception.exception.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-10 15:59:39 +08:00
dependabot[bot]
032364ba3b chore(deps-dev): bump mysql2 from 3.14.4 to 3.14.5
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.14.4 to 3.14.5.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.14.4...v3.14.5)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.14.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 07:58:31 +00:00
dependabot[bot]
291bdee8b2 chore(deps): bump fastify from 5.5.0 to 5.6.0
Bumps [fastify](https://github.com/fastify/fastify) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.5.0...v5.6.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 07:58:27 +00:00
Kamil Mysliwiec
cf9e90663f Merge pull request #15614 from nestjs/dependabot/npm_and_yarn/mongoose-8.18.1
chore(deps-dev): bump mongoose from 8.18.0 to 8.18.1
2025-09-10 09:57:12 +02:00
Kamil Mysliwiec
766205114a Merge pull request #15616 from nestjs/dependabot/npm_and_yarn/globals-16.4.0
chore(deps-dev): bump globals from 16.3.0 to 16.4.0
2025-09-10 09:56:59 +02:00
dependabot[bot]
885aadd547 chore(deps-dev): bump globals from 16.3.0 to 16.4.0
Bumps [globals](https://github.com/sindresorhus/globals) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.3.0...v16.4.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 16.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 00:01:51 +00:00
dependabot[bot]
302c38bd51 chore(deps-dev): bump mongoose from 8.18.0 to 8.18.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.18.0 to 8.18.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.18.0...8.18.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.18.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 00:05:09 +00:00
dependabot[bot]
59f829dd7c chore(deps): bump uuid from 11.1.0 to 13.0.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.1.0 to 13.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.1.0...v13.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 00:04:43 +00:00
dependabot[bot]
72443c89a2 chore(deps-dev): bump typescript-eslint from 8.42.0 to 8.43.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.42.0 to 8.43.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.43.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.43.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 00:04:22 +00:00
renovate[bot]
d70e955f90 chore(deps): update typescript-eslint monorepo to v8.43.0 2025-09-08 18:15:23 +00:00
renovate[bot]
04c32ceb76 fix(deps): update dependency mysql2 to v3.14.5 2025-09-08 11:47:07 +00:00
dependabot[bot]
7a6073cc9c chore(deps-dev): bump eslint from 9.34.0 to 9.35.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.34.0 to 9.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 00:02:41 +00:00
dependabot[bot]
862d8ed556 chore(deps-dev): bump ts-morph from 26.0.0 to 27.0.0
Bumps [ts-morph](https://github.com/dsherret/ts-morph) from 26.0.0 to 27.0.0.
- [Release notes](https://github.com/dsherret/ts-morph/releases)
- [Commits](https://github.com/dsherret/ts-morph/compare/26.0.0...27.0.0)

---
updated-dependencies:
- dependency-name: ts-morph
  dependency-version: 27.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 00:01:55 +00:00
ghy
9403addd44 fix:lint
lint fix at local
2025-09-06 16:15:52 +08:00
Kamil Mysliwiec
f5a911c0a4 Merge pull request #15601 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.1
2025-09-06 09:51:49 +02:00
Kamil Mysliwiec
f7e454dc16 Merge pull request #15600 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.28.4
2025-09-06 09:51:28 +02:00
renovate[bot]
4e22948c82 fix(deps): update dependency dotenv to v17.2.2 2025-09-05 22:00:42 +00:00
renovate[bot]
d5ac1d5882 chore(deps): update dependency @types/node to v22.18.1 2025-09-05 18:32:45 +00:00
renovate[bot]
a07518fb0a chore(deps): update babel monorepo to v7.28.4 2025-09-05 18:32:37 +00:00
Kamil Mysliwiec
0cd33dd0ee Merge pull request #15589 from nestjs/dependabot/npm_and_yarn/lint-staged-16.1.6
chore(deps-dev): bump lint-staged from 16.1.5 to 16.1.6
2025-09-05 20:28:52 +02:00
Kamil Mysliwiec
015867f83e Merge pull request #15590 from nestjs/dependabot/npm_and_yarn/mysql2-3.14.4
chore(deps-dev): bump mysql2 from 3.14.3 to 3.14.4
2025-09-05 20:28:04 +02:00
Kamil Mysliwiec
d758a8e3b5 Merge pull request #15584 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.19.0
2025-09-05 20:27:51 +02:00
Kamil Mysliwiec
da6d7aa68b Merge pull request #15585 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.18.0
2025-09-05 20:27:41 +02:00
Kamil Mysliwiec
3d5c912cdc Merge pull request #15592 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.42.0
chore(deps-dev): bump typescript-eslint from 8.41.0 to 8.42.0
2025-09-05 20:27:35 +02:00
Kamil Mysliwiec
c0f60cc4c9 Merge pull request #15595 from nestjs/dependabot/npm_and_yarn/mqtt-5.14.1
chore(deps-dev): bump mqtt from 5.14.0 to 5.14.1
2025-09-05 20:27:27 +02:00
Kamil Mysliwiec
50e64856d5 Merge pull request #15596 from nestjs/dependabot/npm_and_yarn/types/node-24.3.1
chore(deps-dev): bump @types/node from 24.3.0 to 24.3.1
2025-09-05 20:27:21 +02:00
Kamil Mysliwiec
1bc0d8339d Merge pull request #15597 from nestjs/dependabot/npm_and_yarn/fastify/multipart-9.2.1
chore(deps-dev): bump @fastify/multipart from 9.0.3 to 9.2.1
2025-09-05 20:27:10 +02:00
Kamil Mysliwiec
d8a1ee0fb2 Merge pull request #15591 from nestjs/dependabot/npm_and_yarn/mocha-11.7.2
chore(deps-dev): bump mocha from 11.7.1 to 11.7.2
2025-09-05 20:27:03 +02:00
ghy
4f6270fb95 Update invalid-tcp-data-reception.exception.ts
fix..=.=
2025-09-05 15:22:56 +08:00
ghy
4eb049261d fix lint error
Delete "."
2025-09-05 14:55:49 +08:00
ghy
a63c411d92 fix lint error 2025-09-05 14:39:38 +08:00
ghy
0bfd43cdd7 fix: build error 2025-09-05 14:09:36 +08:00
ghy
05f5c3633f fix lint 2025-09-05 14:06:14 +08:00
ghy
edefb30e31 fix: lint error 2025-09-05 14:02:02 +08:00
ghy
7a9dbde30e fix: lint error 2025-09-05 14:01:25 +08:00
ghy
9a6d03bc5c fix build error 2025-09-05 13:51:52 +08:00
ghy
b1af0e65a9 Update server-tcp.ts
typo  format
2025-09-05 11:41:25 +08:00
ghy
7d42cc9d16 Update and rename invalid-tcp-message.exception.ts to invalid-tcp-data-reception.exception.ts
rename InvalidTcpDataReceptionException
2025-09-05 11:40:07 +08:00
ghy
1194c7436f Update server-tcp.ts
type invalid-tcp-data-reception
2025-09-05 11:38:53 +08:00
ghy
df7b5263b7 Update invalid-tcp-message.exception.ts
typo error message
2025-09-05 11:28:59 +08:00
ghy
c023827a24 Create invalid-tcp-message.exception.ts
add file for tcp error message
2025-09-05 10:34:56 +08:00
dependabot[bot]
a6852a50ad chore(deps-dev): bump @fastify/multipart from 9.0.3 to 9.2.1
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 9.0.3 to 9.2.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v9.0.3...v9.2.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-version: 9.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:02:44 +00:00
dependabot[bot]
bffc807f39 chore(deps-dev): bump @types/node from 24.3.0 to 24.3.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.3.0 to 24.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:02:27 +00:00
dependabot[bot]
cd5e841cb5 chore(deps-dev): bump mqtt from 5.14.0 to 5.14.1
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.14.0...v5.14.1)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-version: 5.14.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 00:02:07 +00:00
at7211
2d20ef9887 fix(core): improve dependency resolution error messages 2025-09-04 15:02:08 +08:00
dependabot[bot]
f227a45cfd chore(deps-dev): bump typescript-eslint from 8.41.0 to 8.42.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.42.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.42.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 19:36:58 +00:00
dependabot[bot]
18005442ec chore(deps-dev): bump mocha from 11.7.1 to 11.7.2
Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.1 to 11.7.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.7.1...v11.7.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 11.7.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 18:53:39 +00:00
dependabot[bot]
87fb3e50f5 chore(deps-dev): bump mysql2 from 3.14.3 to 3.14.4
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.14.3 to 3.14.4.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.14.3...v3.14.4)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.14.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 18:47:18 +00:00
dependabot[bot]
2c69fcad6e chore(deps-dev): bump lint-staged from 16.1.5 to 16.1.6
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.1.5 to 16.1.6.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.1.5...v16.1.6)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.1.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-03 18:23:16 +00:00
renovate[bot]
91564720c3 fix(deps): update dependency mongoose to v8.18.0 2025-08-31 08:59:54 +00:00
renovate[bot]
470ccc35df fix(deps): update dependency mongodb to v6.19.0 2025-08-31 08:59:49 +00:00
Kamil Myśliwiec
b245ea0940 sample: add missing rimraf dep 2025-08-28 13:43:06 +02:00
Kamil Myśliwiec
d0d4c0fd93 sample: add missing rimraf dep to 20-cache sample 2025-08-28 13:26:24 +02:00
Kamil Mysliwiec
948ee9d3bb Merge pull request #15581 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.2.0
2025-08-28 13:09:28 +02:00
Kamil Mysliwiec
7341b34271 Merge pull request #15580 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.15.0
2025-08-28 13:09:24 +02:00
renovate[bot]
b99ecf6eee fix(deps): update dependency cache-manager to v7.2.0 2025-08-28 11:00:40 +00:00
renovate[bot]
27ed3947f1 fix(deps): update dependency @prisma/client to v6.15.0 2025-08-28 11:00:33 +00:00
Kamil Mysliwiec
9a97ff4494 Merge pull request #15528 from nestjs/dependabot/github_actions/actions/checkout-5
chore(deps): bump actions/checkout from 4 to 5
2025-08-28 12:59:28 +02:00
Kamil Mysliwiec
20fb24ff55 Merge pull request #15570 from nestjs/renovate/fastify-view-11.x
fix(deps): update dependency @fastify/view to v11.1.1
2025-08-28 12:59:07 +02:00
Kamil Mysliwiec
6a18196e4f Merge pull request #15575 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.18.0
2025-08-28 12:59:00 +02:00
Kamil Mysliwiec
28e857a8cf Merge pull request #15579 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.41.0
2025-08-28 12:58:55 +02:00
renovate[bot]
ec7adc3f02 chore(deps): update typescript-eslint monorepo to v8.41.0 2025-08-28 10:49:38 +00:00
renovate[bot]
9ff3b20380 chore(deps): update dependency @types/node to v22.18.0 2025-08-28 10:49:29 +00:00
renovate[bot]
f579606624 fix(deps): update dependency @fastify/view to v11.1.1 2025-08-28 10:49:04 +00:00
Kamil Mysliwiec
abbcf7344c Merge pull request #15458 from nestjs/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.34.0
2025-08-28 12:47:01 +02:00
Kamil Mysliwiec
5febc6c679 Merge pull request #15531 from nestjs/dependabot/npm_and_yarn/artillery-2.0.24
chore(deps-dev): bump artillery from 2.0.23 to 2.0.24
2025-08-28 12:46:50 +02:00
Kamil Mysliwiec
6fa7af7cfc Merge pull request #15564 from nestjs/dependabot/npm_and_yarn/fastify/view-11.1.1
chore(deps-dev): bump @fastify/view from 11.1.0 to 11.1.1
2025-08-28 12:46:42 +02:00
Kamil Mysliwiec
a663675e70 Merge pull request #15576 from nestjs/dependabot/npm_and_yarn/cache-manager-7.2.0
chore(deps-dev): bump cache-manager from 7.1.1 to 7.2.0
2025-08-28 12:45:07 +02:00
renovate[bot]
fb1ceaaf6b chore(deps): update eslint monorepo to v9.34.0 2025-08-28 10:33:43 +00:00
Kamil Mysliwiec
5f25b9cc9f Merge pull request #15577 from kerryChen95/master
Add color allowance check to console logger options
2025-08-28 12:29:37 +02:00
Kerry
e3e744b150 Add color allowance check to console logger options 2025-08-28 13:57:49 +08:00
Kerry
a117a2ab87 Export isColorAllowed function for external use 2025-08-28 13:53:50 +08:00
dependabot[bot]
3bcd6d557c chore(deps-dev): bump cache-manager from 7.1.1 to 7.2.0
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.1.1 to 7.2.0.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 11:55:03 +00:00
dependabot[bot]
b14c7c6802 chore(deps-dev): bump artillery from 2.0.23 to 2.0.24
Bumps [artillery](https://github.com/artilleryio/artillery) from 2.0.23 to 2.0.24.
- [Release notes](https://github.com/artilleryio/artillery/releases)
- [Commits](https://github.com/artilleryio/artillery/compare/artillery-2.0.23...artillery-2.0.24)

---
updated-dependencies:
- dependency-name: artillery
  dependency-version: 2.0.24
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-27 07:35:15 +00:00
Kamil Mysliwiec
6634a2daa7 Merge pull request #15574 from nestjs/dependabot/npm_and_yarn/amqplib-0.10.9
chore(deps-dev): bump amqplib from 0.10.8 to 0.10.9
2025-08-27 09:33:51 +02:00
Kamil Mysliwiec
f61627fd3e Merge pull request #15573 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.41.0
chore(deps-dev): bump typescript-eslint from 8.40.0 to 8.41.0
2025-08-27 09:33:42 +02:00
Kamil Mysliwiec
a219fb8fa4 Merge pull request #15572 from nestjs/dependabot/npm_and_yarn/concurrently-9.2.1
chore(deps-dev): bump concurrently from 9.2.0 to 9.2.1
2025-08-27 09:33:36 +02:00
dependabot[bot]
dceffffff8 chore(deps-dev): bump amqplib from 0.10.8 to 0.10.9
Bumps [amqplib](https://github.com/amqp-node/amqplib) from 0.10.8 to 0.10.9.
- [Release notes](https://github.com/amqp-node/amqplib/releases)
- [Changelog](https://github.com/amqp-node/amqplib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amqp-node/amqplib/compare/v0.10.8...v0.10.9)

---
updated-dependencies:
- dependency-name: amqplib
  dependency-version: 0.10.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 18:46:14 +00:00
dependabot[bot]
f3ff3f67cd chore(deps-dev): bump typescript-eslint from 8.40.0 to 8.41.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.40.0 to 8.41.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.41.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.41.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 18:26:06 +00:00
dependabot[bot]
12a112bbd9 chore(deps-dev): bump concurrently from 9.2.0 to 9.2.1
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v9.2.0...v9.2.1)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-version: 9.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 16:49:20 +00:00
mag123c
7f05dd12b0 fix(core): prevent lifecycle hook on non-instantiated transient service 2025-08-26 23:16:48 +09:00
mag123c
bd82272104 fix(core): check isresolved flag for transient lifecycle hooks 2025-08-26 22:27:52 +09:00
mag123c
1d44f34d23 fix(core): skip lifecycle hooks for non-instantiated transient services 2025-08-26 21:03:44 +09:00
Kamil Mysliwiec
7b2ae222f9 Merge pull request #15566 from nestjs/dependabot/npm_and_yarn/load-esm-1.0.3
chore(deps): bump load-esm from 1.0.2 to 1.0.3
2025-08-25 17:00:59 +02:00
Kamil Mysliwiec
a145c83de1 Merge pull request #15567 from nestjs/dependabot/npm_and_yarn/mongoose-8.18.0
chore(deps-dev): bump mongoose from 8.17.2 to 8.18.0
2025-08-25 17:00:51 +02:00
Kamil Mysliwiec
522c38fb51 Merge pull request #15559 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.8.2
2025-08-25 16:59:29 +02:00
Kamil Mysliwiec
5a0c02f81e Merge pull request #15561 from nestjs/renovate/ts-loader-9.x
chore(deps): update dependency ts-loader to v9.5.4
2025-08-25 16:59:17 +02:00
Kamil Mysliwiec
2f30a61d70 Merge pull request #15562 from nestjs/dependabot/npm_and_yarn/sinon-chai-4.0.1
chore(deps-dev): bump sinon-chai from 3.7.0 to 4.0.1
2025-08-25 16:59:05 +02:00
Kamil Mysliwiec
f05558dc0e Merge pull request #15565 from nestjs/dependabot/npm_and_yarn/eslint-9.34.0
chore(deps-dev): bump eslint from 9.33.0 to 9.34.0
2025-08-25 16:58:52 +02:00
dependabot[bot]
061b6e2f14 chore(deps-dev): bump mongoose from 8.17.2 to 8.18.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.17.2 to 8.18.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.17.2...8.18.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.18.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 00:41:23 +00:00
dependabot[bot]
730eb72e97 chore(deps): bump load-esm from 1.0.2 to 1.0.3
Bumps [load-esm](https://github.com/Borewit/load-esm) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/Borewit/load-esm/releases)
- [Commits](https://github.com/Borewit/load-esm/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: load-esm
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 00:40:05 +00:00
dependabot[bot]
625de01e69 chore(deps-dev): bump eslint from 9.33.0 to 9.34.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.33.0 to 9.34.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.33.0...v9.34.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.34.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 00:39:47 +00:00
dependabot[bot]
591d934917 chore(deps-dev): bump @fastify/view from 11.1.0 to 11.1.1
Bumps [@fastify/view](https://github.com/fastify/point-of-view) from 11.1.0 to 11.1.1.
- [Release notes](https://github.com/fastify/point-of-view/releases)
- [Commits](https://github.com/fastify/point-of-view/compare/v11.1.0...v11.1.1)

---
updated-dependencies:
- dependency-name: "@fastify/view"
  dependency-version: 11.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 00:39:32 +00:00
dependabot[bot]
1a68d0dc60 chore(deps-dev): bump sinon-chai from 3.7.0 to 4.0.1
Bumps [sinon-chai](https://github.com/chaijs/sinon-chai) from 3.7.0 to 4.0.1.
- [Release notes](https://github.com/chaijs/sinon-chai/releases)
- [Changelog](https://github.com/chaijs/sinon-chai/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chaijs/sinon-chai/compare/3.7.0...4.0.1)

---
updated-dependencies:
- dependency-name: sinon-chai
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-25 00:38:50 +00:00
renovate[bot]
095d8cfa0b chore(deps): update dependency ts-loader to v9.5.4 2025-08-24 17:20:07 +00:00
renovate[bot]
f9cca1f195 chore(deps): update dependency redis to v5.8.2 2025-08-24 17:20:00 +00:00
Kamil Mysliwiec
7d92e7a026 Merge pull request #15560 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.40.0
2025-08-24 19:17:38 +02:00
renovate[bot]
4a1ef8a951 chore(deps): update typescript-eslint monorepo to v8.40.0 2025-08-22 11:02:16 +00:00
Kamil Mysliwiec
e06a999df0 Merge pull request #15555 from nestjs/dependabot/npm_and_yarn/redis-5.8.2
chore(deps-dev): bump redis from 5.8.1 to 5.8.2
2025-08-22 08:53:28 +02:00
Kamil Mysliwiec
9e6a9b7852 Merge pull request #15557 from nestjs/dependabot/npm_and_yarn/sha.js-2.4.12
chore(deps): bump sha.js from 2.4.11 to 2.4.12
2025-08-22 08:53:07 +02:00
Kamil Mysliwiec
6c97065cff Merge pull request #15556 from nestjs/dependabot/npm_and_yarn/core-js-3.45.1
chore(deps-dev): bump core-js from 3.45.0 to 3.45.1
2025-08-22 08:52:55 +02:00
Kamil Mysliwiec
afc9ee90ba Merge pull request #15547 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.17.2
2025-08-22 08:52:45 +02:00
Kamil Mysliwiec
8a36004ae1 Merge pull request #15549 from nestjs/renovate/typeorm-0.x
fix(deps): update dependency typeorm to v0.3.26
2025-08-22 08:52:36 +02:00
dependabot[bot]
0192dfa8d7 chore(deps): bump sha.js from 2.4.11 to 2.4.12
Bumps [sha.js](https://github.com/crypto-browserify/sha.js) from 2.4.11 to 2.4.12.
- [Changelog](https://github.com/browserify/sha.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/sha.js/compare/v2.4.11...v2.4.12)

---
updated-dependencies:
- dependency-name: sha.js
  dependency-version: 2.4.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 15:45:27 +00:00
dependabot[bot]
bcf61c924d chore(deps-dev): bump core-js from 3.45.0 to 3.45.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.45.0 to 3.45.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.45.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.45.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 00:10:37 +00:00
dependabot[bot]
52be6eb5d9 chore(deps-dev): bump redis from 5.8.1 to 5.8.2
Bumps [redis](https://github.com/redis/node-redis) from 5.8.1 to 5.8.2.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.8.1...redis@5.8.2)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.8.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-21 00:10:02 +00:00
renovate[bot]
6a9b8ac33a fix(deps): update dependency mongoose to v8.17.2 2025-08-20 08:17:32 +00:00
renovate[bot]
97d57f6d06 fix(deps): update dependency typeorm to v0.3.26 2025-08-20 08:15:12 +00:00
Kamil Mysliwiec
6854d7ba4d Merge pull request #15552 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.40.0
chore(deps-dev): bump typescript-eslint from 8.39.1 to 8.40.0
2025-08-20 10:14:22 +02:00
Kamil Mysliwiec
b9e14330d0 Merge pull request #15551 from nestjs/dependabot/npm_and_yarn/mongoose-8.17.2
chore(deps-dev): bump mongoose from 8.17.1 to 8.17.2
2025-08-20 10:14:15 +02:00
Kamil Mysliwiec
f95dc4011a Merge pull request #15550 from nestjs/dependabot/npm_and_yarn/typeorm-0.3.26
chore(deps-dev): bump typeorm from 0.3.25 to 0.3.26
2025-08-20 10:13:13 +02:00
dependabot[bot]
74089f50a5 chore(deps-dev): bump typescript-eslint from 8.39.1 to 8.40.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.39.1 to 8.40.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.40.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.40.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 12:06:29 +00:00
dependabot[bot]
46575028e9 chore(deps-dev): bump mongoose from 8.17.1 to 8.17.2
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.17.1 to 8.17.2.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.17.1...8.17.2)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.17.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 11:18:40 +00:00
dependabot[bot]
cf2c102a55 chore(deps-dev): bump typeorm from 0.3.25 to 0.3.26
Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/typeorm/typeorm/releases)
- [Changelog](https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typeorm/typeorm/compare/0.3.25...0.3.26)

---
updated-dependencies:
- dependency-name: typeorm
  dependency-version: 0.3.26
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 10:49:04 +00:00
Kamil Mysliwiec
3876179f6d Merge pull request #15545 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.17.2
2025-08-19 12:46:32 +02:00
renovate[bot]
803a6a65c5 chore(deps): update dependency @types/node to v22.17.2 2025-08-19 07:51:14 +00:00
Kamil Mysliwiec
2ebfb9cc83 Merge pull request #15546 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.101.3
2025-08-19 09:49:32 +02:00
renovate[bot]
1b0f2d994e chore(deps): update dependency webpack to v5.101.3 2025-08-19 07:36:27 +00:00
Kamil Mysliwiec
57cae38c9f Merge pull request #15535 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.8.1
2025-08-19 09:34:38 +02:00
Kamil Mysliwiec
be3098a7b7 Merge pull request #15542 from nestjs/renovate/babel-monorepo
chore(deps): update babel monorepo to v7.28.3
2025-08-19 09:34:26 +02:00
Seongjee Kim
526e68c288 style: remove blank lines 2025-08-18 21:56:17 +09:00
Seongjee Kim
0c7b94d34e feat(ws): add integration for manually ack 2025-08-18 21:11:12 +09:00
Seongjee Kim
92372ae978 feat(ws): add unit tests for manually ack 2025-08-18 21:10:45 +09:00
Seongjee Kim
6559c97d12 feat(ws): add ack decorator 2025-08-18 21:08:58 +09:00
Seongjee Kim
4d9c188016 feat(ws): add explore ack param 2025-08-18 21:08:16 +09:00
renovate[bot]
085cd97ac5 chore(deps): update dependency redis to v5.8.1 2025-08-18 06:49:21 +00:00
renovate[bot]
5ad2afacfc chore(deps): update babel monorepo to v7.28.3 2025-08-18 06:48:58 +00:00
Kamil Mysliwiec
ad38a4bc78 Merge pull request #15538 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.101.2
2025-08-18 08:45:06 +02:00
Kamil Mysliwiec
d16986f27b Merge pull request #15541 from nestjs/dependabot/npm_and_yarn/types/node-24.3.0
chore(deps-dev): bump @types/node from 24.2.1 to 24.3.0
2025-08-18 08:44:59 +02:00
Kamil Mysliwiec
6a71b50131 Merge pull request #15540 from micalevisk/patch-1
chore: update bug report issue template
2025-08-18 08:44:48 +02:00
dependabot[bot]
ac6fc02df6 chore(deps-dev): bump @types/node from 24.2.1 to 24.3.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.2.1 to 24.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 01:16:37 +00:00
renovate[bot]
7e5d13b9c8 chore(deps): update dependency webpack to v5.101.2 2025-08-14 16:31:36 +00:00
Micael Levi L. Cavalcante
c14e8e37b5 chore: update bug report issue template
remove useless fields
2025-08-14 12:08:04 -04:00
Kamil Mysliwiec
422c8acfcb Merge pull request #15530 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.39.1
2025-08-14 09:09:54 +02:00
Kamil Mysliwiec
e9b8e4b4cf Merge pull request #15537 from nestjs/dependabot/npm_and_yarn/redis-5.8.1
chore(deps-dev): bump redis from 5.8.0 to 5.8.1
2025-08-14 09:09:47 +02:00
dependabot[bot]
d42981d5f3 chore(deps-dev): bump redis from 5.8.0 to 5.8.1
Bumps [redis](https://github.com/redis/node-redis) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.8.0...redis@5.8.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.8.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 00:16:56 +00:00
renovate[bot]
9fda3d24fe chore(deps): update typescript-eslint monorepo to v8.39.1 2025-08-13 08:24:10 +00:00
Kamil Mysliwiec
f6c1e1de1e Merge pull request #15533 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.39.1
chore(deps-dev): bump typescript-eslint from 8.39.0 to 8.39.1
2025-08-13 10:19:45 +02:00
Kamil Mysliwiec
6ff0ae8e1d Merge pull request #15534 from nestjs/dependabot/npm_and_yarn/fastify-5.5.0
chore(deps): bump fastify from 5.4.0 to 5.5.0
2025-08-13 10:19:37 +02:00
dependabot[bot]
7efd4aac3f chore(deps): bump fastify from 5.4.0 to 5.5.0
Bumps [fastify](https://github.com/fastify/fastify) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.4.0...v5.5.0)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 11:25:34 +00:00
dependabot[bot]
0d5959cb47 chore(deps-dev): bump typescript-eslint from 8.39.0 to 8.39.1
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.39.0 to 8.39.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.39.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.39.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 10:58:26 +00:00
dependabot[bot]
e3ba7d1219 chore(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 09:22:01 +00:00
Kamil Mysliwiec
f5dc5b4873 Merge pull request #15519 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.17.1
2025-08-11 10:10:10 +02:00
Kamil Mysliwiec
6fd4763459 Merge pull request #15495 from nestjs/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16.1.5
2025-08-11 10:09:56 +02:00
Kamil Mysliwiec
8726dc546d Merge pull request #15520 from nestjs/dependabot/npm_and_yarn/eslint-9.33.0
chore(deps-dev): bump eslint from 9.32.0 to 9.33.0
2025-08-11 10:09:42 +02:00
renovate[bot]
e345d35ee4 chore(deps): update dependency @types/node to v22.17.1 2025-08-11 08:09:26 +00:00
Kamil Mysliwiec
aa8f8c942c Merge pull request #15521 from nestjs/dependabot/npm_and_yarn/types/node-24.2.1
chore(deps-dev): bump @types/node from 24.2.0 to 24.2.1
2025-08-11 10:08:17 +02:00
Kamil Mysliwiec
635f18a0a1 Merge pull request #15522 from nestjs/dependabot/npm_and_yarn/lint-staged-16.1.5
chore(deps-dev): bump lint-staged from 16.1.4 to 16.1.5
2025-08-11 10:08:05 +02:00
dependabot[bot]
626ade4bea chore(deps-dev): bump lint-staged from 16.1.4 to 16.1.5
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.1.4 to 16.1.5.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.1.4...v16.1.5)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.1.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 00:13:09 +00:00
dependabot[bot]
ffae7bc382 chore(deps-dev): bump @types/node from 24.2.0 to 24.2.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.2.0 to 24.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 00:12:37 +00:00
dependabot[bot]
b9b9e39db8 chore(deps-dev): bump eslint from 9.32.0 to 9.33.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.32.0 to 9.33.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.32.0...v9.33.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.33.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 00:11:55 +00:00
renovate[bot]
8587e63f3a chore(deps): update dependency lint-staged to v16.1.5 2025-08-09 09:30:40 +00:00
Kamil Mysliwiec
dc101dad1a Merge pull request #15518 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.6
2025-08-08 15:22:38 +02:00
renovate[bot]
09f9bf5a00 fix(deps): update nest monorepo to v11.1.6 2025-08-08 09:29:54 +00:00
Kamil Mysliwiec
94533ba5ed Merge pull request #15511 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.1.1
2025-08-08 11:27:36 +02:00
Kamil Mysliwiec
a3f911370e Merge pull request #15517 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.17.1
2025-08-08 11:27:31 +02:00
Kamil Mysliwiec
9aef0a027b Merge pull request #15499 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.39.0
2025-08-08 11:27:22 +02:00
renovate[bot]
fc77fa3b79 chore(deps): update typescript-eslint monorepo to v8.39.0 2025-08-08 08:44:00 +00:00
renovate[bot]
32a32e738d fix(deps): update dependency mongoose to v8.17.1 2025-08-08 08:43:26 +00:00
renovate[bot]
256bc367f9 fix(deps): update dependency cache-manager to v7.1.1 2025-08-08 08:43:22 +00:00
Kamil Mysliwiec
dd02051f75 Merge pull request #15516 from nestjs/dependabot/npm_and_yarn/mongoose-8.17.1
chore(deps-dev): bump mongoose from 8.17.0 to 8.17.1
2025-08-08 10:41:43 +02:00
Kamil Mysliwiec
0d97ce7845 Merge pull request #15515 from nestjs/dependabot/npm_and_yarn/cache-manager-7.1.1
chore(deps-dev): bump cache-manager from 7.1.0 to 7.1.1
2025-08-08 10:41:34 +02:00
Kamil Mysliwiec
1a7e72f8d0 Merge pull request #15512 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.8.0
2025-08-08 10:41:27 +02:00
renovate[bot]
9a02f511f3 chore(deps): update dependency redis to v5.8.0 2025-08-08 08:32:59 +00:00
Kamil Mysliwiec
73c279ea11 Merge pull request #15501 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.39.0
chore(deps-dev): bump typescript-eslint from 8.38.0 to 8.39.0
2025-08-08 10:30:28 +02:00
dependabot[bot]
85611b746e chore(deps-dev): bump mongoose from 8.17.0 to 8.17.1
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.17.0 to 8.17.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.17.0...8.17.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.17.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-08 00:55:07 +00:00
dependabot[bot]
d1acd81d03 chore(deps-dev): bump cache-manager from 7.1.0 to 7.1.1
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-08 00:54:45 +00:00
Kamil Myśliwiec
41c896bd5e chore: update package.json 2025-08-07 08:59:40 +02:00
Kamil Myśliwiec
35c3ded6db chore(@nestjs) publish v11.1.6 release 2025-08-07 08:59:11 +02:00
dependabot[bot]
f8dd9eab1e chore(deps-dev): bump typescript-eslint from 8.38.0 to 8.39.0
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.39.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-07 06:57:59 +00:00
Kamil Mysliwiec
b44373fc4d Merge pull request #15490 from ptrgits/patch-1
Fix Shell command built from environment values
2025-08-07 08:57:09 +02:00
Kamil Mysliwiec
30d94dc506 Merge pull request #15500 from nestjs/dependabot/npm_and_yarn/core-js-3.45.0
chore(deps-dev): bump core-js from 3.44.0 to 3.45.0
2025-08-07 08:55:23 +02:00
Kamil Mysliwiec
0e37421ef5 Merge pull request #15509 from nestjs/renovate/eslint-plugin-prettier-5.x
chore(deps): update dependency eslint-plugin-prettier to v5.5.4
2025-08-07 08:55:01 +02:00
Kamil Mysliwiec
60b2ed43cd Merge pull request #15504 from hajekjiri/bug/fix-undefined-injection
fix(core): fix race condition in class dependency resolution from imported modules
2025-08-07 08:54:48 +02:00
renovate[bot]
cd07fc111e chore(deps): update dependency eslint-plugin-prettier to v5.5.4 2025-08-07 06:53:30 +00:00
Kamil Mysliwiec
059fe01656 Merge pull request #15508 from kim-sung-jee/fix/max-packet-length-exceeded
fix(microservices): report correct buffer length in exception
2025-08-07 08:52:49 +02:00
Kamil Mysliwiec
c6eb0e4250 Merge pull request #15492 from LeonBiersch/LeonBiersch/fix-kafka-serialization
fix(microservices): fix kafka serilization of class instances
2025-08-07 08:52:27 +02:00
Kamil Mysliwiec
6577316918 Merge pull request #15469 from nestjs/fix/attach-root-inquirer
fix(core): attach root inquirer for nested transient providers
2025-08-07 08:51:50 +02:00
mag123c
ff81fb1f57 feat(common): add force-console option to nestfactory.create() 2025-08-07 14:12:50 +09:00
Kamil Mysliwiec
0e51937813 Merge pull request #15502 from nestjs/dependabot/npm_and_yarn/types/node-24.2.0
chore(deps-dev): bump @types/node from 24.1.0 to 24.2.0
2025-08-06 16:25:13 +02:00
Kamil Mysliwiec
ec0fd8ab74 Merge pull request #15505 from nestjs/dependabot/npm_and_yarn/redis-5.8.0
chore(deps-dev): bump redis from 5.7.0 to 5.8.0
2025-08-06 16:25:00 +02:00
kim-sung-jee
5a25cd93b3 fix(microservices): report correct buffer length in exception 2025-08-06 22:10:07 +09:00
dependabot[bot]
0d31e0a14c chore(deps-dev): bump redis from 5.7.0 to 5.8.0
Bumps [redis](https://github.com/redis/node-redis) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.7.0...redis@5.8.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06 00:13:13 +00:00
Jiri Hajek
ab93e4b0c2 fix(core): fix race condition in class dependency resolution
Fix race condition in class dependency resolution, which could otherwise
lead to undefined or null injection. This is a followup to #15405 that
fixes another case of this bug that was not taken care of in the
previous PR. In this case specifically, the staticity of the dependency
tree could be checked before all dependencies are loaded and the param /
property Barrier is passed, resulting in a potentially wrong evaluation
of the `isTreeStatic` property of the `InstanceWrapper`.

Closes #4873
2025-08-05 15:54:59 +02:00
mag123c
0577b5476b feat(common): add force-console option to console logger 2025-08-05 21:45:16 +09:00
dependabot[bot]
343a338d64 chore(deps-dev): bump @types/node from 24.1.0 to 24.2.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.1.0 to 24.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 08:18:37 +00:00
dependabot[bot]
af3711e7bc chore(deps-dev): bump core-js from 3.44.0 to 3.45.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.44.0 to 3.45.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.45.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-version: 3.45.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 07:47:16 +00:00
Kamil Mysliwiec
d559b81c38 Merge pull request #15493 from nestjs/dependabot/npm_and_yarn/fastify/cors-11.1.0
chore(deps): bump @fastify/cors from 11.0.1 to 11.1.0
2025-08-04 15:01:22 +02:00
Kamil Mysliwiec
956a1c3534 Merge pull request #15494 from nestjs/dependabot/npm_and_yarn/lint-staged-16.1.4
chore(deps-dev): bump lint-staged from 16.1.2 to 16.1.4
2025-08-04 15:01:14 +02:00
Kamil Mysliwiec
792e902894 Merge pull request #15496 from nestjs/renovate/ts-jest-29.x
chore(deps): update dependency ts-jest to v29.4.1
2025-08-04 15:01:06 +02:00
renovate[bot]
5f0e8c681d chore(deps): update dependency ts-jest to v29.4.1 2025-08-04 00:35:40 +00:00
dependabot[bot]
c687bed466 chore(deps-dev): bump lint-staged from 16.1.2 to 16.1.4
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.1.2 to 16.1.4.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v16.1.2...v16.1.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 00:34:43 +00:00
dependabot[bot]
ff643d14a7 chore(deps): bump @fastify/cors from 11.0.1 to 11.1.0
Bumps [@fastify/cors](https://github.com/fastify/fastify-cors) from 11.0.1 to 11.1.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v11.0.1...v11.1.0)

---
updated-dependencies:
- dependency-name: "@fastify/cors"
  dependency-version: 11.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 00:33:06 +00:00
LeonBiersch
a725ebabe3 fix(microservices): fix kafka serilization of class instances
Fix serilization of class instances that doesn't have own toString() implementation and therefore inherit the standard behavior of [object Object]. Add test for inherited classes.
2025-08-03 18:23:23 +02:00
pTr
d6d2daab69 Update samples.ts 2025-08-02 06:24:24 +07:00
Kamil Mysliwiec
b6d41888a4 Merge pull request #15481 from nestjs/renovate/ioredis-5.x
chore(deps): update dependency ioredis to v5.7.0
2025-08-01 09:13:52 +02:00
Kamil Mysliwiec
c4326bf2f7 Merge pull request #15482 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.7.0
2025-08-01 09:13:45 +02:00
renovate[bot]
978b5053c7 chore(deps): update dependency ioredis to v5.7.0 2025-08-01 07:13:41 +00:00
Kamil Mysliwiec
0059fa9d47 Merge pull request #15485 from nestjs/dependabot/npm_and_yarn/ioredis-5.7.0
chore(deps-dev): bump ioredis from 5.6.1 to 5.7.0
2025-08-01 09:12:48 +02:00
Kamil Mysliwiec
097b82c52e Merge pull request #15486 from nestjs/dependabot/npm_and_yarn/redis-5.7.0
chore(deps-dev): bump redis from 5.6.1 to 5.7.0
2025-08-01 09:12:44 +02:00
Kamil Mysliwiec
ee43c99eb0 Merge pull request #15487 from nestjs/dependabot/npm_and_yarn/typescript-5.9.2
chore(deps-dev): bump typescript from 5.8.3 to 5.9.2
2025-08-01 09:11:05 +02:00
dependabot[bot]
cdf659d8c3 chore(deps-dev): bump typescript from 5.8.3 to 5.9.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.3 to 5.9.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.9.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-01 00:21:23 +00:00
dependabot[bot]
58044060ce chore(deps-dev): bump redis from 5.6.1 to 5.7.0
Bumps [redis](https://github.com/redis/node-redis) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.6.1...redis@5.7.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-01 00:20:48 +00:00
dependabot[bot]
daff9b08be chore(deps-dev): bump ioredis from 5.6.1 to 5.7.0
Bumps [ioredis](https://github.com/luin/ioredis) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/redis/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.6.1...v5.7.0)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-version: 5.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-01 00:20:28 +00:00
renovate[bot]
9d995dc35e chore(deps): update dependency redis to v5.7.0 2025-07-31 16:31:41 +00:00
Kamil Mysliwiec
e570444fd8 Merge pull request #15480 from nestjs/renovate/nest-monorepo
chore(deps): update nest monorepo
2025-07-31 18:29:03 +02:00
renovate[bot]
12e315f9d0 chore(deps): update nest monorepo 2025-07-31 10:25:22 +00:00
Kamil Mysliwiec
cee31c01cd Merge pull request #15465 from nestjs/renovate/mysql2-3.x
fix(deps): update dependency mysql2 to v3.14.3
2025-07-31 12:22:55 +02:00
Kamil Mysliwiec
551092fa0d Merge pull request #15479 from nestjs/renovate/cache-manager-7.x
fix(deps): update dependency cache-manager to v7.1.0
2025-07-31 09:53:21 +02:00
Kamil Mysliwiec
a60b713baa Merge pull request #15470 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.17.0
2025-07-31 09:53:14 +02:00
renovate[bot]
c6d85f52a5 fix(deps): update dependency mysql2 to v3.14.3 2025-07-31 07:37:07 +00:00
renovate[bot]
bd180ec505 fix(deps): update dependency mongoose to v8.17.0 2025-07-31 07:34:37 +00:00
Kamil Mysliwiec
8a670e7e22 Merge pull request #15466 from nestjs/dependabot/npm_and_yarn/mysql2-3.14.3
chore(deps-dev): bump mysql2 from 3.14.2 to 3.14.3
2025-07-31 09:33:12 +02:00
Kamil Mysliwiec
b54cc02107 Merge pull request #15474 from nestjs/dependabot/npm_and_yarn/mongoose-8.17.0
chore(deps-dev): bump mongoose from 8.16.5 to 8.17.0
2025-07-31 09:32:02 +02:00
renovate[bot]
5fa2a17e66 fix(deps): update dependency cache-manager to v7.1.0 2025-07-31 07:29:09 +00:00
dependabot[bot]
b1745a697d chore(deps-dev): bump mongoose from 8.16.5 to 8.17.0
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.16.5 to 8.17.0.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.16.5...8.17.0)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 07:27:47 +00:00
dependabot[bot]
af18d017e9 chore(deps-dev): bump mysql2 from 3.14.2 to 3.14.3
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.14.2 to 3.14.3.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](https://github.com/sidorares/node-mysql2/compare/v3.14.2...v3.14.3)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-version: 3.14.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 07:27:41 +00:00
Kamil Mysliwiec
6bc1e290d5 Merge pull request #15471 from nestjs/renovate/nest-monorepo
chore(deps): update nest monorepo
2025-07-31 09:26:37 +02:00
Kamil Mysliwiec
c5c113416f Merge pull request #15475 from nestjs/dependabot/npm_and_yarn/mqtt-5.14.0
chore(deps-dev): bump mqtt from 5.13.3 to 5.14.0
2025-07-31 09:26:21 +02:00
Kamil Mysliwiec
bdc591adc1 Merge pull request #15476 from nestjs/dependabot/npm_and_yarn/cache-manager-7.1.0
chore(deps-dev): bump cache-manager from 7.0.1 to 7.1.0
2025-07-31 09:26:13 +02:00
dependabot[bot]
c95658fd89 chore(deps-dev): bump cache-manager from 7.0.1 to 7.1.0
Bumps [cache-manager](https://github.com/jaredwray/cacheable/tree/HEAD/packages/cache-manager) from 7.0.1 to 7.1.0.
- [Release notes](https://github.com/jaredwray/cacheable/releases)
- [Commits](https://github.com/jaredwray/cacheable/commits/HEAD/packages/cache-manager)

---
updated-dependencies:
- dependency-name: cache-manager
  dependency-version: 7.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 00:46:32 +00:00
dependabot[bot]
eb2941cdc2 chore(deps-dev): bump mqtt from 5.13.3 to 5.14.0
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.13.3 to 5.14.0.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.13.3...v5.14.0)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-version: 5.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 00:46:13 +00:00
renovate[bot]
94a669f4f8 chore(deps): update nest monorepo 2025-07-30 19:42:30 +00:00
Kamil Myśliwiec
a9d5716dad test(core): add tests for nested transient structures 2025-07-30 17:07:00 +02:00
Kamil Myśliwiec
f14a976051 style(core): change inquirer id to const 2025-07-30 11:12:22 +02:00
Kamil Mysliwiec
63e1a83dc9 Merge pull request #15468 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.17.0
2025-07-30 11:10:30 +02:00
Kamil Myśliwiec
93f54edaf0 fix(core): attach root inquirer for nested transient providers 2025-07-30 11:05:36 +02:00
renovate[bot]
e2970e49d3 chore(deps): update dependency @types/node to v22.17.0 2025-07-30 07:46:39 +00:00
Kamil Mysliwiec
732fd3bddb Merge pull request #15463 from nestjs/renovate/prisma-monorepo
fix(deps): update dependency @prisma/client to v6.13.0
2025-07-30 09:41:19 +02:00
Kamil Mysliwiec
004bd1bd03 Merge pull request #15456 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.16.5
2025-07-30 09:40:46 +02:00
renovate[bot]
112bcd1b79 fix(deps): update dependency @prisma/client to v6.13.0 2025-07-29 12:34:06 +00:00
Kamil Mysliwiec
40e0148107 Merge pull request #15462 from nestjs/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.101.0
2025-07-29 14:31:10 +02:00
Kamil Mysliwiec
f0f1457686 Merge pull request #15461 from nestjs/renovate/nest-monorepo
chore(deps): update dependency @nestjs/cli to v11.0.8
2025-07-29 14:31:05 +02:00
renovate[bot]
ca4c6e15b3 chore(deps): update dependency webpack to v5.101.0 2025-07-28 16:45:57 +00:00
renovate[bot]
9803e621bb fix(deps): update dependency mongoose to v8.16.5 2025-07-28 09:40:59 +00:00
renovate[bot]
b6e01fbbcf chore(deps): update dependency @nestjs/cli to v11.0.8 2025-07-28 09:40:51 +00:00
Kamil Mysliwiec
9911e6658f Merge pull request #15457 from nestjs/renovate/babel-monorepo
chore(deps): update dependency @babel/runtime to v7.28.2
2025-07-28 11:38:54 +02:00
Kamil Mysliwiec
10c99014f6 Merge pull request #15460 from nestjs/dependabot/npm_and_yarn/mongoose-8.16.5
chore(deps-dev): bump mongoose from 8.16.4 to 8.16.5
2025-07-28 11:38:49 +02:00
Kamil Mysliwiec
06df7809f1 Merge pull request #15459 from nestjs/dependabot/npm_and_yarn/eslint-9.32.0
chore(deps-dev): bump eslint from 9.31.0 to 9.32.0
2025-07-28 11:38:43 +02:00
dependabot[bot]
febe9cfb47 chore(deps-dev): bump mongoose from 8.16.4 to 8.16.5
Bumps [mongoose](https://github.com/Automattic/mongoose) from 8.16.4 to 8.16.5.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/8.16.4...8.16.5)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-version: 8.16.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 00:49:14 +00:00
dependabot[bot]
9c0553dda5 chore(deps-dev): bump eslint from 9.31.0 to 9.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.31.0 to 9.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.31.0...v9.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.32.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 00:48:45 +00:00
renovate[bot]
8c50f563f6 chore(deps): update dependency @babel/runtime to v7.28.2 2025-07-27 16:36:17 +00:00
Kamil Mysliwiec
4bb39ec14f Merge pull request #15453 from nestjs/renovate/redis-5.x
chore(deps): update dependency redis to v5.6.1
2025-07-27 18:33:52 +02:00
Kamil Mysliwiec
88862d0cc3 Merge pull request #15454 from nestjs/renovate/nestjs-bull-11.x
fix(deps): update dependency @nestjs/bull to v11.0.3
2025-07-27 18:33:45 +02:00
Kamil Mysliwiec
f7fa020273 Merge pull request #15455 from nestjs/renovate/dotenv-17.x
fix(deps): update dependency dotenv to v17.2.1
2025-07-27 18:33:41 +02:00
renovate[bot]
96600bb4fe fix(deps): update dependency dotenv to v17.2.1 2025-07-26 12:46:59 +00:00
renovate[bot]
c3f1e3b039 fix(deps): update dependency @nestjs/bull to v11.0.3 2025-07-26 08:33:56 +00:00
renovate[bot]
197ad500bf chore(deps): update dependency redis to v5.6.1 2025-07-26 08:33:52 +00:00
Kamil Mysliwiec
7d521a238e Merge pull request #15434 from nestjs/renovate/eslint-config-prettier-10.x
chore(deps): update dependency eslint-config-prettier to v10.1.8
2025-07-26 10:28:52 +02:00
Kamil Mysliwiec
a1869186e8 Merge pull request #15447 from nestjs/renovate/mysql-9.x
chore(deps): update mysql docker tag to v9.4.0
2025-07-26 10:28:46 +02:00
Kamil Mysliwiec
9db2808fff Merge pull request #15449 from nestjs/renovate/mongodb-6.x
fix(deps): update dependency mongodb to v6.18.0
2025-07-26 10:28:39 +02:00
Kamil Mysliwiec
0c41c7fa88 Merge pull request #15450 from nestjs/dependabot/npm_and_yarn/redis-5.6.1
chore(deps-dev): bump redis from 5.6.0 to 5.6.1
2025-07-26 10:28:33 +02:00
Kamil Mysliwiec
ea7529464d Merge pull request #15452 from hahaahhaa/fix-typo
refactor(core): fix the typo 'controler' to 'controller'
2025-07-26 10:28:23 +02:00
Kamil Mysliwiec
dcc6b55fe5 Merge pull request #15418 from nestjs/renovate/graphql-tools-monorepo
fix(deps): update graphql-tools monorepo
2025-07-26 10:28:14 +02:00
hahaahhaa
cd009a78da refactor(core): fix the typo 'controler' to 'controller' 2025-07-26 16:15:31 +09:00
dependabot[bot]
5606287e40 chore(deps-dev): bump redis from 5.6.0 to 5.6.1
Bumps [redis](https://github.com/redis/node-redis) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/redis/node-redis/releases)
- [Changelog](https://github.com/redis/node-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/node-redis/compare/redis@5.6.0...redis@5.6.1)

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 5.6.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-24 00:53:35 +00:00
renovate[bot]
c0b9e83604 fix(deps): update dependency mongodb to v6.18.0 2025-07-23 13:07:09 +00:00
renovate[bot]
6df78a9512 chore(deps): update dependency eslint-config-prettier to v10.1.8 2025-07-23 13:07:05 +00:00
Kamil Mysliwiec
159438aaf6 Merge pull request #15448 from nestjs/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.38.0
2025-07-23 15:04:47 +02:00
renovate[bot]
4b4478ae2e chore(deps): update typescript-eslint monorepo to v8.38.0 2025-07-23 08:46:08 +00:00
renovate[bot]
c70b19607d chore(deps): update mysql docker tag to v9.4.0 2025-07-23 08:43:06 +00:00
Kamil Mysliwiec
ba00008036 Merge pull request #15445 from nestjs/renovate/supertest-7.x
chore(deps): update dependency supertest to v7.1.4
2025-07-23 10:41:41 +02:00
Kamil Mysliwiec
456473dc50 Merge pull request #15446 from nestjs/renovate/nest-monorepo
fix(deps): update nest monorepo to v11.1.5
2025-07-23 10:40:35 +02:00
renovate[bot]
6279320bd4 fix(deps): update graphql-tools monorepo 2025-07-23 07:40:24 +00:00
renovate[bot]
0511b7ff2a fix(deps): update nest monorepo to v11.1.5 2025-07-23 07:40:10 +00:00
renovate[bot]
ddaccc61ad chore(deps): update dependency supertest to v7.1.4 2025-07-23 07:39:58 +00:00
Kamil Mysliwiec
3a19dacfad Merge pull request #15443 from nestjs/dependabot/npm_and_yarn/grpc/proto-loader-0.8.0
chore(deps-dev): bump @grpc/proto-loader from 0.7.15 to 0.8.0
2025-07-23 09:36:24 +02:00
Kamil Mysliwiec
44035bec5a Merge pull request #15428 from nestjs/renovate/node-22.x
chore(deps): update dependency @types/node to v22.16.5
2025-07-23 09:35:57 +02:00
Kamil Mysliwiec
5b53bb4384 Merge pull request #15435 from nestjs/renovate/eslint-plugin-prettier-5.x
chore(deps): update dependency eslint-plugin-prettier to v5.5.3
2025-07-23 09:35:50 +02:00
Kamil Mysliwiec
fbd455c858 Merge pull request #15439 from nestjs/dependabot/npm_and_yarn/graphql-tools-9.0.20
chore(deps-dev): bump graphql-tools from 9.0.18 to 9.0.20
2025-07-23 09:35:42 +02:00
Kamil Mysliwiec
d78a8b745f Merge pull request #15440 from nestjs/dependabot/npm_and_yarn/supertest-7.1.4
chore(deps-dev): bump supertest from 7.1.3 to 7.1.4
2025-07-23 09:34:36 +02:00
Kamil Mysliwiec
f8cd220e7c Merge pull request #15441 from nestjs/dependabot/npm_and_yarn/typescript-eslint-8.38.0
chore(deps-dev): bump typescript-eslint from 8.37.0 to 8.38.0
2025-07-23 09:34:29 +02:00
Kamil Mysliwiec
6f89b67486 Merge pull request #15442 from nestjs/dependabot/npm_and_yarn/types/node-24.1.0
chore(deps-dev): bump @types/node from 24.0.15 to 24.1.0
2025-07-23 09:33:36 +02:00
dependabot[bot]
c603470b4e chore(deps-dev): bump @grpc/proto-loader from 0.7.15 to 0.8.0
---
updated-dependencies:
- dependency-name: "@grpc/proto-loader"
  dependency-version: 0.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 00:34:23 +00:00
dependabot[bot]
fbbbafb0c7 chore(deps-dev): bump @types/node from 24.0.15 to 24.1.0
---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 00:34:06 +00:00
dependabot[bot]
b466f13739 chore(deps-dev): bump typescript-eslint from 8.37.0 to 8.38.0
---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-version: 8.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 00:33:46 +00:00
dependabot[bot]
bd19c89d1b chore(deps-dev): bump supertest from 7.1.3 to 7.1.4
---
updated-dependencies:
- dependency-name: supertest
  dependency-version: 7.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 00:32:55 +00:00
dependabot[bot]
b433314e33 chore(deps-dev): bump graphql-tools from 9.0.18 to 9.0.20
---
updated-dependencies:
- dependency-name: graphql-tools
  dependency-version: 9.0.20
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 00:32:35 +00:00
renovate[bot]
f019905207 chore(deps): update dependency eslint-plugin-prettier to v5.5.3 2025-07-21 07:25:08 +00:00
renovate[bot]
1d514bbe96 chore(deps): update dependency @types/node to v22.16.5 2025-07-21 07:24:46 +00:00
Kamil Mysliwiec
2277c4c0cd Merge pull request #15430 from nestjs/dependabot/npm_and_yarn/types/node-24.0.15
chore(deps-dev): bump @types/node from 24.0.14 to 24.0.15
2025-07-21 09:23:13 +02:00
Kamil Mysliwiec
cc16c509b1 Merge pull request #15431 from nestjs/dependabot/npm_and_yarn/mqtt-5.13.3
chore(deps-dev): bump mqtt from 5.13.2 to 5.13.3
2025-07-21 09:23:05 +02:00
Kamil Mysliwiec
0ca2336bec Merge pull request #15432 from nestjs/dependabot/npm_and_yarn/eslint-config-prettier-10.1.8
chore(deps-dev): bump eslint-config-prettier from 10.1.5 to 10.1.8
2025-07-21 09:22:38 +02:00
Kamil Mysliwiec
04fa36c167 Merge pull request #15433 from nestjs/dependabot/npm_and_yarn/eslint-plugin-prettier-5.5.3
chore(deps-dev): bump eslint-plugin-prettier from 5.5.1 to 5.5.3
2025-07-21 09:22:30 +02:00
dependabot[bot]
43088564eb chore(deps-dev): bump eslint-plugin-prettier from 5.5.1 to 5.5.3
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 5.5.1 to 5.5.3.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v5.5.1...v5.5.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-version: 5.5.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 00:03:33 +00:00
dependabot[bot]
ea0d5070cd chore(deps-dev): bump eslint-config-prettier from 10.1.5 to 10.1.8
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 10.1.5 to 10.1.8.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v10.1.5...v10.1.8)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-version: 10.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 00:03:12 +00:00
dependabot[bot]
53ecfdc97e chore(deps-dev): bump mqtt from 5.13.2 to 5.13.3
Bumps [mqtt](https://github.com/mqttjs/MQTT.js) from 5.13.2 to 5.13.3.
- [Release notes](https://github.com/mqttjs/MQTT.js/releases)
- [Changelog](https://github.com/mqttjs/MQTT.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mqttjs/MQTT.js/compare/v5.13.2...v5.13.3)

---
updated-dependencies:
- dependency-name: mqtt
  dependency-version: 5.13.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 00:02:41 +00:00
dependabot[bot]
792c7f34b2 chore(deps-dev): bump @types/node from 24.0.14 to 24.0.15
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.14 to 24.0.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 00:02:05 +00:00
Kamil Mysliwiec
74be764e60 Merge pull request #15415 from nestjs/renovate/mongoose-8.x
fix(deps): update dependency mongoose to v8.16.4
2025-07-20 14:57:47 +02:00
Kamil Mysliwiec
f756612316 Merge pull request #15417 from nestjs/renovate/multer-2.x
chore(deps): update dependency multer to v2.0.2
2025-07-20 14:57:27 +02:00
Kamil Mysliwiec
d9e162d2d6 Merge pull request #15422 from nestjs/dependabot/npm_and_yarn/multer-2.0.2
chore(deps): bump multer from 2.0.1 to 2.0.2
2025-07-20 14:57:18 +02:00
Kamil Mysliwiec
23225fc62f Merge pull request #15427 from hahaahhaa/fix-typo
refactor(common): fix the typo 'sring' to 'string'
2025-07-20 14:57:06 +02:00
hahaahhaa
97df306bb5 refactor(common): fix the typo 'sring' to 'string' 2025-07-18 23:56:09 +09:00
renovate[bot]
8b514e41d6 chore(deps): update dependency multer to v2.0.2 2025-07-18 09:19:08 +00:00
dependabot[bot]
34adc0b44d chore(deps): bump multer from 2.0.1 to 2.0.2
---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 09:15:33 +00:00
renovate[bot]
e190b78667 fix(deps): update dependency mongoose to v8.16.4 2025-07-17 08:09:03 +00:00
278 changed files with 18249 additions and 22647 deletions

View File

@@ -169,8 +169,12 @@ jobs:
working_directory: ~/nest
docker:
- image: cimg/node:<< pipeline.parameters.maintenance-node-version >>
- image: redis:8-alpine
name: redis
environment:
DISABLE_OPENCOLLECTIVE: 'true'
REDIS_HOST: redis
REDIS_PORT: 6379
steps:
- checkout
- *restore-cache
@@ -179,6 +183,7 @@ jobs:
name: Build all samples
command: npm run build:samples
workflows:
build-and-test:
jobs:
@@ -204,3 +209,4 @@ workflows:
- samples:
requires:
- build

View File

@@ -1,13 +0,0 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")"
# based on https://medium.com/@felipedutratine/intelligent-benchmark-with-wrk-163986c1587f
cd /tmp/
sudo apt-get install build-essential libssl-dev git -y
git clone --depth=1 https://github.com/wg/wrk.git wrk
cd wrk
sudo make
# move the executable to somewhere in your PATH, ex:
sudo cp wrk /usr/local/bin

View File

@@ -37,7 +37,8 @@
"socket.io",
"ws",
"testing",
"websockets"
"websockets",
"release"
]
]
}

View File

@@ -64,46 +64,13 @@ body:
label: "Expected behavior"
description: "A clear and concise description of what you expected to happened (or code)"
- type: markdown
attributes:
value: |
---
- type: checkboxes
validations:
required: true
attributes:
label: "Package"
description: |
Which package (or packages) do you think your issue is related to?
**Tip**: The first line of the stack trace can help you to figure out this
The package isn't listed below? Try to find its repository [here](https://github.com/orgs/nestjs/repositories) and open the issue there instead
options:
- label: "I don't know. Or some 3rd-party package"
- label: "<code>@nestjs/common</code>"
- label: "<code>@nestjs/core</code>"
- label: "<code>@nestjs/microservices</code>"
- label: "<code>@nestjs/platform-express</code>"
- label: "<code>@nestjs/platform-fastify</code>"
- label: "<code>@nestjs/platform-socket.io</code>"
- label: "<code>@nestjs/platform-ws</code>"
- label: "<code>@nestjs/testing</code>"
- label: "<code>@nestjs/websockets</code>"
- label: "Other (see below)"
- type: input
attributes:
label: "Other package"
description: "If your issue is related to some package that is not listed above nor under @nestjs org, write its name here"
- type: input
attributes:
label: "NestJS version"
description: |
Which version of `@nestjs/core` are you using?
Which exact version of `@nestjs/core` package are you using?
**Tip**: Make sure that all of yours `@nestjs/*` dependencies are in sync!
placeholder: "8.1.3"
placeholder: "10.0.0"
- type: textarea
validations:
@@ -122,7 +89,7 @@ body:
attributes:
label: "Node.js version"
description: "Which version of Node.js are you using?"
placeholder: "14.17.6"
placeholder: "24.0.0"
- type: checkboxes
validations:

View File

@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
@@ -34,7 +34,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
queries: +security-extended
# Override language selection by uncommenting this and choosing your languages
@@ -44,7 +44,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@v4
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -58,4 +58,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4

1
.gitignore vendored
View File

@@ -34,6 +34,7 @@ yarn-error.log
/packages/**/.npmignore
/packages/**/LICENSE
*.tsbuildinfo
/.nx/workspace-data
# example
/quick-start

View File

@@ -1,3 +1,5 @@
packages/**/*.d.ts
packages/**/*.js
.nyc_output
/.nx/workspace-data

View File

@@ -1,6 +1,6 @@
(The MIT License)
Copyright (c) 2017-2025 Kamil Mysliwiec <https://kamilmysliwiec.com>
Copyright (c) 2017-present Kamil Mysliwiec <https://kamilmysliwiec.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the

View File

@@ -1,5 +1,5 @@
<p align="center">
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
<a href="https://nestjs.com/" target="_blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
@@ -8,7 +8,7 @@
<p align="center">A progressive <a href="https://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://github.com/nestjs/nest/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
@@ -49,7 +49,7 @@ Please make sure to read the [Issue Reporting Checklist](https://github.com/nest
## Consulting
With official support, you can get expert help straight from Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
With official support, you can get expert help straight from the Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
## Support
@@ -63,6 +63,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<td><a href="https://microsoft.com/" target="_blank"><img src="https://nestjs.com/img/logos/microsoft-logo.png" width="180" valign="middle" /></a></td>
<td><a href="https://mojam.co" target="_blank"><img src="https://nestjs.com/img/logos/mojam-logo.png" width="80" valign="middle" /></a></td>
<td><a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td>
<td><a href="https://serpapi.com/" target="_blank"><img src="https://nestjs.com/img/logos/serpapi-logo.png" width="150" valign="middle" /></a></td>
</tr>
</table>
@@ -78,10 +79,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
</tr>
<tr>
<td><a href="https://snyk.co/nestjs" target="_blank"><img src="https://nestjs.com/img/logos/snyk-logo-black.png" width="185" valign="middle" /></a></td>
<td><a href="https://fuseautotech.com/" target="_blank"><img src="https://nestjs.com/img/logos/fuse-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://ridicorp.com/career/" target="_blank"><img src="https://nestjs.com/img/logos/ridi-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://www.movavi.com/imovie-for-windows.html" target="_blank"><img src="https://nestjs.com/img/logos/movavi-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://skunk.team" target="_blank"><img src="https://nestjs.com/img/logos/skunk-logo.png" height="60" valign="middle" /></a></td>
</tr>
</table>
@@ -91,10 +89,12 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<tr>
<td><a href="https://www.mercedes-benz.com/" target="_blank"><img src="https://nestjs.com/img/logos/mercedes-logo.png" width="100" valign="middle" /></a></td>
<td><a href="https://www.dinii.jp/" target="_blank"><img src="https://nestjs.com/img/logos/dinii-logo.png" width="65" valign="middle" /></a></td>
<td><a href="https://bloodycase.com/?promocode=NEST" target="_blank"><img src="https://nestjs.com/img/logos/bloodycase-logo.png" width="65" valign="middle" /></a></td>
<td><a href="https://handsontable.com/docs/react-data-grid/?utm_source=NestJS_GH&utm_medium=sponsorship&utm_campaign=library_sponsorship_2024" target="_blank"><img src="https://nestjs.com/img/logos/handsontable-dark-logo.svg#2" width="150" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.itflashcards.com/" target="_blank"><img src="https://nestjs.com/img/logos/it_flashcards-logo.png" width="170" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://arcjet.com/?ref=nestjs" target="_blank"><img src="https://nestjs.com/img/logos/arcjet-logo.svg" width="170" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://crawljobs.com" target="_blank"><img src="https://nestjs.com/img/logos/crawljobs-logo.svg" width="130" valign="middle" /></a></td>
</tr><tr>
<td align="center" valign="middle"><a href="https://pandektes.com" target="_blank"><img src="https://nestjs.com/img/logos/pandektes-logo.png" width="65" valign="middle" /></a></td>
</tr>
</table>
@@ -118,19 +118,16 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<td align="center" valign="middle"><a href="https://triplecore.io" target="_blank"><img src="https://nestjs.com/img/logos/triplecore-logo.svg" width="50" valign="middle" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/logos/casinowizard-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/logos/polygon-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/logos/boringowl-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/logos/nordbot-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/logos/dopiosh-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.hingehealth.com/" target="_blank"><img src="https://nestjs.com/img/logos/hinge-health-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/logos/julienferand-logo.jpeg" width="55" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/logos/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.slotsup.com/" target="_blank"><img src="https://nestjs.com/img/logos/slotsup-logo.png" width="60" valign="middle" /></a></td>
</tr>
</table>

View File

@@ -1,88 +0,0 @@
-----------------------
express
-----------------------
Running 10s test @ http://localhost:3000
1024 connections
┌─────────┬───────┬───────┬───────┬────────┬──────────┬──────────┬────────┐
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
├─────────┼───────┼───────┼───────┼────────┼──────────┼──────────┼────────┤
│ Latency │ 55 ms │ 58 ms │ 91 ms │ 138 ms │ 61.88 ms │ 23.95 ms │ 747 ms │
└─────────┴───────┴───────┴───────┴────────┴──────────┴──────────┴────────┘
┌───────────┬─────────┬─────────┬─────────┬─────────┬──────────┬─────────┬─────────┐
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
├───────────┼─────────┼─────────┼─────────┼─────────┼──────────┼─────────┼─────────┤
│ Req/Sec │ 8407 │ 8407 │ 17407 │ 17743 │ 16454.41 │ 2716.94 │ 8402 │
├───────────┼─────────┼─────────┼─────────┼─────────┼──────────┼─────────┼─────────┤
│ Bytes/Sec │ 1.81 MB │ 1.81 MB │ 3.74 MB │ 3.81 MB │ 3.54 MB │ 584 kB │ 1.81 MB │
└───────────┴─────────┴─────────┴─────────┴─────────┴──────────┴─────────┴─────────┘
Req/Bytes counts sampled once per second.
165k requests in 10.17s, 35.4 MB read
-----------------------
nest (with "@nestjs/platform-express")
-----------------------
Running 10s test @ http://localhost:3000
1024 connections
┌─────────┬───────┬───────┬───────┬───────┬──────────┬──────────┬────────┐
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
├─────────┼───────┼───────┼───────┼───────┼──────────┼──────────┼────────┤
│ Latency │ 61 ms │ 64 ms │ 71 ms │ 94 ms │ 65.44 ms │ 17.35 ms │ 325 ms │
└─────────┴───────┴───────┴───────┴───────┴──────────┴──────────┴────────┘
┌───────────┬─────────┬─────────┬─────────┬─────────┬─────────┬────────┬─────────┐
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────────┤
│ Req/Sec │ 14183 │ 14183 │ 15767 │ 15991 │ 15640 │ 501.13 │ 14182 │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼────────┼─────────┤
│ Bytes/Sec │ 3.06 MB │ 3.06 MB │ 3.41 MB │ 3.45 MB │ 3.38 MB │ 108 kB │ 3.06 MB │
└───────────┴─────────┴─────────┴─────────┴─────────┴─────────┴────────┴─────────┘
Req/Bytes counts sampled once per second.
156k requests in 10.24s, 33.8 MB read
-----------------------
fastify
-----------------------
Running 10s test @ http://localhost:3000
1024 connections
┌─────────┬───────┬───────┬───────┬───────┬──────────┬──────────┬─────────┐
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
├─────────┼───────┼───────┼───────┼───────┼──────────┼──────────┼─────────┤
│ Latency │ 27 ms │ 30 ms │ 39 ms │ 78 ms │ 31.62 ms │ 26.59 ms │ 1232 ms │
└─────────┴───────┴───────┴───────┴───────┴──────────┴──────────┴─────────┘
┌───────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
│ Req/Sec │ 19935 │ 19935 │ 33247 │ 34111 │ 32030.4 │ 4103.84 │ 19931 │
├───────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤
│ Bytes/Sec │ 3.03 MB │ 3.03 MB │ 5.05 MB │ 5.19 MB │ 4.87 MB │ 624 kB │ 3.03 MB │
└───────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
Req/Bytes counts sampled once per second.
320k requests in 10.18s, 48.7 MB read
-----------------------
nest (with "@nestjs/platform-fastify")
-----------------------
Running 10s test @ http://localhost:3000
1024 connections
┌─────────┬───────┬───────┬───────┬───────┬──────────┬──────────┬────────┐
│ Stat │ 2.5% │ 50% │ 97.5% │ 99% │ Avg │ Stdev │ Max │
├─────────┼───────┼───────┼───────┼───────┼──────────┼──────────┼────────┤
│ Latency │ 31 ms │ 33 ms │ 38 ms │ 52 ms │ 34.41 ms │ 11.73 ms │ 245 ms │
└─────────┴───────┴───────┴───────┴───────┴──────────┴──────────┴────────┘
┌───────────┬─────────┬─────────┬────────┬─────────┬─────────┬─────────┬─────────┐
│ Stat │ 1% │ 2.5% │ 50% │ 97.5% │ Avg │ Stdev │ Min │
├───────────┼─────────┼─────────┼────────┼─────────┼─────────┼─────────┼─────────┤
│ Req/Sec │ 24911 │ 24911 │ 30031 │ 30335 │ 29470.4 │ 1564.48 │ 24907 │
├───────────┼─────────┼─────────┼────────┼─────────┼─────────┼─────────┼─────────┤
│ Bytes/Sec │ 3.81 MB │ 3.81 MB │ 4.6 MB │ 4.64 MB │ 4.51 MB │ 239 kB │ 3.81 MB │
└───────────┴─────────┴─────────┴────────┴─────────┴─────────┴─────────┴─────────┘
Req/Bytes counts sampled once per second.
295k requests in 10.17s, 45.1 MB read

View File

@@ -1,7 +0,0 @@
'use strict';
const express = require('express');
const app = express();
app.get('/', async (req, res) => res.send('Hello world'));
app.listen(3000);

View File

@@ -1,7 +0,0 @@
'use strict';
const fastify = require('fastify')();
fastify.get('/', async (req, reply) => reply.send('Hello world'));
fastify.listen({
port: 3000
});

View File

@@ -1,14 +0,0 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const core_1 = require('@nestjs/core');
const fastify_platform_1 = require('@nestjs/platform-fastify');
const app_module_1 = require('./nest/app.module');
core_1.NestFactory.create(
app_module_1.AppModule,
new fastify_platform_1.FastifyAdapter(),
{
logger: false,
bodyParser: false,
},
).then(app => app.listen(3000));
//# sourceMappingURL=main.js.map

View File

@@ -1,9 +0,0 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const core_1 = require('@nestjs/core');
const app_module_1 = require('./nest/app.module');
core_1.NestFactory.create(app_module_1.AppModule, {
logger: false,
bodyParser: false,
}).then(app => app.listen(3000));
//# sourceMappingURL=main.js.map

View File

@@ -1,3 +0,0 @@
export declare class AppController {
root(): string;
}

View File

@@ -1,47 +0,0 @@
'use strict';
var __decorate =
(this && this.__decorate) ||
function(decorators, target, key, desc) {
var c = arguments.length,
r =
c < 3
? target
: desc === null
? (desc = Object.getOwnPropertyDescriptor(target, key))
: desc,
d;
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
r = Reflect.decorate(decorators, target, key, desc);
else
for (var i = decorators.length - 1; i >= 0; i--)
if ((d = decorators[i]))
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata =
(this && this.__metadata) ||
function(k, v) {
if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
return Reflect.metadata(k, v);
};
Object.defineProperty(exports, '__esModule', { value: true });
const common_1 = require('@nestjs/common');
let AppController = class AppController {
root() {
return 'Hello world!';
}
};
__decorate(
[
common_1.Get(),
__metadata('design:type', Function),
__metadata('design:paramtypes', []),
__metadata('design:returntype', String),
],
AppController.prototype,
'root',
null,
);
AppController = __decorate([common_1.Controller()], AppController);
exports.AppController = AppController;
//# sourceMappingURL=app.controller.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.controller.js","sourceRoot":"","sources":["../src/app.controller.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2CAAiD;AAGjD,IAAa,aAAa,GAA1B,MAAa,aAAa;IAExB,IAAI;QACF,OAAO,cAAc,CAAA;IACvB,CAAC;CACF,CAAA;AAHC;IADC,YAAG,EAAE;;;;yCAGL;AAJU,aAAa;IADzB,mBAAU,EAAE;GACA,aAAa,CAKzB;AALY,sCAAa"}

View File

@@ -1 +0,0 @@
export declare class AppModule {}

View File

@@ -1,20 +0,0 @@
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
const common_1 = require("@nestjs/common");
const app_controller_1 = require("./app.controller");
let AppModule = class AppModule {
};
AppModule = __decorate([
common_1.Module({
imports: [],
controllers: [app_controller_1.AppController],
})
], AppModule);
exports.AppModule = AppModule;
//# sourceMappingURL=app.module.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../src/app.module.ts"],"names":[],"mappings":";;;;;;;;AAAA,2CAAwC;AACxC,qDAAiD;AAMjD,IAAa,SAAS,GAAtB,MAAa,SAAS;CAAG,CAAA;AAAZ,SAAS;IAJrB,eAAM,CAAC;QACN,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,CAAC,8BAAa,CAAC;KAC7B,CAAC;GACW,SAAS,CAAG;AAAZ,8BAAS"}

View File

@@ -1 +0,0 @@
export {};

View File

@@ -1 +0,0 @@
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,uCAA2C;AAC3C,6CAAyC;AAEzC,KAAK,UAAU,SAAS;IACtB,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAC,sBAAS,CAAC,CAAC;IAChD,MAAM,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACzB,CAAC;AACD,SAAS,EAAE,CAAC"}

View File

@@ -20,7 +20,6 @@ export default tseslint.config(
ecmaVersion: 5,
sourceType: 'module',
parserOptions: {
project: ['tsconfig.json', 'tsconfig.spec.json'],
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
@@ -39,18 +38,18 @@ export default tseslint.config(
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
"@typescript-eslint/no-misused-promises": [
"error",
'@typescript-eslint/no-misused-promises': [
'error',
{
"checksVoidReturn": false,
"checksConditionals": false
}
checksVoidReturn: false,
checksConditionals: false,
},
],
"@typescript-eslint/require-await": "off",
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/prefer-promise-reject-errors': 'off',
'@typescript-eslint/no-base-to-string': 'off',
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/only-throw-error': 'off',
},
},
);
);

View File

@@ -25,7 +25,7 @@ services:
- "9001:9001"
restart: always
mysql:
image: mysql:9.3.0
image: mysql:9.6.0
environment:
MYSQL_ROOT_HOST: '%'
MYSQL_ROOT_PASSWORD: root
@@ -51,7 +51,7 @@ services:
zookeeper:
container_name: test-zookeeper
hostname: zookeeper
image: confluentinc/cp-zookeeper:7.9.2
image: confluentinc/cp-zookeeper:7.9.5
ports:
- "2181:2181"
environment:
@@ -60,7 +60,7 @@ services:
kafka:
container_name: test-kafka
hostname: kafka
image: confluentinc/cp-kafka:8.0.0
image: confluentinc/cp-kafka:8.1.1
depends_on:
- zookeeper
ports:

View File

@@ -0,0 +1,163 @@
import { ConsoleLogger, INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { AppModule } from '../src/app.module';
import * as sinon from 'sinon';
import { expect } from 'chai';
describe('ForceConsole Option', () => {
let app: INestApplication;
describe('When forceConsole is true', () => {
let consoleLogSpy: sinon.SinonSpy;
let consoleErrorSpy: sinon.SinonSpy;
let processStdoutSpy: sinon.SinonSpy;
let processStderrSpy: sinon.SinonSpy;
beforeEach(async () => {
// Spy on console and process methods
consoleLogSpy = sinon.spy(console, 'log');
consoleErrorSpy = sinon.spy(console, 'error');
processStdoutSpy = sinon.spy(process.stdout, 'write');
processStderrSpy = sinon.spy(process.stderr, 'write');
const moduleRef = await Test.createTestingModule({
imports: [AppModule],
}).compile();
app = moduleRef.createNestApplication({
forceConsole: true,
logger: ['log', 'error'],
});
await app.init();
});
afterEach(async () => {
consoleLogSpy.restore();
consoleErrorSpy.restore();
processStdoutSpy.restore();
processStderrSpy.restore();
await app.close();
});
it('should use console.log instead of process.stdout.write', async () => {
const logger = new ConsoleLogger('TestContext', { forceConsole: true });
logger.log('Test log message');
// Should use console.log when forceConsole is true
expect(consoleLogSpy.called).to.be.true;
// Verify console.log was called with the message
const consoleLogCalls = consoleLogSpy
.getCalls()
.filter(call =>
call.args.some(arg => String(arg).includes('Test log message')),
);
expect(consoleLogCalls.length).to.be.greaterThan(0);
});
it('should use console.error instead of process.stderr.write', async () => {
const logger = new ConsoleLogger('TestContext', { forceConsole: true });
logger.error('Test error message');
// Should use console.error when forceConsole is true
expect(consoleErrorSpy.called).to.be.true;
// Verify console.error was called with the message
const consoleErrorCalls = consoleErrorSpy
.getCalls()
.filter(call =>
call.args.some(arg => String(arg).includes('Test error message')),
);
expect(consoleErrorCalls.length).to.be.greaterThan(0);
});
it('should handle GET request with forceConsole option enabled', () => {
return request(app.getHttpServer()).get('/hello').expect(200);
});
});
describe('When forceConsole is false (default)', () => {
let consoleLogSpy: sinon.SinonSpy;
let consoleErrorSpy: sinon.SinonSpy;
let processStdoutSpy: sinon.SinonSpy;
let processStderrSpy: sinon.SinonSpy;
beforeEach(async () => {
// Spy on console and process methods
consoleLogSpy = sinon.spy(console, 'log');
consoleErrorSpy = sinon.spy(console, 'error');
processStdoutSpy = sinon.spy(process.stdout, 'write');
processStderrSpy = sinon.spy(process.stderr, 'write');
const moduleRef = await Test.createTestingModule({
imports: [AppModule],
}).compile();
app = moduleRef.createNestApplication({
logger: ['log', 'error'],
// forceConsole is not set, defaults to false
});
await app.init();
});
afterEach(async () => {
consoleLogSpy.restore();
consoleErrorSpy.restore();
processStdoutSpy.restore();
processStderrSpy.restore();
await app.close();
});
it('should not directly call console.log when forceConsole is false', async () => {
const logger = new ConsoleLogger('TestContext');
// Reset spy to ensure clean state
consoleLogSpy.resetHistory();
logger.log('Test log message');
// When forceConsole is false, should not call console.log
expect(consoleLogSpy.called).to.be.false;
});
it('should not directly call console.error when forceConsole is false', async () => {
const logger = new ConsoleLogger('TestContext');
// Reset spy to ensure clean state
consoleErrorSpy.resetHistory();
logger.error('Test error message');
// When forceConsole is false, should not call console.error
expect(consoleErrorSpy.called).to.be.false;
});
});
describe('When forceConsole is set via NestFactory.create', () => {
it('should apply forceConsole to the default logger', async () => {
const consoleLogSpy = sinon.spy(console, 'log');
const processStdoutSpy = sinon.spy(process.stdout, 'write');
const moduleRef = await Test.createTestingModule({
imports: [AppModule],
}).compile();
const testApp = moduleRef.createNestApplication({
forceConsole: true,
});
await testApp.init();
// The logger created by NestFactory should respect forceConsole option
const logger = new ConsoleLogger('AppContext', { forceConsole: true });
logger.log('Application started');
expect(consoleLogSpy.called).to.be.true;
consoleLogSpy.restore();
processStdoutSpy.restore();
await testApp.close();
});
});
});

View File

@@ -208,6 +208,15 @@ describe('Middleware (FastifyAdapter)', () => {
.then(({ payload }) => expect(payload).to.be.eql(INCLUDED_VALUE));
});
it(`GET forRoutes(POST /tests/%69ncluded) - ensure middleware is executed correctly with encoded characters`, () => {
return app
.inject({
method: 'POST',
url: '/tests/%69ncluded', // 'i' character is encoded
})
.then(({ payload }) => expect(payload).to.be.eql(INCLUDED_VALUE));
});
afterEach(async () => {
await app.close();
});
@@ -603,4 +612,158 @@ describe('Middleware (FastifyAdapter)', () => {
await app.close();
});
});
describe('should respect fastify routing options', () => {
const MIDDLEWARE_RETURN_VALUE = 'middleware_return';
@Controller()
class TestController {
@Get('abc/def')
included() {
return 'whatnot';
}
}
@Module({
imports: [AppModule],
controllers: [TestController],
})
class TestModule {
configure(consumer: MiddlewareConsumer) {
consumer
.apply((req, res, next) => res.end(MIDDLEWARE_RETURN_VALUE))
.forRoutes({ path: 'abc/def', method: RequestMethod.GET });
}
}
describe('[ignoreTrailingSlash] attribute', () => {
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(
new FastifyAdapter({
ignoreTrailingSlash: true,
// routerOptions: {
// ignoreTrailingSlash: true,
// },
}),
);
await app.init();
});
it(`GET forRoutes(GET /abc/def/)`, () => {
return app
.inject({
method: 'GET',
url: '/abc/def/', // trailing slash
})
.then(({ payload }) =>
expect(payload).to.be.eql(MIDDLEWARE_RETURN_VALUE),
);
});
afterEach(async () => {
await app.close();
});
});
describe('[ignoreDuplicateSlashes] attribute', () => {
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(
new FastifyAdapter({
routerOptions: {
ignoreDuplicateSlashes: true,
},
}),
);
await app.init();
});
it(`GET forRoutes(GET /abc//def)`, () => {
return app
.inject({
method: 'GET',
url: '/abc//def', // duplicate slashes
})
.then(({ payload }) =>
expect(payload).to.be.eql(MIDDLEWARE_RETURN_VALUE),
);
});
afterEach(async () => {
await app.close();
});
});
describe('[caseSensitive] attribute', () => {
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(
new FastifyAdapter({
routerOptions: {
caseSensitive: true,
},
}),
);
await app.init();
});
it(`GET forRoutes(GET /ABC/DEF)`, () => {
return app
.inject({
method: 'GET',
url: '/ABC/DEF', // different case
})
.then(({ payload }) =>
expect(payload).to.be.eql(MIDDLEWARE_RETURN_VALUE),
);
});
afterEach(async () => {
await app.close();
});
});
describe('[useSemicolonDelimiter] attribute', () => {
beforeEach(async () => {
app = (
await Test.createTestingModule({
imports: [TestModule],
}).compile()
).createNestApplication<NestFastifyApplication>(
new FastifyAdapter({
routerOptions: { useSemicolonDelimiter: true } as any,
}),
);
await app.init();
});
it(`GET forRoutes(GET /abc/def;foo=bar)`, () => {
return app
.inject({
method: 'GET',
url: '/abc/def;foo=bar', // semicolon delimiter
})
.then(({ payload }) =>
expect(payload).to.be.eql(MIDDLEWARE_RETURN_VALUE),
);
});
afterEach(async () => {
await app.close();
});
});
});
});

View File

@@ -51,4 +51,21 @@ describe('enableShutdownHooks', () => {
expect(result.stdout.toString().trim()).to.be.eq('');
done();
}).timeout(10000);
it('should call the correct hooks with useProcessExit option', done => {
const result = spawnSync('ts-node', [
join(__dirname, '../src/enable-shutdown-hooks-main.ts'),
'SIGHUP',
'SIGHUP',
'graceful',
]);
const calls = result.stdout
.toString()
.split('\n')
.map((call: string) => call.trim());
expect(calls[0]).to.equal('beforeApplicationShutdown SIGHUP');
expect(calls[1]).to.equal('onApplicationShutdown SIGHUP');
expect(result.status).to.equal(0);
done();
}).timeout(10000);
});

View File

@@ -7,6 +7,7 @@ import {
import { NestFactory } from '@nestjs/core';
const SIGNAL = process.argv[2];
const SIGNAL_TO_LISTEN = process.argv[3];
const USE_GRACEFUL_EXIT = process.argv[4] === 'graceful';
@Injectable()
class TestInjectable
@@ -29,10 +30,12 @@ class AppModule {}
async function bootstrap() {
const app = await NestFactory.create(AppModule, { logger: false });
const shutdownOptions = USE_GRACEFUL_EXIT ? { useProcessExit: true } : {};
if (SIGNAL_TO_LISTEN && SIGNAL_TO_LISTEN !== 'NONE') {
app.enableShutdownHooks([SIGNAL_TO_LISTEN]);
app.enableShutdownHooks([SIGNAL_TO_LISTEN], shutdownOptions);
} else if (SIGNAL_TO_LISTEN !== 'NONE') {
app.enableShutdownHooks();
app.enableShutdownHooks([], shutdownOptions);
}
await app.listen(1800);

View File

@@ -49,21 +49,42 @@ class TransientProvider {}
@Injectable()
class RequestProvider {}
@Injectable()
class ForeignTransientProvider {}
@Injectable()
export class Dependant {
constructor(
private readonly transientProvider: TransientProvider,
private readonly foreignTransientProvider: ForeignTransientProvider,
@Inject(RequestProvider)
private readonly requestProvider: RequestProvider,
) {}
public checkDependencies() {
expect(this.transientProvider).to.be.instanceOf(TransientProvider);
expect(this.foreignTransientProvider).to.be.instanceOf(
ForeignTransientProvider,
);
expect(this.requestProvider).to.be.instanceOf(RequestProvider);
}
}
@Global()
@Module({
providers: [
{
provide: ForeignTransientProvider,
scope: Scope.TRANSIENT,
useClass: ForeignTransientProvider,
},
],
exports: [ForeignTransientProvider],
})
export class ModuleWithForeignTransientProvider {}
@Global()
@Module({
providers: [
@@ -98,6 +119,12 @@ export class GlobalModuleWithRequestProvider {}
@Module({
imports: [
/*
* ForeginTransientProvider will be resolved quickly because its host module is imported first.
* IMPORTANT: Do not move this module, otherwise we may not catch future regressions.
*/
ModuleWithForeignTransientProvider,
GlobalModule1,
GlobalModule2,
GlobalModule3,
@@ -115,7 +142,7 @@ export class GlobalModuleWithRequestProvider {}
export class AppModule {}
describe('Many global modules', () => {
it('should inject request-scoped useFactory provider and transient-scoped useClass provider from different modules', async () => {
it('should inject request-scoped and transient-scoped providers from different modules', async () => {
const moduleBuilder = Test.createTestingModule({
imports: [AppModule],
});

View File

@@ -24,7 +24,7 @@ describe('Multiple providers under the same token ("each" feature)', () => {
});
});
describe('resolve()', () => {
it('should return an array of providers', async () => {
it('should return an array of request-scoped providers', async () => {
const builder = Test.createTestingModule({
imports: [MultipleProvidersModule],
});
@@ -43,5 +43,25 @@ describe('Multiple providers under the same token ("each" feature)', () => {
expect(multiProviderInstances).to.be.eql(['A', 'B', 'C']);
});
it('should return an array of default-scoped providers', async () => {
const builder = Test.createTestingModule({
imports: [MultipleProvidersModule],
});
const testingModule = await builder.compile();
const multiProviderInstances = await testingModule.resolve<string>(
'MULTI_PROVIDER',
undefined,
{
each: true,
},
);
// @ts-expect-error: make sure "multiProviderInstances" is string[] not string
multiProviderInstances.charAt;
expect(multiProviderInstances).to.be.eql(['A', 'B', 'C']);
});
});
});

View File

@@ -127,7 +127,8 @@ Potential solutions:
@Module({
imports: [ /* the Module containing "MISSING_DEP" */ ]
})
`);
For more common dependency resolution issues, see: https://docs.nestjs.com/faq/common-errors`);
}
});
});

View File

@@ -0,0 +1,48 @@
import { Injectable, Scope, Module } from '@nestjs/common';
import { Test, TestingModule } from '@nestjs/testing';
import { ContextIdFactory, REQUEST } from '@nestjs/core';
import { expect } from 'chai';
describe('Request Scope Bubbling', () => {
// 1. Define the "Poison" (Request Scoped Service)
@Injectable({ scope: Scope.REQUEST })
class ChildService {
// A random ID to verify uniqueness
public readonly id = Math.random();
}
// 2. Define the "Victim" (Singleton that depends on Request Scoped)
@Injectable()
class ParentService {
constructor(public readonly child: ChildService) {}
}
@Module({
providers: [ChildService, ParentService],
})
class TestModule {}
it('should downgrade a Singleton to Request-Scoped if it depends on a Request-Scoped provider', async () => {
// 3. Bootstrap the Module (using Test.createTestingModule instead of NestFactory)
const moduleRef: TestingModule = await Test.createTestingModule({
imports: [TestModule],
}).compile();
// 4. Simulate Request 1
const contextId1 = ContextIdFactory.create();
const parent1 = await moduleRef.resolve(ParentService, contextId1);
// 5. Simulate Request 2
const contextId2 = ContextIdFactory.create();
const parent2 = await moduleRef.resolve(ParentService, contextId2);
// 6. Assertions (The "Moment of Truth")
// The Child IDs should be different (Proof of Request Scope)
expect(parent1.child.id).to.not.equal(parent2.child.id);
// The Parent instances should ALSO be different (Proof of Bubbling)
// If Parent was a true Singleton, these would be equal.
expect(parent1).to.not.equal(parent2);
});
});

View File

@@ -2263,6 +2263,22 @@
},
"id": "-1303681274"
},
"-831049991": {
"source": "594986539",
"target": "-1721730431",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "InputModule",
"sourceClassName": "InputService",
"targetClassName": "CircularService",
"sourceClassToken": "InputService",
"targetClassToken": "CircularService",
"targetModuleName": "CircularModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-831049991"
},
"-886102564": {
"source": "208171089",
"target": "671882984",
@@ -2280,6 +2296,22 @@
},
"id": "-886102564"
},
"-2146943494": {
"source": "-234035039",
"target": "928565345",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "RequestChainModule",
"sourceClassName": "RequestChainService",
"targetClassName": "HelperService",
"sourceClassToken": "RequestChainService",
"targetClassToken": "HelperService",
"targetModuleName": "HelperModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-2146943494"
},
"-2003045613": {
"source": "-377928898",
"target": "-616397055",
@@ -2312,38 +2344,6 @@
},
"id": "-881420795"
},
"-831049991": {
"source": "594986539",
"target": "-1721730431",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "InputModule",
"sourceClassName": "InputService",
"targetClassName": "CircularService",
"sourceClassToken": "InputService",
"targetClassToken": "CircularService",
"targetModuleName": "CircularModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-831049991"
},
"-2146943494": {
"source": "-234035039",
"target": "928565345",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "RequestChainModule",
"sourceClassName": "RequestChainService",
"targetClassName": "HelperService",
"sourceClassToken": "RequestChainService",
"targetClassToken": "HelperService",
"targetModuleName": "HelperModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-2146943494"
},
"-1816180282": {
"source": "-848516688",
"target": "-1673986099",

View File

@@ -2181,22 +2181,6 @@
},
"id": "1976848738"
},
"-2105726668": {
"source": "-1803759743",
"target": "1010833816",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "PropertiesModule",
"sourceClassName": "PropertiesService",
"targetClassName": "token",
"sourceClassToken": "PropertiesService",
"targetClassToken": "token",
"targetModuleName": "PropertiesModule",
"keyOrIndex": "token",
"injectionType": "property"
},
"id": "-2105726668"
},
"-21463590": {
"source": "-1378706112",
"target": "1004276345",
@@ -2213,6 +2197,22 @@
},
"id": "-21463590"
},
"-2105726668": {
"source": "-1803759743",
"target": "1010833816",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "PropertiesModule",
"sourceClassName": "PropertiesService",
"targetClassName": "token",
"sourceClassToken": "PropertiesService",
"targetClassToken": "token",
"targetModuleName": "PropertiesModule",
"keyOrIndex": "token",
"injectionType": "property"
},
"id": "-2105726668"
},
"-1657371464": {
"source": "-1673986099",
"target": "1919157847",
@@ -2247,6 +2247,22 @@
},
"id": "-1303681274"
},
"-831049991": {
"source": "594986539",
"target": "-1721730431",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "InputModule",
"sourceClassName": "InputService",
"targetClassName": "CircularService",
"sourceClassToken": "InputService",
"targetClassToken": "CircularService",
"targetModuleName": "CircularModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-831049991"
},
"-886102564": {
"source": "208171089",
"target": "671882984",
@@ -2264,6 +2280,22 @@
},
"id": "-886102564"
},
"-2146943494": {
"source": "-234035039",
"target": "928565345",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "RequestChainModule",
"sourceClassName": "RequestChainService",
"targetClassName": "HelperService",
"sourceClassToken": "RequestChainService",
"targetClassToken": "HelperService",
"targetModuleName": "HelperModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-2146943494"
},
"-2003045613": {
"source": "-377928898",
"target": "-616397055",
@@ -2296,38 +2328,6 @@
},
"id": "-881420795"
},
"-831049991": {
"source": "594986539",
"target": "-1721730431",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "InputModule",
"sourceClassName": "InputService",
"targetClassName": "CircularService",
"sourceClassToken": "InputService",
"targetClassToken": "CircularService",
"targetModuleName": "CircularModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-831049991"
},
"-2146943494": {
"source": "-234035039",
"target": "928565345",
"metadata": {
"type": "class-to-class",
"sourceModuleName": "RequestChainModule",
"sourceClassName": "RequestChainService",
"targetClassName": "HelperService",
"sourceClassToken": "RequestChainService",
"targetClassToken": "HelperService",
"targetModuleName": "HelperModule",
"keyOrIndex": 0,
"injectionType": "constructor"
},
"id": "-2146943494"
},
"-1816180282": {
"source": "-848516688",
"target": "-1673986099",

View File

@@ -12,9 +12,10 @@ export interface Response<T> {
}
@Injectable()
export class TransformInterceptor<T>
implements NestInterceptor<T, Response<T>>
{
export class TransformInterceptor<T> implements NestInterceptor<
T,
Response<T>
> {
intercept(
context: ExecutionContext,
next: CallHandler<T>,

View File

@@ -0,0 +1,46 @@
import { INestApplication, INestMicroservice } from '@nestjs/common';
import { MicroserviceOptions, Transport } from '@nestjs/microservices';
import { Test } from '@nestjs/testing';
import * as request from 'supertest';
import { RMQFanoutExchangeProducerController } from '../src/rmq/fanout-exchange-producer-rmq.controller';
import { RMQFanoutExchangeConsumerController } from '../src/rmq/fanout-exchange-consumer-rmq.controller';
describe('RabbitMQ transport (Fanout Exchange)', () => {
let server: any;
let appProducer: INestApplication;
let appConsumer: INestMicroservice;
beforeEach(async () => {
const producerModule = await Test.createTestingModule({
controllers: [RMQFanoutExchangeProducerController],
}).compile();
const consumerModule = await Test.createTestingModule({
controllers: [RMQFanoutExchangeConsumerController],
}).compile();
appProducer = producerModule.createNestApplication();
server = appProducer.getHttpAdapter().getInstance();
appConsumer = consumerModule.createNestMicroservice<MicroserviceOptions>({
transport: Transport.RMQ,
options: {
urls: [`amqp://0.0.0.0:5672`],
queue: '',
exchange: 'test.fanout',
exchangeType: 'fanout',
queueOptions: {
exclusive: true,
},
},
});
await Promise.all([appProducer.init(), appConsumer.listen()]);
});
it(`should send message to fanout exchange`, async () => {
await request(server).get('/fanout-exchange').expect(200, 'ping/pong');
});
afterEach(async () => {
await Promise.all([appProducer.close(), appConsumer.close()]);
});
});

View File

@@ -0,0 +1,12 @@
import { Controller } from '@nestjs/common';
import { Ctx, MessagePattern, RmqContext } from '@nestjs/microservices';
@Controller()
export class RMQFanoutExchangeConsumerController {
constructor() {}
@MessagePattern('ping')
handleTopicExchange(@Ctx() ctx: RmqContext): string {
return ctx.getPattern() + '/pong';
}
}

View File

@@ -0,0 +1,28 @@
import { Controller, Get } from '@nestjs/common';
import {
ClientProxy,
ClientProxyFactory,
Transport,
} from '@nestjs/microservices';
import { lastValueFrom } from 'rxjs';
@Controller()
export class RMQFanoutExchangeProducerController {
client: ClientProxy;
constructor() {
this.client = ClientProxyFactory.create({
transport: Transport.RMQ,
options: {
urls: [`amqp://localhost:5672`],
exchange: 'test.fanout',
exchangeType: 'fanout',
},
});
}
@Get('fanout-exchange')
async topicExchange() {
return lastValueFrom(this.client.send<string>('ping', 1));
}
}

View File

@@ -1,7 +1,8 @@
import { INestApplication, Scope } from '@nestjs/common';
import { INestApplication, Injectable, Scope } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import { expect } from 'chai';
import * as request from 'supertest';
import { NestedTransientModule } from '../src/nested-transient/nested-transient.module';
import { Guard } from '../src/transient/guards/request-scoped.guard';
import { HelloController } from '../src/transient/hello.controller';
import { HelloModule } from '../src/transient/hello.module';
@@ -17,65 +18,220 @@ class Meta {
}
describe('Transient scope', () => {
let server;
let app: INestApplication;
describe('when transient scope is used', () => {
let server: any;
let app: INestApplication;
before(async () => {
const module = await Test.createTestingModule({
imports: [
HelloModule.forRoot({
provide: 'META',
useClass: Meta,
scope: Scope.TRANSIENT,
}),
],
}).compile();
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
describe('when one service is request scoped', () => {
before(async () => {
const performHttpCall = end =>
request(server)
.get('/hello')
.end(err => {
if (err) return end(err);
end();
});
await new Promise<any>(resolve => performHttpCall(resolve));
await new Promise<any>(resolve => performHttpCall(resolve));
await new Promise<any>(resolve => performHttpCall(resolve));
const module = await Test.createTestingModule({
imports: [
HelloModule.forRoot({
provide: 'META',
useClass: Meta,
scope: Scope.TRANSIENT,
}),
],
}).compile();
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
it(`should create controller for each request`, () => {
expect(HelloController.COUNTER).to.be.eql(3);
describe('and when one service is request scoped', () => {
before(async () => {
const performHttpCall = end =>
request(server)
.get('/hello')
.end(err => {
if (err) return end(err);
end();
});
await new Promise<any>(resolve => performHttpCall(resolve));
await new Promise<any>(resolve => performHttpCall(resolve));
await new Promise<any>(resolve => performHttpCall(resolve));
});
it(`should create controller for each request`, () => {
expect(HelloController.COUNTER).to.be.eql(3);
});
it(`should create service for each request`, () => {
expect(UsersService.COUNTER).to.be.eql(3);
});
it(`should create provider for each inquirer`, () => {
expect(Meta.COUNTER).to.be.eql(7);
});
it(`should create transient pipe for each controller (3 requests, 1 static)`, () => {
expect(UserByIdPipe.COUNTER).to.be.eql(4);
});
it(`should create transient interceptor for each controller (3 requests, 1 static)`, () => {
expect(Interceptor.COUNTER).to.be.eql(4);
});
it(`should create transient guard for each controller (3 requests, 1 static)`, () => {
expect(Guard.COUNTER).to.be.eql(4);
});
});
it(`should create service for each request`, () => {
expect(UsersService.COUNTER).to.be.eql(3);
});
it(`should create provider for each inquirer`, () => {
expect(Meta.COUNTER).to.be.eql(7);
});
it(`should create transient pipe for each controller (3 requests, 1 static)`, () => {
expect(UserByIdPipe.COUNTER).to.be.eql(4);
});
it(`should create transient interceptor for each controller (3 requests, 1 static)`, () => {
expect(Interceptor.COUNTER).to.be.eql(4);
});
it(`should create transient guard for each controller (3 requests, 1 static)`, () => {
expect(Guard.COUNTER).to.be.eql(4);
after(async () => {
await app.close();
});
});
after(async () => {
await app.close();
describe('when there is a nested structure of transient providers', () => {
let app: INestApplication;
@Injectable({ scope: Scope.TRANSIENT })
class DeepTransient {
public initialized = false;
constructor() {
this.initialized = true;
}
}
@Injectable({ scope: Scope.TRANSIENT })
class LoggerService {
public context?: string;
}
@Injectable({ scope: Scope.TRANSIENT })
class SecondService {
constructor(public readonly loggerService: LoggerService) {
this.loggerService.context = 'SecondService';
}
}
@Injectable()
class FirstService {
constructor(
public readonly secondService: SecondService,
public readonly loggerService: LoggerService,
public readonly deepTransient: DeepTransient,
) {
this.loggerService.context = 'FirstService';
}
}
before(async () => {
const module = await Test.createTestingModule({
providers: [FirstService, SecondService, LoggerService, DeepTransient],
}).compile();
app = module.createNestApplication();
await app.init();
});
it('should create a new instance of the transient provider for each provider', async () => {
const firstService1 = app.get(FirstService);
expect(firstService1.secondService.loggerService.context).to.equal(
'SecondService',
);
expect(firstService1.loggerService.context).to.equal('FirstService');
expect(firstService1.deepTransient.initialized).to.be.true;
});
after(async () => {
await app.close();
});
});
describe('when DEFAULT scoped provider has deeply nested TRANSIENT chain', () => {
let app: INestApplication;
@Injectable({ scope: Scope.TRANSIENT })
class DeepNestedTransient {
public static constructorCalled = false;
constructor() {
DeepNestedTransient.constructorCalled = true;
}
}
@Injectable({ scope: Scope.TRANSIENT })
class MiddleTransient {
constructor(public readonly nested: DeepNestedTransient) {}
}
@Injectable()
class RootService {
constructor(public readonly middle: MiddleTransient) {}
}
before(async () => {
DeepNestedTransient.constructorCalled = false;
const module = await Test.createTestingModule({
providers: [RootService, MiddleTransient, DeepNestedTransient],
}).compile();
app = module.createNestApplication();
await app.init();
});
it('should call constructor of deeply nested TRANSIENT provider', () => {
const rootService = app.get(RootService);
expect(DeepNestedTransient.constructorCalled).to.be.true;
expect(rootService.middle.nested).to.be.instanceOf(DeepNestedTransient);
});
after(async () => {
await app.close();
});
});
describe('when nested transient providers are used in request scope', () => {
let server: any;
let app: INestApplication;
before(async () => {
const module = await Test.createTestingModule({
imports: [NestedTransientModule],
}).compile();
app = module.createNestApplication();
server = app.getHttpServer();
await app.init();
});
describe('when handling HTTP requests', () => {
let response: any;
before(async () => {
const performHttpCall = () =>
new Promise<any>((resolve, reject) => {
request(server)
.get('/nested-transient')
.end((err, res) => {
if (err) return reject(err);
resolve(res);
});
});
response = await performHttpCall();
});
it('should isolate nested transient instances for each parent service', () => {
expect(response.body.firstServiceContext).to.equal(
'NESTED-FirstService',
);
expect(response.body.secondServiceContext).to.equal(
'NESTED-SecondService',
);
expect(response.body.firstServiceNestedId).to.not.equal(
response.body.secondServiceNestedId,
);
});
});
after(async () => {
await app.close();
});
});
});

View File

@@ -0,0 +1,12 @@
import { Injectable, Scope } from '@nestjs/common';
import { TransientLoggerService } from './transient-logger.service';
@Injectable({ scope: Scope.REQUEST })
export class FirstRequestService {
static COUNTER = 0;
constructor(public readonly logger: TransientLoggerService) {
FirstRequestService.COUNTER++;
this.logger.setContext('FirstService');
}
}

View File

@@ -0,0 +1,25 @@
import { Controller, Get, Scope } from '@nestjs/common';
import { FirstRequestService } from './first-request.service';
import { SecondRequestService } from './second-request.service';
@Controller({ path: 'nested-transient', scope: Scope.REQUEST })
export class NestedTransientController {
static COUNTER = 0;
constructor(
private readonly firstService: FirstRequestService,
private readonly secondService: SecondRequestService,
) {
NestedTransientController.COUNTER++;
}
@Get()
getIsolationData() {
return {
firstServiceContext: this.firstService.logger.getNestedContext(),
firstServiceNestedId: this.firstService.logger.getNestedInstanceId(),
secondServiceContext: this.secondService.logger.getNestedContext(),
secondServiceNestedId: this.secondService.logger.getNestedInstanceId(),
};
}
}

View File

@@ -0,0 +1,17 @@
import { Module } from '@nestjs/common';
import { NestedTransientController } from './nested-transient.controller';
import { FirstRequestService } from './first-request.service';
import { SecondRequestService } from './second-request.service';
import { TransientLoggerService } from './transient-logger.service';
import { NestedTransientService } from './nested-transient.service';
@Module({
controllers: [NestedTransientController],
providers: [
FirstRequestService,
SecondRequestService,
TransientLoggerService,
NestedTransientService,
],
})
export class NestedTransientModule {}

View File

@@ -0,0 +1,21 @@
import { Injectable, Scope } from '@nestjs/common';
@Injectable({ scope: Scope.TRANSIENT })
export class NestedTransientService {
static COUNTER = 0;
public readonly instanceId: number;
private context?: string;
constructor() {
NestedTransientService.COUNTER++;
this.instanceId = NestedTransientService.COUNTER;
}
setContext(ctx: string) {
this.context = ctx;
}
getContext(): string | undefined {
return this.context;
}
}

View File

@@ -0,0 +1,12 @@
import { Injectable, Scope } from '@nestjs/common';
import { TransientLoggerService } from './transient-logger.service';
@Injectable({ scope: Scope.REQUEST })
export class SecondRequestService {
static COUNTER = 0;
constructor(public readonly logger: TransientLoggerService) {
SecondRequestService.COUNTER++;
this.logger.setContext('SecondService');
}
}

View File

@@ -0,0 +1,25 @@
import { Injectable, Scope } from '@nestjs/common';
import { NestedTransientService } from './nested-transient.service';
@Injectable({ scope: Scope.TRANSIENT })
export class TransientLoggerService {
static COUNTER = 0;
public readonly instanceId: number;
constructor(public readonly nested: NestedTransientService) {
TransientLoggerService.COUNTER++;
this.instanceId = TransientLoggerService.COUNTER;
}
setContext(ctx: string) {
this.nested.setContext(`NESTED-${ctx}`);
}
getNestedContext(): string | undefined {
return this.nested.getContext();
}
getNestedInstanceId(): number {
return this.nested.instanceId;
}
}

View File

@@ -41,5 +41,38 @@ describe('WebSocketGateway (ack)', () => {
);
});
it('should handle manual ack for async operations when @Ack() is used (success case)', async () => {
app = await createNestApp(AckGateway);
await app.listen(3000);
ws = io('http://localhost:8080');
const payload = { shouldSucceed: true };
await new Promise<void>(resolve =>
ws.emit('manual-ack', payload, response => {
expect(response).to.eql({ status: 'success', data: payload });
resolve();
}),
);
});
it('should handle manual ack for async operations when @Ack() is used (error case)', async () => {
app = await createNestApp(AckGateway);
await app.listen(3000);
ws = io('http://localhost:8080');
const payload = { shouldSucceed: false };
await new Promise<void>(resolve =>
ws.emit('manual-ack', payload, response => {
expect(response).to.eql({
status: 'error',
message: 'Operation failed',
});
resolve();
}),
);
});
afterEach(() => app.close());
});

View File

@@ -1,4 +1,9 @@
import { SubscribeMessage, WebSocketGateway } from '@nestjs/websockets';
import {
Ack,
MessageBody,
SubscribeMessage,
WebSocketGateway,
} from '@nestjs/websockets';
@WebSocketGateway(8080)
export class AckGateway {
@@ -6,4 +11,19 @@ export class AckGateway {
onPush() {
return 'pong';
}
@SubscribeMessage('manual-ack')
async handleManualAck(
@MessageBody() data: any,
@Ack() ack: (response: any) => void,
) {
await new Promise(resolve => setTimeout(resolve, 20));
if (data.shouldSucceed) {
ack({ status: 'success', data });
} else {
ack({ status: 'error', message: 'Operation failed' });
}
return { status: 'ignored' };
}
}

View File

@@ -1,7 +1,5 @@
{
"lerna": "2.4.0",
"packages": [
"packages/*"
],
"version": "11.1.5"
"packages": ["packages/*"],
"version": "11.1.14",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}

27495
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/core",
"version": "11.1.1",
"version": "11.1.10",
"description": "Modern, fast, powerful node.js web framework",
"homepage": "https://nestjs.com",
"repository": {
@@ -42,12 +42,12 @@
"lint:spec": "node --max-old-space-size=4096 ./node_modules/.bin/eslint 'packages/**/**.spec.ts'",
"lint:ci": "concurrently 'npm run lint:packages' 'npm run lint:spec'",
"prerelease": "gulp copy-misc",
"publish": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --access public --exact -m \"chore(@nestjs) publish %s release\"",
"publish": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --exact -m \"chore(release): publish %s release\"",
"prepublishOnly": "npm run changelog | pbcopy",
"publish:beta": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=beta --access public -m \"chore(@nestjs) publish %s release\"",
"publish:next": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=next --access public --skip-git -m \"chore(@nestjs) publish %s release\"",
"publish:rc": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=rc --access public -m \"chore(@nestjs) publish %s release\"",
"publish:test": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --access public --npm-tag=test --skip-git -m \"chore(@nestjs) publish %s release\"",
"publish:beta": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(release): publish %s release\"",
"publish:next": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=next --skip-git -m \"chore(release): publish %s release\"",
"publish:rc": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --npm-tag=rc -m \"chore(release): publish %s release\"",
"publish:test": "npm run prerelease && npm run build:prod && ./node_modules/.bin/lerna publish --force-publish --npm-tag=test --skip-git -m \"chore(release): publish %s release\"",
"prepare": "husky"
},
"lint-staged": {
@@ -60,125 +60,116 @@
},
"dependencies": {
"@nuxt/opencollective": "0.4.1",
"ansis": "4.1.0",
"ansis": "4.2.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.2",
"cors": "2.8.5",
"express": "5.1.0",
"fast-json-stringify": "6.0.1",
"class-validator": "0.14.3",
"cors": "2.8.6",
"express": "5.2.1",
"fast-json-stringify": "6.3.0",
"fast-safe-stringify": "2.1.1",
"file-type": "21.0.0",
"file-type": "21.3.0",
"iterare": "1.2.1",
"load-esm": "1.0.2",
"load-esm": "1.0.3",
"object-hash": "3.0.0",
"path-to-regexp": "8.2.0",
"path-to-regexp": "8.3.0",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2",
"socket.io": "4.8.1",
"socket.io": "4.8.3",
"tslib": "2.8.1",
"uid": "2.0.2",
"uuid": "11.1.0"
"uuid": "13.0.0"
},
"devDependencies": {
"@apollo/server": "4.12.2",
"@codechecks/client": "0.1.12",
"@commitlint/cli": "19.8.1",
"@commitlint/config-angular": "19.8.1",
"@eslint/eslintrc": "3.3.1",
"@eslint/js": "9.31.0",
"@fastify/cors": "11.0.1",
"@apollo/server": "5.4.0",
"@as-integrations/express5": "1.1.2",
"@commitlint/cli": "20.4.1",
"@commitlint/config-angular": "20.4.1",
"@eslint/eslintrc": "3.3.3",
"@eslint/js": "9.39.2",
"@fastify/cors": "11.2.0",
"@fastify/formbody": "8.0.2",
"@fastify/middie": "9.0.3",
"@fastify/multipart": "9.0.3",
"@fastify/static": "8.2.0",
"@fastify/view": "11.1.0",
"@grpc/grpc-js": "1.13.4",
"@grpc/proto-loader": "0.7.15",
"@nestjs/apollo": "13.1.0",
"@nestjs/graphql": "13.1.0",
"@nestjs/mongoose": "11.0.3",
"@fastify/middie": "9.1.0",
"@fastify/multipart": "9.4.0",
"@fastify/static": "9.0.0",
"@fastify/view": "11.1.1",
"@grpc/grpc-js": "1.14.3",
"@grpc/proto-loader": "0.8.0",
"@nestjs/apollo": "13.2.4",
"@nestjs/graphql": "13.2.4",
"@nestjs/mongoose": "11.0.4",
"@nestjs/typeorm": "11.0.0",
"@types/amqplib": "0.10.7",
"@types/bytes": "3.1.5",
"@types/amqplib": "0.10.8",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/cors": "2.8.19",
"@types/eslint__js": "8.42.3",
"@types/express": "5.0.3",
"@types/gulp": "4.0.17",
"@types/express": "5.0.6",
"@types/gulp": "4.0.18",
"@types/http-errors": "2.0.5",
"@types/mocha": "10.0.10",
"@types/node": "24.0.14",
"@types/sinon": "17.0.4",
"@types/node": "25.2.3",
"@types/sinon": "21.0.0",
"@types/supertest": "6.0.3",
"@types/ws": "8.18.1",
"amqp-connection-manager": "4.1.14",
"amqplib": "0.10.8",
"artillery": "2.0.23",
"body-parser": "2.2.0",
"bytes": "3.1.2",
"cache-manager": "7.0.1",
"cache-manager-redis-store": "3.0.1",
"@typescript-eslint/eslint-plugin": "8.56.0",
"@typescript-eslint/parser": "8.56.0",
"amqp-connection-manager": "5.0.0",
"amqplib": "0.10.9",
"body-parser": "2.2.2",
"cache-manager": "7.2.8",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"clang-format": "1.8.0",
"concurrently": "9.2.0",
"concurrently": "9.2.1",
"conventional-changelog": "7.1.1",
"core-js": "3.44.0",
"coveralls": "3.1.1",
"delete-empty": "3.0.0",
"engine.io-client": "6.6.3",
"eslint": "9.31.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.1",
"eventsource": "4.0.0",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.5",
"eventsource": "4.1.0",
"fancy-log": "2.0.0",
"fastify": "5.4.0",
"globals": "16.3.0",
"graphql": "16.11.0",
"fastify": "5.7.4",
"fastify-plugin": "5.1.0",
"find-my-way": "9.4.0",
"globals": "17.3.0",
"graphql": "16.12.0",
"graphql-subscriptions": "3.0.0",
"graphql-tools": "9.0.18",
"gulp": "5.0.1",
"gulp-clang-format": "1.0.27",
"gulp-clean": "0.4.0",
"gulp-sourcemaps": "3.0.0",
"gulp-typescript": "5.0.1",
"gulp-watch": "5.0.1",
"http-errors": "2.0.0",
"http-errors": "2.0.1",
"husky": "9.1.7",
"imports-loader": "5.0.0",
"ioredis": "5.6.1",
"json-loader": "0.5.7",
"ioredis": "5.9.3",
"kafkajs": "2.2.4",
"lerna": "2.11.0",
"lerna": "9.0.4",
"lerna-changelog": "2.2.0",
"light-my-request": "6.6.0",
"lint-staged": "16.1.2",
"lint-staged": "16.2.7",
"markdown-table": "2.0.0",
"mocha": "11.7.1",
"mongoose": "8.16.4",
"mqtt": "5.13.2",
"multer": "2.0.1",
"mysql2": "3.14.2",
"mocha": "11.7.5",
"mongoose": "9.2.1",
"mqtt": "5.15.0",
"multer": "2.0.2",
"mysql2": "3.17.2",
"nats": "2.29.3",
"nodemon": "3.1.10",
"nyc": "14.1.1",
"prettier": "3.6.2",
"redis": "5.6.0",
"prettier": "^3.7.4",
"redis": "5.11.0",
"reusify": "1.1.0",
"rxjs-compat": "6.6.7",
"sinon": "21.0.0",
"sinon": "21.0.1",
"sinon-chai": "3.7.0",
"socket.io-client": "4.8.1",
"subscriptions-transport-ws": "0.11.0",
"supertest": "7.1.3",
"ts-morph": "26.0.0",
"socket.io-client": "4.8.3",
"supertest": "7.2.2",
"ts-morph": "27.0.2",
"ts-node": "10.9.2",
"typeorm": "0.3.25",
"typescript": "5.8.3",
"typescript-eslint": "8.37.0",
"wrk": "1.2.1",
"ws": "8.18.3"
"typeorm": "0.3.28",
"typescript": "5.9.3",
"typescript-eslint": "8.56.0",
"ws": "8.19.0"
},
"engines": {
"node": ">= 20"

View File

@@ -1,5 +1,5 @@
<p align="center">
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
<a href="https://nestjs.com/" target="_blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
@@ -8,7 +8,7 @@
<p align="center">A progressive <a href="https://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://github.com/nestjs/nest/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
@@ -49,7 +49,7 @@ Please make sure to read the [Issue Reporting Checklist](https://github.com/nest
## Consulting
With official support, you can get expert help straight from Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
With official support, you can get expert help straight from the Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
## Support
@@ -63,6 +63,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<td><a href="https://microsoft.com/" target="_blank"><img src="https://nestjs.com/img/logos/microsoft-logo.png" width="180" valign="middle" /></a></td>
<td><a href="https://mojam.co" target="_blank"><img src="https://nestjs.com/img/logos/mojam-logo.png" width="80" valign="middle" /></a></td>
<td><a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td>
<td><a href="https://serpapi.com/" target="_blank"><img src="https://nestjs.com/img/logos/serpapi-logo.png" width="150" valign="middle" /></a></td>
</tr>
</table>
@@ -78,10 +79,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
</tr>
<tr>
<td><a href="https://snyk.co/nestjs" target="_blank"><img src="https://nestjs.com/img/logos/snyk-logo-black.png" width="185" valign="middle" /></a></td>
<td><a href="https://fuseautotech.com/" target="_blank"><img src="https://nestjs.com/img/logos/fuse-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://ridicorp.com/career/" target="_blank"><img src="https://nestjs.com/img/logos/ridi-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://www.movavi.com/imovie-for-windows.html" target="_blank"><img src="https://nestjs.com/img/logos/movavi-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://skunk.team" target="_blank"><img src="https://nestjs.com/img/logos/skunk-logo.png" height="60" valign="middle" /></a></td>
</tr>
</table>
@@ -91,10 +89,12 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<tr>
<td><a href="https://www.mercedes-benz.com/" target="_blank"><img src="https://nestjs.com/img/logos/mercedes-logo.png" width="100" valign="middle" /></a></td>
<td><a href="https://www.dinii.jp/" target="_blank"><img src="https://nestjs.com/img/logos/dinii-logo.png" width="65" valign="middle" /></a></td>
<td><a href="https://bloodycase.com/?promocode=NEST" target="_blank"><img src="https://nestjs.com/img/logos/bloodycase-logo.png" width="65" valign="middle" /></a></td>
<td><a href="https://handsontable.com/docs/react-data-grid/?utm_source=NestJS_GH&utm_medium=sponsorship&utm_campaign=library_sponsorship_2024" target="_blank"><img src="https://nestjs.com/img/logos/handsontable-dark-logo.svg#2" width="150" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.itflashcards.com/" target="_blank"><img src="https://nestjs.com/img/logos/it_flashcards-logo.png" width="170" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://arcjet.com/?ref=nestjs" target="_blank"><img src="https://nestjs.com/img/logos/arcjet-logo.svg" width="170" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://crawljobs.com" target="_blank"><img src="https://nestjs.com/img/logos/crawljobs-logo.svg" width="130" valign="middle" /></a></td>
</tr><tr>
<td align="center" valign="middle"><a href="https://pandektes.com" target="_blank"><img src="https://nestjs.com/img/logos/pandektes-logo.png" width="65" valign="middle" /></a></td>
</tr>
</table>
@@ -118,19 +118,16 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<td align="center" valign="middle"><a href="https://triplecore.io" target="_blank"><img src="https://nestjs.com/img/logos/triplecore-logo.svg" width="50" valign="middle" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/logos/casinowizard-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/logos/polygon-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/logos/boringowl-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/logos/nordbot-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/logos/dopiosh-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.hingehealth.com/" target="_blank"><img src="https://nestjs.com/img/logos/hinge-health-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/logos/julienferand-logo.jpeg" width="55" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/logos/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.slotsup.com/" target="_blank"><img src="https://nestjs.com/img/logos/slotsup-logo.png" width="60" valign="middle" /></a></td>
</tr>
</table>

View File

@@ -6,7 +6,12 @@ import { RequestMethod } from '../../enums/request-method.enum';
*
* @publicApi
*/
export function Sse(path?: string): MethodDecorator {
export function Sse(
path?: string,
options: { [METHOD_METADATA]?: RequestMethod } = {
[METHOD_METADATA]: RequestMethod.GET,
},
): MethodDecorator {
return (
target: object,
key: string | symbol,
@@ -17,7 +22,7 @@ export function Sse(path?: string): MethodDecorator {
Reflect.defineMetadata(PATH_METADATA, path, descriptor.value);
Reflect.defineMetadata(
METHOD_METADATA,
RequestMethod.GET,
options[METHOD_METADATA],
descriptor.value,
);
Reflect.defineMetadata(SSE_METADATA, true, descriptor.value);

View File

@@ -12,4 +12,5 @@ export enum RouteParamtypes {
HOST = 10,
IP = 11,
RAW_BODY = 12,
ACK = 13,
}

View File

@@ -10,7 +10,7 @@ type StaticOrigin = boolean | string | RegExp | (string | RegExp)[];
* @publicApi
*/
export type CustomOrigin = (
requestOrigin: string,
requestOrigin: string | undefined,
callback: (err: Error | null, origin?: StaticOrigin) => void,
) => void;

View File

@@ -24,6 +24,7 @@ export * from './nest-application-options.interface';
export * from './nest-application.interface';
export * from './nest-microservice.interface';
export * from './scope-options.interface';
export * from './shutdown-hooks-options.interface';
export * from './type.interface';
export * from './version-options.interface';
export * from './websockets/web-socket-adapter.interface';

View File

@@ -67,4 +67,11 @@ export class NestApplicationContextOptions {
*/
instanceDecorator: (instance: unknown) => unknown;
};
/**
* If enabled, will force the use of console.log/console.error instead of process.stdout/stderr.write
* in the default ConsoleLogger. This is useful for test environments like Jest that can buffer console calls.
* @default false
*/
forceConsole?: boolean;
}

View File

@@ -2,6 +2,7 @@ import { ShutdownSignal } from '../enums/shutdown-signal.enum';
import { LoggerService, LogLevel } from '../services/logger.service';
import { DynamicModule } from './modules';
import { NestApplicationContextOptions } from './nest-application-context-options.interface';
import { ShutdownHooksOptions } from './shutdown-hooks-options.interface';
import { Type } from './type.interface';
export type SelectOptions = Pick<NestApplicationContextOptions, 'abortOnError'>;
@@ -143,9 +144,15 @@ export interface INestApplicationContext {
* `onApplicationShutdown` function of a provider if the
* process receives a shutdown signal.
*
* @param {ShutdownSignal[] | string[]} [signals] The system signals to listen to
* @param {ShutdownHooksOptions} [options] Options for configuring shutdown hooks behavior
*
* @returns {this} The Nest application context instance
*/
enableShutdownHooks(signals?: ShutdownSignal[] | string[]): this;
enableShutdownHooks(
signals?: ShutdownSignal[] | string[],
options?: ShutdownHooksOptions,
): this;
/**
* Initializes the Nest application.

View File

@@ -17,8 +17,9 @@ import { WebSocketAdapter } from './websockets/web-socket-adapter.interface';
*
* @publicApi
*/
export interface INestApplication<TServer = any>
extends INestApplicationContext {
export interface INestApplication<
TServer = any,
> extends INestApplicationContext {
/**
* A wrapper function around HTTP adapter method: `adapter.use()`.
* Example `app.use(cors())`

View File

@@ -0,0 +1,21 @@
/**
* Options for configuring shutdown hooks behavior.
*
* @publicApi
*/
export interface ShutdownHooksOptions {
/**
* If true, uses `process.exit()` instead of `process.kill(process.pid, signal)`
* after shutdown hooks complete. This ensures the 'exit' event is properly
* triggered, which is required for async loggers (like Pino with transports)
* to flush their buffers before the process terminates.
*
* Note: Using `process.exit()` will:
* - Change the exit code (e.g., SIGTERM: 143 → 0)
* - May not trigger other signal handlers from third-party libraries
* - May affect orchestrator (Kubernetes, Docker) behavior
*
* @default false
*/
useProcessExit?: boolean;
}

View File

@@ -6,6 +6,7 @@ import { Observable } from 'rxjs';
export interface WsMessageHandler<T = string> {
message: T;
callback: (...args: any[]) => Observable<any> | Promise<any>;
isAckHandledManually: boolean;
}
/**

View File

@@ -4,6 +4,7 @@ import { Logger } from '../services/logger.service';
import { randomStringGenerator } from '../utils/random-string-generator.util';
import {
ASYNC_METHOD_SUFFIX,
ASYNC_OPTIONS_METADATA_KEYS,
CONFIGURABLE_MODULE_ID,
DEFAULT_FACTORY_CLASS_METHOD_KEY,
DEFAULT_METHOD_KEY,
@@ -52,8 +53,8 @@ export interface ConfigurableModuleBuilderOptions {
export class ConfigurableModuleBuilder<
ModuleOptions,
StaticMethodKey extends string = typeof DEFAULT_METHOD_KEY,
FactoryClassMethodKey extends
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
FactoryClassMethodKey extends string =
typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
ExtraModuleDefinitionOptions = {},
> {
protected staticMethodKey: StaticMethodKey;
@@ -254,7 +255,7 @@ export class ConfigurableModuleBuilder<
},
{
...self.extras,
...options,
...this.extractExtrasFromAsyncOptions(options, self.extras),
},
);
}
@@ -277,8 +278,28 @@ export class ConfigurableModuleBuilder<
return moduleOptions as ModuleOptions;
}
private static extractExtrasFromAsyncOptions(
input: ConfigurableModuleAsyncOptions<ModuleOptions> &
ExtraModuleDefinitionOptions,
extras: ExtraModuleDefinitionOptions | undefined,
): Partial<ExtraModuleDefinitionOptions> {
if (!extras) {
return {};
}
const extrasOptions = {};
Object.keys(input as object)
.filter(key => !ASYNC_OPTIONS_METADATA_KEYS.includes(key as any))
.forEach(key => {
extrasOptions[key] = input[key];
});
return extrasOptions;
}
private static createAsyncProviders(
options: ConfigurableModuleAsyncOptions<ModuleOptions>,
options: ConfigurableModuleAsyncOptions<ModuleOptions> &
ExtraModuleDefinitionOptions,
): Provider[] {
if (options.useExisting || options.useFactory) {
if (options.inject && options.provideInjectionTokensFrom) {

View File

@@ -3,3 +3,16 @@ export const DEFAULT_FACTORY_CLASS_METHOD_KEY = 'create';
export const ASYNC_METHOD_SUFFIX = 'Async';
export const CONFIGURABLE_MODULE_ID = 'CONFIGURABLE_MODULE_ID';
/**
* List of keys that are specific to ConfigurableModuleAsyncOptions
* and should be excluded when extracting user-defined extras.
*/
export const ASYNC_OPTIONS_METADATA_KEYS = [
'useFactory',
'useClass',
'useExisting',
'inject',
'imports',
'provideInjectionTokensFrom',
] as const;

View File

@@ -28,8 +28,8 @@ export type ConfigurableModuleOptionsFactory<
*/
export interface ConfigurableModuleAsyncOptions<
ModuleOptions,
FactoryClassMethodKey extends
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
FactoryClassMethodKey extends string =
typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
> extends Pick<ModuleMetadata, 'imports'> {
/**
* Injection token resolving to an existing provider. The provider must implement

View File

@@ -16,8 +16,8 @@ import { ConfigurableModuleAsyncOptions } from './configurable-module-async-opti
export type ConfigurableModuleCls<
ModuleOptions,
MethodKey extends string = typeof DEFAULT_METHOD_KEY,
FactoryClassMethodKey extends
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
FactoryClassMethodKey extends string =
typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
ExtraModuleDefinitionOptions = {},
> = {
new (): any;

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/common",
"version": "11.1.5",
"version": "11.1.14",
"description": "Nest - modern, fast, powerful node.js web framework (@common)",
"author": "Kamil Mysliwiec",
"homepage": "https://nestjs.com",
@@ -18,9 +18,9 @@
},
"license": "MIT",
"dependencies": {
"file-type": "21.0.0",
"file-type": "21.3.0",
"iterare": "1.2.1",
"load-esm": "1.0.2",
"load-esm": "1.0.3",
"tslib": "2.8.1",
"uid": "2.0.2"
},
@@ -37,5 +37,6 @@
"class-transformer": {
"optional": true
}
}
},
"gitHead": "bcb4747f7598a9d2655c8184a6d729ebefa07fbd"
}

View File

@@ -13,9 +13,10 @@ import { isNil, isNumber } from '../utils/shared.utils';
* @publicApi
*/
@Injectable()
export class DefaultValuePipe<T = any, R = any>
implements PipeTransform<T, T | R>
{
export class DefaultValuePipe<T = any, R = any> implements PipeTransform<
T,
T | R
> {
constructor(protected readonly defaultValue: R) {}
transform(value?: T, _metadata?: ArgumentMetadata): T | R {

View File

@@ -1,10 +1,49 @@
import { pathToFileURL } from 'url';
import { Logger } from '../../services/logger.service';
import { FileValidatorContext } from './file-validator-context.interface';
import { FileValidator } from './file-validator.interface';
import { IFile } from './interfaces';
import { loadEsm } from 'load-esm';
const logger = new Logger('FileTypeValidator');
type FileTypeValidatorContext = FileValidatorContext<
Omit<FileTypeValidatorOptions, 'errorMessage'>
>;
export type FileTypeValidatorOptions = {
/**
* Expected file type(s) for validation. Can be a string (MIME type)
* or a regular expression to match multiple types.
*
* @example
* // Match a single MIME type
* fileType: 'image/png'
*
* @example
* // Match multiple types using RegExp
* fileType: /^image\/(png|jpeg)$/
*/
fileType: string | RegExp;
/**
* Custom error message displayed when file type validation fails
* Can be provided as a static string, or as a factory function
* that receives the validation context (file and validator configuration)
* and returns a dynamic error message.
*
* @example
* // Static message
* new FileTypeValidator({ fileType: 'image/png', errorMessage: 'Only PNG allowed' })
*
* @example
* // Dynamic message based on file object and validator configuration
* new FileTypeValidator({
* fileType: 'image/png',
* errorMessage: ctx => `Received file type '${ctx.file?.mimetype}', but expected '${ctx.config.fileType}'`
* })
*/
errorMessage?: string | ((ctx: FileTypeValidatorContext) => string);
/**
* If `true`, the validator will skip the magic numbers validation.
* This can be useful when you can't identify some files as there are no common magic numbers available for some file types.
@@ -33,10 +72,16 @@ export class FileTypeValidator extends FileValidator<
IFile
> {
buildErrorMessage(file?: IFile): string {
const expected = this.validationOptions.fileType;
const { errorMessage, ...config } = this.validationOptions;
if (errorMessage) {
return typeof errorMessage === 'function'
? errorMessage({ file, config })
: errorMessage;
}
if (file?.mimetype) {
const baseMessage = `Validation failed (current file type is ${file.mimetype}, expected type is ${expected})`;
const baseMessage = `Validation failed (current file type is ${file.mimetype}, expected type is ${this.validationOptions.fileType})`;
/**
* If fallbackToMimetype is enabled, this means the validator failed to detect the file type
@@ -52,7 +97,7 @@ export class FileTypeValidator extends FileValidator<
return baseMessage;
}
return `Validation failed (expected type is ${expected})`;
return `Validation failed (expected type is ${this.validationOptions.fileType})`;
}
async isValid(file?: IFile): Promise<boolean> {
@@ -69,11 +114,25 @@ export class FileTypeValidator extends FileValidator<
);
}
if (!isFileValid || !file.buffer) return false;
if (!isFileValid) return false;
if (!file.buffer) {
if (this.validationOptions.fallbackToMimetype) {
return !!file.mimetype.match(this.validationOptions.fileType);
}
return false;
}
try {
let fileTypeModule: string;
try {
const resolvedPath = require.resolve('file-type');
fileTypeModule = pathToFileURL(resolvedPath).href;
} catch {
fileTypeModule = 'file-type';
}
const { fileTypeFromBuffer } =
await loadEsm<typeof import('file-type')>('file-type');
await loadEsm<typeof import('file-type')>(fileTypeModule);
const fileType = await fileTypeFromBuffer(file.buffer);
if (fileType) {
@@ -90,7 +149,27 @@ export class FileTypeValidator extends FileValidator<
return !!file.mimetype.match(this.validationOptions.fileType);
}
return false;
} catch {
} catch (error) {
const errorMessage =
error instanceof Error ? error.message : String(error);
// Check for common ESM loading issues
if (
errorMessage.includes('ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING') ||
errorMessage.includes('Cannot find module') ||
errorMessage.includes('ERR_MODULE_NOT_FOUND')
) {
logger.warn(
`Failed to load the "file-type" package for magic number validation. ` +
`If you are using Jest, run it with NODE_OPTIONS="--experimental-vm-modules". ` +
`Error: ${errorMessage}`,
);
}
// Fallback to mimetype if enabled
if (this.validationOptions.fallbackToMimetype) {
return !!file.mimetype.match(this.validationOptions.fileType);
}
return false;
}
}

View File

@@ -0,0 +1,6 @@
import { IFile } from './interfaces';
export type FileValidatorContext<TConfig> = {
file?: IFile;
config: TConfig;
};

View File

@@ -1,9 +1,40 @@
import { FileValidatorContext } from './file-validator-context.interface';
import { FileValidator } from './file-validator.interface';
import { IFile } from './interfaces';
type MaxFileSizeValidatorContext = FileValidatorContext<
Omit<MaxFileSizeValidatorOptions, 'errorMessage' | 'message'>
>;
export type MaxFileSizeValidatorOptions = {
/**
* Maximum allowed file size in bytes.
*/
maxSize: number;
/**
* @deprecated Use `errorMessage` instead.
*/
message?: string | ((maxSize: number) => string);
/**
* Custom error message returned when file size validation fails.
* Can be provided as a static string, or as a factory function
* that receives the validation context (file and validator configuration)
* and returns a dynamic error message.
*
* @example
* // Static message
* new MaxFileSizeValidator({ maxSize: 1000, errorMessage: 'File size exceeds the limit' })
*
* @example
* // Dynamic message based on file object and validator configuration
* new MaxFileSizeValidator({
* maxSize: 1000,
* errorMessage: ctx => `Received file size is ${ctx.file?.size}, but it must be smaller than ${ctx.config.maxSize}.`
* })
*/
errorMessage?: string | ((ctx: MaxFileSizeValidatorContext) => string);
};
/**
@@ -18,12 +49,18 @@ export class MaxFileSizeValidator extends FileValidator<
IFile
> {
buildErrorMessage(file?: IFile): string {
if ('message' in this.validationOptions) {
if (typeof this.validationOptions.message === 'function') {
return this.validationOptions.message(this.validationOptions.maxSize);
}
const { errorMessage, message, ...config } = this.validationOptions;
return this.validationOptions.message!;
if (errorMessage) {
return typeof errorMessage === 'function'
? errorMessage({ file, config })
: errorMessage;
}
if (message) {
return typeof message === 'function'
? message(this.validationOptions.maxSize)
: message;
}
if (file?.size) {

View File

@@ -16,11 +16,10 @@ const DEFAULT_ARRAY_SEPARATOR = ',';
/**
* @publicApi
*/
export interface ParseArrayOptions
extends Omit<
ValidationPipeOptions,
'transform' | 'validateCustomDecorators' | 'exceptionFactory'
> {
export interface ParseArrayOptions extends Omit<
ValidationPipeOptions,
'transform' | 'validateCustomDecorators' | 'exceptionFactory'
> {
/**
* Type for items to be converted into
*/

View File

@@ -41,9 +41,10 @@ export interface ParseBoolPipeOptions {
* @publicApi
*/
@Injectable()
export class ParseBoolPipe
implements PipeTransform<string | boolean, Promise<boolean>>
{
export class ParseBoolPipe implements PipeTransform<
string | boolean,
Promise<boolean>
> {
protected exceptionFactory: (error: string) => any;
constructor(@Optional() protected readonly options?: ParseBoolPipeOptions) {

View File

@@ -31,9 +31,9 @@ export interface ParseDatePipeOptions {
}
@Injectable()
export class ParseDatePipe
implements PipeTransform<string | number | undefined | null>
{
export class ParseDatePipe implements PipeTransform<
string | number | undefined | null
> {
protected exceptionFactory: (error: string) => any;
constructor(private readonly options: ParseDatePipeOptions = {}) {

View File

@@ -38,6 +38,12 @@ export interface ValidationPipeOptions extends ValidatorOptions {
let classValidator: ValidatorPackage = {} as any;
let classTransformer: TransformerPackage = {} as any;
/**
* Built-in JavaScript types that should be excluded from prototype stripping
* to avoid conflicts with test frameworks like Jest's useFakeTimers
*/
const BUILT_IN_TYPES = [Date, RegExp, Error, Map, Set, WeakMap, WeakSet];
/**
* @see [Validation](https://docs.nestjs.com/techniques/validation)
*
@@ -66,7 +72,7 @@ export class ValidationPipe implements PipeTransform<any> {
...validatorOptions
} = options;
// @see https://github.com/nestjs/nest/issues/10683#issuecomment-1413690508
// @see [https://github.com/nestjs/nest/issues/10683#issuecomment-1413690508](https://github.com/nestjs/nest/issues/10683#issuecomment-1413690508)
this.validatorOptions = { forbidUnknownValues: false, ...validatorOptions };
this.isTransformEnabled = !!transform;
@@ -147,7 +153,7 @@ export class ValidationPipe implements PipeTransform<any> {
if (originalValue === undefined && originalEntity === '') {
// Since SWC requires empty string for validation (to avoid an error),
// a fallback is needed to revert to the original value (when undefined).
// @see https://github.com/nestjs/nest/issues/14430
// @see [https://github.com/nestjs/nest/issues/14430](https://github.com/nestjs/nest/issues/14430)
return originalValue;
}
if (isPrimitive) {
@@ -241,7 +247,7 @@ export class ValidationPipe implements PipeTransform<any> {
// SWC requires empty string to be returned instead of an empty object
// when the value is nil and the metatype is not a class instance, but a plain object (enum, for example).
// Otherwise, the error will be thrown.
// @see https://github.com/nestjs/nest/issues/12680
// @see [https://github.com/nestjs/nest/issues/12680](https://github.com/nestjs/nest/issues/12680)
return '';
}
@@ -253,13 +259,29 @@ export class ValidationPipe implements PipeTransform<any> {
) {
return;
}
// Skip built-in JavaScript primitives to avoid Jest useFakeTimers conflicts
if (BUILT_IN_TYPES.some(type => value instanceof type)) {
return;
}
if (Array.isArray(value)) {
for (const v of value) {
this.stripProtoKeys(v);
}
return;
}
// Delete dangerous prototype pollution keys
delete value.__proto__;
delete value.prototype;
// Only delete constructor if it's NOT a built-in type
const constructorType = value?.constructor;
if (constructorType && !BUILT_IN_TYPES.includes(constructorType)) {
delete value.constructor;
}
for (const key in value) {
this.stripProtoKeys(value[key]);
}

View File

@@ -24,8 +24,7 @@ const REFLECTOR = 'Reflector';
/**
* @publicApi
*/
export interface ClassSerializerInterceptorOptions
extends ClassTransformOptions {
export interface ClassSerializerInterceptorOptions extends ClassTransformOptions {
transformerPackage?: TransformerPackage;
}

View File

@@ -1,6 +1,6 @@
import { inspect, InspectOptions } from 'util';
import { Injectable, Optional } from '../decorators/core';
import { clc, yellow } from '../utils/cli-colors.util';
import { clc, yellow, isColorAllowed } from '../utils/cli-colors.util';
import {
isFunction,
isPlainObject,
@@ -43,6 +43,12 @@ export interface ConsoleLoggerOptions {
* The context of the logger.
*/
context?: string;
/**
* If enabled, will force the use of console.log/console.error instead of process.stdout/stderr.write.
* This is useful for test environments like Jest that can buffer console calls.
* @default false
*/
forceConsole?: boolean;
/**
* If enabled, will print the log message in a single line, even if it is an object with multiple properties.
* If set to a number, the most n inner elements are united on a single line as long as all properties fit into breakLength. Short array elements are also grouped together.
@@ -154,7 +160,7 @@ export class ConsoleLogger implements LoggerService {
opts = opts ?? {};
opts.logLevels ??= DEFAULT_LOG_LEVELS;
opts.colors ??= opts.colors ?? (opts.json ? false : true);
opts.colors ??= opts.colors ?? (opts.json ? false : isColorAllowed());
opts.prefix ??= 'Nest';
this.options = opts;
@@ -334,7 +340,15 @@ export class ConsoleLogger implements LoggerService {
timestampDiff,
);
process[writeStreamType ?? 'stdout'].write(formattedMessage);
if (this.options.forceConsole) {
if (writeStreamType === 'stderr') {
console.error(formattedMessage.trim());
} else {
console.log(formattedMessage.trim());
}
} else {
process[writeStreamType ?? 'stdout'].write(formattedMessage);
}
});
}
@@ -352,7 +366,17 @@ export class ConsoleLogger implements LoggerService {
!this.options.colors && this.inspectOptions.compact === true
? JSON.stringify(logObject, this.stringifyReplacer)
: inspect(logObject, this.inspectOptions);
process[options.writeStreamType ?? 'stdout'].write(`${formattedMessage}\n`);
if (this.options.forceConsole) {
if (options.writeStreamType === 'stderr') {
console.error(formattedMessage);
} else {
console.log(formattedMessage);
}
} else {
process[options.writeStreamType ?? 'stdout'].write(
`${formattedMessage}\n`,
);
}
}
protected getJsonLogObject(
@@ -455,7 +479,11 @@ export class ConsoleLogger implements LoggerService {
if (!stack || this.options.json) {
return;
}
process.stderr.write(`${stack}\n`);
if (this.options.forceConsole) {
console.error(stack);
} else {
process.stderr.write(`${stack}\n`);
}
}
protected updateAndGetTimestampDiff(): string {
@@ -494,10 +522,10 @@ export class ConsoleLogger implements LoggerService {
breakLength,
};
if (this.options.maxArrayLength) {
if (typeof this.options.maxArrayLength !== 'undefined') {
inspectOptions.maxArrayLength = this.options.maxArrayLength;
}
if (this.options.maxStringLength) {
if (typeof this.options.maxStringLength !== 'undefined') {
inspectOptions.maxStringLength = this.options.maxStringLength;
}
@@ -546,10 +574,7 @@ export class ConsoleLogger implements LoggerService {
stack: args[1] as string,
context: this.context,
}
: {
messages: [args[0]],
context: args[1] as string,
};
: { ...this.getContextAndMessagesToPrint(args) };
}
const { messages, context } = this.getContextAndMessagesToPrint(args);

View File

@@ -5,23 +5,23 @@ import { isLogLevel } from './is-log-level.util';
* @publicApi
*/
export function filterLogLevels(parseableString = ''): LogLevel[] {
const sanitizedSring = parseableString.replaceAll(' ', '').toLowerCase();
const sanitizedString = parseableString.replaceAll(' ', '').toLowerCase();
if (sanitizedSring[0] === '>') {
const orEqual = sanitizedSring[1] === '=';
if (sanitizedString[0] === '>') {
const orEqual = sanitizedString[1] === '=';
const logLevelIndex = (LOG_LEVELS as string[]).indexOf(
sanitizedSring.substring(orEqual ? 2 : 1),
sanitizedString.substring(orEqual ? 2 : 1),
);
if (logLevelIndex === -1) {
throw new Error(`parse error (unknown log level): ${sanitizedSring}`);
throw new Error(`parse error (unknown log level): ${sanitizedString}`);
}
return LOG_LEVELS.slice(orEqual ? logLevelIndex : logLevelIndex + 1);
} else if (sanitizedSring.includes(',')) {
return sanitizedSring.split(',').filter(isLogLevel);
} else if (sanitizedString.includes(',')) {
return sanitizedString.split(',').filter(isLogLevel);
}
return isLogLevel(sanitizedSring) ? [sanitizedSring] : LOG_LEVELS;
return isLogLevel(sanitizedString) ? [sanitizedString] : LOG_LEVELS;
}

View File

@@ -24,9 +24,12 @@ export function isLogLevelEnabled(
if (logLevels.includes(targetLevel)) {
return true;
}
const highestLogLevelValue = logLevels
.map(level => LOG_LEVEL_VALUES[level])
.sort((a, b) => b - a)?.[0];
let highestLogLevelValue = -Infinity;
for (const level of logLevels) {
const v = LOG_LEVEL_VALUES[level];
if (v > highestLogLevelValue) highestLogLevelValue = v;
}
const targetLevelValue = LOG_LEVEL_VALUES[targetLevel];
return targetLevelValue >= highestLogLevelValue;

View File

@@ -8,6 +8,9 @@ describe('@Sse', () => {
class Test {
@Sse(prefix)
public static test() {}
@Sse(prefix, { method: RequestMethod.POST })
public static testUsingOptions() {}
}
it('should enhance method with expected http status code', () => {
@@ -20,4 +23,14 @@ describe('@Sse', () => {
const metadata = Reflect.getMetadata(SSE_METADATA, Test.test);
expect(metadata).to.be.eql(true);
});
it('should enhance method with expected http status code and method from options', () => {
const path = Reflect.getMetadata(PATH_METADATA, Test.testUsingOptions);
expect(path).to.be.eql('/prefix');
const method = Reflect.getMetadata(METHOD_METADATA, Test.testUsingOptions);
expect(method).to.be.eql(RequestMethod.POST);
const metadata = Reflect.getMetadata(SSE_METADATA, Test.testUsingOptions);
expect(metadata).to.be.eql(true);
});
});

View File

@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/restrict-template-expressions */
import { expect } from 'chai';
import { Type } from '../../../common';
import {

View File

@@ -1,6 +1,8 @@
import { expect } from 'chai';
import * as sinon from 'sinon';
import { Readable } from 'stream';
import { StreamableFile } from '../../file-stream';
import { HttpStatus } from '../../enums';
describe('StreamableFile', () => {
describe('when input is a readable stream', () => {
@@ -17,6 +19,13 @@ describe('StreamableFile', () => {
expect(streamableFile.getStream()).to.equal(stream);
});
});
describe('when input is neither Uint8Array nor has pipe method', () => {
it('should not set stream property', () => {
const invalidInput = { notPipe: true };
const streamableFile = new StreamableFile(invalidInput as any);
expect(streamableFile.getStream()).to.be.undefined;
});
});
describe('when options is empty', () => {
it('should return application/octet-stream for type and undefined for others', () => {
const stream = new Readable();
@@ -61,4 +70,135 @@ describe('StreamableFile', () => {
});
});
});
describe('errorHandler', () => {
it('should return the default error handler', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
expect(streamableFile.errorHandler).to.be.a('function');
});
describe('default error handler behavior', () => {
it('should do nothing when response is destroyed', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const res = {
destroyed: true,
headersSent: false,
statusCode: 200,
end: sinon.spy(),
send: sinon.spy(),
};
streamableFile.errorHandler(new Error('test error'), res as any);
expect(res.end.called).to.be.false;
expect(res.send.called).to.be.false;
});
it('should call res.end() when headers are already sent', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const res = {
destroyed: false,
headersSent: true,
statusCode: 200,
end: sinon.spy(),
send: sinon.spy(),
};
streamableFile.errorHandler(new Error('test error'), res as any);
expect(res.end.calledOnce).to.be.true;
expect(res.send.called).to.be.false;
});
it('should set status code to BAD_REQUEST and send error message', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const res = {
destroyed: false,
headersSent: false,
statusCode: 200,
end: sinon.spy(),
send: sinon.spy(),
};
const error = new Error('test error message');
streamableFile.errorHandler(error, res as any);
expect(res.statusCode).to.equal(HttpStatus.BAD_REQUEST);
expect(res.send.calledOnceWith('test error message')).to.be.true;
});
});
});
describe('setErrorHandler', () => {
it('should set a custom error handler', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const customHandler = sinon.spy();
streamableFile.setErrorHandler(customHandler);
expect(streamableFile.errorHandler).to.equal(customHandler);
});
it('should return the instance for chaining', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const customHandler = sinon.spy();
const result = streamableFile.setErrorHandler(customHandler);
expect(result).to.equal(streamableFile);
});
});
describe('errorLogger', () => {
it('should return the default error logger', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
expect(streamableFile.errorLogger).to.be.a('function');
});
describe('default error logger behavior', () => {
it('should call logger.error with the error', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const loggerErrorStub = sinon.stub(
(streamableFile as any).logger,
'error',
);
const error = new Error('test error');
streamableFile.errorLogger(error);
expect(loggerErrorStub.calledOnceWith(error)).to.be.true;
loggerErrorStub.restore();
});
});
});
describe('setErrorLogger', () => {
it('should set a custom error logger', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const customLogger = sinon.spy();
streamableFile.setErrorLogger(customLogger);
expect(streamableFile.errorLogger).to.equal(customLogger);
});
it('should return the instance for chaining', () => {
const stream = new Readable();
const streamableFile = new StreamableFile(stream);
const customLogger = sinon.spy();
const result = streamableFile.setErrorLogger(customLogger);
expect(result).to.equal(streamableFile);
});
});
});

View File

@@ -24,6 +24,34 @@ describe('ConfigurableModuleBuilder', () => {
global: true,
});
});
it('should preserve extras in registerAsync transformation', () => {
let capturedExtras: any;
const { ConfigurableModuleClass } = new ConfigurableModuleBuilder()
.setExtras(
{ folder: 'default' },
(definition, extras: { folder: string }) => {
capturedExtras = extras;
return {
...definition,
customProperty: `folder: ${extras.folder}`,
};
},
)
.build();
const asyncResult = ConfigurableModuleClass.registerAsync({
useFactory: () => ({}),
folder: 'forRootAsync',
});
expect(capturedExtras).to.deep.equal({ folder: 'forRootAsync' });
expect(asyncResult).to.have.property(
'customProperty',
'folder: forRootAsync',
);
});
});
describe('setClassMethodName', () => {
it('should set static class method name and return typed builder', () => {

View File

@@ -233,6 +233,32 @@ describe('FileTypeValidator', () => {
expect(await fileTypeValidator.isValid(requestFile)).to.equal(false);
});
it('should return true when no buffer is provided but fallbackToMimetype is enabled and mimetype matches', async () => {
const fileTypeValidator = new FileTypeValidator({
fileType: 'image/jpeg',
fallbackToMimetype: true,
});
const requestFile = {
mimetype: 'image/jpeg', // matches
} as IFile;
expect(await fileTypeValidator.isValid(requestFile)).to.equal(true);
});
it('should return false when no buffer is provided and fallbackToMimetype is enabled but mimetype does not match', async () => {
const fileTypeValidator = new FileTypeValidator({
fileType: 'image/jpeg',
fallbackToMimetype: true,
});
const requestFile = {
mimetype: 'image/png',
} as IFile;
expect(await fileTypeValidator.isValid(requestFile)).to.equal(false);
});
});
describe('buildErrorMessage', () => {
@@ -311,5 +337,36 @@ describe('FileTypeValidator', () => {
expect(await fileTypeValidator.isValid(requestFile)).to.equal(false);
});
it('should return a static custom error message when the file type does not match', async () => {
const expectedFileType = 'image/png';
const actualFileType = 'text/csv';
const fileTypeValidator = new FileTypeValidator({
fileType: expectedFileType,
errorMessage: 'invalid type',
});
const requestFile = { mimetype: actualFileType } as IFile;
expect(fileTypeValidator.buildErrorMessage(requestFile)).to.equal(
'invalid type',
);
});
it('should return a dynamic custom error message based on context when the file type does not match', async () => {
const expectedFileType = 'image/png';
const actualFileType = 'text/csv';
const fileTypeValidator = new FileTypeValidator({
fileType: expectedFileType,
errorMessage: ctx =>
`Received file type '${ctx.file?.mimetype}', but expected '${ctx.config.fileType}'.`,
});
const requestFile = { mimetype: actualFileType } as IFile;
expect(fileTypeValidator.buildErrorMessage(requestFile)).to.equal(
`Received file type '${actualFileType}', but expected '${expectedFileType}'.`,
);
});
});
});

View File

@@ -1,5 +1,6 @@
import { expect } from 'chai';
import { MaxFileSizeValidator } from '../../../pipes';
import { IFile } from '@nestjs/common/pipes/file/interfaces';
describe('MaxFileSizeValidator', () => {
const oneKb = 1024;
@@ -73,5 +74,45 @@ describe('MaxFileSizeValidator', () => {
`Validation failed (current file size is ${currentFileSize}, expected size is less than ${oneKb})`,
);
});
it('should support deprecated message option', async () => {
const currentFileSize = oneKb + 1;
const maxFileSizeValidator = new MaxFileSizeValidator({
maxSize: oneKb,
message: 'File size exceeds the limit',
});
const requestFile = { size: currentFileSize } as IFile;
expect(maxFileSizeValidator.buildErrorMessage(requestFile)).to.equal(
'File size exceeds the limit',
);
});
it('should return a static custom error message when the file size exceeds the limit', async () => {
const currentFileSize = oneKb + 1;
const maxFileSizeValidator = new MaxFileSizeValidator({
maxSize: oneKb,
errorMessage: 'File size exceeds the limit',
});
const requestFile = { size: currentFileSize } as IFile;
expect(maxFileSizeValidator.buildErrorMessage(requestFile)).to.equal(
'File size exceeds the limit',
);
});
it('should return a dynamic custom error message based on context when the file size exceeds the limit', async () => {
const currentFileSize = oneKb + 1;
const maxFileSizeValidator = new MaxFileSizeValidator({
maxSize: oneKb,
errorMessage: ctx =>
`Received file size is ${ctx.file?.size}, but it must be smaller than ${ctx.config.maxSize}.`,
});
const requestFile = { size: currentFileSize } as IFile;
expect(maxFileSizeValidator.buildErrorMessage(requestFile)).to.equal(
`Received file size is ${currentFileSize}, but it must be smaller than ${oneKb}.`,
);
});
});
});

View File

@@ -609,4 +609,133 @@ describe('ValidationPipe', () => {
expect(await target.transform(testObj, m)).to.deep.equal(testObj);
});
});
describe('stripProtoKeys', () => {
beforeEach(() => {
target = new ValidationPipe();
});
describe('with built-in JavaScript primitives', () => {
it('should not throw error when processing Date objects', () => {
const value = { date: new Date() };
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
it('should not throw error when processing RegExp objects', () => {
const value = { regex: /test/i };
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
it('should not throw error when processing Error objects', () => {
const value = { error: new Error('test') };
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
it('should not throw error when processing Map objects', () => {
const value = { map: new Map() };
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
it('should not throw error when processing Set objects', () => {
const value = { set: new Set() };
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
it('should preserve Date object properties', () => {
const date = new Date();
const value = { date };
target['stripProtoKeys'](value);
expect(value.date).to.equal(date);
expect(value.date.constructor).to.equal(Date);
});
});
describe('with plain objects', () => {
it('should still strip constructor from regular objects', () => {
const value = { nested: { constructor: 'malicious' } };
target['stripProtoKeys'](value);
// Check if 'constructor' is NOT an own property
expect(value.nested).to.not.have.ownProperty('constructor');
});
it('should strip __proto__ from objects', () => {
const value = { __proto__: { malicious: 'code' } };
target['stripProtoKeys'](value);
expect(value).to.not.have.ownProperty('__proto__');
});
it('should strip prototype from objects', () => {
const value = { prototype: { malicious: 'code' } };
target['stripProtoKeys'](value);
expect(value).to.not.have.ownProperty('prototype');
});
it('should recursively strip nested objects', () => {
const value = {
level1: {
constructor: 'malicious',
level2: {
constructor: 'alsoMalicious',
},
},
};
target['stripProtoKeys'](value);
expect(value.level1).to.not.have.ownProperty('constructor');
expect(value.level1.level2).to.not.have.ownProperty('constructor');
});
});
describe('with arrays', () => {
it('should process arrays recursively', () => {
const value = {
items: [
{ constructor: 'malicious' },
{ constructor: 'alsoMalicious' },
],
};
target['stripProtoKeys'](value);
expect(value.items[0]).to.not.have.ownProperty('constructor');
expect(value.items[1]).to.not.have.ownProperty('constructor');
});
it('should not throw error when array contains Date objects', () => {
const value = { dates: [new Date(), new Date()] };
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
});
describe('Issue #16195: Jest useFakeTimers compatibility', () => {
beforeEach(() => {
target = new ValidationPipe();
});
it('should handle Date objects with non-configurable constructor', () => {
const value = { date: new Date() };
// Make constructor non-configurable like Jest does
Object.defineProperty(value.date, 'constructor', {
value: Date,
writable: false,
enumerable: false,
configurable: false,
});
// This should NOT throw "Cannot delete property 'constructor'"
expect(() => target['stripProtoKeys'](value)).to.not.throw();
});
it('should not attempt to delete constructor from built-in types', () => {
const testCases = [
{ date: new Date() },
{ regex: /test/i },
{ error: new Error('test') },
{ map: new Map() },
{ set: new Set() },
];
testCases.forEach(testCase => {
expect(() => target['stripProtoKeys'](testCase)).to.not.throw();
});
});
});
});
});

View File

@@ -0,0 +1,468 @@
import { expect } from 'chai';
import * as sinon from 'sinon';
import { of, throwError } from 'rxjs';
import { ClassSerializerInterceptor } from '../../serializer/class-serializer.interceptor';
import { ExecutionContext, CallHandler } from '../../interfaces';
import { StreamableFile } from '../../file-stream';
describe('ClassSerializerInterceptor', () => {
let interceptor: ClassSerializerInterceptor;
let mockReflector: any;
let mockTransformerPackage: any;
let sandbox: sinon.SinonSandbox;
beforeEach(() => {
sandbox = sinon.createSandbox();
mockReflector = {
getAllAndOverride: sandbox.stub(),
};
mockTransformerPackage = {
classToPlain: sandbox.stub(),
plainToInstance: sandbox.stub(),
};
});
afterEach(() => {
sandbox.restore();
});
describe('constructor', () => {
it('should create interceptor with default transformer package', () => {
// This would normally load 'class-transformer' package
// For testing, we pass a mock transformer package
const options = {
transformerPackage: mockTransformerPackage,
};
interceptor = new ClassSerializerInterceptor(mockReflector, options);
expect(interceptor).to.be.instanceOf(ClassSerializerInterceptor);
});
it('should use provided transformer package from options', () => {
const customTransformer = {
classToPlain: sandbox.stub(),
plainToInstance: sandbox.stub(),
};
const options = {
transformerPackage: customTransformer,
};
interceptor = new ClassSerializerInterceptor(mockReflector, options);
expect(interceptor).to.be.instanceOf(ClassSerializerInterceptor);
});
});
describe('intercept', () => {
let mockExecutionContext: ExecutionContext;
let mockCallHandler: CallHandler;
beforeEach(() => {
interceptor = new ClassSerializerInterceptor(mockReflector, {
transformerPackage: mockTransformerPackage,
});
mockExecutionContext = {
getHandler: sandbox.stub(),
getClass: sandbox.stub(),
} as any;
mockCallHandler = {
handle: sandbox.stub(),
} as any;
});
it('should transform plain object response', done => {
const response = { id: 1, name: 'Test' };
const transformedResponse = { id: 1, name: 'Test' };
mockReflector.getAllAndOverride.returns(undefined);
mockTransformerPackage.classToPlain.returns(transformedResponse);
(mockCallHandler.handle as sinon.SinonStub).returns(of(response));
interceptor
.intercept(mockExecutionContext, mockCallHandler)
.subscribe(result => {
expect(result).to.equal(transformedResponse);
done();
});
});
it('should transform array of objects', done => {
const response = [
{ id: 1, name: 'Test1' },
{ id: 2, name: 'Test2' },
];
const transformedItem1 = { id: 1, name: 'Test1' };
const transformedItem2 = { id: 2, name: 'Test2' };
mockReflector.getAllAndOverride.returns(undefined);
mockTransformerPackage.classToPlain
.onFirstCall()
.returns(transformedItem1);
mockTransformerPackage.classToPlain
.onSecondCall()
.returns(transformedItem2);
(mockCallHandler.handle as sinon.SinonStub).returns(of(response));
interceptor
.intercept(mockExecutionContext, mockCallHandler)
.subscribe(result => {
expect(result).to.be.an('array').with.lengthOf(2);
expect(result[0]).to.equal(transformedItem1);
expect(result[1]).to.equal(transformedItem2);
done();
});
});
it('should merge context options with default options', done => {
const response = { id: 1, name: 'Test' };
const defaultOptions = { excludeExtraneousValues: true };
const contextOptions = { groups: ['user'] };
const transformedResponse = { id: 1 };
interceptor = new ClassSerializerInterceptor(mockReflector, {
transformerPackage: mockTransformerPackage,
...defaultOptions,
});
mockReflector.getAllAndOverride.returns(contextOptions);
mockTransformerPackage.classToPlain.returns(transformedResponse);
(mockCallHandler.handle as sinon.SinonStub).returns(of(response));
interceptor
.intercept(mockExecutionContext, mockCallHandler)
.subscribe(result => {
const callArgs = mockTransformerPackage.classToPlain.getCall(0).args;
expect(callArgs[1]).to.deep.include(defaultOptions);
expect(callArgs[1]).to.deep.include(contextOptions);
done();
});
});
it('should call reflector with handler and class', done => {
const response = { id: 1 };
const mockHandler = {};
const mockClass = {};
(mockExecutionContext.getHandler as sinon.SinonStub).returns(mockHandler);
(mockExecutionContext.getClass as sinon.SinonStub).returns(mockClass);
mockReflector.getAllAndOverride.returns(undefined);
mockTransformerPackage.classToPlain.returns(response);
(mockCallHandler.handle as sinon.SinonStub).returns(of(response));
interceptor
.intercept(mockExecutionContext, mockCallHandler)
.subscribe(() => {
expect(mockReflector.getAllAndOverride.calledOnce).to.be.true;
const args = mockReflector.getAllAndOverride.getCall(0).args;
expect(args[1]).to.deep.equal([mockHandler, mockClass]);
done();
});
});
});
describe('serialize', () => {
beforeEach(() => {
interceptor = new ClassSerializerInterceptor(mockReflector, {
transformerPackage: mockTransformerPackage,
});
});
it('should return primitive values unchanged', () => {
expect(interceptor.serialize('string' as any, {})).to.equal('string');
expect(interceptor.serialize(123 as any, {})).to.equal(123);
expect(interceptor.serialize(true as any, {})).to.equal(true);
});
it('should return null unchanged', () => {
expect(interceptor.serialize(null as any, {})).to.be.null;
});
it('should return undefined unchanged', () => {
expect(interceptor.serialize(undefined as any, {})).to.be.undefined;
});
it('should return StreamableFile unchanged', () => {
const streamableFile = new StreamableFile(Buffer.from('test'));
const result = interceptor.serialize(streamableFile as any, {});
expect(result).to.equal(streamableFile);
expect(mockTransformerPackage.classToPlain.called).to.be.false;
});
it('should transform plain object', () => {
const input = { id: 1, name: 'Test' };
const output = { id: 1 };
mockTransformerPackage.classToPlain.returns(output);
const result = interceptor.serialize(input, {});
expect(result).to.equal(output);
expect(mockTransformerPackage.classToPlain.calledOnce).to.be.true;
});
it('should transform array of objects', () => {
const input = [{ id: 1 }, { id: 2 }];
const output1 = { id: 1 };
const output2 = { id: 2 };
mockTransformerPackage.classToPlain.onFirstCall().returns(output1);
mockTransformerPackage.classToPlain.onSecondCall().returns(output2);
const result = interceptor.serialize(input, {});
expect(result).to.be.an('array').with.lengthOf(2);
expect(result[0]).to.equal(output1);
expect(result[1]).to.equal(output2);
expect(mockTransformerPackage.classToPlain.calledTwice).to.be.true;
});
it('should handle empty array', () => {
const input: any[] = [];
const result = interceptor.serialize(input, {});
expect(result).to.be.an('array').that.is.empty;
expect(mockTransformerPackage.classToPlain.called).to.be.false;
});
});
describe('transformToPlain', () => {
beforeEach(() => {
interceptor = new ClassSerializerInterceptor(mockReflector, {
transformerPackage: mockTransformerPackage,
});
});
it('should return falsy values unchanged', () => {
expect(interceptor.transformToPlain(null, {})).to.be.null;
expect(interceptor.transformToPlain(undefined, {})).to.be.undefined;
expect(interceptor.transformToPlain(0 as any, {})).to.equal(0);
expect(interceptor.transformToPlain(false as any, {})).to.be.false;
expect(interceptor.transformToPlain('' as any, {})).to.equal('');
});
it('should use classToPlain when no type option provided', () => {
const input = { id: 1, name: 'Test' };
const output = { id: 1 };
mockTransformerPackage.classToPlain.returns(output);
const result = interceptor.transformToPlain(input, {});
expect(result).to.equal(output);
expect(mockTransformerPackage.classToPlain.calledOnceWith(input, {})).to
.be.true;
expect(mockTransformerPackage.plainToInstance.called).to.be.false;
});
it('should use classToPlain when input is instance of options.type', () => {
class UserDto {
id: number;
name: string;
}
const input = new UserDto();
input.id = 1;
input.name = 'Test';
const output = { id: 1 };
const options = { type: UserDto };
mockTransformerPackage.classToPlain.returns(output);
const result = interceptor.transformToPlain(input, options);
expect(result).to.equal(output);
expect(mockTransformerPackage.classToPlain.calledOnce).to.be.true;
expect(mockTransformerPackage.plainToInstance.called).to.be.false;
});
it('should convert plain to instance then to plain when type provided but not matching', () => {
class UserDto {
id: number;
}
const plainInput = { id: 1, name: 'Test', password: 'secret' };
const instanceOutput = new UserDto();
instanceOutput.id = 1;
const finalOutput = { id: 1 };
const options = { type: UserDto };
mockTransformerPackage.plainToInstance.returns(instanceOutput);
mockTransformerPackage.classToPlain.returns(finalOutput);
const result = interceptor.transformToPlain(plainInput, options);
expect(result).to.equal(finalOutput);
expect(
mockTransformerPackage.plainToInstance.calledOnceWith(
UserDto,
plainInput,
options,
),
).to.be.true;
expect(
mockTransformerPackage.classToPlain.calledOnceWith(
instanceOutput,
options,
),
).to.be.true;
});
it('should handle complex nested objects', () => {
const input = {
user: { id: 1, name: 'Test' },
posts: [{ id: 1, title: 'Post 1' }],
};
const output = {
user: { id: 1 },
posts: [{ id: 1 }],
};
mockTransformerPackage.classToPlain.returns(output);
const result = interceptor.transformToPlain(input, {});
expect(result).to.equal(output);
});
});
describe('getContextOptions', () => {
beforeEach(() => {
interceptor = new ClassSerializerInterceptor(mockReflector, {
transformerPackage: mockTransformerPackage,
});
});
it('should call reflector getAllAndOverride with correct arguments', () => {
const mockHandler = {};
const mockClass = {};
const mockContext = {
getHandler: sandbox.stub().returns(mockHandler),
getClass: sandbox.stub().returns(mockClass),
} as any;
const expectedOptions = { groups: ['admin'] };
mockReflector.getAllAndOverride.returns(expectedOptions);
const result = (interceptor as any).getContextOptions(mockContext);
expect(mockReflector.getAllAndOverride.calledOnce).to.be.true;
const callArgs = mockReflector.getAllAndOverride.getCall(0).args;
expect(callArgs[1]).to.deep.equal([mockHandler, mockClass]);
expect(result).to.equal(expectedOptions);
});
it('should return undefined when no metadata exists', () => {
const mockContext = {
getHandler: sandbox.stub().returns({}),
getClass: sandbox.stub().returns({}),
} as any;
mockReflector.getAllAndOverride.returns(undefined);
const result = (interceptor as any).getContextOptions(mockContext);
expect(result).to.be.undefined;
});
it('should respect handler metadata over class metadata', () => {
const mockHandler = {};
const mockClass = {};
const mockContext = {
getHandler: sandbox.stub().returns(mockHandler),
getClass: sandbox.stub().returns(mockClass),
} as any;
// getAllAndOverride should merge with handler taking precedence
const handlerOptions = {
groups: ['user'],
excludeExtraneousValues: true,
};
mockReflector.getAllAndOverride.returns(handlerOptions);
const result = (interceptor as any).getContextOptions(mockContext);
expect(result).to.deep.equal(handlerOptions);
// Verify it's checking handler first, then class
const callArgs = mockReflector.getAllAndOverride.getCall(0).args;
expect(callArgs[1][0]).to.equal(mockHandler);
expect(callArgs[1][1]).to.equal(mockClass);
});
});
describe('edge cases and error handling', () => {
beforeEach(() => {
interceptor = new ClassSerializerInterceptor(mockReflector, {
transformerPackage: mockTransformerPackage,
});
});
it('should handle array with mixed types', () => {
const input = [
{ id: 1, name: 'Test' },
null,
undefined,
{ id: 2, name: 'Test2' },
];
mockTransformerPackage.classToPlain
.onCall(0)
.returns({ id: 1, name: 'Test' });
mockTransformerPackage.classToPlain.onCall(1).returns(null);
mockTransformerPackage.classToPlain.onCall(2).returns(undefined);
mockTransformerPackage.classToPlain
.onCall(3)
.returns({ id: 2, name: 'Test2' });
const result = interceptor.serialize(input, {});
expect(result).to.be.an('array').with.lengthOf(4);
expect(result[1]).to.be.null;
expect(result[2]).to.be.undefined;
});
it('should not transform when response is not an object', () => {
const input = 'plain string';
const result = interceptor.serialize(input as any, {});
expect(result).to.equal(input);
expect(mockTransformerPackage.classToPlain.called).to.be.false;
});
it('should handle Date objects', () => {
const date = new Date();
const output = { date: date.toISOString() };
mockTransformerPackage.classToPlain.returns(output);
const result = interceptor.serialize({ date } as any, {});
expect(mockTransformerPackage.classToPlain.calledOnce).to.be.true;
});
it('should pass through options to transformer', () => {
const input = { id: 1, name: 'Test', password: 'secret' };
const options = {
excludeExtraneousValues: true,
groups: ['public'],
strategy: 'excludeAll',
};
mockTransformerPackage.classToPlain.returns({ id: 1, name: 'Test' });
interceptor.transformToPlain(input, options as any);
expect(mockTransformerPackage.classToPlain.calledOnce).to.be.true;
const callArgs = mockTransformerPackage.classToPlain.getCall(0).args;
expect(callArgs[1]).to.deep.include(options);
});
});
});

View File

@@ -1,5 +1,4 @@
import { expect } from 'chai';
import 'reflect-metadata';
import * as sinon from 'sinon';
import { ConsoleLogger, Logger, LoggerService, LogLevel } from '../../services';
@@ -475,6 +474,85 @@ describe('Logger', () => {
expect(processStdoutWriteSpy.secondCall.firstArg).to.include(Test.name);
});
});
describe('forceConsole option', () => {
let consoleLogSpy: sinon.SinonSpy;
let consoleErrorSpy: sinon.SinonSpy;
let processStdoutWriteStub: sinon.SinonStub;
let processStderrWriteStub: sinon.SinonStub;
beforeEach(() => {
// Stub process.stdout.write to prevent actual output and track calls
processStdoutWriteStub = sinon.stub(process.stdout, 'write');
processStderrWriteStub = sinon.stub(process.stderr, 'write');
consoleLogSpy = sinon.spy(console, 'log');
consoleErrorSpy = sinon.spy(console, 'error');
});
afterEach(() => {
processStdoutWriteStub.restore();
processStderrWriteStub.restore();
consoleLogSpy.restore();
consoleErrorSpy.restore();
});
it('should use console.log instead of process.stdout.write when forceConsole is true', () => {
const logger = new ConsoleLogger({ forceConsole: true });
const message = 'test message';
logger.log(message);
// When forceConsole is true, console.log should be called
expect(consoleLogSpy.called).to.be.true;
expect(consoleLogSpy.firstCall.firstArg).to.include(message);
});
it('should use console.error instead of process.stderr.write when forceConsole is true', () => {
const logger = new ConsoleLogger({ forceConsole: true });
const message = 'error message';
logger.error(message);
expect(consoleErrorSpy.called).to.be.true;
expect(consoleErrorSpy.firstCall.firstArg).to.include(message);
});
it('should use console.error for stack traces when forceConsole is true', () => {
const logger = new ConsoleLogger({ forceConsole: true });
const message = 'error with stack';
const stack = 'Error: test\n at <anonymous>:1:1';
logger.error(message, stack);
expect(consoleErrorSpy.calledTwice).to.be.true;
expect(consoleErrorSpy.firstCall.firstArg).to.include(message);
expect(consoleErrorSpy.secondCall.firstArg).to.equal(stack);
});
it('should use process.stdout.write when forceConsole is false', () => {
const logger = new ConsoleLogger({ forceConsole: false });
const message = 'test message';
logger.log(message);
expect(processStdoutWriteStub.called).to.be.true;
expect(processStdoutWriteStub.firstCall.firstArg).to.include(message);
expect(consoleLogSpy.called).to.be.false;
});
it('should work with JSON mode and forceConsole', () => {
const logger = new ConsoleLogger({ json: true, forceConsole: true });
const message = 'json message';
logger.log(message);
expect(consoleLogSpy.called).to.be.true;
const output = consoleLogSpy.firstCall.firstArg;
const json = JSON.parse(output);
expect(json.message).to.equal(message);
});
});
});
describe('[instance methods]', () => {
@@ -819,6 +897,36 @@ describe('Logger', () => {
processStdoutWriteSpy.restore();
});
it('should respect maxStringLength when set to 0', () => {
const consoleLogger = new ConsoleLogger({
colors: false,
compact: false,
maxStringLength: 0,
});
consoleLogger.log({ name: 'abcdef' });
expect(processStdoutWriteSpy.calledOnce).to.be.true;
expect(processStdoutWriteSpy.firstCall.firstArg).to.include(
"''... 6 more characters",
);
});
it('should respect maxArrayLength when set to 0', () => {
const consoleLogger = new ConsoleLogger({
colors: false,
compact: false,
maxArrayLength: 0,
});
consoleLogger.log({ items: ['a', 'b', 'c'] });
expect(processStdoutWriteSpy.calledOnce).to.be.true;
expect(processStdoutWriteSpy.firstCall.firstArg).to.include(
'... 3 more items',
);
});
it('should support custom formatter', () => {
class CustomConsoleLogger extends ConsoleLogger {
protected formatMessage(

View File

@@ -1,6 +1,6 @@
type ColorTextFn = (text: string) => string;
const isColorAllowed = () => !process.env.NO_COLOR;
export const isColorAllowed = () => !process.env.NO_COLOR;
const colorIfAllowed = (colorFn: ColorTextFn) => (text: string) =>
isColorAllowed() ? colorFn(text) : text;

View File

@@ -1,5 +1,5 @@
<p align="center">
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
<a href="https://nestjs.com/" target="_blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
@@ -8,7 +8,7 @@
<p align="center">A progressive <a href="https://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://github.com/nestjs/nest/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
@@ -49,7 +49,7 @@ Please make sure to read the [Issue Reporting Checklist](https://github.com/nest
## Consulting
With official support, you can get expert help straight from Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
With official support, you can get expert help straight from the Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about [support here](https://enterprise.nestjs.com).
## Support
@@ -63,6 +63,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<td><a href="https://microsoft.com/" target="_blank"><img src="https://nestjs.com/img/logos/microsoft-logo.png" width="180" valign="middle" /></a></td>
<td><a href="https://mojam.co" target="_blank"><img src="https://nestjs.com/img/logos/mojam-logo.png" width="80" valign="middle" /></a></td>
<td><a href="https://valor-software.com/" target="_blank"><img src="https://docs.nestjs.com/assets/sponsors/valor-software.png" width="170" valign="middle" /></a></td>
<td><a href="https://serpapi.com/" target="_blank"><img src="https://nestjs.com/img/logos/serpapi-logo.png" width="150" valign="middle" /></a></td>
</tr>
</table>
@@ -78,10 +79,7 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
</tr>
<tr>
<td><a href="https://snyk.co/nestjs" target="_blank"><img src="https://nestjs.com/img/logos/snyk-logo-black.png" width="185" valign="middle" /></a></td>
<td><a href="https://fuseautotech.com/" target="_blank"><img src="https://nestjs.com/img/logos/fuse-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://ridicorp.com/career/" target="_blank"><img src="https://nestjs.com/img/logos/ridi-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://www.movavi.com/imovie-for-windows.html" target="_blank"><img src="https://nestjs.com/img/logos/movavi-logo.svg" width="105" valign="middle" /></a></td>
<td><a href="https://skunk.team" target="_blank"><img src="https://nestjs.com/img/logos/skunk-logo.png" height="60" valign="middle" /></a></td>
</tr>
</table>
@@ -91,10 +89,12 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<tr>
<td><a href="https://www.mercedes-benz.com/" target="_blank"><img src="https://nestjs.com/img/logos/mercedes-logo.png" width="100" valign="middle" /></a></td>
<td><a href="https://www.dinii.jp/" target="_blank"><img src="https://nestjs.com/img/logos/dinii-logo.png" width="65" valign="middle" /></a></td>
<td><a href="https://bloodycase.com/?promocode=NEST" target="_blank"><img src="https://nestjs.com/img/logos/bloodycase-logo.png" width="65" valign="middle" /></a></td>
<td><a href="https://handsontable.com/docs/react-data-grid/?utm_source=NestJS_GH&utm_medium=sponsorship&utm_campaign=library_sponsorship_2024" target="_blank"><img src="https://nestjs.com/img/logos/handsontable-dark-logo.svg#2" width="150" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.itflashcards.com/" target="_blank"><img src="https://nestjs.com/img/logos/it_flashcards-logo.png" width="170" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://arcjet.com/?ref=nestjs" target="_blank"><img src="https://nestjs.com/img/logos/arcjet-logo.svg" width="170" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://crawljobs.com" target="_blank"><img src="https://nestjs.com/img/logos/crawljobs-logo.svg" width="130" valign="middle" /></a></td>
</tr><tr>
<td align="center" valign="middle"><a href="https://pandektes.com" target="_blank"><img src="https://nestjs.com/img/logos/pandektes-logo.png" width="65" valign="middle" /></a></td>
</tr>
</table>
@@ -118,19 +118,16 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors
<td align="center" valign="middle"><a href="https://triplecore.io" target="_blank"><img src="https://nestjs.com/img/logos/triplecore-logo.svg" width="50" valign="middle" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><a href="https://thecasinowizard.com/bonuses/no-deposit-bonuses/" target="_blank"><img src="https://nestjs.com/img/logos/casinowizard-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://polygon-software.ch/" target="_blank"><img src="https://nestjs.com/img/logos/polygon-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://boringowl.io/" target="_blank"><img src="https://nestjs.com/img/logos/boringowl-logo.svg" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://nordbot.app/" target="_blank"><img src="https://nestjs.com/img/logos/nordbot-logo.png" width="120" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://doppio.sh/" target="_blank"><img src="https://nestjs.com/img/logos/dopiosh-logo.png" width="50" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.hingehealth.com/" target="_blank"><img src="https://nestjs.com/img/logos/hinge-health-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
</tr>
<tr>
<td align="center" valign="middle"><a href="https://julienferand.dev/" target="_blank"><img src="https://nestjs.com/img/logos/julienferand-logo.jpeg" width="55" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.tripoffice.com/" target="_blank"><img src="https://nestjs.com/img/logos/tripoffice-logo.png" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://solcellsforetag.se/" target="_blank"><img src="https://nestjs.com/img/logos/solcellsforetag-logo.svg" width="140" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.route4me.com/" target="_blank"><img src="https://nestjs.com/img/logos/route4me-logo.svg" width="100" valign="middle" /></a></td>
<td align="center" valign="middle"><a href="https://www.slotsup.com/" target="_blank"><img src="https://nestjs.com/img/logos/slotsup-logo.png" width="60" valign="middle" /></a></td>
</tr>
</table>

View File

@@ -9,8 +9,7 @@ export abstract class AbstractHttpAdapter<
TServer = any,
TRequest = any,
TResponse = any,
> implements HttpServer<TRequest, TResponse>
{
> implements HttpServer<TRequest, TResponse> {
protected httpServer: TServer;
protected onRouteTriggered:
| ((requestMethod: RequestMethod, path: string) => void)

View File

@@ -69,10 +69,33 @@ export const UNKNOWN_DEPENDENCIES_MESSAGE = (
const moduleName = getModuleName(moduleRef);
const dependencyName = getDependencyName(name, 'dependency');
const potentialSolutions =
// If module's name is well defined
moduleName !== 'current'
? `\n
const isImportTypeIssue =
!isNil(index) &&
dependencies &&
(dependencies[index] === undefined ||
dependencies[index] === Object ||
(typeof dependencies[index] === 'function' &&
(dependencies[index] as any).name === 'Object'));
let potentialSolutions: string;
if (isImportTypeIssue) {
potentialSolutions = `\n
Potential solutions:
- The dependency at index [${index}] appears to be undefined at runtime
- This commonly occurs when using 'import type' instead of 'import' for injectable classes
- Check your imports and change:
❌ import type { SomeService } from './some.service';
✅ import { SomeService } from './some.service';
- Ensure the imported class is decorated with @Injectable() or is a valid provider
- If using dynamic imports, ensure the class is available at runtime, not just for type checking
For more common dependency resolution issues, see: https://docs.nestjs.com/faq/common-errors`;
} else {
potentialSolutions =
// If module's name is well defined
moduleName !== 'current'
? `\n
Potential solutions:
- Is ${moduleName} a valid NestJS module?
- If ${dependencyName} is a provider, is it part of the current ${moduleName}?
@@ -80,15 +103,18 @@ Potential solutions:
@Module({
imports: [ /* the Module containing ${dependencyName} */ ]
})
`
: `\n
For more common dependency resolution issues, see: https://docs.nestjs.com/faq/common-errors`
: `\n
Potential solutions:
- If ${dependencyName} is a provider, is it part of the current Module?
- If ${dependencyName} is exported from a separate @Module, is that module imported within Module?
@Module({
imports: [ /* the Module containing ${dependencyName} */ ]
})
`;
For more common dependency resolution issues, see: https://docs.nestjs.com/faq/common-errors`;
}
let message = `Nest can't resolve dependencies of the ${type.toString()}`;
@@ -103,7 +129,7 @@ Potential solutions:
message += ` (`;
message += dependenciesName.join(', ');
message += `). Please make sure that the argument ${dependencyName} at index [${index}] is available in the ${moduleName} context.`;
message += `). Please make sure that the argument ${isImportTypeIssue ? 'dependency' : dependencyName} at index [${index}] is available in the ${isImportTypeIssue ? 'current' : moduleName} context.`;
message += potentialSolutions;
return message;
@@ -175,6 +201,8 @@ export const UNKNOWN_EXPORT_MESSAGE = (
Possible Solutions:
- Is ${token} part of the relevant providers/imports within ${module}?
For more common dependency resolution issues, see: https://docs.nestjs.com/faq/common-errors
`;
};

View File

@@ -29,7 +29,8 @@ export abstract class AbstractInstanceResolver {
const pluckInstance = ({ wrapperRef }: InstanceLink) => {
if (
wrapperRef.scope === Scope.REQUEST ||
wrapperRef.scope === Scope.TRANSIENT
wrapperRef.scope === Scope.TRANSIENT ||
!wrapperRef.isDependencyTreeStatic()
) {
throw new InvalidClassScopeException(typeOrToken);
}
@@ -59,7 +60,7 @@ export abstract class AbstractInstanceResolver {
const pluckInstance = async (instanceLink: InstanceLink) => {
const { wrapperRef, collection } = instanceLink;
if (wrapperRef.isDependencyTreeStatic() && !wrapperRef.isTransient) {
return this.get(typeOrToken, { strict: options?.strict });
return wrapperRef.instance;
}
const ctorHost = wrapperRef.instance || { constructor: typeOrToken };

View File

@@ -32,6 +32,7 @@ import { CircularDependencyException } from '../errors/exceptions';
import { RuntimeException } from '../errors/exceptions/runtime.exception';
import { UndefinedDependencyException } from '../errors/exceptions/undefined-dependency.exception';
import { UnknownDependenciesException } from '../errors/exceptions/unknown-dependencies.exception';
import { Barrier } from '../helpers/barrier';
import { STATIC_CONTEXT } from './constants';
import { INQUIRER } from './inquirer';
import {
@@ -42,7 +43,6 @@ import {
} from './instance-wrapper';
import { Module } from './module';
import { SettlementSignal } from './settlement-signal';
import { Barrier } from '../helpers/barrier';
/**
* The type of an injectable dependency
@@ -296,7 +296,6 @@ export class Injector {
inquirer?: InstanceWrapper,
parentInquirer?: InstanceWrapper,
) {
let inquirerId = this.getInquirerId(inquirer);
const metadata = wrapper.getCtorMetadata();
if (metadata && contextId !== STATIC_CONTEXT) {
@@ -327,8 +326,10 @@ export class Injector {
return parentInquirer && parentInquirer.instance;
}
if (inquirer?.isTransient && parentInquirer) {
inquirer = parentInquirer;
inquirerId = this.getInquirerId(parentInquirer);
// When `inquirer` is transient too, inherit the parent inquirer
// This is required to ensure that transient providers are only resolved
// when requested
inquirer.attachRootInquirer(parentInquirer);
}
const paramWrapper = await this.resolveSingleParam<T>(
wrapper,
@@ -347,15 +348,21 @@ export class Injector {
*/
await paramBarrier.signalAndWait();
const effectiveInquirer = this.getEffectiveInquirer(
paramWrapper,
inquirer,
parentInquirer,
contextId,
);
const paramWrapperWithInstance = await this.resolveComponentHost(
moduleRef,
paramWrapper,
contextId,
inquirer,
effectiveInquirer,
);
const instanceHost = paramWrapperWithInstance.getInstanceByContextId(
this.getContextId(contextId, paramWrapperWithInstance),
inquirerId,
this.getInquirerId(effectiveInquirer),
);
if (!instanceHost.isResolved && !paramWrapperWithInstance.forwardRef) {
isResolved = false;
@@ -546,9 +553,13 @@ export class Injector {
* instantiated beforehand.
*/
instanceHost.donePromise &&
void instanceHost.donePromise.then(() =>
this.loadProvider(instanceWrapper, moduleRef, contextId, inquirer),
);
void instanceHost.donePromise
.then(() =>
this.loadProvider(instanceWrapper, moduleRef, contextId, inquirer),
)
.catch(err => {
instanceWrapper.settlementSignal?.error(err);
});
}
if (instanceWrapper.async) {
const host = instanceWrapper.getInstanceByContextId(
@@ -608,7 +619,7 @@ export class Injector {
moduleRef,
dependencyContext.name!,
wrapper,
[],
new Set<string>(),
contextId,
inquirer,
keyOrIndex,
@@ -628,7 +639,7 @@ export class Injector {
moduleRef: Module,
name: InjectionToken,
wrapper: InstanceWrapper,
moduleRegistry: any[] = [],
moduleRegistry: Set<string> = new Set<string>(),
contextId = STATIC_CONTEXT,
inquirer?: InstanceWrapper,
keyOrIndex?: symbol | string | number,
@@ -646,11 +657,11 @@ export class Injector {
);
}
for (const relatedModule of children) {
if (moduleRegistry.includes(relatedModule.id)) {
if (moduleRegistry.has(relatedModule.id)) {
continue;
}
this.printLookingForProviderLog(name, relatedModule);
moduleRegistry.push(relatedModule.id);
moduleRegistry.add(relatedModule.id);
const { providers, exports } = relatedModule;
if (!exports.has(name) || !providers.has(name)) {
@@ -680,14 +691,11 @@ export class Injector {
inquirerId,
);
if (!instanceHost.isResolved && !instanceWrapperRef.forwardRef) {
wrapper.settlementSignal?.insertRef(instanceWrapperRef.id);
await this.loadProvider(
instanceWrapperRef,
relatedModule,
contextId,
wrapper,
);
/*
* Provider will be loaded shortly in resolveComponentHost() once we pass the current
* Barrier. We cannot load it here because doing so could incorrectly evaluate the
* staticity of the dependency tree and lead to undefined / null injection.
*/
break;
}
}
@@ -743,19 +751,24 @@ export class Injector {
*/
await propertyBarrier.signalAndWait();
const effectivePropertyInquirer = this.getEffectiveInquirer(
paramWrapper,
inquirer,
parentInquirer,
contextId,
);
const paramWrapperWithInstance = await this.resolveComponentHost(
moduleRef,
paramWrapper,
contextId,
inquirer,
effectivePropertyInquirer,
);
if (!paramWrapperWithInstance) {
return undefined;
}
const inquirerId = this.getInquirerId(inquirer);
const instanceHost = paramWrapperWithInstance.getInstanceByContextId(
this.getContextId(contextId, paramWrapperWithInstance),
inquirerId,
this.getInquirerId(effectivePropertyInquirer),
);
return instanceHost.instance;
} catch (err) {
@@ -836,12 +849,14 @@ export class Injector {
: new (metatype as Type<any>)(...instances);
instanceHost.instance = this.instanceDecorator(instanceHost.instance);
instanceHost.isConstructorCalled = true;
} else if (isInContext) {
const factoryReturnValue = (targetMetatype.metatype as any as Function)(
...instances,
);
instanceHost.instance = await factoryReturnValue;
instanceHost.instance = this.instanceDecorator(instanceHost.instance);
instanceHost.isConstructorCalled = true;
}
instanceHost.isResolved = true;
return instanceHost.instance;
@@ -903,14 +918,20 @@ export class Injector {
),
),
);
const inquirerId = this.getInquirerId(inquirer);
return hosts.map(
item =>
item?.getInstanceByContextId(
this.getContextId(contextId, item),
inquirerId,
).instance,
);
return hosts.map((item, index) => {
const dependency = metadata[index];
const effectiveInquirer = this.getEffectiveInquirer(
dependency,
inquirer,
parentInquirer,
contextId,
);
return item?.getInstanceByContextId(
this.getContextId(contextId, item),
this.getInquirerId(effectiveInquirer),
).instance;
});
}
public async loadPropertiesMetadata(
@@ -946,6 +967,27 @@ export class Injector {
return inquirer ? inquirer.id : undefined;
}
/**
* For nested TRANSIENT dependencies (TRANSIENT -> TRANSIENT) in non-static contexts,
* returns parentInquirer to ensure each parent TRANSIENT gets its own instance.
* This is necessary because in REQUEST/DURABLE scopes, the same TRANSIENT wrapper
* can be used by multiple parents, causing nested TRANSIENTs to be shared incorrectly.
* For non-TRANSIENT -> TRANSIENT, returns inquirer (current wrapper being created).
*/
private getEffectiveInquirer(
dependency: InstanceWrapper | undefined,
inquirer: InstanceWrapper | undefined,
parentInquirer: InstanceWrapper | undefined,
contextId: ContextId,
): InstanceWrapper | undefined {
return dependency?.isTransient &&
inquirer?.isTransient &&
parentInquirer &&
contextId !== STATIC_CONTEXT
? parentInquirer
: inquirer;
}
private resolveScopedComponentHost(
item: InstanceWrapper,
contextId: ContextId,
@@ -954,7 +996,12 @@ export class Injector {
) {
return this.isInquirerRequest(item, parentInquirer)
? parentInquirer
: this.resolveComponentHost(item.host!, item, contextId, inquirer);
: this.resolveComponentHost(
item.host!,
item,
contextId,
this.getEffectiveInquirer(item, inquirer, parentInquirer, contextId),
);
}
private isInquirerRequest(

View File

@@ -44,6 +44,7 @@ export interface InstancePerContext<T> {
isResolved?: boolean;
isPending?: boolean;
donePromise?: Promise<unknown>;
isConstructorCalled?: boolean;
}
export interface PropertyMetadata {
@@ -82,6 +83,11 @@ export class InstanceWrapper<T = any> {
| undefined;
private isTreeStatic: boolean | undefined;
private isTreeDurable: boolean | undefined;
/**
* The root inquirer reference. Present only if child instance wrapper
* is transient and has a parent inquirer.
*/
private rootInquirer: InstanceWrapper | undefined;
constructor(
metadata: Partial<InstanceWrapper<T>> & Partial<InstancePerContext<T>> = {},
@@ -402,16 +408,48 @@ export class InstanceWrapper<T = any> {
contextId: ContextId,
inquirer: InstanceWrapper | undefined,
): boolean {
if (!this.isDependencyTreeStatic() || contextId !== STATIC_CONTEXT) {
return false;
}
// Non-transient provider in static context
if (!this.isTransient) {
return true;
}
const isInquirerRequestScoped =
inquirer && !inquirer.isDependencyTreeStatic();
const isStaticTransient = this.isTransient && !isInquirerRequestScoped;
const rootInquirer = inquirer?.getRootInquirer();
return (
this.isDependencyTreeStatic() &&
contextId === STATIC_CONTEXT &&
(!this.isTransient ||
(isStaticTransient && !!inquirer && !inquirer.isTransient))
);
// Transient provider inquired by non-transient (e.g., DEFAULT -> TRANSIENT)
if (isStaticTransient && inquirer && !inquirer.isTransient) {
return true;
}
// Nested transient with non-transient root (e.g., DEFAULT -> TRANSIENT -> TRANSIENT)
if (isStaticTransient && rootInquirer && !rootInquirer.isTransient) {
return true;
}
// Nested transient during initial instantiation (rootInquirer not yet set)
if (isStaticTransient && inquirer?.isTransient && !rootInquirer) {
return true;
}
return false;
}
public attachRootInquirer(inquirer: InstanceWrapper) {
if (!this.isTransient) {
// Only attach root inquirer if the instance wrapper is transient
return;
}
this.rootInquirer = inquirer.getRootInquirer() ?? inquirer;
}
getRootInquirer(): InstanceWrapper | undefined {
return this.rootInquirer;
}
public getStaticTransientInstances() {
@@ -421,7 +459,11 @@ export class InstanceWrapper<T = any> {
const instances = [...this.transientMap.values()];
return iterate(instances)
.map(item => item.get(STATIC_CONTEXT))
.filter(item => !!item)
.filter(item => {
// Only return items where constructor has been actually called
// This prevents calling lifecycle hooks on non-instantiated transient services
return !!(item && item.isConstructorCalled);
})
.toArray();
}

View File

@@ -7,9 +7,7 @@ import { ModuleOpaqueKeyFactory } from './interfaces/module-opaque-key-factory.i
const K_MODULE_ID = Symbol('K_MODULE_ID');
export class ByReferenceModuleOpaqueKeyFactory
implements ModuleOpaqueKeyFactory
{
export class ByReferenceModuleOpaqueKeyFactory implements ModuleOpaqueKeyFactory {
private readonly keyGenerationStrategy: 'random' | 'shallow';
constructor(options?: { keyGenerationStrategy: 'random' | 'shallow' }) {

View File

@@ -10,9 +10,7 @@ import { ModuleOpaqueKeyFactory } from './interfaces/module-opaque-key-factory.i
const CLASS_STR = 'class ';
const CLASS_STR_LEN = CLASS_STR.length;
export class DeepHashedModuleOpaqueKeyFactory
implements ModuleOpaqueKeyFactory
{
export class DeepHashedModuleOpaqueKeyFactory implements ModuleOpaqueKeyFactory {
private readonly moduleIdsCache = new WeakMap<Type<unknown>, string>();
private readonly moduleTokenCache = new Map<string, string>();
private readonly logger = new Logger(DeepHashedModuleOpaqueKeyFactory.name, {

View File

@@ -33,8 +33,8 @@ import { RouteInfoPathExtractor } from './route-info-path-extractor';
import { RoutesMapper } from './routes-mapper';
export class MiddlewareModule<
TAppOptions extends
NestApplicationContextOptions = NestApplicationContextOptions,
TAppOptions extends NestApplicationContextOptions =
NestApplicationContextOptions,
> {
private readonly routerProxy = new RouterProxy();
private readonly exceptionFiltersCache = new WeakMap();

View File

@@ -10,6 +10,7 @@ import {
DynamicModule,
GetOrResolveOptions,
SelectOptions,
ShutdownHooksOptions,
Type,
} from '@nestjs/common/interfaces';
import { NestApplicationContextOptions } from '@nestjs/common/interfaces/nest-application-context-options.interface';
@@ -37,9 +38,9 @@ import { Module } from './injector/module';
* @publicApi
*/
export class NestApplicationContext<
TOptions extends
NestApplicationContextOptions = NestApplicationContextOptions,
>
TOptions extends NestApplicationContextOptions =
NestApplicationContextOptions,
>
extends AbstractInstanceResolver
implements INestApplicationContext
{
@@ -316,10 +317,14 @@ export class NestApplicationContext<
* process receives a shutdown signal.
*
* @param {ShutdownSignal[]} [signals=[]] The system signals it should listen to
* @param {ShutdownHooksOptions} [options={}] Options for configuring shutdown hooks behavior
*
* @returns {this} The Nest application context instance
*/
public enableShutdownHooks(signals: (ShutdownSignal | string)[] = []): this {
public enableShutdownHooks(
signals: (ShutdownSignal | string)[] = [],
options: ShutdownHooksOptions = {},
): this {
if (isEmpty(signals)) {
signals = Object.keys(ShutdownSignal).map(
(key: string) => ShutdownSignal[key],
@@ -336,7 +341,7 @@ export class NestApplicationContext<
.filter(signal => !this.activeShutdownSignals.includes(signal))
.toArray();
this.listenToShutdownSignals(signals);
this.listenToShutdownSignals(signals, options);
return this;
}
@@ -351,8 +356,12 @@ export class NestApplicationContext<
* process events
*
* @param {string[]} signals The system signals it should listen to
* @param {ShutdownHooksOptions} options Options for configuring shutdown hooks behavior
*/
protected listenToShutdownSignals(signals: string[]) {
protected listenToShutdownSignals(
signals: string[],
options: ShutdownHooksOptions = {},
) {
let receivedSignal = false;
const cleanup = async (signal: string) => {
try {
@@ -368,7 +377,15 @@ export class NestApplicationContext<
await this.dispose();
await this.callShutdownHook(signal);
signals.forEach(sig => process.removeListener(sig, cleanup));
process.kill(process.pid, signal);
if (options.useProcessExit) {
// Use process.exit() to ensure the 'exit' event is properly triggered.
// This is required for async loggers (like Pino with transports)
// to flush their buffers before the process terminates.
process.exit(0);
} else {
process.kill(process.pid, signal);
}
} catch (err) {
Logger.error(
MESSAGES.ERROR_DURING_SHUTDOWN,

View File

@@ -394,6 +394,9 @@ export class NestApplication
}
public useGlobalFilters(...filters: ExceptionFilter[]): this {
filters = this.applyInstanceDecoratorIfRegistered<ExceptionFilter>(
...filters,
);
this.config.useGlobalFilters(...filters);
filters.forEach(item =>
this.graphInspector.insertOrphanedEnhancer({
@@ -405,6 +408,9 @@ export class NestApplication
}
public useGlobalPipes(...pipes: PipeTransform<any>[]): this {
pipes = this.applyInstanceDecoratorIfRegistered<PipeTransform<any>>(
...pipes,
);
this.config.useGlobalPipes(...pipes);
pipes.forEach(item =>
this.graphInspector.insertOrphanedEnhancer({
@@ -416,6 +422,9 @@ export class NestApplication
}
public useGlobalInterceptors(...interceptors: NestInterceptor[]): this {
interceptors = this.applyInstanceDecoratorIfRegistered<NestInterceptor>(
...interceptors,
);
this.config.useGlobalInterceptors(...interceptors);
interceptors.forEach(item =>
this.graphInspector.insertOrphanedEnhancer({
@@ -427,6 +436,7 @@ export class NestApplication
}
public useGlobalGuards(...guards: CanActivate[]): this {
guards = this.applyInstanceDecoratorIfRegistered<CanActivate>(...guards);
this.config.useGlobalGuards(...guards);
guards.forEach(item =>
this.graphInspector.insertOrphanedEnhancer({
@@ -474,4 +484,14 @@ export class NestApplication
instance,
);
}
private applyInstanceDecoratorIfRegistered<T>(...instances: T[]): T[] {
if (this.appOptions.instrument?.instanceDecorator) {
return instances.map(
instance =>
this.appOptions.instrument!.instanceDecorator(instance) as T,
);
}
return instances;
}
}

View File

@@ -10,6 +10,7 @@ import {
import { NestMicroserviceOptions } from '@nestjs/common/interfaces/microservices/nest-microservice-options.interface';
import { NestApplicationContextOptions } from '@nestjs/common/interfaces/nest-application-context-options.interface';
import { NestApplicationOptions } from '@nestjs/common/interfaces/nest-application-options.interface';
import { ConsoleLogger } from '@nestjs/common/services/console-logger.service';
import { Logger } from '@nestjs/common/services/logger.service';
import { loadPackage } from '@nestjs/common/utils/load-package.util';
import { isFunction, isNil } from '@nestjs/common/utils/shared.utils';
@@ -299,9 +300,14 @@ export class NestFactoryStatic {
if (!options) {
return;
}
const { logger, bufferLogs, autoFlushLogs } = options;
const { logger, bufferLogs, autoFlushLogs, forceConsole } = options;
if ((logger as boolean) !== true && !isNil(logger)) {
Logger.overrideLogger(logger);
} else if (forceConsole) {
// If no custom logger is provided but forceConsole is true,
// create a ConsoleLogger with forceConsole option
const consoleLogger = new ConsoleLogger({ forceConsole: true });
Logger.overrideLogger(consoleLogger);
}
if (bufferLogs) {
Logger.attachBuffer();

View File

@@ -1,6 +1,6 @@
{
"name": "@nestjs/core",
"version": "11.1.5",
"version": "11.1.14",
"description": "Nest - modern, fast, powerful node.js web framework (@core)",
"author": "Kamil Mysliwiec",
"license": "MIT",
@@ -34,12 +34,12 @@
"@nuxt/opencollective": "0.4.1",
"fast-safe-stringify": "2.1.1",
"iterare": "1.2.1",
"path-to-regexp": "8.2.0",
"path-to-regexp": "8.3.0",
"tslib": "2.8.1",
"uid": "2.0.2"
},
"devDependencies": {
"@nestjs/common": "11.1.5"
"@nestjs/common": "11.1.14"
},
"peerDependencies": {
"@nestjs/common": "^11.0.0",
@@ -59,5 +59,6 @@
"@nestjs/platform-express": {
"optional": true
}
}
},
"gitHead": "bcb4747f7598a9d2655c8184a6d729ebefa07fbd"
}

Some files were not shown because too many files have changed in this diff Show More