chore(release): 版本号统一到 1.1.1(服务端 CSP 白屏修复)

对齐 1.1.0 的做法把版本号统一:5 份 package.json、deploy/package.runtime.json、
两份 .env.example 的 APP_VERSION、两个 docker-compose 的镜像标签、ClassIsland 插件的
manifest.yml 与 BridgeService.PluginVersion(verify:classisland-plugin 有 manifest↔代码
一致性断言,已跑 68/68)、README 首页版本、以及文档与脚本里的安装包名示例,共 28 处。

刻意不动:docs/linux-deploy.md 排障条目里"1.1.0 的服务端在 HTTP 直连访问时会下发 CSP
upgrade-insecure-requests…"——那句说的是**出问题的那个版本**,改成 1.1.1 反而是错的。
This commit is contained in:
LoveChengke committed 2026-10-05 20:05:39 +08:00
1 parent 48e0c89394
commit 79d73c5889
16 files changed
+26 -26

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
SERVER_PORT=4000
# 应用版本(镜像标签)
APP_VERSION=1.1.0
APP_VERSION=1.1.1
# MySQL 配置
MYSQL_ROOT_PASSWORD=请改成强密码_root
+1 -1
View File
@@ -8,7 +8,7 @@
SERVER_PORT=4000
# 应用版本(镜像标签)
APP_VERSION=1.1.0
APP_VERSION=1.1.1
# JWT 签名密钥(必填,必须 ≥32 位;不能包含 secret / change-me 等示例词)
# 生成:node -e "console.log(require('crypto').randomBytes(48).toString('hex'))"
+1 -1
View File
@@ -23,7 +23,7 @@ services:
context: ..
dockerfile: deploy/Dockerfile
target: runtime
image: classhelper-server:${APP_VERSION:-1.1.0}
image: classhelper-server:${APP_VERSION:-1.1.1}
restart: unless-stopped
environment:
NODE_ENV: production
+1 -1
View File
@@ -60,7 +60,7 @@ services:
context: ..
dockerfile: deploy/Dockerfile
target: runtime
image: classhelper-server:${APP_VERSION:-1.1.0}
image: classhelper-server:${APP_VERSION:-1.1.1}
restart: unless-stopped
environment:
NODE_ENV: production
+2 -2
View File
@@ -17,7 +17,7 @@
# 脚本会自动从 GitHub Release 取**最新版**服务端安装包,并取发布页上同名的 .sha256 做校验,
# 所以整条链路只需要这一行。要加参数就接在最后:`sudo bash /tmp/classhelper-install.sh --check`
# --check 只体检、不安装(不需要 root) --yes 全部默认、不交互
# --version 1.1.0 装指定版本 --port 8080 自定义端口
# --version 1.1.1 装指定版本 --port 8080 自定义端口
# --admin-password-stdin 从 stdin 读初始管理员密码
#
# ⚠ 别写成 `bash -c "$(curl …)" --check`:`bash -c '代码' 第一个参数` 里那个参数会变成 **$0**、
@@ -529,7 +529,7 @@ resolve_package_url() {
tag="$(github_latest_tag)" || true
if [ -z "$tag" ]; then
die "取不到 GitHub 最新版本(本机可能没有外网)。请用 --package 指定安装包,例如:
sudo bash install.sh --package /tmp/classhelper-server-linux-x64-1.1.0.tar.gz"
sudo bash install.sh --package /tmp/classhelper-server-linux-x64-1.1.1.tar.gz"
fi
fi
ver="${tag#v}"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "classhelper-server-runtime",
"version": "1.1.0",
"version": "1.1.1",
"private": true,
"type": "module",
"description": "班级小助手服务端运行时(安装包 / 容器内置)",