From 30b302e5518c3df92c4b229035b2b229639dfb3c Mon Sep 17 00:00:00 2001 From: hasezoey Date: Tue, 4 Jun 2024 12:03:09 +0200 Subject: [PATCH] feat: set lowest supported nodejs version to 16.20.1 fixes #805 BREAKING CHANGE: Lowest supported NodeJS version is now 16.20.1 --- .github/workflows/tests.yml | 4 ++-- README.md | 2 +- docs/guides/migration/migrate10.md | 6 +++--- docs/guides/quick-start-guide.md | 2 +- packages/mongodb-memory-server-core/package.json | 2 +- .../mongodb-memory-server-core/src/util/MongoInstance.ts | 4 ++-- packages/mongodb-memory-server-global-4.0/package.json | 2 +- packages/mongodb-memory-server-global-4.2/package.json | 2 +- packages/mongodb-memory-server-global-4.4/package.json | 2 +- packages/mongodb-memory-server-global/package.json | 2 +- packages/mongodb-memory-server/package.json | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 821e3e58f..7fdb15728 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x, 18.x, 20.x, 22.x] + node-version: [16.x, 18.x, 20.x, 22.x] steps: - uses: actions/checkout@v4 if: github.event.inputs.git-ref == '' @@ -49,7 +49,7 @@ jobs: env: CI: true - name: Send codecov.io stats - if: matrix.node-version == '14.x' + if: matrix.node-version == '16.x' uses: codecov/codecov-action@v3 publish: diff --git a/README.md b/README.md index 91661e52d..23264bb83 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Choose any package, because they are the same. They differ only in the default c ### Requirements -- NodeJS: 14.20.1+ +- NodeJS: 16.20.1+ - Typescript: 5.0+ (if used) And one of those (on Linux): diff --git a/docs/guides/migration/migrate10.md b/docs/guides/migration/migrate10.md index 07389d40a..0af22883e 100644 --- a/docs/guides/migration/migrate10.md +++ b/docs/guides/migration/migrate10.md @@ -11,11 +11,11 @@ This Guide is written for migration from version `9.4.0` to `10.0.0`, for versio ## Breaking Changes -