Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle: Upgrade runtimes and CA certificates to distrust compromised intermediates https://github.com/siyuan-note/siyuan/issues/20780

Daniel26c7670987ff
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 18ad0ae9b7..264cda6d0b 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -21,10 +21,10 @@ Do not mix this method with pnpm's standalone installation scripts (`@pnpm/exe`)
Set the Electron mirror environment variable and install Electron:
-* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
+* macOS/Linux: `ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
* Windows:
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
- * `pnpm install [email protected] -D`
+ * `pnpm install [email protected] -D`
NPM mirror:
@@ -34,7 +34,7 @@ NPM mirror:
Enter the app folder and execute:
-* `pnpm install [email protected] -D`
+* `pnpm install [email protected] -D`
* `pnpm run install:electron`
* `pnpm run dev`
* `pnpm run start`
diff --git a/.github/CONTRIBUTING.zh-CN.md b/.github/CONTRIBUTING.zh-CN.md
index f4a5be79c4..7cf24d5498 100644
--- a/.github/CONTRIBUTING.zh-CN.md
+++ b/.github/CONTRIBUTING.zh-CN.md
@@ -21,10 +21,10 @@ Electron 44 要求 macOS 13 或更高版本,Windows 和 Linux 仅支持 64 位
设置 Electron 镜像环境变量并安装 Electron:
-* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
+* macOS/Linux:`ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ pnpm install [email protected] -D`
* Windows:
* `SET ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/`
- * `pnpm install [email protected] -D`
+ * `pnpm install [email protected] -D`
NPM 镜像:
@@ -34,7 +34,7 @@ NPM 镜像:
进入 app 文件夹执行:
-* `pnpm install [email protected] -D`
+* `pnpm install [email protected] -D`
* `pnpm run install:electron`
* `pnpm run dev`
* `pnpm run start`
diff --git a/Dockerfile b/Dockerfile
index 3adef1cdfa..42c33c5ac0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,5 @@
ARG ALPINE_IMAGE=alpine:3.24@sha256:294b683cb724975bec92580e1e685676bd4b50bda910ddb8c51d4cabeaec77e6
-ARG GO_IMAGE=golang:1.26-alpine@sha256:3082400e369fa24d5fc60bca20edab3f6d604e0c5a690ec66b295eff4dd87ade
+ARG GO_IMAGE=golang:1.26-alpine@sha256:9ce231b28998b32e116927c61aa5c406183061d4f3f2d61b292c88e7f6bdf7ca
ARG ONNX_VERSION=1.24.3
ARG ONNX_IMAGE=onnx-artifact
@@ -150,7 +150,7 @@ COPY --from=onnx-runtime /onnx-artifacts/ /ocr/linux-${TARGETARCH}/
FROM ${ALPINE_IMAGE}
LABEL maintainer="Liang Ding<[email protected]>"
-RUN apk add --no-cache ca-certificates tzdata su-exec libstdc++
+RUN apk add --no-cache 'ca-certificates>=20261020-r0' tzdata su-exec libstdc++
ENV TZ=Asia/Shanghai
ENV HOME=/home/siyuan
diff --git a/app/package.json b/app/package.json
index 26f9645ec8..a2cc39359d 100644
--- a/app/package.json
+++ b/app/package.json
@@ -75,7 +75,7 @@
"cross-env": "^10.1.0",
"css-loader": "^7.1.2",
"dayjs": "^1.11.5",
- "electron": "44.9.0",
+ "electron": "44.9.3",
"electron-builder": "26.15.7",
"encoding": "^0.1.13",
"esbuild-loader": "^4.5.0",
diff --git a/app/pnpm-lock.yaml b/app/pnpm-lock.yaml
index 6b8f4bec30..9357f2d827 100644
--- a/app/pnpm-lock.yaml
+++ b/app/pnpm-lock.yaml
@@ -171,7 +171,7 @@ importers:
dependencies:
'@electron/remote':
specifier: ^2.1.3
zxcvbn:
specifier: 4.4.2
version: 4.4.2
@@ -213,8 +213,8 @@ importers:
specifier: ^1.11.5
version: 1.11.20
electron:
- specifier: 44.9.0
- version: 44.9.0([email protected])
+ specifier: 44.9.3
+ version: 44.9.3([email protected])
electron-builder:
specifier: 26.15.7
@@ -1702,8 +1702,8 @@ packages:
resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==}
engines: {node: '>=8.0.0'}
- resolution: {integrity: sha512-boP8zA5OIoMGYe3uWP4IqB1VJNoEzdHYgcBaVYnd1DBv5TogwXkbM4yJGSfNmYCzalVQ5J3TAIbaKOY+ILTnyg==}
+ resolution: {integrity: sha512-Cv9/yMnZxNWsMlIe8T4v//NKHdUvbeyoTJoXE3BIcRxus2meeFaO9h/P3zB5d4cBXum51IgAYrT2QjpIDWKpJA==}
engines: {node: '>= 22.12.0'}
hasBin: true
@@ -3414,9 +3414,9 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- electron: 44.9.0([email protected])
+ electron: 44.9.3([email protected])
dependencies:
@@ -4650,7 +4650,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@electron-internal/extract-zip': 1.0.3
'@electron/get': 4.0.3([email protected])
diff --git a/app/pnpm-workspace.yaml b/app/pnpm-workspace.yaml
index ebc9e2af30..3c65bbb4e7 100644
--- a/app/pnpm-workspace.yaml
+++ b/app/pnpm-workspace.yaml
@@ -5,7 +5,7 @@ allowBuilds:
esbuild: true
blockExoticSubdeps: false
minimumReleaseAgeExclude:
diff --git a/kernel/go.mod b/kernel/go.mod
index ac9491aa22..9c7c5ecb7f 100644
--- a/kernel/go.mod
+++ b/kernel/go.mod
@@ -1,6 +1,6 @@
module github.com/siyuan-note/siyuan/kernel
-go 1.26.5
+go 1.26.10
require (
code.sajari.com/docconv v1.3.8