Files
AtomUI/scripts/verification/package-layout-allowlist.json
T
chinboy 3fe9f6c130 build(release): 增加包 API 与包布局破坏性变更门禁
发布准备新增两层机械化门禁,观测产物事实而不依赖提交的 `!` 标记,
避免破坏性变更未经迁移文档直接发布。

- 包 API 校验:build/PackageValidation.props 在传入基线版本时启用
  ApiCompat,比对 lib/ 公共 API 与跨 TFM 一致性。
- 包布局校验:verify-package-layout.ps1 比对 lib/ TFM 集合、tools/、
  build/、buildTransitive/。ApiCompat 看不到这些路径,6.1.9 的
  tools/netstandard2.0 迁移 net10.0 正属此类。
- 两者由 BuildNuGetPackages.ps1 的 -PackageValidationBaselineVersion
  驱动,发布 workflow 新增同名输入。
- 有意变更分别通过 PackageValidationSuppressions 与
  package-layout-allowlist.json 认可,未命中的条目会导致失败。
- 门禁为条件导入,Debug/日常构建不读取该文件,编译性能无影响。
- 同步更新发布准备规范、构建契约测试与架构文档。
2026-09-11 21:56:06 +08:00

53 lines
2.1 KiB
JSON

{
"6.1.8": {
"AtomUI.Desktop.Controls": {
"allowed": [
"buildTransitive/AtomUI.Build.Tasks.Process.cs",
"tools/net10.0/*",
"tools/netstandard2.0/AtomUI.Build.Tasks.dll"
],
"reason": "6.1.9 moved the MSBuild task toolset from tools/netstandard2.0 to tools/net10.0 and added the SDK-compiled process adapter. Documented in docs/releases/6.1.9-api-changes.md."
},
"AtomUI.Desktop.Controls.DataGrid": {
"allowed": [
"buildTransitive/AtomUI.Build.Tasks.Process.cs",
"tools/net10.0/*",
"tools/netstandard2.0/AtomUI.Build.Tasks.dll"
],
"reason": "Same 6.1.9 build-tooling relocation as AtomUI.Desktop.Controls; documented in docs/releases/6.1.9-api-changes.md."
},
"AtomUI.Desktop.Controls.ColorPicker": {
"allowed": [
"buildTransitive/AtomUI.Build.Tasks.Process.cs",
"tools/net10.0/*",
"tools/netstandard2.0/AtomUI.Build.Tasks.dll"
],
"reason": "Same 6.1.9 build-tooling relocation as AtomUI.Desktop.Controls; documented in docs/releases/6.1.9-api-changes.md."
},
"AtomUI.Desktop.Controls.Extras": {
"allowed": [
"buildTransitive/AtomUI.Build.Tasks.Process.cs",
"tools/net10.0/*",
"tools/netstandard2.0/AtomUI.Build.Tasks.dll"
],
"reason": "Same 6.1.9 build-tooling relocation as AtomUI.Desktop.Controls; documented in docs/releases/6.1.9-api-changes.md."
},
"AtomUI.Generator": {
"allowed": [
"buildTransitive/AtomUI.Build.Tasks.Process.cs",
"tools/net10.0/*",
"tools/netstandard2.0/AtomUI.Build.Tasks.dll"
],
"reason": "Same 6.1.9 build-tooling relocation as AtomUI.Desktop.Controls; documented in docs/releases/6.1.9-api-changes.md."
},
"AtomUI.Toolkits.GalleryBase": {
"allowed": [
"buildTransitive/AtomUI.Build.Tasks.Process.cs",
"tools/net10.0/*",
"tools/netstandard2.0/AtomUI.Build.Tasks.dll"
],
"reason": "Same 6.1.9 build-tooling relocation as AtomUI.Desktop.Controls; documented in docs/releases/6.1.9-api-changes.md."
}
}
}