feat: 6.0.3

This commit is contained in:
xiaobing.wang
2024-06-06 16:07:28 +08:00
parent 24f7bb674e
commit def3645c9a
5 changed files with 29 additions and 4 deletions

View File

@@ -1,5 +1,15 @@
# SAFELINE-CE CHANGELOG
## [6.0.3] - 2024-06-06
### 优化
* 修复动态防护在观察模式下仍然生效的问题
* 修复响应码不为 200 的请求,也会采集进资源的问题
* 修复自定义规则中,路径匹配条件未包括参数的问题
* 修复使用动态防护时 23333 端口被占用的问题
* 修复动态防护选择防护资源时的一些交互细节问题
* 优化其他一些 UI 交互细节
## [6.0.2] - 2024-06-03
### 优化

View File

@@ -6,6 +6,17 @@ title: "版本更新记录"
[版本升级方法](/guide/upgrade)
### [6.0.3] - 2024-06-06
#### 优化
* 修复动态防护在观察模式下仍然生效的问题
* 修复响应码不为 200 的请求,也会采集进资源的问题
* 修复自定义规则中,路径匹配条件未包括参数的问题
* 修复使用动态防护时 23333 端口被占用的问题
* 修复动态防护选择防护资源时的一些交互细节问题
* 优化其他一些 UI 交互细节
### [6.0.2] - 2024-06-03
#### 优化

View File

@@ -91,6 +91,7 @@ services:
- /etc/resolv.conf:/etc/resolv.conf:ro
- ${SAFELINE_DIR}/resources/nginx:/etc/nginx
- ${SAFELINE_DIR}/resources/detector:/resources/detector
- ${SAFELINE_DIR}/resources/chaos:/resources/chaos
- ${SAFELINE_DIR}/logs/nginx:/var/log/nginx
- ${SAFELINE_DIR}/resources/cache:/usr/local/nginx/cache
environment:
@@ -164,8 +165,8 @@ services:
options:
max-size: "100m"
max-file: "10"
ports:
- 23333:23333
volumes:
- ${SAFELINE_DIR}/resources/chaos:/app/chaos
networks:
safeline-ce:
ipv4_address: ${SUBNET_PREFIX}.10

View File

@@ -209,6 +209,7 @@ curl "https://waf-ce.chaitin.cn/release/latest/compose.yaml" -sSLk -o $compose_n
curl "https://waf-ce.chaitin.cn/release/latest/reset_tengine.sh" -sSLk -o reset_tengine.sh
if [ $? -ne "0" ]; then
mv $compose_name.old $compose_name || true
abort "下载 compose.yaml 脚本失败"
fi
info "下载 compose.yaml 脚本成功"
@@ -250,6 +251,7 @@ info "即将开始下载新版本 Docker 镜像"
$compose_command pull
if [ $? -ne "0" ]; then
mv $compose_name.old $compose_name || true
abort "下载新版本 Docker 镜像失败"
fi
info "下载新版本 Docker 镜像成功"
@@ -261,6 +263,7 @@ docker rm -f safeline-redis &>/dev/null
$compose_command down --remove-orphans && $compose_command up -d
if [ $? -ne "0" ]; then
mv $compose_name.old $compose_name || true
abort "替换 Docker 容器失败"
fi

View File

@@ -1,4 +1,4 @@
{
"latest_version": "v6.0.2",
"rec_version": "v6.0.2"
"latest_version": "v6.0.3",
"rec_version": "v6.0.3"
}