From d611d91cbcca83f6046a7dfeb13d864730a396e7 Mon Sep 17 00:00:00 2001 From: Diecodev Date: Thu, 29 Oct 2026 09:45:33 -0500 Subject: [PATCH] =?UTF-8?q?build!:=20=E2=AC=86=EF=B8=8F=20require=20Node?= =?UTF-8?q?=2022.12=20or=20later,=20and=20build=20on=20Node=2026?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit engines.node came from Vite 8's template (`^20.19.0 || >=22.12.0`), and Node 20 reached its end of life on 2026-04-30. qwik-date 2 now asks for Node 22.12 or later, the oldest LTS still supported and Vite 8's minimum for it, in the library and in the website. It stays a range: the components run in the browser and Node only builds them, so Node 22 and 24 (both still supported) keep working. The CI and the release workflow run on Node 26, the latest LTS since 2026-10-28: the tests, the builds and the website pass on it. BREAKING CHANGE: Node 20 is no longer supported: qwik-date needs Node 22.12 or later. --- .github/actions/setup/action.yml | 6 +++--- .github/workflows/release.yml | 2 +- package.json | 2 +- website/package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index f5aa37b..9765811 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -1,5 +1,5 @@ name: Setup -description: pnpm (the version in packageManager), Node 24 and the dependencies, as the lockfile pins them +description: pnpm (the version in packageManager), Node 26 and the dependencies, as the lockfile pins them runs: using: composite @@ -8,10 +8,10 @@ runs: - name: Install pnpm uses: pnpm/action-setup@v6 - - name: Use Node.js 24 + - name: Use Node.js 26 uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 cache: pnpm - name: Install dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07d554a..a5dc09b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v7 with: - node-version: 24 + node-version: 26 # a draft: publish it once the staged version is approved on npm - run: npx changelogithub@15.0.5 --draft ${{ contains(github.ref_name, '-') && '--prerelease' || '' }} env: diff --git a/package.json b/package.json index b42fa2d..46517b1 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "lib-types" ], "engines": { - "node": "^20.19.0 || >=22.12.0" + "node": ">=22.12.0" }, "packageManager": "pnpm@12.16.1", "private": false, diff --git a/website/package.json b/website/package.json index eaa6443..84e1b4b 100644 --- a/website/package.json +++ b/website/package.json @@ -2,7 +2,7 @@ "name": "my-qwik-basic-starter", "description": "Demo App with Routing built-in (recommended)", "engines": { - "node": "^20.19.0 || >=22.12.0" + "node": ">=22.12.0" }, "engines-annotation": "Mostly required by sharp which needs a Node-API v9 compatible runtime", "private": true,