v2.2 2026-04-22
完善结构化日志体系并重构 uv 构建流程,支持版本化可执行文件命名与可复用压缩配置
- 新增结构化日志双通道输出:文件 JSON 行日志 + 控制台可读日志,并支持按大小轮转
- 新增 op_id 上下文追踪机制,贯穿 GUI、核心编排、服务层与命令执行层
- 补全 UI/core/services/utils/admin 全链路日志覆盖,统一 started/finished/failed 事件与异常堆栈记录
- 新增 build.ps1 构建脚本,从 pyproject.toml 自动读取 VersionID 与命名模板生成产物名
- 构建调用改为 uv run -- python -m PyInstaller,修复脚本路径规范化问题
- UPX 目录改为 -UpxDir 手动传入,避免写死本地路径,提升开源项目可复用性
- 固定打包图标与运行窗口图标为 python/windows.ico,并同步更新 README 与构建说明
- 本次构建产物命名为 Windows_Update_Manager_EXE-v2.2.exe
Enhanced structured logging and rebuilt the uv packaging workflow with versioned executable naming and reusable
compression configuration.
- Introduced dual-channel structured logging: JSON lines for file output plus human-readable console logs, with size-based rotation.
- Added end-to-end op_id tracing across GUI, core orchestration, services, and command execution layers.
- Completed full logging coverage for UI/core/services/utils/admin with unified started/finished/failed events and exception stack traces.
- Added build.ps1 to generate executable names from VersionID and template in pyproject.toml.
- Switched build invocation to uv run -- python -m PyInstaller to avoid script path canonicalization failures.
- Changed UPX configuration to manual -UpxDir input to remove hardcoded local paths and improve open-source portability.
- Unified packaging icon and runtime window icon to python/windows.ico, and updated README/build instructions accordingly.
- Build artifact for this release: Windows_Update_Manager_EXE-v2.2.exe