-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
release: v12.0.0 major release (approx. Q3 2026) #16391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
kamilmysliwiec
wants to merge
169
commits into
master
Choose a base branch
from
v12.0.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
169 commits
Select commit
Hold shift + click to select a range
ccf416d
fix: make `isHttpError` check stricter
glebbash 591251a
fix: Handle FastifyError as before
glebbash 5be47a0
chore: drop debugging leftover
glebbash d1c9ec5
feat(core): call hooks by components hierarchy level
kamilmysliwiec e0a9dfe
feat(microservices): nats v3 migration
kamilmysliwiec 51292e8
chore: revert tsconfig changes
kamilmysliwiec ef0984f
feat(common): add generic for argument metadata
y-nk fc405cb
feat(common): allow passing errorCode in HttpExceptionOptions
lhj0621 fa6d45d
build: migrate from cjs to esm
kamilmysliwiec 33f37d6
refactor: minor tweaks
kamilmysliwiec 6846cd7
test: migrate to vitest
kamilmysliwiec 288453f
test: fix coverage collection, add more tests
kamilmysliwiec 1c046ae
sample: migrate samples to esm
kamilmysliwiec 62908b4
sample: add await to bootstrap calls
kamilmysliwiec df1537f
chore: add root dir to tsconfig
kamilmysliwiec 6586c0d
refactor: minor codebase tweaks
kamilmysliwiec 50f0f72
feat(common): introduce param decorator options
kamilmysliwiec 473810c
chore: introduce the internal export path
kamilmysliwiec 09c8156
feat: introduce standard schema serializer
kamilmysliwiec 543142d
fix: dont export plain literal object interface
kamilmysliwiec fb3ae67
chore: address lint errors, and fix ci test errors
kamilmysliwiec 9d4c865
chore: exclude samples that use cli plugins for now
kamilmysliwiec b6cecd8
ci: ignore coverage script errors in ci
kamilmysliwiec d2fd2e6
sample: fix file upload ts compilation error
kamilmysliwiec 90a40d5
sample: turn off running sample tests for now
kamilmysliwiec a21fd1d
Merge pull request #16373 from nestjs/feat/param-decorator-options
kamilmysliwiec b28012e
Merge pull request #16372 from nestjs/refactor/minor-tweaks
kamilmysliwiec 34f1829
Merge pull request #16371 from nestjs/sample/esm-migration
kamilmysliwiec 945ca48
Merge pull request #16370 from nestjs/test/vitest-migration
kamilmysliwiec 70323a1
chore: resolve merge conflicts
kamilmysliwiec 43c0eb6
test: fix outdated test
kamilmysliwiec 01c5a95
Merge pull request #16369 from nestjs/build/esm-migration
kamilmysliwiec e8768e7
sample: add zod validation, valibot serialization samples
kamilmysliwiec 1ab6f03
Merge branch 'v12.0.0' into feat/add-error-code
lhj0621 319437a
feat(common,express): add graceful shutdown option
manureja64 a696ed4
fix(testing): expose graceful-shutdown e2e specs
manureja64 ea352f6
chore(express): Remove debug logs from express adapter
manureja64 f7e0495
fix(testing): increase timeouts for graceful shutdown tests
manureja64 26953ba
fix(common,core,express): activate shutdown flag before hooks
manureja64 decb89b
refactor(common,express): rename graceful shutdown option
manureja64 d4e7540
fix(testing): use vitest assertions in shutdown tests
manureja64 254e5fe
Merge pull request #15525 from lhj0621/feat/add-error-code
kamilmysliwiec e15b3d7
Merge pull request #16156 from manureja64/feat/express-graceful-shutdown
kamilmysliwiec 65615ba
chore: resolve merge conflicts
kamilmysliwiec d617106
chore: resolve merge conflicts
kamilmysliwiec 9cf8699
test: update integration tests to use vitest
kamilmysliwiec d37c266
test: remove useless test file
kamilmysliwiec ad5b731
feat(websockets): add disconnect reason parameter
snowykte0426 722d27a
fix(websockets): Correct distinctUntilChanged for disconnect events
snowykte0426 7828c68
fix(microservices): Remove unnecessary exception filter priority changes
snowykte0426 07603b5
refactor(core,express,fastify): HTTP adapter error mapping
65297f6
refactor: update pipe `transform` signatures for improved type safety
miso-kyoungminkim ba82ce7
Merge branch 'nestjs:master' into julien/argument-metadata-generic
y-nk cec1113
refactor(microservices): fix the typo 'RQM_' to 'RMQ_'
CodeVac513 d67a2ee
refactor(microservices): update test to match rmq constant rename
CodeVac513 cbdc24e
feat(common): add error format option to validation pipe
at7211 68d075c
Merge pull request #15787 from CodeVac513/fix/rabbitmq-prefix
kamilmysliwiec 6a50042
Merge pull request #16374 from snowykte0426/feature/websocket-disconn…
kamilmysliwiec 5996b8c
Merge pull request #16147 from miso-kyoungminkim/pipe-type-safety
kamilmysliwiec 84f92eb
Merge pull request #16329 from at7211/feat/validation-pipe-error-format
kamilmysliwiec 953569a
fix: move hierarchy set after comp host resolution
kamilmysliwiec cd3cae2
Merge pull request #14900 from nestjs/feat/call-hooks-by-hierarchy-level
kamilmysliwiec 5a47244
Apply suggestion from @kamilmysliwiec
kamilmysliwiec ec95499
Apply suggestion from @kamilmysliwiec
kamilmysliwiec 7ae88ed
Merge pull request #15413 from y-nk/julien/argument-metadata-generic
kamilmysliwiec a1b4ee9
chore: resolve conflicts
kamilmysliwiec 43041eb
chore: update deps
kamilmysliwiec 9170ecb
fix: update incorrect package import
kamilmysliwiec dc33abe
style: address lint errors
kamilmysliwiec a5c981c
test: fix flaky test
kamilmysliwiec 6431629
Merge pull request #15190 from nestjs/feat/nats-v3-migration
kamilmysliwiec e483cbe
fix(sample): update gql federation samples to use production-ready
mag123c 3ebb53b
Merge pull request #15539 from mag123c/fix/graphql-federation-product…
kamilmysliwiec 4fe18eb
test(common): improve test coverage for shared utils
BrahimAbdelli dc49342
test(common): Fix isEmptyArray behavior and update tests
BrahimAbdelli 2029958
test(common): Fix isEmptyArray behavior and update tests
BrahimAbdelli 7b1a9d1
test(common): Restoring isEmpty method with test coverage
BrahimAbdelli 3aa97fc
test(common): fix shared utils test
BrahimAbdelli 9b88230
test(common): fix isempty issue in context
BrahimAbdelli 5adeb42
Merge pull request #14832 from BrahimAbdelli/fix-shared-utils-edge-cases
kamilmysliwiec 1c43374
fix: make `isHttpError` check stricter
glebbash 0eb2340
fix: Handle FastifyError as before
glebbash 4ec9445
Merge branch 'fix/stricter-is-http-error-check' of https://github.com…
glebbash 4aef438
fix: update tests
glebbash 3a17cb9
Merge pull request #14753 from glebbash/fix/stricter-is-http-error-check
kamilmysliwiec 5b1a4ff
Merge pull request #15075 from maxbronnikov10/refactor/http-adapter-e…
kamilmysliwiec 4cf1901
test(sample): add unit and e2e tests for sse
zaewc 6b278af
Merge pull request #16409 from 976520/test/sample-28-sse
kamilmysliwiec cb1faff
fix(common): preserve default description for all HTTP exceptions whe…
099fff7
feat(microservices): add global pre-request hooks executed before guards
suuuuuuminnnnnn 6f3e56f
test(core): cover pre-request hooks storage in application config
suuuuuuminnnnnn 140f0c3
test: convert spec files to vitest format
suuuuuuminnnnnn 329cb37
fix(common,microservices): fix esm import paths
suuuuuuminnnnnn cd58822
test(sample/06): add e2e tests for mongoose sample
mateo-maza 7296ceb
test(sample/06): add e2e tests for mongoose sample
mateo-maza 2a2e5bf
test(sample/07): add e2e tests for sequelize sample
mateo-maza 8678dd6
test(sample/14): add e2e tests for mongoose-base sample
mateo-maza b8a7678
test(sample/13): add e2e tests for mongo-typeorm sample
mateo-maza 032cbbc
test(sample/05): add e2e tests for sql-typeorm sample
mateo-maza 537bda0
test(sample/25): add e2e tests for dynamic-modules sample
mateo-maza e266878
test(sample/10): add unit and e2e tests for fastify sample
mateo-maza ec7fc4f
fix(common): fix test for v12 branch compatibility
malkovitc f62fd6e
test(sample/03): add unit and e2e tests for microservices sample
mateo-maza bc02a8a
Merge pull request #16427 from mateo-maza/test/sample-06-mongoose-e2e
kamilmysliwiec 5015ce3
Merge pull request #16430 from mateo-maza/test/sample-07-sequelize-e2e
kamilmysliwiec 89548b7
Merge pull request #16432 from mateo-maza/test/sample-14-mongoose-bas…
kamilmysliwiec 2798e66
Merge pull request #16433 from mateo-maza/test/sample-13-mongo-typeor…
kamilmysliwiec 55e018a
Merge pull request #16434 from mateo-maza/test/sample-05-sql-typeorm-e2e
kamilmysliwiec 17c72ca
Merge pull request #16435 from mateo-maza/test/sample-25-dynamic-modu…
kamilmysliwiec 4eb3f67
Merge pull request #16436 from mateo-maza/test/sample-10-fastify-e2e
kamilmysliwiec 66bdfb7
Merge pull request #16437 from mateo-maza/test/sample-03-microservice…
kamilmysliwiec 60ea11d
Merge pull request #16017 from malkovitc/fix/http-exceptions-default-…
kamilmysliwiec ead0d87
refactor(microservices): rename prerequest hook method
suuuuuuminnnnnn e240e2f
refactor(microservices): rename prerequest hook method
suuuuuuminnnnnn e15f188
Apply suggestion from @kamilmysliwiec
kamilmysliwiec 9cec9d0
Update packages/microservices/nest-microservice.ts
kamilmysliwiec 47beb28
Apply suggestion from @kamilmysliwiec
kamilmysliwiec 519c877
Merge pull request #16429 from suuuuuuminnnnnn/feat/microservices-pre…
kamilmysliwiec bc73753
test(sample/21): add e2e tests for serializer sample
JoaoHenriqueBarbosa 8c30f52
test(sample): add e2e tests for mvc sample
JoaoHenriqueBarbosa 0e46928
test(sample): add e2e tests for cache sample
JoaoHenriqueBarbosa e4af812
test(sample): add e2e tests for swagger sample
JoaoHenriqueBarbosa 2a086d9
Merge pull request #16444 from JoaoHenriqueBarbosa/test/sample-11-swa…
kamilmysliwiec 9c9115e
Merge pull request #16443 from JoaoHenriqueBarbosa/test/sample-20-cac…
kamilmysliwiec 58d39bc
Merge pull request #16442 from JoaoHenriqueBarbosa/test/sample-15-mvc…
kamilmysliwiec 4d2d265
Merge pull request #16441 from JoaoHenriqueBarbosa/test/sample-21-ser…
kamilmysliwiec 16bbadd
test(sample): add e2e tests for scheduling sample
JoaoHenriqueBarbosa a023a0e
test(sample): add e2e tests for serve-static sample
JoaoHenriqueBarbosa adbf3f3
test(sample): add e2e tests for gateways-ws sample
JoaoHenriqueBarbosa f50ac7a
test(sample): add e2e tests for graphql-mercurius sample
JoaoHenriqueBarbosa 6ec2e2d
test(sample): add e2e tests for webpack sample
JoaoHenriqueBarbosa c4120f9
test(sample): add e2e tests for mvc-fastify sample
JoaoHenriqueBarbosa 0e9807b
test(sample): add e2e tests for context sample
JoaoHenriqueBarbosa 05405ff
test(sample): add e2e tests for grpc sample
JoaoHenriqueBarbosa 2dbaae8
feat(common): add structured logging params support
manureja64 2a9d46d
Merge pull request #16463 from JoaoHenriqueBarbosa/test/sample-04-grp…
kamilmysliwiec 06f1c18
Merge pull request #16462 from JoaoHenriqueBarbosa/test/sample-18-con…
kamilmysliwiec c8751cb
Merge pull request #16461 from JoaoHenriqueBarbosa/test/sample-17-mvc…
kamilmysliwiec e4c5d11
Merge pull request #16460 from JoaoHenriqueBarbosa/test/sample-08-web…
kamilmysliwiec 8901b35
Merge pull request #16459 from JoaoHenriqueBarbosa/test/sample-33-gra…
kamilmysliwiec 3feb973
Merge pull request #16458 from JoaoHenriqueBarbosa/test/sample-16-gat…
kamilmysliwiec f014b8c
Merge pull request #16457 from JoaoHenriqueBarbosa/test/sample-24-ser…
kamilmysliwiec 5763dbf
Merge pull request #16456 from JoaoHenriqueBarbosa/test/sample-27-sch…
kamilmysliwiec 4ab3ce8
feat(common): add opt-out for structured params behavior
manureja64 5dafe45
feat(common): improve structured logging params handling
manureja64 6cb7d3d
test(sample): add unit and e2e tests for 11-swagger
zaewc 389d68c
test: add e2e and unit tests for caching functionality
zaewc fc480c8
Merge pull request #16410 from 976520/test/sample-11-swagger
kamilmysliwiec 6cee276
Merge pull request #16406 from 976520/test/sample-20-cache
kamilmysliwiec 3c181b2
Merge pull request #16464 from manureja64/feat/structured-logging-par…
kamilmysliwiec 7035ecc
chore: update lerna flags
kamilmysliwiec c4fd4da
chore: remove redundant named subpath exports
kamilmysliwiec 011bff6
fix(core): dont inherit the optional decorator metadata
kamilmysliwiec e3df949
Update integration/graceful-shutdown/e2e/express.spec.ts
kamilmysliwiec bf00d56
Update integration/graceful-shutdown/src/app.module.ts
kamilmysliwiec 50ae26a
Update integration/hooks/e2e/on-module-init.spec.ts
kamilmysliwiec 6aaf644
feat(microservices): add event typings to the `@EventPattern` decorator
joelday a6efc9e
Merge pull request #14798 from joelday/event-pattern-decorator-payloa…
kamilmysliwiec 812f405
chore: upgrade to vitest 4 with oxc
kamilmysliwiec f4b34ff
Merge pull request #16672 from nestjs/chore/vitest-4
kamilmysliwiec bdefc93
chore: upgrade typescript (v6)
kamilmysliwiec 7c89afa
Merge pull request #16673 from nestjs/chore/typescript-v6
kamilmysliwiec 75f0f4f
chore: migrate to oxlint from eslint
kamilmysliwiec 06cfa64
Merge pull request #16674 from nestjs/chore/oxlint-migration
kamilmysliwiec 7871608
ci: add oxlint and rolldown optional deps
kamilmysliwiec 2aff03a
ci: bump node version
kamilmysliwiec faca996
chore: update sample tsconfigs for typescript v6
kamilmysliwiec ce26404
chore: disable ts6 strict defaults in sample tsconfigs
kamilmysliwiec 8753262
chore: fix strict ts6 errors in samples
kamilmysliwiec File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "$schema": "./node_modules/oxlint/configuration_schema.json", | ||
| "plugins": ["typescript"], | ||
| "categories": { | ||
| "correctness": "error" | ||
| }, | ||
| "env": { | ||
| "node": true | ||
| }, | ||
| "ignorePatterns": ["node_modules", "**/*.js", "**/*.d.ts"], | ||
| "rules": { | ||
| "no-unused-vars": "off", | ||
| "no-unused-expressions": "off", | ||
| "typescript/no-explicit-any": "off", | ||
| "typescript/no-non-null-asserted-optional-chain": "warn", | ||
| "typescript/no-require-imports": "off" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| /** | ||
| * Load the TypeScript compiler, then load the TypeScript gulpfile which simply loads all | ||
| * the tasks. The tasks are really inside tools/gulp/tasks. | ||
| */ | ||
|
|
||
| import { register } from 'node:module'; | ||
| import { pathToFileURL } from 'node:url'; | ||
|
|
||
| register('ts-node/esm', pathToFileURL('./'), { | ||
| data: { project: './tools/gulp/tsconfig.json' }, | ||
| }); | ||
|
|
||
| await import('./tools/gulp/gulpfile.ts'); |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.