Skip to content
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

chore: laying the grounds for 10.0.0 #11517

Merged
merged 92 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
2071461
feat(testing): support override modules in test module builder
leonardovillela Dec 12, 2021
3114a54
refactor(testing): remove duplication to add/replace container module
leonardovillela Dec 13, 2021
6ea534e
feat(testing): add missing validation for replace container module
leonardovillela Dec 13, 2021
d7351b7
fix(testing): circular dependency module override
leonardovillela Dec 18, 2021
59bae05
fix(testing): lazy module override
leonardovillela Dec 19, 2021
09f6c94
chore(testing): remove debugger instructions
leonardovillela Dec 19, 2021
d725aae
docs(testing): add modules override sample
leonardovillela Dec 19, 2021
91d4870
refactor(testing): transform module override sample to integration test
leonardovillela Dec 20, 2021
3281696
feat(core): middleware runs once for matching route
rychardvale Jun 20, 2022
5bf90ac
fix: increase readability
rychardvale Jun 25, 2022
b0837af
fix: convention/code style.
rychardvale Jun 26, 2022
f98d0e9
refactor(common): add `selectExceptionFilterMetadata` function
TheKhanj Aug 18, 2022
c067f85
refactor(websockets): use `selectExceptionFilterMetadata`
TheKhanj Aug 18, 2022
fe069f6
refactor(core): use
TheKhanj Aug 18, 2022
469580d
refactor(microservices): use `selectExceptionFilterMetadata`
TheKhanj Aug 18, 2022
273f1aa
refactor(core): use `selectExceptionFilterMetadata` in
TheKhanj Aug 18, 2022
82555be
chore(common): fix import issue
TheKhanj Aug 18, 2022
98acbe6
fix(common): check for empty length in exception handler selector
TheKhanj Aug 18, 2022
dcc2fa7
chore(): append .util postfix to filename
TheKhanj Aug 18, 2022
1f81c86
test(common): add test for exception handler selector
TheKhanj Aug 18, 2022
92bc195
chore(common): add .util postfix to test filename
TheKhanj Aug 18, 2022
39d6e8e
feat(microservices): add wildcard option in redis microservice patterns
tijsmoree Oct 11, 2022
e45e04a
fix(microservices): allow falsy values in options
Papooch Nov 9, 2022
93694ee
feat(common): Add the search method to the list
Gustrb Nov 7, 2022
2dd3526
feat(common): Add the @Search decorator
Gustrb Nov 7, 2022
2f69e96
feat(core): Add the search method to the adapter
Gustrb Nov 7, 2022
a7655a0
ci: don't install greater than npm 8
Gustrb Nov 13, 2022
bcf4bf9
test(common): add tests for broken cases on `ValidationPipe`
micalevisk Jan 26, 2023
14a0f06
fix(common): when transforming invalid boolean values
micalevisk Jan 26, 2023
dba518e
refactor: define types for input file in file-type.validator
Feb 3, 2023
809dadb
refactor: use synthetic sugar in file-validator for validate mimetype
Feb 3, 2023
a0f7ee8
fix: fix file type checking
Feb 3, 2023
f3e118e
Update packages/common/pipes/file/file-validator.interface.ts
mohamadrezamomeni Feb 6, 2023
2ccf67b
fix: make filetype small and rename to ifile
Feb 6, 2023
a33e377
fix: generix with default type
Feb 6, 2023
0b847e7
chore: remove | {}
Feb 9, 2023
cf4097c
feat(common,express,fastify): enhance the type of `httpServer`
CodyTseng Feb 15, 2023
ea79cef
fix(testing): correct the type of `server`
CodyTseng Feb 15, 2023
df74cde
feat(core): add support to named groups
elplancton Feb 15, 2023
25d9ef9
feat(core): Support async local storage in interceptors
nordfjord Feb 20, 2023
ffc09ee
fix(common): adjust @inject and @optional return types
skrtheboss Mar 22, 2023
0eec329
chore(): update interface deprecated for kafka
Tony133 Mar 31, 2023
570e521
chore(common): remove cache module
kamilmysliwiec Apr 5, 2023
f9550c3
chore: remove cache decorator test
kamilmysliwiec Apr 5, 2023
2599395
Merge branch 'master' into chore/remove-cache-module
kamilmysliwiec Apr 5, 2023
31deefe
test(): update internal core module test
kamilmysliwiec Apr 5, 2023
9e06786
Merge pull request #11428 from nestjs/chore/remove-cache-module
kamilmysliwiec Apr 5, 2023
a432407
chore: remove cache-manager from peer deps
kamilmysliwiec Apr 5, 2023
03aa13e
Merge pull request #11413 from Tony133/chore/update-interface-depreca…
kamilmysliwiec Apr 5, 2023
5aab28f
Merge pull request #11318 from skrtheboss/fix/inject-and-optional-dec…
kamilmysliwiec Apr 5, 2023
5a2be89
Merge pull request #10549 from Papooch/fix/microservices-client-falsy…
kamilmysliwiec Apr 5, 2023
2eb932c
Merge pull request #11040 from mohamadrezamomeni/refactor-define-type
kamilmysliwiec Apr 5, 2023
702eebf
chore: resolve conflicts
kamilmysliwiec Apr 5, 2023
90a3416
Merge branch 'CodyTseng-feat-enhance-http-server-type' into 10.0.0
kamilmysliwiec Apr 5, 2023
252e864
Merge pull request #10953 from micalevisk/fix/partial-issue-10246
kamilmysliwiec Apr 5, 2023
10c1bd8
Merge pull request #11142 from nordfjord/support-async-local-storage-…
kamilmysliwiec Apr 5, 2023
77442c8
Merge pull request #10133 from TheKhanj/refactor/error
kamilmysliwiec Apr 5, 2023
0f904d2
chore: update minimum engine version to 16
kamilmysliwiec Apr 5, 2023
353b974
Merge branch '10.0.0' of https://github.com/nestjs/nest into 10.0.0
kamilmysliwiec Apr 5, 2023
48e25d4
chore: improve typings of `.createBody(…)`
parzhitsky Aug 3, 2022
3b6b66b
feat(common): narrow `getInstance` return type for http platforms
micalevisk Dec 4, 2022
4765b46
Merge pull request #10630 from micalevisk/feat/narrowing-http-adapter…
kamilmysliwiec Apr 6, 2023
880e08b
ci: update circleci setup to use newer versions of node
kamilmysliwiec Apr 6, 2023
1a2ac3e
refactor(common): drop deprecated misspelled constant
micalevisk Apr 11, 2023
648f2d5
Merge pull request #11450 from micalevisk/refactor-v10/drop-deprecations
kamilmysliwiec Apr 11, 2023
8b74665
chore: remove deprecated types, utils, logic
kamilmysliwiec Apr 11, 2023
bc4a571
fix: update outdated imports
kamilmysliwiec Apr 17, 2023
b908f1a
Merge pull request #11118 from elplancton/host-regex
kamilmysliwiec Apr 17, 2023
69fba03
Merge pull request #10359 from tijsmoree/redis-microservice-psubscribe
kamilmysliwiec Apr 17, 2023
7b05cd0
Merge pull request #10533 from Gustrb/add-search-method
kamilmysliwiec Apr 17, 2023
fdfabf9
chore: resolve conflicts
kamilmysliwiec Apr 17, 2023
11b7418
Merge branch '10.0.0' into leonardovillela-testing-module-builder-add…
kamilmysliwiec Apr 17, 2023
f98c779
test: update outdated tests
kamilmysliwiec Apr 17, 2023
6a8b649
Merge branch 'leonardovillela-testing-module-builder-add-override-mod…
kamilmysliwiec Apr 17, 2023
2786542
ci: dont run test node 19 for now
kamilmysliwiec Apr 17, 2023
3bf74d8
refactor(common): Add generic to InjectionToken type
MaurerKrisztian Apr 24, 2023
f6f577a
Merge pull request #11555 from MaurerKrisztian/InjectionToken-generic
kamilmysliwiec Apr 25, 2023
5820bed
chore: resolve conflicts
kamilmysliwiec May 19, 2023
aea0a04
Merge branch 'parzhitsky-feat/improve-typings-for-createbody' into 10…
kamilmysliwiec May 19, 2023
a665efc
chore: update package lock file
kamilmysliwiec May 19, 2023
1e467c1
test: update async local storage signature
kamilmysliwiec May 19, 2023
b9d8a07
chore: recreate package lock file
kamilmysliwiec May 19, 2023
0a67455
ci: add legacy peer deps flag to npm ci
kamilmysliwiec May 19, 2023
c4828c4
ci: add --legacy-peer-deps flag to samples install
kamilmysliwiec May 19, 2023
974c946
Update integration/testing-module-override/tsconfig.json
kamilmysliwiec May 19, 2023
0faddb4
fix(core): global prefix exclude when versioning is turned on
kamilmysliwiec May 22, 2023
b1be7a3
Merge pull request #11650 from nestjs/fix/global-prefix-exclude-with-…
kamilmysliwiec May 24, 2023
8053f11
Merge pull request #9809 from rychardvale/fix-middleware-multiple-runs
kamilmysliwiec Jun 12, 2023
a412dcc
fix(fastify): validate middleware paths
kamilmysliwiec Jun 12, 2023
f925fe5
Merge pull request #11718 from nestjs/fix/fastify-middleware-execution
kamilmysliwiec Jun 12, 2023
1f44c1c
chore: resolve conflicts
kamilmysliwiec Jun 12, 2023
98bb859
Merge branch 'master' into 10.0.0
kamilmysliwiec Jun 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
59 changes: 28 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ version: 2
aliases:
- &restore-cache
restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-{{ checksum "package.json" }}
- &install-deps
run:
name: Install dependencies
command: npm ci
name: Install dependencies
command: npm ci --legacy-peer-deps
- &build-packages
run:
name: Build
command: npm run build
name: Build
command: npm run build
- &run-unit-tests
run:
name: Test
command: npm run test
name: Test
command: npm run test

