This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
The following commit(s) were added to refs/heads/main by this push:
new af9c5ede Upgrade Node.js support from 20.12 to 24.6.0 (#912)
af9c5ede is described below
commit af9c5ede32b18860d43de0da6b09bacdcf92983e
Author: XL Zhao <[email protected]>
AuthorDate: Mon Dec 29 17:02:42 2025 +0800
Upgrade Node.js support from 20.12 to 24.6.0 (#912)
---
.github/actions/setup-build-env/action.yml | 4 ++--
.github/workflows/prepare.yml | 2 +-
CHANGES.md | 4 ++++
CONTRIBUTING.md | 2 +-
Makefile | 2 +-
dist/LICENSE | 4 ++--
docs/installation/binaries.md | 2 +-
mcp/LICENSE | 4 ++--
mcp/package-lock.json | 20 +++++++++++---------
mcp/package.json | 4 ++--
scripts/build/version.mk | 2 +-
ui/package-lock.json | 2 +-
ui/package.json | 2 +-
13 files changed, 30 insertions(+), 24 deletions(-)
diff --git a/.github/actions/setup-build-env/action.yml
b/.github/actions/setup-build-env/action.yml
index e906382d..cd7e777c 100644
--- a/.github/actions/setup-build-env/action.yml
+++ b/.github/actions/setup-build-env/action.yml
@@ -37,9 +37,9 @@ runs:
name: build-artifacts
- name: Setup Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
- node-version: 20.12
+ node-version: 24.6.0
cache: 'npm'
cache-dependency-path: |
ui/package-lock.json
diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml
index 0a621ae9..d76de230 100644
--- a/.github/workflows/prepare.yml
+++ b/.github/workflows/prepare.yml
@@ -36,7 +36,7 @@ jobs:
key: ${{ runner.os }}-generate-tool-${{ hashFiles('**/version.mk') }}
- uses: actions/setup-node@v4
with:
- node-version: 20.12
+ node-version: 24.6.0
cache: 'npm'
cache-dependency-path: |
ui/package-lock.json
diff --git a/CHANGES.md b/CHANGES.md
index a80ea12c..2d615f9e 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -31,6 +31,10 @@ Release Notes.
- Add FODC overview doc.
- Remove Java client doc, and recreate client APIs docs.
+### Chores
+
+- Upgrade Node.js support from 20.12 to 24.6.0, and align CI, license checks,
and documentation
+
## 0.9.0
### Features
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b026dc3e..c676e0d4 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -42,7 +42,7 @@ Once we've discussed your changes and you've got your code
ready, make sure that
Users who want to build a binary from sources have to set up:
* Go 1.25
-* Node 20.12
+* Node 24.6.0
* Git >= 2.30
* Linux, macOS or Windows + WSL2
* GNU make
diff --git a/Makefile b/Makefile
index 4d22536d..feba5e26 100644
--- a/Makefile
+++ b/Makefile
@@ -225,4 +225,4 @@ release-push-candidate: ## Push release candidate
.PHONY: test test-race test-coverage test-ci test-docker
.PHONY: license-check license-fix license-dep
.PHONY: release release-binary release-source release-sign release-assembly
-.PHONY: vendor-update
+.PHONY: vendor-update
\ No newline at end of file
diff --git a/dist/LICENSE b/dist/LICENSE
index cdac2df7..d64a2837 100644
--- a/dist/LICENSE
+++ b/dist/LICENSE
@@ -659,7 +659,7 @@ MIT licenses
========================================================================
@modelcontextprotocol/sdk 1.24.1 MIT
- @types/node 20.19.25 MIT
+ @types/node 24.10.4 MIT
@types/node-fetch 2.6.13 MIT
abort-controller 3.0.0 MIT
accepts 2.0.0 MIT
@@ -756,7 +756,7 @@ MIT licenses
toidentifier 1.0.1 MIT
tr46 0.0.3 MIT
type-is 2.0.1 MIT
- undici-types 6.21.0 MIT
+ undici-types 7.16.0 MIT
unpipe 1.0.0 MIT
vary 1.1.2 MIT
web-streams-polyfill 4.0.0-beta.3 MIT
diff --git a/docs/installation/binaries.md b/docs/installation/binaries.md
index 2eeade4e..e7119050 100644
--- a/docs/installation/binaries.md
+++ b/docs/installation/binaries.md
@@ -57,7 +57,7 @@ The banyand and bydbctl directory structure is as follows.
Users who want to build a binary from sources have to set up:
* Go 1.23
-* Node 20.12
+* Node 24.6.0
* Git >= 2.30
* Linux, macOS or Windows+WSL2
* GNU make
diff --git a/mcp/LICENSE b/mcp/LICENSE
index 07b82f5b..8dbdd7ff 100644
--- a/mcp/LICENSE
+++ b/mcp/LICENSE
@@ -61,7 +61,7 @@ MIT licenses
========================================================================
@modelcontextprotocol/sdk 1.24.1 MIT
- @types/node 20.19.25 MIT
+ @types/node 24.10.4 MIT
@types/node-fetch 2.6.13 MIT
abort-controller 3.0.0 MIT
accepts 2.0.0 MIT
@@ -158,7 +158,7 @@ MIT licenses
toidentifier 1.0.1 MIT
tr46 0.0.3 MIT
type-is 2.0.1 MIT
- undici-types 6.21.0 MIT
+ undici-types 7.16.0 MIT
unpipe 1.0.0 MIT
vary 1.1.2 MIT
web-streams-polyfill 4.0.0-beta.3 MIT
diff --git a/mcp/package-lock.json b/mcp/package-lock.json
index 24f46605..93270c8c 100644
--- a/mcp/package-lock.json
+++ b/mcp/package-lock.json
@@ -14,7 +14,7 @@
"openai": "^4.20.0"
},
"devDependencies": {
- "@types/node": "^20.0.0",
+ "@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"eslint": "^9.39.1",
@@ -26,7 +26,7 @@
"typescript-eslint": "^8.47.0"
},
"engines": {
- "node": ">=20.12.2"
+ "node": ">=24.6.0"
}
},
"node_modules/@esbuild/aix-ppc64": {
@@ -774,11 +774,12 @@
"dev": true
},
"node_modules/@types/node": {
- "version": "20.19.25",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.25.tgz",
- "integrity":
"sha512-ZsJzA5thDQMSQO788d7IocwwQbI8B5OPzmqNvpf3NY/+MHDAS759Wo0gd2WQeXYt5AAAQjzcrTVC6SKCuYgoCQ==",
+ "version": "24.10.4",
+ "resolved":
"https://registry.npmmirror.com/@types/node/-/node-24.10.4.tgz",
+ "integrity":
"sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg==",
+ "license": "MIT",
"dependencies": {
- "undici-types": "~6.21.0"
+ "undici-types": "~7.16.0"
}
},
"node_modules/@types/node-fetch": {
@@ -3237,9 +3238,10 @@
}
},
"node_modules/undici-types": {
- "version": "6.21.0",
- "resolved":
"https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
- "integrity":
"sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="
+ "version": "7.16.0",
+ "resolved":
"https://registry.npmmirror.com/undici-types/-/undici-types-7.16.0.tgz",
+ "integrity":
"sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
+ "license": "MIT"
},
"node_modules/universalify": {
"version": "2.0.1",
diff --git a/mcp/package.json b/mcp/package.json
index 1797cbb5..4315599a 100644
--- a/mcp/package.json
+++ b/mcp/package.json
@@ -26,7 +26,7 @@
"openai": "^4.20.0"
},
"devDependencies": {
- "@types/node": "^20.0.0",
+ "@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"eslint": "^9.39.1",
@@ -38,6 +38,6 @@
"typescript-eslint": "^8.47.0"
},
"engines": {
- "node": ">=20.12.2"
+ "node": ">=24.6.0"
}
}
diff --git a/scripts/build/version.mk b/scripts/build/version.mk
index 5a05fdde..6c741d18 100644
--- a/scripts/build/version.mk
+++ b/scripts/build/version.mk
@@ -25,7 +25,7 @@ PROTOC_GEN_VALIDATE_VERSION := v1.2.1
GOLANGCI_LINT_VERSION := v1.64.8
REVIVE_VERSION := v1.13.0
-LICENSE_EYE_VERSION := b7f8b351c2db8005972712d7efc0a15484a15bcb
+LICENSE_EYE_VERSION := 55373684d1b70e5f8fd9fc8ec114a89ad11a56a3
MOCKGEN_VERSION := v0.6.0
diff --git a/ui/package-lock.json b/ui/package-lock.json
index 93129819..d0c43b3f 100644
--- a/ui/package-lock.json
+++ b/ui/package-lock.json
@@ -32,7 +32,7 @@
"vite": "^6.4.1"
},
"engines": {
- "node": "20.12.2"
+ "node": "24.6.0"
}
},
"node_modules/@antfu/utils": {
diff --git a/ui/package.json b/ui/package.json
index ce6a11e8..eac98f50 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -2,7 +2,7 @@
"name": "ui",
"version": "0.1.0",
"engines": {
- "node": "20.12.2"
+ "node": "24.6.0"
},
"scripts": {
"dev": "vite",