diff --git a/src/Hub/Hub.csproj b/src/Hub/Hub.csproj index 3771ad4..453051c 100644 --- a/src/Hub/Hub.csproj +++ b/src/Hub/Hub.csproj @@ -7,11 +7,11 @@ - - - - - + + + + + diff --git a/src/Hub/Samples/CompleteUpdateSample.cs b/src/Hub/Samples/CompleteUpdateSample.cs index 1e22bb9..f0374ae 100644 --- a/src/Hub/Samples/CompleteUpdateSample.cs +++ b/src/Hub/Samples/CompleteUpdateSample.cs @@ -86,7 +86,7 @@ public async Task RunAsync(AppConfig config, CancellationToken ct) { Console.WriteLine($" v{v.Version} — {v.Name} ({v.Size} bytes)"); Console.WriteLine($" Hash: {v.Hash?[..16]}..."); - Console.WriteLine($" IsCrossVersion: {v.IsCrossVersion}"); + Console.WriteLine($" PackageType: {v.PackageType}"); } } }) diff --git a/src/Hub/Samples/OssSample.cs b/src/Hub/Samples/OssSample.cs index a9aa051..20653fd 100644 --- a/src/Hub/Samples/OssSample.cs +++ b/src/Hub/Samples/OssSample.cs @@ -69,9 +69,7 @@ public async Task RunAsync(AppConfig config, CancellationToken ct) { foreach (var v in e.Info.Body) { - var type = v.IsCrossVersion == true - ? $"[差分 {v.FromVersion} → {v.Version}]" - : "[完整包]"; + var type = v.PackageType == 1 ? "[差分]" : "[完整包]"; Console.WriteLine($" v{v.Version} {type}"); Console.WriteLine($" Name: {v.Name}"); Console.WriteLine($" Size: {v.Size} bytes"); diff --git a/website/docs/agent-skills/generalupdate-advanced.md b/website/docs/agent-skills/generalupdate-advanced.md index 9f43b9c..c28bfdb 100644 --- a/website/docs/agent-skills/generalupdate-advanced.md +++ b/website/docs/agent-skills/generalupdate-advanced.md @@ -8,8 +8,8 @@ title: 🔧 generalupdate-advanced — 高级定制参考 涵盖扩展点架构、Pipeline 管道、差分引擎、Bowl 崩溃守护、事件系统、文件系统工具等。 -> ⚠️ **API 版本说明**:本指南基于 **NuGet v10.5.0-beta.4**。 -> 以下功能在 v10.5.0-beta.4 中全部**可用**: +> ⚠️ **API 版本说明**:本指南基于 **NuGet v10.5.0-beta.6**。 +> 以下功能在 v10.5.0-beta.6 中全部**可用**: > - ✅ `IUpdateHooks` 生命周期钩子(`Hooks()`) > - ✅ `IStrategy` 自定义策略注入(`Strategy()`) > - ✅ `SilentPollOrchestrator` 静默轮询器(`Option.Silent`) @@ -49,7 +49,7 @@ title: 🔧 generalupdate-advanced — 高级定制参考 --- -## 1. Pipeline 管道系统(v10.5.0-beta.4 可用) +## 1. Pipeline 管道系统(v10.5.0-beta.6 可用) GeneralUpdate 使用 Pipeline 管道模式处理更新包的校验、解压、补丁应用。 @@ -84,7 +84,7 @@ await new PipelineBuilder(context) --- -## 2. 策略系统(v10.5.0-beta.4 可用) +## 2. 策略系统(v10.5.0-beta.6 可用) GeneralUpdate 内置三种平台策略,通过 `IStrategy` 接口实现: @@ -99,7 +99,7 @@ GeneralUpdate 内置三种平台策略,通过 `IStrategy` 接口实现: --- -## 3. Bowl 崩溃守护(v10.5.0-beta.4) +## 3. Bowl 崩溃守护(v10.5.0-beta.6) Bowl 是一个崩溃监控组件,通过 `BowlContext` 配置。 @@ -139,11 +139,11 @@ Console.WriteLine($"Result: Success={result.Success}, Restored={result.Restored} | `DumpType` | DumpType | Mini / Full | | `OnCrash` | delegate | 崩溃回调 | -> ⚠️ NuGet v10.5.0-beta.4 中 Bowl 和 Core **无类型冲突**,可以同时引用。 +> ⚠️ NuGet v10.5.0-beta.6 中 Bowl 和 Core **无类型冲突**,可以同时引用。 --- -## 4. EventManager 事件系统(v10.5.0-beta.4 可用) +## 4. EventManager 事件系统(v10.5.0-beta.6 可用) EventManager 是一个全局单例,提供事件的发布和订阅: @@ -170,7 +170,7 @@ EventManager.Instance.Dispose(); --- -## 5. 文件系统工具(v10.5.0-beta.4 可用) +## 5. 文件系统工具(v10.5.0-beta.6 可用) ### BlackList(黑名单) @@ -199,7 +199,7 @@ var snapshot = tree.CreateSnapshot(@"C:\Program Files\MyApp"); --- -## 6. 差分引擎(v10.5.0-beta.4 可用,无需额外安装包) +## 6. 差分引擎(v10.5.0-beta.6 可用,无需额外安装包) 差分类型已内嵌在 `GeneralUpdate.Core` 中,**无需额外**安装 `GeneralUpdate.Differential` 包。 @@ -252,7 +252,7 @@ var dirtyMatcher = new DefaultDirtyMatcher(); // 或实现 IDirtyMatcher ## 7. AOT / NativeAOT 兼容性 -GeneralUpdate.Core v10.5.0-beta.4 支持 .NET Native AOT(`net8.0` 和 `net10.0`): +GeneralUpdate.Core v10.5.0-beta.6 支持 .NET Native AOT(`net8.0` 和 `net10.0`): ```xml @@ -295,26 +295,26 @@ var result = GeneralDrivelution.InstallDriver(driverPath); | 主题 | 可用性 | 参考 | |------|--------|------| -| Pipeline 管道 | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Pipeline` | -| 策略系统 | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Strategy` | -| FileTree | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.FileSystem` | -| BlackList | ✅ v10.5.0-beta.4 | `UpdateRequest.Files/Formats/Directories` → `ToBlackPolicy()` | +| Pipeline 管道 | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Pipeline` | +| 策略系统 | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Strategy` | +| FileTree | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.FileSystem` | +| BlackList | ✅ v10.5.0-beta.6 | `UpdateRequest.Files/Formats/Directories` → `ToBlackPolicy()` | | 差分引擎 | ✅ 内嵌 Core | `DiffPipelineBuilder` / `DiffPipeline` | -| AOT | ✅ v10.5.0-beta.4 | `JsonSerializerContext` 子类 | -| EventManager | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Event` | -| Bowl 崩溃守护 | ✅ v10.5.0-beta.4 | `GeneralUpdate.Bowl.Bowl` | -| IUpdateHooks | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Hooks` — `Hooks()` | -| 自定义 Strategy 注入 | ✅ v10.5.0-beta.4 | `Strategy()` | +| AOT | ✅ v10.5.0-beta.6 | `JsonSerializerContext` 子类 | +| EventManager | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Event` | +| Bowl 崩溃守护 | ✅ v10.5.0-beta.6 | `GeneralUpdate.Bowl.Bowl` | +| IUpdateHooks | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Hooks` — `Hooks()` | +| 自定义 Strategy 注入 | ✅ v10.5.0-beta.6 | `Strategy()` | | IPC 替换接口 | ❌ 暂不支持 | 使用 NamedPipe 替代方案 | -| SilentPollOrchestrator | ✅ v10.5.0-beta.4 | `Option.Silent` + `SetOption()` | -| Option 系统 | ✅ v10.5.0-beta.4 | `SetOption(Option, T)` | +| SilentPollOrchestrator | ✅ v10.5.0-beta.6 | `Option.Silent` + `SetOption()` | +| Option 系统 | ✅ v10.5.0-beta.6 | `SetOption(Option, T)` | --- ## ✅ 高级定制验证清单 ### Bowl 崩溃守护 -- [ ] 如果用 Bowl:项目中同时引用 `GeneralUpdate.Core` 和 `GeneralUpdate.Bowl`(v10.5.0-beta.4 无冲突) +- [ ] 如果用 Bowl:项目中同时引用 `GeneralUpdate.Core` 和 `GeneralUpdate.Bowl`(v10.5.0-beta.6 无冲突) - [ ] `BowlContext` 的 `ProcessNameOrId` 与实际进程名匹配 - [ ] `TargetPath` 设置为应用安装根目录,非子目录 - [ ] `WorkModel` 根据场景选择 Correct(Normal/Upgrade) diff --git a/website/docs/agent-skills/generalupdate-init.md b/website/docs/agent-skills/generalupdate-init.md index 3b53a41..582613d 100644 --- a/website/docs/agent-skills/generalupdate-init.md +++ b/website/docs/agent-skills/generalupdate-init.md @@ -55,10 +55,10 @@ UpgradeApp.exe (Upgrade —— 升级程序) ## 安装 NuGet ```bash -dotnet add package GeneralUpdate.Core --version 10.5.0-beta.4 +dotnet add package GeneralUpdate.Core --version 10.5.0-beta.6 ``` -> 如果要用崩溃守护(Bowl),再加一个包:`dotnet add package GeneralUpdate.Bowl --version 10.5.0-beta.4` +> 如果要用崩溃守护(Bowl),再加一个包:`dotnet add package GeneralUpdate.Bowl --version 10.5.0-beta.6` > 差分更新功能已经内置在 Core 里,**不需要**额外装 `GeneralUpdate.Differential`。 --- @@ -146,7 +146,7 @@ await new GeneralUpdateBootstrap() }) .AddListenerProgress((_, e) => { - // v10.5.0-beta.4 新增的第 7 个事件 + // v10.5.0-beta.6 新增的第 7 个事件 }) .LaunchAsync(); ``` diff --git a/website/docs/agent-skills/generalupdate-migration.md b/website/docs/agent-skills/generalupdate-migration.md index 9e3ef97..b9fafce 100644 --- a/website/docs/agent-skills/generalupdate-migration.md +++ b/website/docs/agent-skills/generalupdate-migration.md @@ -6,10 +6,10 @@ title: 🔄 generalupdate-migration — 迁移指南 # 🔄 GeneralUpdate 迁移指南 -帮助开发者从旧版本 GeneralUpdate 迁移到最新稳定版 API(v10.5.0-beta.4)。 +帮助开发者从旧版本 GeneralUpdate 迁移到最新稳定版 API(v10.5.0-beta.6)。 -> ⚠️ **目标版本:NuGet v10.5.0-beta.4** -> 开发分支(v10.5.0-beta.2)API 与稳定版有根本性差异。 +> ⚠️ **目标版本:NuGet v10.5.0-beta.6** +> 开发分支(v10.5.0-beta.x)API 与稳定版有根本性差异。 --- @@ -24,7 +24,7 @@ title: 🔄 generalupdate-migration — 迁移指南 - 是否使用了 Differential: ______(是/否) ### 迁移后目标 -- 目标版本: ______(v10.5.0-beta.4 / 继续用开发分支) +- 目标版本: ______(v10.5.0-beta.6 / 继续用开发分支) - 是否需要新的功能(Bowl/IPC 替换/AOT): ______ ``` @@ -32,7 +32,7 @@ title: 🔄 generalupdate-migration — 迁移指南 ## 迁移路径 -### 路径 A:v9.x → v10.5.0-beta.4 +### 路径 A:v9.x → v10.5.0-beta.6 这是最大的跳跃。v9.x 和 v10 的架构完全不同。 @@ -46,7 +46,7 @@ v9.x (单进程, HttpClient 直连) ├── 无 manifest.json → 必须携带 manifest └── API 命名空间全部重命名 ↓ -v10.5.0-beta.4 (双进程, UpdateRequest + Bootstrap) +v10.5.0-beta.6 (双进程, UpdateRequest + Bootstrap) ``` **迁移步骤:** @@ -56,7 +56,7 @@ v10.5.0-beta.4 (双进程, UpdateRequest + Bootstrap) // var updater = new GeneralUpdater("https://api/method"); // updater.Start(); -// ✅ v10.5.0-beta.4 写法 +// ✅ v10.5.0-beta.6 写法 await new GeneralUpdateBootstrap() .SetConfig(new UpdateRequest { @@ -70,7 +70,7 @@ await new GeneralUpdateBootstrap() .LaunchAsync(); ``` -| v9.x API | v10.5.0-beta.4 对应 | 说明 | +| v9.x API | v10.5.0-beta.6 对应 | 说明 | |----------|---------------------|------| | `GeneralUpdater` | `GeneralUpdateBootstrap` | 完全重命名 | | `SetApiUrl()` / `SetMethod()` | `UpdateRequest.UpdateUrl` | 统一到 UpdateRequest | @@ -78,9 +78,11 @@ await new GeneralUpdateBootstrap() | 单进程直接更新 | Client + Upgrade 双进程 | 必须创建独立 Upgrade 项目 | | N/A | `generalupdate.manifest.json` | 必须随首发版本发布 | -### 路径 B:v10.5.0-beta.x (开发分支) → v10.5.0-beta.4 +### 路径 B:v10.5.0-beta.x (开发分支) → v10.5.0-beta.6 -| 开发分支 API (v10.5.0-beta.x) | 稳定版替代 (v10.5.0-beta.4) | 处理方式 | +| 开发分支 API (v10.5.0-beta.x) | 稳定版替代 (v10.5.0-beta.6) | 处理方式 | + +| 开发分支 API (v10.5.0-beta.x) | 稳定版替代 (v10.5.0-beta.6) | 处理方式 | |-------------------------------|---------------------------|---------| | `new Option()` / `SetOption()` | 存在且兼容 | 直接使用,命名空间有调整 | | `.Hooks()` / `IUpdateHooks` | 存在且兼容 | 直接使用 | @@ -98,7 +100,7 @@ await new GeneralUpdateBootstrap() ### 编译验证 - [ ] `dotnet build` 无错误 - [ ] 无 `MissingMethodException` 的风险 -- [ ] 无 `CS0433` 类型冲突(v10.5.0-beta.4 中 Core + Bowl 无冲突,可同时引用) +- [ ] 无 `CS0433` 类型冲突(v10.5.0-beta.6 中 Core + Bowl 无冲突,可同时引用) ### 架构验证 - [ ] 项目已拆分为 Client + Upgrade 两个独立项目 diff --git a/website/docs/agent-skills/overview.md b/website/docs/agent-skills/overview.md index 3f62df8..4c6ba8a 100644 --- a/website/docs/agent-skills/overview.md +++ b/website/docs/agent-skills/overview.md @@ -10,8 +10,8 @@ title: 🚀 Agent Skills 总览 覆盖 50+ 真实 Issue 发现的已知问题,提供即用型代码生成 + 深度故障排查。 -> **Current Version: 0.0.2-beta.1** — targets NuGet `GeneralUpdate.Core 10.5.0-beta.4` -> 兼容性:`v10.5.0-beta.4`(NuGet 最新预览版) +> **Current Version: 0.0.2-beta.1** — targets NuGet `GeneralUpdate.Core 10.5.0-beta.6` +> 兼容性:`v10.5.0-beta.6`(NuGet 最新预览版) > 所有模板已通过 `dotnet build` 编译验证(0 errors)。 --- @@ -327,12 +327,12 @@ Cursor 支持 `.cursorrules` 文件,类似 Claude Code 的 skills: ## API 兼容性说明 -> ⚠️ **NuGet 引用规则(v10.5.0-beta.4)**: -> - Core only: `dotnet add package GeneralUpdate.Core --version 10.5.0-beta.4` -> - With Bowl: 同时引用 `GeneralUpdate.Core` 和 `GeneralUpdate.Bowl`(v10.5.0-beta.4 中无类型冲突) +> ⚠️ **NuGet 引用规则(v10.5.0-beta.6)**: +> - Core only: `dotnet add package GeneralUpdate.Core --version 10.5.0-beta.6` +> - With Bowl: 同时引用 `GeneralUpdate.Core` 和 `GeneralUpdate.Bowl`(v10.5.0-beta.6 中无类型冲突) > - Differential 已嵌入 Core,**无需**额外引用 `GeneralUpdate.Differential` -> ⚠️ **API Surface**: v10.5.0-beta.4 采用了全新的配置系统: +> ⚠️ **API Surface**: v10.5.0-beta.6 采用了全新的配置系统: > - ✅ `UpdateRequest` / `UpdateRequestBuilder` — 替代旧的 Configinfo > - ✅ `SetSource(updateUrl, appSecretKey)` — 零配置入口 > - ✅ `SetOption(Option, T)` — 可编程配置系统 @@ -354,7 +354,7 @@ Cursor 支持 `.cursorrules` 文件,类似 Claude Code 的 skills: - **GeneralUpdate Issues**: [GeneralUpdate/issues](https://github.com/GeneralLibrary/GeneralUpdate/issues) — 核心库 Bug 和功能请求 提交时请附上以下信息以便快速排查: -- GeneralUpdate 版本号(如 v10.5.0-beta.4) +- GeneralUpdate 版本号(如 v10.5.0-beta.6) - 平台(Windows / Linux / macOS) - 更新策略(标准 / OSS / 静默 / 差分 / 推送) - 完整错误日志(可从 `Logs/generalupdate-trace-*.log` 获取) @@ -365,14 +365,14 @@ Cursor 支持 `.cursorrules` 文件,类似 Claude Code 的 skills: ### 0.0.2-beta.1 — 2026-06-16 -Updated for GeneralUpdate v10.5.0-beta.4 API: +Updated for GeneralUpdate v10.5.0-beta.6 API: - Configinfo → UpdateRequest (namespace: `GeneralUpdate.Core.Configuration`) - Event args moved to `GeneralUpdate.Core.Download` and `GeneralUpdate.Core.Event` - Added SetSource(), SetOption(), `Hooks()`, `Strategy()` API coverage - Updated all strategy examples to use the new API - Updated CustomHooks.cs and CustomStrategy.cs to show v10.5 capabilities - Fixed IsComplated → IsCompleted -- NuGet version bumped to `10.5.0-beta.4` +- NuGet version bumped to `10.5.0-beta.6` - Added 2 new skills: generalupdate-migration, generalupdate-security-audit ### 0.0.1-beta.1 — 2026-06-16 diff --git a/website/docs/doc/GeneralUpdate.Bowl.md b/website/docs/doc/GeneralUpdate.Bowl.md index b93c0e2..c733489 100644 --- a/website/docs/doc/GeneralUpdate.Bowl.md +++ b/website/docs/doc/GeneralUpdate.Bowl.md @@ -43,7 +43,7 @@ Bowl **不负责**下载、解压或替换升级包。它的唯一职责是: | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `netstandard2.0`(兼容 .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **依赖包** | `System.Collections.Immutable`, `System.Text.Json` | | **内置工具** | Windows: `procdump.exe` / `procdump64.exe` / `procdump64a.exe`;Linux: `procdump` deb/rpm 包 + `install.sh`;macOS: `/usr/bin/lldb` | diff --git a/website/docs/doc/GeneralUpdate.Core.md b/website/docs/doc/GeneralUpdate.Core.md index ac4b7de..f4c3d94 100644 --- a/website/docs/doc/GeneralUpdate.Core.md +++ b/website/docs/doc/GeneralUpdate.Core.md @@ -47,7 +47,7 @@ GeneralUpdate.Core 是整个生态的**核心引擎**。它不负责生成补丁 | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `netstandard2.0`; `net8.0`; `net10.0`(兼容 .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+;`net8.0`+ 支持 AOT/Trim) | | **依赖包** | `GeneralUpdate.Differential`(差分算法)、`System.Text.Json`、`Microsoft.AspNetCore.SignalR.Client` | | **兼容性** | Windows / Linux / macOS;支持 x86 / x64 / ARM64 | diff --git a/website/docs/doc/GeneralUpdate.Differential.md b/website/docs/doc/GeneralUpdate.Differential.md index 3ae23c8..a9dde14 100644 --- a/website/docs/doc/GeneralUpdate.Differential.md +++ b/website/docs/doc/GeneralUpdate.Differential.md @@ -44,7 +44,7 @@ sidebar_position: 6 | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `netstandard2.0`(兼容 .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **依赖包** | 无外部依赖(纯 .NET BCL) | | **兼容性** | 所有支持 .NET Standard 2.0 的平台 | diff --git a/website/docs/doc/GeneralUpdate.Drivelution.md b/website/docs/doc/GeneralUpdate.Drivelution.md index afbeec9..df1189a 100644 --- a/website/docs/doc/GeneralUpdate.Drivelution.md +++ b/website/docs/doc/GeneralUpdate.Drivelution.md @@ -47,7 +47,7 @@ sidebar_position: 8 | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `net8.0` / `net10.0`(多目标) | | **依赖包** | `Microsoft.Extensions.DependencyInjection`、`Microsoft.Extensions.Logging.Abstractions`、`Microsoft.Extensions.Options` | | **兼容性** | Windows(完整支持,需管理员权限)/ Linux(需 root/sudo)/ macOS(受 SIP 和系统扩展策略影响) | diff --git a/website/docs/doc/GeneralUpdate.Extension.md b/website/docs/doc/GeneralUpdate.Extension.md index 713d24d..3b265e2 100644 --- a/website/docs/doc/GeneralUpdate.Extension.md +++ b/website/docs/doc/GeneralUpdate.Extension.md @@ -51,7 +51,7 @@ sidebar_position: 7 | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `netstandard2.0`(兼容 .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **依赖包** | `Microsoft.Extensions.DependencyInjection`、`Microsoft.Extensions.Logging.Abstractions`、`Microsoft.Extensions.Options`、`Newtonsoft.Json`、`System.Net.Http`、`System.IO.Compression`、`System.IO.Compression.ZipFile` | | **兼容性** | 所有支持 .NET Standard 2.0 的平台 | diff --git a/website/docs/releaselog/GeneralUpdateReleaselog.md b/website/docs/releaselog/GeneralUpdateReleaselog.md index e05d380..2db2aa8 100644 --- a/website/docs/releaselog/GeneralUpdateReleaselog.md +++ b/website/docs/releaselog/GeneralUpdateReleaselog.md @@ -7,6 +7,17 @@ tags: [log] # 📒Release log +### 📍2026-06-20 — v10.5.0-beta.6 + +- fix(core): resolve 16 audit findings — race conditions, design flaws, glue code, and performance issues +- feat(core): PackageType enum migration + chain/full fallback mechanism +- feat(core): unified HTTP auth provider + custom headers + CVP fix +- fix(core): skip redundant chain packages after full fallback +- fix(core): eliminate all AOT-incompatible patterns for Native AOT support +- fix: resolve CI failures and address Copilot review comments +- feat: align all components to SemVer 2.0 for version comparison (#521) +- chore: bump version to v10.5.0-beta.6 and fix CI pipeline + ### 📍2026-06-14 - **GeneralUpdate.Core**: 修复代码审计发现的 BSDIFF 溢出、Zip 路径遍历、ProcessExit 死锁、IPC 密钥硬编码等严重/高危安全问题;修复下载管道失败后继续启动 Upgrade 的错误行为;备份功能默认关闭(不再默认备份);移除 UpgradeMode 透传字段;新增跨版本优先更新(CVP-first)策略,自动降级为链式更新 diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-advanced.md b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-advanced.md index d20d05d..a2eed73 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-advanced.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-advanced.md @@ -8,8 +8,8 @@ title: 🔧 generalupdate-advanced — Advanced Customization Covers extension point architecture, Pipeline, differential engine, Bowl crash daemon, event system, and filesystem tools. -> ⚠️ **API Version Note**: This guide is based on **NuGet v10.5.0-beta.4**. -> All the following features are **available** in v10.5.0-beta.4: +> ⚠️ **API Version Note**: This guide is based on **NuGet v10.5.0-beta.6**. +> All the following features are **available** in v10.5.0-beta.6: > - ✅ `IUpdateHooks` lifecycle hooks (`Hooks()`) > - ✅ `IStrategy` custom strategy injection (`Strategy()`) > - ✅ `SilentPollOrchestrator` silent poller (`Option.Silent`) @@ -49,7 +49,7 @@ Covers extension point architecture, Pipeline, differential engine, Bowl crash d --- -## 1. Pipeline System (v10.5.0-beta.4 available) +## 1. Pipeline System (v10.5.0-beta.6 available) GeneralUpdate uses the Pipeline pattern for update package verification, extraction, and patch application. @@ -82,7 +82,7 @@ await new PipelineBuilder(context) --- -## 2. Strategy System (v10.5.0-beta.4 available) +## 2. Strategy System (v10.5.0-beta.6 available) GeneralUpdate has three built-in platform strategies via the `IStrategy` interface: @@ -97,7 +97,7 @@ GeneralUpdate has three built-in platform strategies via the `IStrategy` interfa --- -## 3. Bowl Crash Daemon (v10.5.0-beta.4) +## 3. Bowl Crash Daemon (v10.5.0-beta.6) Bowl is a crash monitoring component configured via `BowlContext`. @@ -137,11 +137,11 @@ Console.WriteLine($"Result: Success={result.Success}, Restored={result.Restored} | `DumpType` | DumpType | Mini / Full | | `OnCrash` | delegate | Crash callback | -> ⚠️ In NuGet v10.5.0-beta.4, Bowl and Core have **no type conflicts** and can be referenced together. +> ⚠️ In NuGet v10.5.0-beta.6, Bowl and Core have **no type conflicts** and can be referenced together. --- -## 4. EventManager (v10.5.0-beta.4 available) +## 4. EventManager (v10.5.0-beta.6 available) EventManager is a global singleton providing event publish/subscribe: @@ -165,7 +165,7 @@ EventManager.Instance.Dispose(); --- -## 5. Filesystem Tools (v10.5.0-beta.4 available) +## 5. Filesystem Tools (v10.5.0-beta.6 available) ### BlackList @@ -194,7 +194,7 @@ var snapshot = tree.CreateSnapshot(@"C:\Program Files\MyApp"); --- -## 6. Differential Engine (v10.5.0-beta.4 available, no extra package needed) +## 6. Differential Engine (v10.5.0-beta.6 available, no extra package needed) Differential types are embedded in `GeneralUpdate.Core`, **no need** for a separate `GeneralUpdate.Differential` package. @@ -246,7 +246,7 @@ var dirtyMatcher = new DefaultDirtyMatcher(); // or implement IDirtyMatcher ## 7. AOT / NativeAOT Compatibility -GeneralUpdate.Core v10.5.0-beta.4 supports .NET Native AOT (`net8.0` and `net10.0`): +GeneralUpdate.Core v10.5.0-beta.6 supports .NET Native AOT (`net8.0` and `net10.0`): ```xml @@ -289,26 +289,26 @@ var result = GeneralDrivelution.InstallDriver(driverPath); | Feature | Availability | Reference | |---------|-------------|-----------| -| Pipeline | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Pipeline` | -| Strategy System | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Strategy` | -| FileTree | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.FileSystem` | -| BlackList | ✅ v10.5.0-beta.4 | `UpdateRequest.Files/Formats/Directories` → `ToBlackPolicy()` | +| Pipeline | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Pipeline` | +| Strategy System | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Strategy` | +| FileTree | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.FileSystem` | +| BlackList | ✅ v10.5.0-beta.6 | `UpdateRequest.Files/Formats/Directories` → `ToBlackPolicy()` | | Differential Engine | ✅ Embedded in Core | `DiffPipelineBuilder` / `DiffPipeline` | -| AOT | ✅ v10.5.0-beta.4 | `JsonSerializerContext` subclasses | -| EventManager | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Event` | -| Bowl Crash Daemon | ✅ v10.5.0-beta.4 | `GeneralUpdate.Bowl.Bowl` | -| IUpdateHooks | ✅ v10.5.0-beta.4 | `GeneralUpdate.Core.Hooks` — `Hooks()` | -| Custom Strategy Injection | ✅ v10.5.0-beta.4 | `Strategy()` | +| AOT | ✅ v10.5.0-beta.6 | `JsonSerializerContext` subclasses | +| EventManager | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Event` | +| Bowl Crash Daemon | ✅ v10.5.0-beta.6 | `GeneralUpdate.Bowl.Bowl` | +| IUpdateHooks | ✅ v10.5.0-beta.6 | `GeneralUpdate.Core.Hooks` — `Hooks()` | +| Custom Strategy Injection | ✅ v10.5.0-beta.6 | `Strategy()` | | IPC Replacement Interface | ❌ Not yet supported | Use NamedPipe alternative | -| SilentPollOrchestrator | ✅ v10.5.0-beta.4 | `Option.Silent` + `SetOption()` | -| Option System | ✅ v10.5.0-beta.4 | `SetOption(Option, T)` | +| SilentPollOrchestrator | ✅ v10.5.0-beta.6 | `Option.Silent` + `SetOption()` | +| Option System | ✅ v10.5.0-beta.6 | `SetOption(Option, T)` | --- ## ✅ Advanced Customization Verification Checklist ### Bowl Crash Daemon -- [ ] With Bowl: reference both `GeneralUpdate.Core` and `GeneralUpdate.Bowl` (no conflict in v10.5.0-beta.4) +- [ ] With Bowl: reference both `GeneralUpdate.Core` and `GeneralUpdate.Bowl` (no conflict in v10.5.0-beta.6) - [ ] `BowlContext.ProcessNameOrId` matches the actual process name - [ ] `TargetPath` set to app install root directory, not a subdirectory - [ ] `WorkModel` correct for the scenario (Normal/Upgrade) diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-init.md b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-init.md index e96248e..b82c609 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-init.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-init.md @@ -55,10 +55,10 @@ The reason is simple: **Windows doesn't allow a running program to overwrite its ## Install NuGet ```bash -dotnet add package GeneralUpdate.Core --version 10.5.0-beta.4 +dotnet add package GeneralUpdate.Core --version 10.5.0-beta.6 ``` -> If you need the crash daemon (Bowl), add one more package: `dotnet add package GeneralUpdate.Bowl --version 10.5.0-beta.4` +> If you need the crash daemon (Bowl), add one more package: `dotnet add package GeneralUpdate.Bowl --version 10.5.0-beta.6` > Differential update is built into Core — **no need** for a separate `GeneralUpdate.Differential` package. --- @@ -146,7 +146,7 @@ await new GeneralUpdateBootstrap() }) .AddListenerProgress((_, e) => { - // v10.5.0-beta.4 new — the 7th event + // v10.5.0-beta.6 new — the 7th event }) .LaunchAsync(); ``` diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-migration.md b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-migration.md index 67fb6b9..7588b19 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-migration.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/generalupdate-migration.md @@ -6,10 +6,10 @@ title: 🔄 generalupdate-migration — Migration Guide # 🔄 GeneralUpdate Migration Guide -Guide developers through migrating GeneralUpdate from older versions to the latest API (v10.5.0-beta.4). +Guide developers through migrating GeneralUpdate from older versions to the latest API (v10.5.0-beta.6). -> ⚠️ **Target Version: NuGet v10.5.0-beta.4** -> Dev branch (v10.5.0-beta.2) APIs differ fundamentally from stable. +> ⚠️ **Target Version: NuGet v10.5.0-beta.6** +> Dev branch (v10.5.0-beta.x) APIs differ fundamentally from stable. --- @@ -24,7 +24,7 @@ Guide developers through migrating GeneralUpdate from older versions to the late - Using Differential: ______ (Yes/No) ### Target State -- Target version: ______ (v10.5.0-beta.4 / Stay on dev branch) +- Target version: ______ (v10.5.0-beta.6 / Stay on dev branch) - Need new features (Bowl/IPC replacement/AOT): ______ ``` @@ -32,7 +32,7 @@ Guide developers through migrating GeneralUpdate from older versions to the late ## Migration Paths -### Path A: v9.x → v10.5.0-beta.4 +### Path A: v9.x → v10.5.0-beta.6 This is the biggest jump. v9.x and v10 architectures are completely different. @@ -46,7 +46,7 @@ v9.x (single process, HttpClient direct) ├── No manifest.json → manifest required └── All API namespaces renamed ↓ -v10.5.0-beta.4 (dual-process, UpdateRequest + Bootstrap) +v10.5.0-beta.6 (dual-process, UpdateRequest + Bootstrap) ``` **Migration steps:** @@ -56,7 +56,7 @@ v10.5.0-beta.4 (dual-process, UpdateRequest + Bootstrap) // var updater = new GeneralUpdater("https://api/method"); // updater.Start(); -// ✅ v10.5.0-beta.4 syntax +// ✅ v10.5.0-beta.6 syntax await new GeneralUpdateBootstrap() .SetConfig(new UpdateRequest { @@ -70,7 +70,7 @@ await new GeneralUpdateBootstrap() .LaunchAsync(); ``` -| v9.x API | v10.5.0-beta.4 Equivalent | Notes | +| v9.x API | v10.5.0-beta.6 Equivalent | Notes | |----------|---------------------------|-------| | `GeneralUpdater` | `GeneralUpdateBootstrap` | Completely renamed | | `SetApiUrl()` / `SetMethod()` | `UpdateRequest.UpdateUrl` | Unified into UpdateRequest | @@ -78,9 +78,9 @@ await new GeneralUpdateBootstrap() | Single-process update | Client + Upgrade dual-process | Must create separate Upgrade project | | N/A | `generalupdate.manifest.json` | Must ship with first release | -### Path B: v10.5.0-beta.x (dev branch) → v10.5.0-beta.4 +### Path B: v10.5.0-beta.x (dev branch) → v10.5.0-beta.6 -| Dev Branch API (v10.5.0-beta.x) | Stable Replacement (v10.5.0-beta.4) | Handling | +| Dev Branch API (v10.5.0-beta.x) | Stable Replacement (v10.5.0-beta.6) | Handling | |--------------------------------|-----------------------------------|----------| | `new Option()` / `SetOption()` | Exists and compatible | Use directly, namespace adjusted | | `.Hooks()` / `IUpdateHooks` | Exists and compatible | Use directly | @@ -98,7 +98,7 @@ await new GeneralUpdateBootstrap() ### Build Verification - [ ] `dotnet build` with no errors - [ ] No risk of `MissingMethodException` -- [ ] No `CS0433` type conflicts (no conflict between Core + Bowl in v10.5.0-beta.4) +- [ ] No `CS0433` type conflicts (no conflict between Core + Bowl in v10.5.0-beta.6) ### Architecture Verification - [ ] Project split into Client + Upgrade independent projects diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/overview.md b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/overview.md index effdaa6..7f2d67c 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/overview.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/agent-skills/overview.md @@ -10,8 +10,8 @@ title: 🚀 Agent Skills Overview Covers 50+ real-world issues discovered through GitHub/Gitee, providing production-ready code generation + deep troubleshooting. -> **Current Version: 0.0.2-beta.1** — targets NuGet `GeneralUpdate.Core 10.5.0-beta.4` -> Compatibility: `v10.5.0-beta.4` (latest NuGet preview release) +> **Current Version: 0.0.2-beta.1** — targets NuGet `GeneralUpdate.Core 10.5.0-beta.6` +> Compatibility: `v10.5.0-beta.6` (latest NuGet preview release) > All templates have passed `dotnet build` verification (0 errors). --- @@ -327,12 +327,12 @@ All skill content is based on real-world data: ## API Compatibility Notes -> ⚠️ **NuGet Reference Rules (v10.5.0-beta.4)**: -> - Core only: `dotnet add package GeneralUpdate.Core --version 10.5.0-beta.4` -> - With Bowl: reference **both** `GeneralUpdate.Core` and `GeneralUpdate.Bowl` (no type conflicts in v10.5.0-beta.4) +> ⚠️ **NuGet Reference Rules (v10.5.0-beta.6)**: +> - Core only: `dotnet add package GeneralUpdate.Core --version 10.5.0-beta.6` +> - With Bowl: reference **both** `GeneralUpdate.Core` and `GeneralUpdate.Bowl` (no type conflicts in v10.5.0-beta.6) > - Differential is embedded in Core, **no need** for a separate `GeneralUpdate.Differential` reference -> ⚠️ **API Surface**: v10.5.0-beta.4 adopts a completely new configuration system: +> ⚠️ **API Surface**: v10.5.0-beta.6 adopts a completely new configuration system: > - ✅ `UpdateRequest` / `UpdateRequestBuilder` — replaces old Configinfo > - ✅ `SetSource(updateUrl, appSecretKey)` — zero-config entry point > - ✅ `SetOption(Option, T)` — programmable configuration system @@ -354,7 +354,7 @@ If you encounter any issues or have suggestions for improvement, please submit a - **GeneralUpdate Issues**: [GeneralUpdate/issues](https://github.com/GeneralLibrary/GeneralUpdate/issues) — Core library bugs and feature requests For faster resolution, please include: -- GeneralUpdate version (e.g. v10.5.0-beta.4) +- GeneralUpdate version (e.g. v10.5.0-beta.6) - Platform (Windows / Linux / macOS) - Update strategy (Standard / OSS / Silent / Differential / Push) - Full error log (available from `Logs/generalupdate-trace-*.log`) @@ -365,14 +365,14 @@ For faster resolution, please include: ### 0.0.2-beta.1 — 2026-06-16 -Updated for GeneralUpdate v10.5.0-beta.4 API: +Updated for GeneralUpdate v10.5.0-beta.6 API: - Configinfo → UpdateRequest (namespace: `GeneralUpdate.Core.Configuration`) - Event args moved to `GeneralUpdate.Core.Download` and `GeneralUpdate.Core.Event` - Added SetSource(), SetOption(), `Hooks()`, `Strategy()` API coverage - Updated all strategy examples to use the new API - Updated CustomHooks.cs and CustomStrategy.cs to show v10.5 capabilities - Fixed IsComplated → IsCompleted -- NuGet version bumped to `10.5.0-beta.4` +- NuGet version bumped to `10.5.0-beta.6` - Added 2 new skills: generalupdate-migration, generalupdate-security-audit ### 0.0.1-beta.1 — 2026-06-16 diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md index ff2d06d..3285c25 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md @@ -39,7 +39,7 @@ sidebar_position: 3 | Item | Description | | --- | --- | -| **Version** | `10.5.0-beta.2` | +| **Version** | `10.5.0-beta.6` | | **Target Framework** | `netstandard2.0` (.NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **Dependencies** | `System.Collections.Immutable`, `System.Text.Json` | | **Bundled Tools** | Windows: `procdump.exe` / `procdump64.exe` / `procdump64a.exe`; Linux: `procdump` deb/rpm + `install.sh`; macOS: `/usr/bin/lldb` | diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Core.md b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Core.md index fa6aadb..c29e209 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Core.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Core.md @@ -46,7 +46,7 @@ GeneralUpdate.Core is the **core engine** of the ecosystem. It doesn't generate | Item | Description | | --- | --- | -| **Version** | `10.5.0-beta.2` | +| **Version** | `10.5.0-beta.6` | | **Target Framework** | `netstandard2.0` (.NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **Dependencies** | `GeneralUpdate.Differential`, `System.Text.Json`, `Microsoft.Extensions.Logging.Abstractions` | | **Compatibility** | Windows (primary) / Linux / macOS; x86 / x64 / ARM64 | diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Differential.md b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Differential.md index 9d8c4d1..8e6a9d9 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Differential.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Differential.md @@ -40,7 +40,7 @@ Directory-level comparison, batch patch generation, parallel scheduling, deleted | Item | Description | | --- | --- | -| **Version** | `10.5.0-beta.2` | +| **Version** | `10.5.0-beta.6` | | **Target Framework** | `netstandard2.0` (.NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **Dependencies** | None (pure .NET BCL) | | **Compatibility** | All .NET Standard 2.0 platforms | diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md index 7a9444d..70d324b 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md @@ -43,7 +43,7 @@ Driver updates differ fundamentally from application file replacement. Drivers a | Item | Description | | --- | --- | -| **Version** | `10.5.0-beta.2` | +| **Version** | `10.5.0-beta.6` | | **Target Frameworks** | `net8.0` / `net10.0` (multi-target) | | **Dependencies** | `Microsoft.Extensions.DependencyInjection`, `Microsoft.Extensions.Logging.Abstractions`, `Microsoft.Extensions.Options` | | **Compatibility** | Windows (full, admin required) / Linux (root/sudo) / macOS (SIP & system extension policies apply) | diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md index 5470d39..0590cb3 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md @@ -47,7 +47,7 @@ It's suited for scenarios where the main app and optional capabilities are distr | Item | Description | | --- | --- | -| **Version** | `10.5.0-beta.2` | +| **Version** | `10.5.0-beta.6` | | **Target Framework** | `netstandard2.0` (.NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **Dependencies** | `Microsoft.Extensions.DependencyInjection`, `Microsoft.Extensions.Logging.Abstractions`, `Microsoft.Extensions.Options`, `Newtonsoft.Json`, `System.Net.Http`, `System.IO.Compression`, `System.IO.Compression.ZipFile` | | **Compatibility** | All .NET Standard 2.0 platforms | diff --git a/website/i18n/en/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md b/website/i18n/en/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md index 2a9d92e..6216532 100644 --- a/website/i18n/en/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md +++ b/website/i18n/en/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md @@ -7,6 +7,17 @@ tags: [log] # 📒Release log +### 📍2026-06-20 — v10.5.0-beta.6 + +- fix(core): resolve 16 audit findings — race conditions, design flaws, glue code, and performance issues +- feat(core): PackageType enum migration + chain/full fallback mechanism +- feat(core): unified HTTP auth provider + custom headers + CVP fix +- fix(core): skip redundant chain packages after full fallback +- fix(core): eliminate all AOT-incompatible patterns for Native AOT support +- fix: resolve CI failures and address Copilot review comments +- feat: align all components to SemVer 2.0 for version comparison (#521) +- chore: bump version to v10.5.0-beta.6 and fix CI pipeline + ### 📍2026-06-14 - **GeneralUpdate.Core**: Fixed critical/high security issues found in code audit — BSDIFF overflow, Zip path traversal, ProcessExit deadlock, hardcoded IPC key, etc.; fixed download pipeline failure not aborting Upgrade launch; backup feature disabled by default; removed UpgradeMode pass-through field; added CVP-first upgrade strategy with automatic chain fallback diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md index 1d90421..9827006 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Bowl.md @@ -43,7 +43,7 @@ Bowl **不负责**下载、解压或替换升级包。它的唯一职责是: | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `netstandard2.0`(兼容 .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **依赖包** | `System.Collections.Immutable`, `System.Text.Json` | | **内置工具** | Windows: `procdump.exe` / `procdump64.exe` / `procdump64a.exe`;Linux: `procdump` deb/rpm 包 + `install.sh`;macOS: `/usr/bin/lldb` | diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md index fb50a42..5cf974a 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Drivelution.md @@ -47,7 +47,7 @@ sidebar_position: 8 | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `net8.0` / `net10.0`(多目标) | | **依赖包** | `Microsoft.Extensions.DependencyInjection`、`Microsoft.Extensions.Logging.Abstractions`、`Microsoft.Extensions.Options` | | **兼容性** | Windows(完整支持,需管理员权限)/ Linux(需 root/sudo)/ macOS(受 SIP 和系统扩展策略影响) | diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md index d0b7bcc..3012d69 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/doc/GeneralUpdate.Extension.md @@ -51,7 +51,7 @@ sidebar_position: 7 | 项目 | 说明 | | --- | --- | -| **版本** | `10.5.0-beta.2` | +| **版本** | `10.5.0-beta.6` | | **目标框架** | `netstandard2.0`(兼容 .NET Framework 4.6.1+ / .NET Core 2.0+ / .NET 5+) | | **依赖包** | `Microsoft.Extensions.DependencyInjection`、`Microsoft.Extensions.Logging.Abstractions`、`Microsoft.Extensions.Options`、`Newtonsoft.Json`、`System.Net.Http`、`System.IO.Compression`、`System.IO.Compression.ZipFile` | | **兼容性** | 所有支持 .NET Standard 2.0 的平台 | diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md index e05d380..2db2aa8 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/releaselog/GeneralUpdateReleaselog.md @@ -7,6 +7,17 @@ tags: [log] # 📒Release log +### 📍2026-06-20 — v10.5.0-beta.6 + +- fix(core): resolve 16 audit findings — race conditions, design flaws, glue code, and performance issues +- feat(core): PackageType enum migration + chain/full fallback mechanism +- feat(core): unified HTTP auth provider + custom headers + CVP fix +- fix(core): skip redundant chain packages after full fallback +- fix(core): eliminate all AOT-incompatible patterns for Native AOT support +- fix: resolve CI failures and address Copilot review comments +- feat: align all components to SemVer 2.0 for version comparison (#521) +- chore: bump version to v10.5.0-beta.6 and fix CI pipeline + ### 📍2026-06-14 - **GeneralUpdate.Core**: 修复代码审计发现的 BSDIFF 溢出、Zip 路径遍历、ProcessExit 死锁、IPC 密钥硬编码等严重/高危安全问题;修复下载管道失败后继续启动 Upgrade 的错误行为;备份功能默认关闭(不再默认备份);移除 UpgradeMode 透传字段;新增跨版本优先更新(CVP-first)策略,自动降级为链式更新