You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2026/08/06 13:08:56 UTC

(kyuubi) branch branch-1.12 updated: [KYUUBI #7601] [Web] Bump Node.js to v24 LTS and pnpm to v11

This is an automated email from the ASF dual-hosted git repository.

pan3793 pushed a commit to branch branch-1.12
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/branch-1.12 by this push:
     new d245ad46ec [KYUUBI #7601] [Web] Bump Node.js to v24 LTS and pnpm to v11
d245ad46ec is described below

commit d245ad46ec19f7e09a42d16a071c74ab954f5a01
Author: Bowen Liang <li...@qq.com>
AuthorDate: Thu Aug 6 21:08:23 2026 +0800

    [KYUUBI #7601] [Web] Bump Node.js to v24 LTS and pnpm to v11
    
    ### Why are the changes needed?
    
    Stay on a supported LTS line and pick up the latest pnpm stable. Node v22 has moved to Maintenance LTS (security fixes only, EOL 2027-04-30); v24 is the current Active LTS and is supported until 2028-04-30. pnpm v12 is still beta, so the latest v11 stable is the right target.
    
    | Tool    | Before   | After            | Released   |
    | ------- | -------- | ---------------- | ---------- |
    | Node.js | v22.23.1 | **v24.11.1** (Active LTS) | 2025-11-11 |
    | pnpm    | v9.11.0  | **v11.18.0**     | 2026-07-29 |
    
    Migration notes:
    
    - pnpm v11 no longer reads the `pnpm` field in `package.json`; moved the security overrides to a new `kyuubi-server/web-ui/pnpm-workspace.yaml`.
    - pnpm v11's `strictDepBuilds` defaults to true; explicitly allow `parcel/watcher` and `vue-demi` via `allowBuilds` since Vite's toolchain depends on their install/postinstall scripts.
    - `engines.node` simplified to `>=24.0.0`.
    
    ### How was this patch tested?
    
    - Local `pnpm install` against the updated toolchain succeeded with no resolution drift (lockfile content byte-identical to v9.11.0).
    - `pnpm run build` and `pnpm run lint` pass locally.
    - GitHub `web-ui` and `style` workflows both read `node.version` / `pnpm.version` from `pom.xml` and will exercise the new versions end-to-end.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Yes. Assisted-by: OpenCode with MiniMax-M3
    
    Closes #7601 from bowenliang123/kyuubi-bump-node-pnpm.
    
    Closes #7601
    
    0a8c1090c [Bowen Liang] [INFRA] Bump Node.js to v24 LTS and pnpm to v11
    
    Authored-by: Bowen Liang <li...@qq.com>
    Signed-off-by: Cheng Pan <ch...@apache.org>
    (cherry picked from commit ccddf8e56cf3bfce0fed300069e3bd610a902191)
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 .rat-excludes                            |  1 +
 kyuubi-server/web-ui/README.md           |  4 ++--
 kyuubi-server/web-ui/package.json        | 10 +---------
 kyuubi-server/web-ui/pnpm-workspace.yaml |  9 +++++++++
 pom.xml                                  |  4 ++--
 5 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/.rat-excludes b/.rat-excludes
index f7a57ec3c9..58d49fbf04 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -49,6 +49,7 @@ build/scala-*/**
 **/web-ui/dist/**
 **/web-ui/coverage/**
 **/pnpm-lock.yaml
+**/pnpm-workspace.yaml
 **/node_modules/**
 **/gen/*
 **/*.tokens
diff --git a/kyuubi-server/web-ui/README.md b/kyuubi-server/web-ui/README.md
index 5c3b1313fd..4e233fc539 100644
--- a/kyuubi-server/web-ui/README.md
+++ b/kyuubi-server/web-ui/README.md
@@ -2,7 +2,7 @@
 
 ### Start Using
 
-Node.js 18 or higher is required.
+Node.js 24 or higher is required.
 You can learn how to install the corresponding version from its official website.
 
 - [node](https://nodejs.org/en/)
@@ -45,7 +45,7 @@ npm run prettier
 
 ### Recommend
 
-If you want to save disk space and boost installation speed, we recommend using `pnpm 8.x.x` to instead of npm.
+If you want to save disk space and boost installation speed, we recommend using `pnpm 11.x.x` to instead of npm.
 You can learn how to install the corresponding version from its official website.
 
 - [pnpm](https://pnpm.io/)
diff --git a/kyuubi-server/web-ui/package.json b/kyuubi-server/web-ui/package.json
index 14d41bcc13..a7843bd34b 100644
--- a/kyuubi-server/web-ui/package.json
+++ b/kyuubi-server/web-ui/package.json
@@ -15,7 +15,7 @@
     "coverage": "vitest run --coverage"
   },
   "engines": {
-    "node": "^20.19.0 || >=22.12.0"
+    "node": ">=24.0.0"
   },
   "dependencies": {
     "@element-plus/icons-vue": "^2.3.2",
@@ -54,13 +54,5 @@
     "vite": "^8.1.2",
     "vitest": "^4.1.9",
     "vue-tsc": "^3.3.6"
-  },
-  "pnpm": {
-    "overrides": {
-      "lodash": "^4.18.1",
-      "lodash-es": "^4.18.1",
-      "brace-expansion@1": "^1.1.15",
-      "picomatch@2": "^2.3.2"
-    }
   }
 }
diff --git a/kyuubi-server/web-ui/pnpm-workspace.yaml b/kyuubi-server/web-ui/pnpm-workspace.yaml
new file mode 100644
index 0000000000..677f3cf17f
--- /dev/null
+++ b/kyuubi-server/web-ui/pnpm-workspace.yaml
@@ -0,0 +1,9 @@
+overrides:
+  lodash: ^4.18.1
+  lodash-es: ^4.18.1
+  brace-expansion@1: ^1.1.15
+  picomatch@2: ^2.3.2
+
+allowBuilds:
+  '@parcel/watcher': true
+  vue-demi: true
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 40217f6bc7..2d6a571b5f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -233,8 +233,8 @@
 
         <!-- webui -->
         <webui.skip>true</webui.skip>
-        <node.version>v22.23.1</node.version>
-        <pnpm.version>v9.11.0</pnpm.version>
+        <node.version>v24.11.1</node.version>
+        <pnpm.version>v11.18.0</pnpm.version>
 
         <hive.jdbc.artifact>kyuubi-hive-jdbc</hive.jdbc.artifact>