diff --git a/CHANGELOG.md b/CHANGELOG.md index f18c33c..4bdbde0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,38 @@ --- +## [0.11.0] - 2026-06-18 + +### Breaking — 发射平台与探测设备分离 + +- **LaunchPlatformSpec**:新增纯发射平台规格(GunCount/ChannelsPerGun/MuzzleVelocity/CruiseSpeed 等,无探测字段) +- **ScenarioUnit.FireUnitSpecId → LaunchPlatformSpecId**:发射平台部署通过新 FK 引用 +- **SensorSpec 统一探测来源**:发射平台自带探测 + 独立探测设备,统一通过 SensorSpecId 引用 +- **BuildDetectionSources 简化**:只查 SensorSpec,不分 Launch/Detection 两条路径 +- **FireUnitSpec 保留不用**:旧类型保留代码但不参与运行时 +- **defaults.json +launchPlatforms**:新数据区 + +### Added — 代码审查 + 测试覆盖 + +- **DataServiceTests**:12 个,覆盖 7 类基础数据 CRUD +- **死代码清除**:MunitionEntity._hasExceededReleaseAltitude +- **Spec 类独立文件**:DroneSpec/FireUnitSpec/SensorSpec 等从 DefaultData.cs 拆出,命名空间 → Models +- **PagedResult/EnumMetadata 独立文件** +- **GetEnums 返回中英文对照**:EnumItem{Name,ChineseName,Value} +- **FormationTemplate 补 PrimaryKey** + +### Added — 3D 模型引用 + +- **DroneSpec/FireUnitSpec/SensorSpec +ModelId**:FK → ModelInfo +- **EntitySnapshot +ModelId**:每帧推送给 Unity +- **ModelInfo.ModelType→EntityType(枚举) +Description** + +### Metrics + +- 测试 **250**(+12),全部通过 12s + +--- + ## [0.10.0] - 2026-06-18 ### Breaking — 平台物理统一 + 模型重命名 diff --git a/VERSION b/VERSION index 78bc1ab..d9df1bb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.0 +0.11.0 diff --git a/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll b/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll index 2d72d6f..05205ea 100644 Binary files a/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll and b/src/Unity/Assets/Plugins/CounterDrone.Core/CounterDrone.Core.dll differ diff --git a/unity_plugins/CounterDrone.Core.dll b/unity_plugins/CounterDrone.Core.dll index 2d72d6f..05205ea 100644 Binary files a/unity_plugins/CounterDrone.Core.dll and b/unity_plugins/CounterDrone.Core.dll differ