diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e29004c274f..02dc27f99f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,7 +46,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - node-version: [18, 19, 20, 21, 22, 23, 24, 25, 26] + node-version: [24, 25, 26] # Node.js release schedule: https://nodejs.org/en/about/releases/ name: Node.js ${{ matrix.node-version }} - ${{matrix.os}} diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index d015c745df1..b2be5526f7f 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -30,7 +30,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - node-version: [16, 17] + node-version: [18, 20, 22] # Node.js release schedule: https://nodejs.org/en/about/releases/ name: Node.js ${{ matrix.node-version }} - ${{matrix.os}} diff --git a/History.md b/History.md index 1bc69b7fc70..bdbbcf0d427 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,9 @@ +# Unreleased Changes + +## ⚠️ Breaking changes + +* Drop support for Node.js 18, 20 and 22. Express now requires Node.js 24 or higher (`engines.node` is `>= 24`). Node.js 18 and 20 are already end of life and Node.js 22 reaches end of life on 2027-04-30, before the expected 6.0 release + 5.3.0 ===== diff --git a/Readme.md b/Readme.md index 393c992807c..aac506948ed 100644 --- a/Readme.md +++ b/Readme.md @@ -53,7 +53,7 @@ This is a [Node.js](https://nodejs.org/en/) module available through the [npm registry](https://www.npmjs.com/). Before installing, [download and install Node.js](https://nodejs.org/en/download/). -Node.js 18 or higher is required. +Node.js 24 or higher is required. If this is a brand new project, make sure to create a `package.json` first with the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file). diff --git a/package.json b/package.json index a7fae5a21b0..dede544c129 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "vhost": "~3.0.2" }, "engines": { - "node": ">= 18" + "node": ">= 24" }, "files": [ "LICENSE",