Commit Graph

19567 Commits

Author SHA1 Message Date
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
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
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
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
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