unit-tests-template: &unit-tests-template
working_directory: ~/nest
Expand All @@ -30,7 +30,7 @@ jobs:
build:
working_directory: ~/nest
docker:
- image: circleci/node:12
- image: cimg/node:16.19
steps:
- checkout
- run:
Expand All @@ -40,29 +40,19 @@ jobs:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Install dependencies
command: npm ci
command: npm ci --legacy-peer-deps
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Build
command: npm run build

test_node_12:
<<: *unit-tests-template
docker:
- image: circleci/node:12

test_node_14:
<<: *unit-tests-template
docker:
- image: circleci/node:14

test_node_16:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:16.19
steps:
- checkout
- *restore-cache
Expand All @@ -77,6 +67,16 @@ jobs:
- store_artifacts:
path: coverage

test_node_18:
<<: *unit-tests-template
docker:
- image: cimg/node:18.14

test_node_19:
<<: *unit-tests-template
docker:
- image: cimg/node:19.8

lint:
working_directory: ~/nest
docker:
Expand All @@ -97,17 +97,17 @@ jobs:
machine: true
steps:
- checkout
- run:
- run:
name: Prepare nvm
command: |
echo 'export NVM_DIR="/opt/circleci/.nvm"' >> $BASH_ENV
echo ' [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run:
- run:
name: Upgrade Node.js
command: |
nvm install v12
nvm install v16
node -v
nvm alias default v12
nvm alias default v16
- run:
name: Install Docker Compose
command: |
Expand All @@ -126,11 +126,11 @@ jobs:
- run:
name: Integration tests
command: npm run test:integration

codechecks_benchmarks:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:16.19
steps:
- checkout
- *restore-cache
Expand All @@ -146,7 +146,7 @@ jobs:
samples:
working_directory: ~/nest
docker:
- image: circleci/node:16
- image: cimg/node:16.19
environment:
- DISABLE_OPENCOLLECTIVE: true
steps:
Expand All @@ -165,10 +165,7 @@ workflows:
- test_node_16:
requires:
- build
- test_node_14:
requires:
- build
- test_node_12:
- test_node_18:
requires:
- build
- lint:
Expand Down
2 changes: 1 addition & 1 deletion integration/auto-mock/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es6",
"target": "ES2021",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",
Expand Down
39 changes: 0 additions & 39 deletions integration/cache/e2e/async-register-extra-providers.ts

This file was deleted.

39 changes: 0 additions & 39 deletions integration/cache/e2e/async-register.spec.ts

This file was deleted.

35 changes: 0 additions & 35 deletions integration/cache/e2e/custom-ttl.spec.ts

This file was deleted.

31 changes: 0 additions & 31 deletions integration/cache/e2e/multi-store.spec.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.