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": {