From 40ce3c93aa682fc746724abb237c5da28ddc316d Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sun, 1 Sep 2024 16:04:18 +0200 Subject: [PATCH] Drop support for Node.js 19 and 21 --- .github/workflows/high-depends.yml | 2 +- .github/workflows/low-depends.yml | 2 +- .github/workflows/stable-tests.yml | 2 +- CHANGELOG.md | 2 ++ package.json | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/high-depends.yml b/.github/workflows/high-depends.yml index 7ea7e338..c820a1b2 100644 --- a/.github/workflows/high-depends.yml +++ b/.github/workflows/high-depends.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-2019] - node-versions: ['18', '20', '21', '22'] + node-versions: ['18', '20', '22'] steps: - name: Checkout diff --git a/.github/workflows/low-depends.yml b/.github/workflows/low-depends.yml index 373316ab..2f3f0d11 100644 --- a/.github/workflows/low-depends.yml +++ b/.github/workflows/low-depends.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-2019] - node-versions: ['18', '20', '21', '22'] + node-versions: ['18', '20', '22'] steps: - name: Checkout diff --git a/.github/workflows/stable-tests.yml b/.github/workflows/stable-tests.yml index ab0c241e..9e61a235 100644 --- a/.github/workflows/stable-tests.yml +++ b/.github/workflows/stable-tests.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-2019] - node-versions: ['18', '20', '21', '22'] + node-versions: ['18', '20', '22'] steps: - name: Checkout diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ea0094..cebc8c42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This is a new major version that contains several backwards-compatibility breaks ### BC Breaks +* #1321 Drop support of Node.js 19 and 21 (@Kocal) + * #1307 Drop `webpack-cli` 4 support, only `webpack-cli` ^5.1.4 is supported (@Kocal) * #1308 Drop Vue 2 support (End-Of-Life), only Vue 3 is supported (@Kocal) diff --git a/package.json b/package.json index c3195b08..15ad8764 100755 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "url": "https://github.com/symfony/webpack-encore/issues" }, "engines": { - "node": ">=18.0.0" + "node": "^18.0.0 || ^20.0.0 || >=22.0" }, "homepage": "https://github.com/symfony/webpack-encore", "dependencies": {