Skip to content

Commit 286624d

Browse files
feat(NODE-7155)!: update minimum supported Node version to 20.19.0 (#268)
1 parent 6b022d3 commit 286624d

File tree

5 files changed

+6
-55
lines changed

5 files changed

+6
-55
lines changed

.evergreen/config.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -120,29 +120,6 @@ tasks:
120120
- func: run prebuild
121121

122122
buildvariants:
123-
- name: ubuntu2204-x64-node-16
124-
display_name: 'Ubuntu 22.04 x64 - Node 16'
125-
run_on: ubuntu2204-small
126-
expansions:
127-
has_packages: true
128-
packager_distro: ubuntu2204
129-
packager_arch: x86_64
130-
NODE_LTS_VERSION: "16"
131-
NPM_VERSION: "9"
132-
tasks:
133-
- run-tests-ubuntu
134-
- run-tests-ubuntu-rtld
135-
- name: ubuntu2204-x64-node-18
136-
display_name: 'Ubuntu 22.04 x64 - Node 18'
137-
run_on: ubuntu2204-small
138-
expansions:
139-
has_packages: true
140-
packager_distro: ubuntu2204
141-
packager_arch: x86_64
142-
NODE_LTS_VERSION: "18"
143-
tasks:
144-
- run-tests-ubuntu
145-
- run-tests-ubuntu-rtld
146123
- name: ubuntu2204-x64-node-20
147124
display_name: 'Ubuntu 22.04 x64 - Node 20'
148125
run_on: ubuntu2204-small
@@ -165,29 +142,6 @@ buildvariants:
165142
tasks:
166143
- run-tests-ubuntu
167144
- run-tests-ubuntu-rtld
168-
- name: ubuntu2204-arm64-node-16
169-
display_name: 'Ubuntu 22.04 arm64 - Node 16'
170-
run_on: ubuntu2204-arm64-small
171-
expansions:
172-
has_packages: true
173-
packager_distro: ubuntu2204
174-
packager_arch: arm64
175-
NODE_LTS_VERSION: "16"
176-
NPM_VERSION: "9"
177-
tasks:
178-
- run-tests-ubuntu
179-
- run-tests-ubuntu-rtld
180-
- name: ubuntu2204-arm64-node-18
181-
display_name: 'Ubuntu 22.04 arm64 - Node 18'
182-
run_on: ubuntu2204-arm64-small
183-
expansions:
184-
has_packages: true
185-
packager_distro: ubuntu2204
186-
packager_arch: arm64
187-
NODE_LTS_VERSION: "18"
188-
tasks:
189-
- run-tests-ubuntu
190-
- run-tests-ubuntu-rtld
191145
- name: ubuntu2204-arm64-node-20
192146
display_name: 'Ubuntu 22.04 arm64 - Node 20'
193147
run_on: ubuntu2204-arm64-small

.evergreen/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o errexit # Exit the script with error if any of the commands fail
55
## a nodejs major version (i.e., 16)
66
## 'latest'
77
## a full nodejs version, in the format v<major>.<minor>.patch
8-
export NODE_LTS_VERSION=${NODE_LTS_VERSION:-14}
8+
export NODE_LTS_VERSION=${NODE_LTS_VERSION:-20}
99
# npm version can be defined in the environment for cases where we need to install
1010
# a version lower than latest to support EOL Node versions. When not provided will
1111
# be handled by this script in drivers tools.

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ updates:
2323
# chalk is esmodule only.
2424
- dependency-name: "chalk"
2525
versions: [">=5.0.0"]
26-
# nyc is Node18+ only starting on nyc@16.x.
27-
- dependency-name: "nyc"
28-
versions: [">=16.0.0"]
2926
# we ignore TS as a part of quarterly dependency updates.
3027
- dependency-name: "typescript"
3128
# node-gyp now depends on python 3.10, we install 3.6 in our dockerfile

.github/docker/Dockerfile.glibc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM ubuntu:bionic AS build
1+
FROM ubuntu:noble AS build
22

33
# Possible values: s390x, arm64, x64
44
ARG NODE_ARCH
5-
ADD https://nodejs.org/dist/v16.20.1/node-v16.20.1-linux-${NODE_ARCH}.tar.gz /
6-
RUN mkdir -p /nodejs && tar -xzf /node-v16.20.1-linux-${NODE_ARCH}.tar.gz --strip-components=1 -C /nodejs
5+
ADD https://nodejs.org/dist/v20.19.0/node-v20.19.0-linux-${NODE_ARCH}.tar.gz /
6+
RUN mkdir -p /nodejs && tar -xzf /node-v20.19.0-linux-${NODE_ARCH}.tar.gz --strip-components=1 -C /nodejs
77
ENV PATH=$PATH:/nodejs/bin
88

99
WORKDIR /kerberos

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"prebuild": "prebuild --runtime napi --strip --verbose --all"
6565
},
6666
"engines": {
67-
"node": ">=12.9.0"
67+
"node": ">=20.19.0"
6868
},
6969
"binary": {
7070
"napi_versions": [
@@ -73,4 +73,4 @@
7373
},
7474
"license": "Apache-2.0",
7575
"readmeFilename": "README.md"
76-
}
76+
}

0 commit comments

Comments
 (0)