Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: bump Node.js runtime to 24.22.1 (#44511)

zhsama5c59b9cbf649
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 8495888d2d0..177e763e858 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -12,7 +12,7 @@
"features": {
"ghcr.io/devcontainers/features/node:1": {
"nodeGypDependencies": true,
- "version": "24.20.0"
+ "version": "24.22.1"
},
"ghcr.io/devcontainers-extra/features/npm-package:1": {
"package": "typescript",
diff --git a/api/Dockerfile b/api/Dockerfile
index 032d5475afc..78103976f16 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -53,7 +53,7 @@ WORKDIR /app/api
# Create non-root user
ARG dify_uid=1001
-ARG NODE_PACKAGE_VERSION=24.20.0-1nodesource1
+ARG NODE_PACKAGE_VERSION=24.22.1-1nodesource1
ARG NODESOURCE_KEY_FPR=6F71F525282841EEDAF851B42F59B5F99B1BE0B4
RUN groupadd -r -g ${dify_uid} dify && \
useradd -r -u ${dify_uid} -g ${dify_uid} -s /bin/bash dify && \
diff --git a/cli/package.json b/cli/package.json
index c6da8e4e4d6..1936a9a4b39 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -63,12 +63,12 @@
"devEngines": {
"runtime": {
"name": "node",
- "version": "24.21.0",
+ "version": "24.22.1",
"onFail": "download"
}
},
"engines": {
- "node": "^24.20.0"
+ "node": "^24.22.1"
},
"difyctl": {
"channel": "stable",
diff --git a/dify-agent-runtime/docker/Dockerfile b/dify-agent-runtime/docker/Dockerfile
index e7d8ca56442..a4e0b42cada 100644
--- a/dify-agent-runtime/docker/Dockerfile
+++ b/dify-agent-runtime/docker/Dockerfile
@@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 go build -o /bin/shellctl ./cmd/shellctl && \
# ── Runtime stage ────────────────────────────────────────────────────────────
FROM python:3.13-slim-bookworm AS production
-ARG NODE_VERSION=24.20.0
+ARG NODE_VERSION=24.22.1
ARG PNPM_VERSION=11.9.0
ARG UV_VERSION=0.8.9
diff --git a/package.json b/package.json
index 3f3e4ee2f1c..a65ac65ac05 100644
--- a/package.json
+++ b/package.json
@@ -35,12 +35,12 @@
"devEngines": {
"runtime": {
"name": "node",
- "version": "24.21.0",
+ "version": "24.22.1",
"onFail": "download"
}
},
"engines": {
- "node": "^24.20.0"
+ "node": "^24.22.1"
},
"packageManager": "[email protected]"
}
diff --git a/packages/dev-proxy/package.json b/packages/dev-proxy/package.json
index 3d276cd5158..3cd19e10ecc 100644
--- a/packages/dev-proxy/package.json
+++ b/packages/dev-proxy/package.json
@@ -40,11 +40,11 @@
"devEngines": {
"runtime": {
"name": "node",
- "version": "24.21.0",
+ "version": "24.22.1",
"onFail": "download"
}
},
"engines": {
- "node": "^24.20.0"
+ "node": "^24.22.1"
}
}
diff --git a/packages/image-resources/package.json b/packages/image-resources/package.json
index 1909857de20..f813fcc6143 100644
--- a/packages/image-resources/package.json
+++ b/packages/image-resources/package.json
@@ -25,11 +25,11 @@
"devEngines": {
"runtime": {
"name": "node",
- "version": "24.21.0",
+ "version": "24.22.1",
"onFail": "download"
}
},
"engines": {
- "node": "^24.20.0"
+ "node": "^24.22.1"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6f628c329b1..3ef00da27a2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -827,8 +827,8 @@ importers:
specifier: 'catalog:'
version: 6.42.0
node:
- specifier: runtime:24.21.0
- version: runtime:24.21.0
+ specifier: runtime:24.22.1
+ version: runtime:24.22.1
typescript:
specifier: 'catalog:'
version: '@typescript/[email protected]'
@@ -891,8 +891,8 @@ importers:
specifier: 'catalog:'
version: 4.13.13
node:
- specifier: runtime:24.21.0
- version: runtime:24.21.0
+ specifier: runtime:24.22.1
+ version: runtime:24.22.1
typescript:
specifier: 'catalog:'
version: '@typescript/[email protected]'
@@ -1016,8 +1016,8 @@ importers:
specifier: 'catalog:'
node:
- specifier: runtime:24.21.0
- version: runtime:24.21.0
+ specifier: runtime:24.22.1
+ version: runtime:24.22.1
vite:
specifier: 'catalog:'
@@ -1180,8 +1180,8 @@ importers:
specifier: 'catalog:'
node:
- specifier: runtime:24.21.0
- version: runtime:24.21.0
+ specifier: runtime:24.22.1
+ version: runtime:24.22.1
vite:
specifier: 'catalog:'
@@ -1388,8 +1388,8 @@ importers:
specifier: 'catalog:'
version: 5.0.5(@vitest/[email protected])([email protected])
node:
- specifier: runtime:24.21.0
- version: runtime:24.21.0
+ specifier: runtime:24.22.1
+ version: runtime:24.22.1
typescript:
specifier: 'catalog:'
version: '@typescript/[email protected]'
@@ -7646,7 +7646,7 @@ packages:
resolution: {integrity: sha512-BdiKAgbfRlvfMq/XzO/AF9NPmaA8a+YpLAyAFTVFBj3gARrAIfWvNq7Q7NE4se3KgFu0KkrvQMxTS0XVnsGzHg==}
engines: {node: '>=18'}
- node@runtime:24.21.0:
+ node@runtime:24.22.1:
resolution:
type: variations
variants:
@@ -7654,9 +7654,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-rseyRkr7mfB4wZywbSAdVDvTsxHLoHEoK84bF8l+WLs=
+ integrity: sha256-9ie20HmCnmSKS4AP+oidN9viORNQcDADDbhaqGFZGiY=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-aix-ppc64.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-aix-ppc64.tar.gz
targets:
- cpu: ppc64
os: aix
@@ -7664,9 +7664,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-vtfupTJeEQjzLOUijd1qXw8IpJnuQqp0Qq6lg3AvYFc=
+ integrity: sha256-icaCWT12zUQjP6U7FWMmTn3py7GJytFpE1xbT637wKc=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-darwin-arm64.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-darwin-arm64.tar.gz
targets:
- cpu: arm64
os: darwin
@@ -7674,9 +7674,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-FGLLOzBGuBXPjqQ209pFDsGp8R2sflpGsK2lMF1+gJc=
+ integrity: sha256-0TJVfn7iuFrwiwyMNDOOZcZDDyI40B9ydyjvQtyDsDU=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-darwin-x64.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-darwin-x64.tar.gz
targets:
- cpu: x64
os: darwin
@@ -7684,9 +7684,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-ckKCw7Q67JmKqVJzgEZbRdIp4CG1gDX19PYwleq/5dU=
+ integrity: sha256-M8N74jS6i+4EGWEEexkWD019DxZOjiRveL3RD+/xSLM=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-arm64.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-arm64.tar.gz
targets:
- cpu: arm64
os: linux
@@ -7694,9 +7694,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-UcXVMGbukpILYXg7A7Buy5nzZhFg97Fcp36EdBFaZ7w=
+ integrity: sha256-nOVyhEUBaynkmtCY96M2Bhql93DRd9knJ4vCb9Ym5kM=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-ppc64le.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-ppc64le.tar.gz
targets:
- cpu: ppc64le
os: linux
@@ -7704,9 +7704,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-Xy+jdCLgx13jXBaG/lHXgyTywqj+LMI5pB2cAAop2Tg=
+ integrity: sha256-cZea6xw4W8jugxANODo7HsClIC4D35+ZanBAMwnK/7U=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-s390x.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-s390x.tar.gz
targets:
- cpu: s390x
os: linux
@@ -7714,9 +7714,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-PWNAX8ZaDS0pdsHwvC/Se7C9ByEkaecFqsPwOuWrTJw=
+ integrity: sha256-myUNKdariuON0jAZ4sBKbWspFqsdrXIcX24dorKQHGo=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-x64-musl.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-x64-musl.tar.gz
targets:
- cpu: x64
os: linux
@@ -7725,9 +7725,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-bh24fvWLiBnl1UAu/xU2SRsY7djre+5e94l4duiNxf8=
+ integrity: sha256-62co53xXajUWLBIsRcyt8iTYn/AKvI2uRswol8YALXw=
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-x64.tar.gz
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-x64.tar.gz
targets:
- cpu: x64
os: linux
@@ -7735,10 +7735,10 @@ packages:
archive: zip
bin:
node: node.exe
- integrity: sha256-h3mxveHTn41CDjtXqmV7OYka9DTT3kSpGQRM7AZ4WSE=
- prefix: node-v24.21.0-win-arm64
+ integrity: sha256-oMgHMZ/t4kxKDY+EVkyCphm9MTsWsQwAfDg8JgnpkXE=
+ prefix: node-v24.22.1-win-arm64
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-win-arm64.zip
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-win-arm64.zip
targets:
- cpu: arm64
os: win32
@@ -7746,10 +7746,10 @@ packages:
archive: zip
bin:
node: node.exe
- integrity: sha256-FY92hbRN5R9sDfHRU1JsvNPhvHOajfxgdyHO913p5UE=
- prefix: node-v24.21.0-win-x64
+ integrity: sha256-0gRtKMLD3NIRrFFFwL8w4gR++d+zBmk8jG4uzNi5X6U=
+ prefix: node-v24.22.1-win-x64
type: binary
- url: https://nodejs.org/download/release/v24.21.0/node-v24.21.0-win-x64.zip
+ url: https://nodejs.org/download/release/v24.22.1/node-v24.22.1-win-x64.zip
targets:
- cpu: x64
os: win32
@@ -7757,9 +7757,9 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-MEiwgR4VjKDYZytZyDmGF2PhREkpgNjSmzad/uRXR+Q=
+ integrity: sha256-glQSWCWj5eg0vYomDatMgwP3IEZKdBUG7CeYm5uhdps=
type: binary
- url: https://unofficial-builds.nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-arm64-musl.tar.gz
+ url: https://unofficial-builds.nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-arm64-musl.tar.gz
targets:
- cpu: arm64
os: linux
@@ -7768,14 +7768,14 @@ packages:
archive: tarball
bin:
node: bin/node
- integrity: sha256-AacT402pjntNKjGR7nyj+T3QOE0aLvI8N5shYe5uEzo=
+ integrity: sha256-Cp7dzi0ujzrdvpT6RtdRMlstdPf9HOYylhZNNrbfxuU=
type: binary
- url: https://unofficial-builds.nodejs.org/download/release/v24.21.0/node-v24.21.0-linux-x64-musl.tar.gz
+ url: https://unofficial-builds.nodejs.org/download/release/v24.22.1/node-v24.22.1-linux-x64-musl.tar.gz
targets:
- cpu: x64
os: linux
libc: musl
- version: 24.21.0
+ version: 24.22.1
hasBin: true
@@ -15074,7 +15074,7 @@ snapshots:
- node@runtime:24.21.0: {}
+ node@runtime:24.22.1: {}
dependencies:
diff --git a/sdks/nodejs-client/package.json b/sdks/nodejs-client/package.json
index 871ed3772a1..472273a1838 100644
--- a/sdks/nodejs-client/package.json
+++ b/sdks/nodejs-client/package.json
@@ -62,7 +62,7 @@
"devEngines": {
"runtime": {
"name": "node",
- "version": "24.21.0",
+ "version": "24.22.1",
"onFail": "download"
}
},
diff --git a/web/Dockerfile b/web/Dockerfile
index b60983d5665..a2e72d3a10c 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,5 +1,5 @@
# base image
-ARG NODE_VERSION=24.20.0
+ARG NODE_VERSION=24.22.1
FROM node:${NODE_VERSION}-alpine AS base
LABEL maintainer="[email protected]"