1212 Commits

Author SHA1 Message Date
Kamil Myśliwiec
d74e9a8c5f fix(fastify): fastify middleware bypass cve 2026-02-17 17:22:01 +01:00
renovate[bot]
46a9190770 chore(deps): update mysql docker tag to v9.6.0 2026-01-22 05:47:22 +00:00
Kamil Myśliwiec
c4cedda15a fix(platform-fastify): middie bypassing through decoded chars 2025-12-29 13:44:26 +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
mag123c
a4959fa5a7 test(core): nested transient chain instantiation 2025-12-20 16:16:18 +09: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
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 Myśliwiec
0c93692bc9 chore: update prettier 2025-12-05 13:35:27 +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
renovate[bot]
1ddcd1cc5c chore(deps): update confluentinc/cp-kafka docker tag to v8.1.1 2025-12-03 15:35:58 +00:00
renovate[bot]
917818e30d chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.5 2025-11-28 17:03:47 +00:00
mag123c
b64aef5d69 fix(core): add option for async logger compatibility 2025-11-28 22:52:38 +09: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
mag123c
cde4fb8334 test(core): add nested transient isolation integration test 2025-10-22 09:34:37 +09: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
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
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
c3ed27dab6 test(microservices): Integration test for the fanout exchange 2025-10-14 21:06:47 +03: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
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]
acfd2803f6 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.4 2025-10-10 13:22:27 +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
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
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
at7211
2d20ef9887 fix(core): improve dependency resolution error messages 2025-09-04 15:02:08 +08:00
Seongjee Kim
0c7b94d34e feat(ws): add integration for manually ack 2025-08-18 21:11:12 +09: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
mag123c
ff81fb1f57 feat(common): add force-console option to nestfactory.create() 2025-08-07 14:12:50 +09: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
Kamil Myśliwiec
a9d5716dad test(core): add tests for nested transient structures 2025-07-30 17:07:00 +02:00
renovate[bot]
c70b19607d chore(deps): update mysql docker tag to v9.4.0 2025-07-23 08:43:06 +00:00
Kamil Mysliwiec
b34d428c5c Merge pull request #15385 from mag123c/fix/fastify-adapter-middleware-init
fix(testing): auto-init fastify adapter for middleware registration
2025-07-16 09:38:57 +02:00
Jiri Hajek
a453b6375e 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. Split the resolution
process in 2 parts with barrier synchronization in between to ensure all
dependencies are present in dependant's instance wrapper and the
staticity of its dependency tree is evaluated correctly.

Closes #4873
2025-07-15 16:47:45 +02:00
mag123c
07291c21aa feat(platform-fastify): implement lazy middleware registration 2025-07-15 21:37:04 +09:00
mag123c
d602f74c37 fix(platform-fastify): improve middleware registration error message 2025-07-15 10:04:12 +09:00
mag123c
8e016e8bb0 fix(testing): auto-init fastify adapter for middleware registration 2025-07-14 10:03:23 +09:00
renovate[bot]
411794d4fd chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.2 2025-06-13 11:36:15 +00:00
renovate[bot]
ffc2204d26 chore(deps): update confluentinc/cp-kafka docker tag to v8 2025-06-11 15:55:58 +00:00
Kamil Myśliwiec
daa429d251 style: address lint issues 2025-05-30 10:56:04 +02:00
Dmitry Zhlobo
b84c1fe459 fix(core): gracefully shutdown the app when repl exits
The application module we pass to repl may have long-running phases
(e.g. database connection polling) and if we don't finish those
long-running phases the repl would stuck on exit possibly forever.

I encoutered this issue while using MikroORM.forRoot module.

The solution is to call `app.close()` when repl exits. Modules should
implement graceful shutdown using lifecycle hooks.
2025-05-28 14:59:22 +02:00
renovate[bot]
1c7d6f7286 chore(deps): update confluentinc/cp-zookeeper docker tag to v7.9.1 2025-05-12 06:54:07 +00:00
renovate[bot]
c849d5e5a0 chore(deps): update confluentinc/cp-kafka docker tag to v7.9.1 2025-05-08 15:49:42 +00:00
Kamil Mysliwiec
faf3e6aec2 Merge pull request #14540 from nestjs/feat/rmq-topic-exchange
feat(microservices): add support for topic exchange (rabbitmq)
2025-04-23 13:23:39 +02:00
renovate[bot]
2b912949eb chore(deps): update mysql docker tag to v9.3.0 2025-04-15 06:40:26 +00:00
Kamil Myśliwiec
73d4ee6074 test(fastify): update broken integration tests 2025-04-03 10:58:42 +02:00
Kyle Lilly
c91eeff7bb fix(fastify-adapter): global prefix exclusion path handling w/middleware 2025-04-02 10:37:31 -04:00
anizozina
64eeb9bf00 fix(core): dependencies not resolving for request-scoped lazy providers 2025-03-18 06:57:47 +09:00