From f5db5abb17a50583878baf712daec20dc977af39 Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 1 Jun 2026 22:46:18 +0800 Subject: [PATCH] chore: bump version to v2.2.7 --- .../base/common/command/admin/VersionBase.php | 23 +++++-------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index 360ddc9..b17b3d6 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -27,7 +27,7 @@ use think\console\Output; */ class VersionBase extends Command { - public const VERSION = 'v2.2.6'; + public const VERSION = 'v2.2.7'; public const PRODUCT_VERSION = ''; @@ -36,22 +36,11 @@ class VersionBase extends Command public const COMMENT = [ '版本更新说明:', '【新功能】', - '- 新增零散规则管理机制', - '- ClearLog 清理天数改为从配置读取,支持 env 覆盖', - '【修复】', - '- 清理 PROJECT.md 中框架预填内容,恢复为使用者模板', - '- 调整流水线步骤顺序,composer install 移至 php think 命令之前', - '【文档】', - '- AGENTS.md 开头入口区增加 .agents/skills/ 说明', - '- AGENTS.md 开头入口区增加 .agents/rules/ 说明', - '- 修正运行模式检测方式,Docker 模式下不能依赖 php think 检测', - '- 技能文档补充 timer.php 配置项说明', - '- 定时器技能新增按时间窗口循环处理的推荐方法', - '【重构】', - '- 精简 AGENTS.md,下沉模块级规则,迁移 skill 为 rule', - '【其他】', - '- 重构:JS框架内部变量 admin 统一重命名为 ua,移除无用的 window.ulAdmin', - '- 移动 nginx 伪静态配置到 source/docs 目录', + '- 新增 docker-dev-sync 模式,优化 Windows 下 Docker 开发 I/O 性能', + ' - 宿主代码映射到 /var/www/source(bind mount 中转),容器内 rsync 定时同步到 /var/www/html(原生文件系统)', + ' - vendor 由 Docker build 管理,不参与同步', + ' - rsync 使用 --no-perms 避免保留 Windows 源文件权限', + ' - SYNC_INTERVAL 环境变量可配置轮询间隔(默认 3 秒)', ]; protected const COMMIT_TYPES = [