diff --git a/CMakeLists.txt b/CMakeLists.txt index 10251dd..ed62b63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.25.0) -project(TreelandProtocols VERSION 0.6.0 LANGUAGES NONE) +project(TreelandProtocols VERSION 0.7.0 LANGUAGES NONE) # https://gitlab.kitware.com/cmake/cmake/-/work_items/23461 # Suppress GNUInstallDirs warning for LANGUAGES NONE projects diff --git a/dde/README.md b/dde/README.md index 42602de..0baaa6a 100644 --- a/dde/README.md +++ b/dde/README.md @@ -20,6 +20,12 @@ For DDE desktop components. Installed via `TREELAND_PROTOCOL_DDE_XML_FILES`. Breaking changes are grouped by version. Under each version heading, one subsection per affected protocol explains what changed, what replaces it, and how existing consumers should adapt. +### 0.7.0 + +#### `treeland-appearance-manager-unstable-v1.xml` + +The `set_accent_color` request dropped its `a` (alpha) argument. The accent color is now an opaque RGB triple `r, g, b` (each `uint` in `[0, 255]`); the alpha channel is no longer carried on the wire. Consumers must stop sending the trailing `a` argument and must not interpret accent color opacity from this request; opacity is outside the scope of the accent color setting. + ### 0.6.0 #### `treeland-output-manager-v1.xml` diff --git a/dde/README.zh_CN.md b/dde/README.zh_CN.md index 132b8e4..ece28e3 100644 --- a/dde/README.zh_CN.md +++ b/dde/README.zh_CN.md @@ -20,6 +20,12 @@ 破坏性变更按版本分组。每个版本标题下,每个受影响协议有一个子节说明变更内容、替代方案以及现有消费者如何适配。 +### 0.7.0 + +#### `treeland-appearance-manager-unstable-v1.xml` + +`set_accent_color` 请求移除了 `a`(alpha)参数。活动色现为不透明 RGB 三元组 `r, g, b`(每个为 `[0, 255]` 范围内的 `uint`);alpha 通道不再上线缆传输。消费者须停止发送末尾的 `a` 参数,且不得从该请求推断活动色不透明度;不透明度不在活动色设置范围内。 + ### 0.6.0 #### `treeland-output-manager-v1.xml` diff --git a/dde/treeland-appearance-manager-unstable-v1.xml b/dde/treeland-appearance-manager-unstable-v1.xml index 9d3f378..f7f2f89 100644 --- a/dde/treeland-appearance-manager-unstable-v1.xml +++ b/dde/treeland-appearance-manager-unstable-v1.xml @@ -157,7 +157,6 @@ - diff --git a/public/README.md b/public/README.md index cf1f0fc..1b5c164 100644 --- a/public/README.md +++ b/public/README.md @@ -14,6 +14,10 @@ Breaking changes are grouped by version. Under each version heading, one subsect ### 0.7.0 +#### `treeland-appearance-unstable-v1.xml` + +The `accent_color` event dropped its `a` (alpha) argument. The accent color is now reported as an opaque RGB triple `r, g, b` (each `uint` in `[0, 255]`); the alpha channel is no longer carried on the wire. Consumers must stop reading the trailing `a` argument and must not derive accent color opacity from this event; opacity is outside the scope of the accent color setting. + #### `treeland-dde-shell-v1.xml` The manager request `set_xwindow_position_relative` is now documented as deprecated and non-functional: it has no effect and no callback is ever created. The file itself stays in place for now; the whole `treeland-dde-shell` protocol is slated for removal in a future release. diff --git a/public/README.zh_CN.md b/public/README.zh_CN.md index 82e9284..3268241 100644 --- a/public/README.zh_CN.md +++ b/public/README.zh_CN.md @@ -15,6 +15,10 @@ ### 0.7.0 +#### `treeland-appearance-unstable-v1.xml` + +`accent_color` 事件移除了 `a`(alpha)参数。活动色现以不透明 RGB 三元组 `r, g, b` 上报(每个为 `[0, 255]` 范围内的 `uint`);alpha 通道不再上线缆传输。消费者须停止读取末尾的 `a` 参数,且不得从该事件推断活动色不透明度;不透明度不在活动色设置范围内。 + #### `treeland-dde-shell-v1.xml` 管理器的 `set_xwindow_position_relative` 请求现标注为已废弃且不可用:请求无任何效果,也不会创建任何回调。文件暂保留原位;整个 `treeland-dde-shell` 协议计划在未来版本彻底移除。 diff --git a/public/treeland-appearance-unstable-v1.xml b/public/treeland-appearance-unstable-v1.xml index a3692ee..78d2afd 100644 --- a/public/treeland-appearance-unstable-v1.xml +++ b/public/treeland-appearance-unstable-v1.xml @@ -139,7 +139,6 @@ -