From 088a468f332cf6feb3f76f59988d11fa6fa8f297 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sat, 21 Nov 2026 00:41:30 +0800 Subject: [PATCH 1/6] =?UTF-8?q?chore(viva):=20=E5=90=8C=E6=AD=A5=E4=B8=8A?= =?UTF-8?q?=E6=B8=B8=2033de151=20=E5=B9=B6=E5=90=88=E5=85=A5=20fork=20#50?= =?UTF-8?q?=EF=BC=8C=E5=9B=BA=E5=AE=9A=20Lithe-viva=20main=2086ce261?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/go.mod | 4 ++-- desktop/go.sum | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/go.mod b/desktop/go.mod index a2e0a5e9a..84fdf97b0 100644 --- a/desktop/go.mod +++ b/desktop/go.mod @@ -9,7 +9,7 @@ toolchain go1.27.3 require ( github.com/creack/pty v1.1.24 github.com/tailscale/hujson v0.0.0-20260727124030-b80ff77dac4f - github.com/vivaui/viva v0.6.7-0.20261120083913-39376802ea2b + github.com/vivaui/viva v0.6.7-0.20261120161138-33de1510b496 github.com/zalando/go-keyring v0.2.8 golang.org/x/sys v0.50.0 ) @@ -20,4 +20,4 @@ require ( github.com/godbus/dbus/v5 v5.2.2 // indirect ) -replace github.com/vivaui/viva => github.com/Lithe-IDEA/viva v0.6.7-0.20261120105529-d354e3c8f5c5 +replace github.com/vivaui/viva => github.com/Lithe-IDEA/viva v0.6.7-0.20261120163944-86ce26189bdb diff --git a/desktop/go.sum b/desktop/go.sum index 6c7acf800..92885033a 100644 --- a/desktop/go.sum +++ b/desktop/go.sum @@ -1,5 +1,5 @@ -github.com/Lithe-IDEA/viva v0.6.7-0.20261120105529-d354e3c8f5c5 h1:SUOfIfoiF3x7EknwEj8FeSYjQZ5TCXHC2mfXfXat6UQ= -github.com/Lithe-IDEA/viva v0.6.7-0.20261120105529-d354e3c8f5c5/go.mod h1:e9In6+J77G7B9ow4enZ2FSOFh7U3q4cQ5iJr3Qn/Olk= +github.com/Lithe-IDEA/viva v0.6.7-0.20261120163944-86ce26189bdb h1:2Jyt6tz/RhKwJ5A2XIJ0aOXSkRJHgZRhZd5lpNgHJHM= +github.com/Lithe-IDEA/viva v0.6.7-0.20261120163944-86ce26189bdb/go.mod h1:e9In6+J77G7B9ow4enZ2FSOFh7U3q4cQ5iJr3Qn/Olk= github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ= From adb0f6efda4b1b99d28d5be68bae5bbacd375802 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sat, 21 Nov 2026 00:23:17 +0800 Subject: [PATCH 2/6] =?UTF-8?q?fix(core):=20=E5=9B=BA=E5=AE=9A=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=8D=A2=E6=88=90=20Lithe-core-rust=20main=20?= =?UTF-8?q?=E7=9A=84=2083a9f92=EF=BC=88#135=20squash=20=E5=90=88=E5=85=A5?= =?UTF-8?q?=E5=90=8E=E7=9A=84=E6=8F=90=E4=BA=A4=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/desktop/build-desktop-core.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/desktop/build-desktop-core.sh b/scripts/desktop/build-desktop-core.sh index 3c1495aa5..54e3530d9 100755 --- a/scripts/desktop/build-desktop-core.sh +++ b/scripts/desktop/build-desktop-core.sh @@ -297,10 +297,10 @@ PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" # contract, resolveSource.recommendationsURL, and plugins.marketplace.recommendForWorkspace (#2228). # Core #132, merged into main: reviewed-tip force deletion and first-primary-click selection. # Core #133, merged into main: commandInstallers 1 pinned archive downloads (API-23). -# Lithe-core-rust #135 (branch fix/toolchain-keep-invoked-name at 8291f3c, on top of main 72036de): -# an external installation whose layout file links to another file name (rustup's cargo and -# rust-analyzer proxies) resolves to the layout path, so probes and launches start cargo, not rustup. -PINNED_CORE_REVISION="8291f3c26f0aa8bc5db8a948608bdf7e8f9c5ad6" +# Lithe-core-rust main at 83a9f92: #135 (squash-merged) resolves an external installation whose +# layout file links to another file name (rustup's cargo and rust-analyzer proxies) to the layout +# path, so probes and launches start cargo, not rustup; #134 hardens remote connections. +PINNED_CORE_REVISION="83a9f92505b5152669420e449085851a676b0931" PROFILE="debug" CHECKOUT_ONLY="no" while [[ $# -gt 0 ]]; do From 69a81f6571a98dd1efceed8f9b338ad28cb83374 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sat, 21 Nov 2026 00:27:09 +0800 Subject: [PATCH 3/6] =?UTF-8?q?fix(core):=20=E5=9B=BA=E5=AE=9A=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=8D=A2=E6=88=90=20Lithe-core-rust=20main=20?= =?UTF-8?q?=E7=9A=84=2043e3f27=EF=BC=88=E5=90=AB=20#136=20=E8=BF=9C?= =?UTF-8?q?=E7=A8=8B=E8=BF=9E=E6=8E=A5=E6=97=A5=E5=BF=97=20v2=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/desktop/build-desktop-core.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/desktop/build-desktop-core.sh b/scripts/desktop/build-desktop-core.sh index 54e3530d9..4729c335d 100755 --- a/scripts/desktop/build-desktop-core.sh +++ b/scripts/desktop/build-desktop-core.sh @@ -297,10 +297,11 @@ PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" # contract, resolveSource.recommendationsURL, and plugins.marketplace.recommendForWorkspace (#2228). # Core #132, merged into main: reviewed-tip force deletion and first-primary-click selection. # Core #133, merged into main: commandInstallers 1 pinned archive downloads (API-23). -# Lithe-core-rust main at 83a9f92: #135 (squash-merged) resolves an external installation whose -# layout file links to another file name (rustup's cargo and rust-analyzer proxies) to the layout -# path, so probes and launches start cargo, not rustup; #134 hardens remote connections. -PINNED_CORE_REVISION="83a9f92505b5152669420e449085851a676b0931" +# Lithe-core-rust main at 43e3f27: #135 resolves an external installation whose layout file links +# to another file name (rustup's cargo and rust-analyzer proxies) to the layout path, so probes and +# launches start cargo, not rustup; #134 hardens remote connections and #136 logs the remote +# connection lifecycle as structured log v2 events. +PINNED_CORE_REVISION="43e3f277c47033ca8c98e67e7da896a79fde595f" PROFILE="debug" CHECKOUT_ONLY="no" while [[ $# -gt 0 ]]; do From f6db4f319373dd1b30b090db361327d7d1085616 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sat, 21 Nov 2026 00:45:47 +0800 Subject: [PATCH 4/6] =?UTF-8?q?release:=20=E5=87=86=E5=A4=87=20desktop-v0.?= =?UTF-8?q?8.12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/viva.toml | 2 +- docs/releases/v0.8.12.md | 113 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 docs/releases/v0.8.12.md diff --git a/desktop/viva.toml b/desktop/viva.toml index c7da17020..b6df7c770 100644 --- a/desktop/viva.toml +++ b/desktop/viva.toml @@ -9,7 +9,7 @@ name = "Lithe Desktop" # A separate identity from the SwiftUI client (app.lithe.desktop), so both can be installed # while this client grows. id = "app.lithe.viva" -version = "0.8.11" +version = "0.8.12" executable = "lithe" package = "./cmd/lithe" # The full-bleed square of the SwiftUI client's icon; viva package shapes it into the macOS tile. diff --git a/docs/releases/v0.8.12.md b/docs/releases/v0.8.12.md new file mode 100644 index 000000000..c69516e2a --- /dev/null +++ b/docs/releases/v0.8.12.md @@ -0,0 +1,113 @@ +## 中文 + +Lithe Desktop 0.8.12 让插件按需下载固定版本的命令(例如调试器),不必把它们打进插件包。这一版还修复了三个问题:macOS 上不识别用 rustup 安装的 Cargo;保存工具链后,构建仍用旧环境;Windows 和 Linux 上超长日志行可能让窗口闪退。插件详情和全局搜索的排版也更整齐,Viva 同步到了最新上游。 + +### 下载 + +- [项目主页](https://github.com/1lck/Lithe-IDEA) +- [macOS Apple Silicon DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.12/lithe-0.8.12-darwin-arm64.dmg) +- [macOS Intel DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.12/lithe-0.8.12-darwin-amd64.dmg) +- [Windows x64 安装程序](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.12/lithe-0.8.12-windows-amd64-setup.exe) +- [全部下载文件与 SHA-256 校验文件](https://github.com/1lck/Lithe-IDEA/releases/tag/desktop-v0.8.12) + +### 重点更新 + +这一版的重点是插件自己就能装好所需的工具,工具链设置也会立即生效。 + +#### ✨ 新功能 + +- 插件可以为缺少的命令指定固定地址的压缩包。在插件能力卡片上点“安装”后,确认对话框会列出版本、下载地址、镜像和 SHA-256。确认后,Lithe 下载并校验压缩包,解压到插件自己的目录,不再需要把调试器这类工具打进插件包。Rust Support 插件用这种方式按需下载 CodeLLDB。 + +#### ⚡ 改进 + +- 插件详情的“版本与来源”和“权限与程序”两个页签重新排版: + - 各项的值对齐,每个权限占一行,常驻说明收进 ⓘ。 + - 每个程序默认折叠成一行,展开后显示带语法高亮的完整 JSON,可以一键复制。 +- 全局搜索里,“类型”“符号”页签的 ⓘ 和页签名称放进了同一个页签块。点 ⓘ 也会切到这个页签。 +- Viva 图形框架同步到上游 `33de151`。Windows 终端绘制彩色输出时,排版和绘制调用更少,速度更快。 + +#### 🛠 修复 + +- 修复 macOS 上用 rustup 安装的 Cargo 被判为版本不满足的问题。之前它不会出现在工具链页,也无法固定到项目。 +- 修复保存工具链设置(例如切换解释器)后,当前窗口的构建和测试仍沿用旧工具链、要重启才生效的问题。 +- 修复 Windows 和 Linux 上画不出超长单行文本(例如 LSP 日志里的长行),并可能让窗口闪退的问题。 + +### 升级说明 + +- 已安装 Lithe 的用户,可以从标题栏的更新入口或“设置 → 关于”检查更新,也可以下载完整安装包。 +- macOS:打开对应芯片的 DMG,将 `Lithe Desktop.app` 拖入“应用程序”。 +- Homebrew:配方更新后运行 `brew update && brew upgrade --cask lithe`。 +- Windows:运行 x64 安装程序;Windows 0.8.0 用户需要手动下载安装。 +- Linux:全部下载文件中提供 x64、ARM64 的 DEB、RPM 和 tar.gz。 + +### 兼容性与已知问题 + +- macOS 最低 13.0;Windows 提供 x64 包;Linux 需要兼容的运行库和图形环境。 +- 部分依赖本机交互的 Windows 功能还没有在 Windows 实机上验收,功能矩阵中如实保留为待验证。 +- macOS 使用临时签名,没有经过公证;Windows 安装包没有发行者签名。系统可能显示安全提示。 + +如果 macOS 提示无法打开 `Lithe Desktop.app`,请在“应用程序”中按住 Control 点按应用并选择“打开”;如果仍被阻止,可执行 `xattr -dr com.apple.quarantine "/Applications/Lithe Desktop.app"`。旧版 `Lithe.app` 使用 `xattr -dr com.apple.quarantine /Applications/Lithe.app`。仅对可信来源的应用使用。 + +[查看完整变更](https://github.com/1lck/Lithe-IDEA/compare/desktop-v0.8.11...desktop-v0.8.12) + +--- + +## English + +Lithe Desktop 0.8.12 lets plugins download pinned commands, such as debuggers, when they are needed, so plugins no longer bundle them. It also fixes three problems: Cargo installed with rustup was not recognized on macOS, builds kept the old toolchain after you saved toolchain settings, and very long log lines could crash the window on Windows and Linux. Plugin details and Search Everywhere have a tidier layout, and Viva is synced with upstream. + +### Downloads + +- [Project homepage](https://github.com/1lck/Lithe-IDEA) +- [macOS Apple Silicon DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.12/lithe-0.8.12-darwin-arm64.dmg) +- [macOS Intel DMG](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.12/lithe-0.8.12-darwin-amd64.dmg) +- [Windows x64 installer](https://github.com/1lck/Lithe-IDEA/releases/download/desktop-v0.8.12/lithe-0.8.12-windows-amd64-setup.exe) +- [All downloads and SHA-256 checksums](https://github.com/1lck/Lithe-IDEA/releases/tag/desktop-v0.8.12) + +### Highlights + +This release lets plugins install the tools they need themselves, and makes toolchain settings take effect right away. + +#### ✨ New features + +- Plugins can name a pinned archive for a missing command. When you click Install on a plugin's capability card, a confirmation dialog lists the version, download URL, mirrors and SHA-256. After you confirm, Lithe downloads and verifies the archive and extracts it into the plugin's own directory, so plugins no longer have to bundle tools such as debuggers. Rust Support uses this to download CodeLLDB on demand. + +#### ⚡ Improvements + +- New layout for the Version and source and the Permissions and programs tabs in plugin details: + - Values line up, each permission takes one row, and the standing explanations moved into ⓘ. + - Each program is collapsed to one row by default. Expand it to see the full JSON with syntax highlighting, and copy it with one click. +- In Search Everywhere, the ⓘ of the Types and Symbols tabs now sits inside the tab with its name. Clicking ⓘ also switches to that tab. +- Syncs the Viva UI framework with upstream `33de151`. The Windows terminal now draws colored output with fewer layout and drawing calls, so it is faster. + +#### 🛠 Fixes + +- Fixes Cargo installed with rustup on macOS being reported as an unsatisfied version. It was missing from the toolchain page and could not be pinned to a project. +- Fixes builds and tests in the current window using the old toolchain after you saved toolchain settings (for example, after switching interpreters) until you restarted. +- Fixes very long single lines of text, such as long lines in LSP logs, not being drawn on Windows and Linux, which could crash the window. + +### Upgrade instructions + +- If Lithe is already installed, check for updates from the title bar or Settings → About, or download a full package. +- macOS: open the DMG for your processor and drag `Lithe Desktop.app` to Applications. +- Homebrew: run `brew update && brew upgrade --cask lithe` once the cask update is available. +- Windows: run the x64 installer. Windows 0.8.0 users must download and install it manually. +- Linux: the release downloads include DEB, RPM and tar.gz packages for x64 and ARM64. + +### Compatibility and known issues + +- macOS requires 13.0 or newer, Windows packages target x64, and Linux requires compatible libraries and a graphical environment. +- Some Windows features that depend on native interaction have not been accepted on real Windows hardware yet; the feature matrix still lists them as pending. +- macOS packages use ad hoc signing and are not notarized. Windows installers have no publisher signature. Your system may show security prompts. + +If macOS cannot open `Lithe Desktop.app`, Control-click it in Applications and choose Open. If it remains blocked, run `xattr -dr com.apple.quarantine "/Applications/Lithe Desktop.app"`. For the older `Lithe.app`, use `xattr -dr com.apple.quarantine /Applications/Lithe.app`. Use these commands only for an app from a source you trust. + +[Full changelog](https://github.com/1lck/Lithe-IDEA/compare/desktop-v0.8.11...desktop-v0.8.12) + +### 🙌 感谢贡献者 + +感谢 [@Mucheen](https://github.com/Mucheen) 和 [@xiaoyumuxi](https://github.com/xiaoyumuxi)。 + +### 🙌 Contributors + +Thanks to [@Mucheen](https://github.com/Mucheen) and [@xiaoyumuxi](https://github.com/xiaoyumuxi). From c8e53951ac27940da70b309cd62048ca8a9b4cc5 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sat, 21 Nov 2026 00:51:20 +0800 Subject: [PATCH 5/6] =?UTF-8?q?chore(viva):=20=E8=A1=A5=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E4=B8=8A=E6=B8=B8=20faaa437=EF=BC=8C=E5=9B=BA=E5=AE=9A=20Lithe?= =?UTF-8?q?-viva=20main=20909613b=EF=BC=9B=E5=8F=91=E5=B8=83=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=E5=88=97=E5=87=BA=E6=8F=92=E4=BB=B6=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E6=96=B0=E5=AE=BF=E4=B8=BB=E8=83=BD=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desktop/go.mod | 4 ++-- desktop/go.sum | 4 ++-- docs/releases/v0.8.12.md | 22 ++++++++++++++++++---- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/desktop/go.mod b/desktop/go.mod index 84fdf97b0..94e8a2260 100644 --- a/desktop/go.mod +++ b/desktop/go.mod @@ -9,7 +9,7 @@ toolchain go1.27.3 require ( github.com/creack/pty v1.1.24 github.com/tailscale/hujson v0.0.0-20260727124030-b80ff77dac4f - github.com/vivaui/viva v0.6.7-0.20261120161138-33de1510b496 + github.com/vivaui/viva v0.6.7-0.20261120163035-faaa437dcc1b github.com/zalando/go-keyring v0.2.8 golang.org/x/sys v0.50.0 ) @@ -20,4 +20,4 @@ require ( github.com/godbus/dbus/v5 v5.2.2 // indirect ) -replace github.com/vivaui/viva => github.com/Lithe-IDEA/viva v0.6.7-0.20261120163944-86ce26189bdb +replace github.com/vivaui/viva => github.com/Lithe-IDEA/viva v0.6.7-0.20261120164822-909613b5c9a4 diff --git a/desktop/go.sum b/desktop/go.sum index 92885033a..94cef95ff 100644 --- a/desktop/go.sum +++ b/desktop/go.sum @@ -1,5 +1,5 @@ -github.com/Lithe-IDEA/viva v0.6.7-0.20261120163944-86ce26189bdb h1:2Jyt6tz/RhKwJ5A2XIJ0aOXSkRJHgZRhZd5lpNgHJHM= -github.com/Lithe-IDEA/viva v0.6.7-0.20261120163944-86ce26189bdb/go.mod h1:e9In6+J77G7B9ow4enZ2FSOFh7U3q4cQ5iJr3Qn/Olk= +github.com/Lithe-IDEA/viva v0.6.7-0.20261120164822-909613b5c9a4 h1:0ueLnXt+FM/yBNv/TMkSxkeRmIpw3gs9z5FEeZKXnCY= +github.com/Lithe-IDEA/viva v0.6.7-0.20261120164822-909613b5c9a4/go.mod h1:e9In6+J77G7B9ow4enZ2FSOFh7U3q4cQ5iJr3Qn/Olk= github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= github.com/danieljoos/wincred v1.2.3 h1:v7dZC2x32Ut3nEfRH+vhoZGvN72+dQ/snVXo/vMFLdQ= diff --git a/docs/releases/v0.8.12.md b/docs/releases/v0.8.12.md index c69516e2a..6e413fb31 100644 --- a/docs/releases/v0.8.12.md +++ b/docs/releases/v0.8.12.md @@ -1,6 +1,6 @@ ## 中文 -Lithe Desktop 0.8.12 让插件按需下载固定版本的命令(例如调试器),不必把它们打进插件包。这一版还修复了三个问题:macOS 上不识别用 rustup 安装的 Cargo;保存工具链后,构建仍用旧环境;Windows 和 Linux 上超长日志行可能让窗口闪退。插件详情和全局搜索的排版也更整齐,Viva 同步到了最新上游。 +Lithe Desktop 0.8.12 让插件按需下载固定版本的命令(例如调试器),不必把它们打进插件包;Rust Support 插件 0.1.0 需要这个能力。这一版还修复了四个问题:macOS 上不识别用 rustup 安装的 Cargo;保存工具链后,构建仍用旧环境;Windows 和 Linux 上超长日志行可能让窗口闪退;Linux HiDPI 桌面上的鼠标指针过小。插件详情和全局搜索的排版也更整齐,Viva 同步到了最新上游。 ### 下载 @@ -24,13 +24,20 @@ Lithe Desktop 0.8.12 让插件按需下载固定版本的命令(例如调试 - 各项的值对齐,每个权限占一行,常驻说明收进 ⓘ。 - 每个程序默认折叠成一行,展开后显示带语法高亮的完整 JSON,可以一键复制。 - 全局搜索里,“类型”“符号”页签的 ⓘ 和页签名称放进了同一个页签块。点 ⓘ 也会切到这个页签。 -- Viva 图形框架同步到上游 `33de151`。Windows 终端绘制彩色输出时,排版和绘制调用更少,速度更快。 +- Viva 图形框架同步到上游 `faaa437`。Windows 终端绘制彩色输出时,排版和绘制调用更少,速度更快。 #### 🛠 修复 - 修复 macOS 上用 rustup 安装的 Cargo 被判为版本不满足的问题。之前它不会出现在工具链页,也无法固定到项目。 - 修复保存工具链设置(例如切换解释器)后,当前窗口的构建和测试仍沿用旧工具链、要重启才生效的问题。 - 修复 Windows 和 Linux 上画不出超长单行文本(例如 LSP 日志里的长行),并可能让窗口闪退的问题。 +- 修复 Linux 上 HiDPI 桌面的鼠标指针比系统指针小很多的问题:DEB、RPM 包现在把 `libxcb-cursor` 列为推荐依赖,正常安装会一并装上。 + +#### 🔌 插件需要的新宿主能力 + +下面的插件版本需要本版新增的宿主能力,0.8.11 及更早的 Lithe 会拒绝安装: + +- [Lithe-IDEA/lithe-plugin-rust](https://github.com/Lithe-IDEA/lithe-plugin-rust) 的 Rust Support 0.1.0(预发布):需要命令安装器下载固定地址的压缩包(`commandInstallers` 能力版本 1),用来按需下载 CodeLLDB。在 macOS 上用 rustup 安装 Rust 时,它还依赖本版对 rustup 版 Cargo 的识别修复。 ### 升级说明 @@ -54,7 +61,7 @@ Lithe Desktop 0.8.12 让插件按需下载固定版本的命令(例如调试 ## English -Lithe Desktop 0.8.12 lets plugins download pinned commands, such as debuggers, when they are needed, so plugins no longer bundle them. It also fixes three problems: Cargo installed with rustup was not recognized on macOS, builds kept the old toolchain after you saved toolchain settings, and very long log lines could crash the window on Windows and Linux. Plugin details and Search Everywhere have a tidier layout, and Viva is synced with upstream. +Lithe Desktop 0.8.12 lets plugins download pinned commands, such as debuggers, when they are needed, so plugins no longer bundle them; the Rust Support 0.1.0 plugin needs this. It also fixes four problems: Cargo installed with rustup was not recognized on macOS, builds kept the old toolchain after you saved toolchain settings, very long log lines could crash the window on Windows and Linux, and the mouse pointer was too small on HiDPI Linux desktops. Plugin details and Search Everywhere have a tidier layout, and Viva is synced with upstream. ### Downloads @@ -78,13 +85,20 @@ This release lets plugins install the tools they need themselves, and makes tool - Values line up, each permission takes one row, and the standing explanations moved into ⓘ. - Each program is collapsed to one row by default. Expand it to see the full JSON with syntax highlighting, and copy it with one click. - In Search Everywhere, the ⓘ of the Types and Symbols tabs now sits inside the tab with its name. Clicking ⓘ also switches to that tab. -- Syncs the Viva UI framework with upstream `33de151`. The Windows terminal now draws colored output with fewer layout and drawing calls, so it is faster. +- Syncs the Viva UI framework with upstream `faaa437`. The Windows terminal now draws colored output with fewer layout and drawing calls, so it is faster. #### 🛠 Fixes - Fixes Cargo installed with rustup on macOS being reported as an unsatisfied version. It was missing from the toolchain page and could not be pinned to a project. - Fixes builds and tests in the current window using the old toolchain after you saved toolchain settings (for example, after switching interpreters) until you restarted. - Fixes very long single lines of text, such as long lines in LSP logs, not being drawn on Windows and Linux, which could crash the window. +- Fixes a mouse pointer much smaller than the system pointer on HiDPI Linux desktops: the DEB and RPM packages now recommend `libxcb-cursor`, so a normal install pulls it in. + +#### 🔌 New host capabilities that plugins need + +The plugin versions below need host capabilities added in this release. Lithe 0.8.11 and earlier refuse to install them: + +- Rust Support 0.1.0 (prerelease) from [Lithe-IDEA/lithe-plugin-rust](https://github.com/Lithe-IDEA/lithe-plugin-rust): needs command installers that download pinned archives (`commandInstallers` capability version 1) to download CodeLLDB on demand. When Rust is installed with rustup on macOS, it also relies on this release's fix for recognizing rustup's Cargo. ### Upgrade instructions From c9806a3ff90408e3642d32a573237d51c8074a49 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Sat, 21 Nov 2026 00:52:14 +0800 Subject: [PATCH 6/6] =?UTF-8?q?docs(release):=200.8.12=20=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E8=AF=B4=E6=98=8E=E6=8C=89=E6=A8=A1=E6=9D=BF=E6=AF=8F?= =?UTF-8?q?=E6=9D=A1=E4=B8=80=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/releases/v0.8.12.md | 44 ++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/docs/releases/v0.8.12.md b/docs/releases/v0.8.12.md index 6e413fb31..244591fb6 100644 --- a/docs/releases/v0.8.12.md +++ b/docs/releases/v0.8.12.md @@ -16,28 +16,26 @@ Lithe Desktop 0.8.12 让插件按需下载固定版本的命令(例如调试 #### ✨ 新功能 -- 插件可以为缺少的命令指定固定地址的压缩包。在插件能力卡片上点“安装”后,确认对话框会列出版本、下载地址、镜像和 SHA-256。确认后,Lithe 下载并校验压缩包,解压到插件自己的目录,不再需要把调试器这类工具打进插件包。Rust Support 插件用这种方式按需下载 CodeLLDB。 +- 插件可以按需下载固定版本的命令(如调试器),安装前列出地址、镜像和 SHA-256 供你确认。 #### ⚡ 改进 -- 插件详情的“版本与来源”和“权限与程序”两个页签重新排版: - - 各项的值对齐,每个权限占一行,常驻说明收进 ⓘ。 - - 每个程序默认折叠成一行,展开后显示带语法高亮的完整 JSON,可以一键复制。 -- 全局搜索里,“类型”“符号”页签的 ⓘ 和页签名称放进了同一个页签块。点 ⓘ 也会切到这个页签。 -- Viva 图形框架同步到上游 `faaa437`。Windows 终端绘制彩色输出时,排版和绘制调用更少,速度更快。 +- 插件详情的“版本与来源”“权限与程序”排版更整齐,程序默认折叠,可展开查看和复制 JSON。 +- 全局搜索“类型”“符号”页签的 ⓘ 移进页签内,点 ⓘ 也会切到该页签。 +- 同步 Viva 上游 `faaa437`,Windows 终端绘制彩色输出更快。 #### 🛠 修复 -- 修复 macOS 上用 rustup 安装的 Cargo 被判为版本不满足的问题。之前它不会出现在工具链页,也无法固定到项目。 -- 修复保存工具链设置(例如切换解释器)后,当前窗口的构建和测试仍沿用旧工具链、要重启才生效的问题。 -- 修复 Windows 和 Linux 上画不出超长单行文本(例如 LSP 日志里的长行),并可能让窗口闪退的问题。 -- 修复 Linux 上 HiDPI 桌面的鼠标指针比系统指针小很多的问题:DEB、RPM 包现在把 `libxcb-cursor` 列为推荐依赖,正常安装会一并装上。 +- 修复 macOS 上不识别用 rustup 安装的 Cargo、无法固定到项目的问题。 +- 修复保存工具链设置后,构建和测试要重启才用上新工具链的问题。 +- 修复 Windows 和 Linux 上超长日志行画不出来、可能让窗口闪退的问题。 +- 修复 Linux HiDPI 桌面鼠标指针过小的问题,DEB、RPM 包会推荐安装 `libxcb-cursor`。 #### 🔌 插件需要的新宿主能力 -下面的插件版本需要本版新增的宿主能力,0.8.11 及更早的 Lithe 会拒绝安装: +以下插件版本需要本版新增的宿主能力,0.8.11 及更早的 Lithe 会拒绝安装。 -- [Lithe-IDEA/lithe-plugin-rust](https://github.com/Lithe-IDEA/lithe-plugin-rust) 的 Rust Support 0.1.0(预发布):需要命令安装器下载固定地址的压缩包(`commandInstallers` 能力版本 1),用来按需下载 CodeLLDB。在 macOS 上用 rustup 安装 Rust 时,它还依赖本版对 rustup 版 Cargo 的识别修复。 +- [Lithe-IDEA/lithe-plugin-rust](https://github.com/Lithe-IDEA/lithe-plugin-rust) Rust Support 0.1.0(预发布):需要 `commandInstallers` 能力版本 1(下载固定地址的压缩包),用于按需下载 CodeLLDB;macOS 上用 rustup 安装 Rust 时还需要本版的 Cargo 识别修复。 ### 升级说明 @@ -77,28 +75,26 @@ This release lets plugins install the tools they need themselves, and makes tool #### ✨ New features -- Plugins can name a pinned archive for a missing command. When you click Install on a plugin's capability card, a confirmation dialog lists the version, download URL, mirrors and SHA-256. After you confirm, Lithe downloads and verifies the archive and extracts it into the plugin's own directory, so plugins no longer have to bundle tools such as debuggers. Rust Support uses this to download CodeLLDB on demand. +- Plugins can download pinned commands, such as debuggers, on demand after you confirm the URL, mirrors and SHA-256. #### ⚡ Improvements -- New layout for the Version and source and the Permissions and programs tabs in plugin details: - - Values line up, each permission takes one row, and the standing explanations moved into ⓘ. - - Each program is collapsed to one row by default. Expand it to see the full JSON with syntax highlighting, and copy it with one click. -- In Search Everywhere, the ⓘ of the Types and Symbols tabs now sits inside the tab with its name. Clicking ⓘ also switches to that tab. -- Syncs the Viva UI framework with upstream `faaa437`. The Windows terminal now draws colored output with fewer layout and drawing calls, so it is faster. +- Tidier Version and source and Permissions and programs tabs in plugin details; programs collapse, expand to show JSON, and copy. +- The ⓘ of the Types and Symbols tabs in Search Everywhere now sits inside the tab, and clicking it switches tabs. +- Syncs Viva with upstream `faaa437`, so the Windows terminal draws colored output faster. #### 🛠 Fixes -- Fixes Cargo installed with rustup on macOS being reported as an unsatisfied version. It was missing from the toolchain page and could not be pinned to a project. -- Fixes builds and tests in the current window using the old toolchain after you saved toolchain settings (for example, after switching interpreters) until you restarted. -- Fixes very long single lines of text, such as long lines in LSP logs, not being drawn on Windows and Linux, which could crash the window. -- Fixes a mouse pointer much smaller than the system pointer on HiDPI Linux desktops: the DEB and RPM packages now recommend `libxcb-cursor`, so a normal install pulls it in. +- Fixes Cargo installed with rustup not being recognized on macOS or pinnable to a project. +- Fixes builds and tests needing a restart to use the toolchain you just saved. +- Fixes very long log lines not being drawn on Windows and Linux, which could crash the window. +- Fixes a too-small mouse pointer on HiDPI Linux desktops; the DEB and RPM packages now recommend `libxcb-cursor`. #### 🔌 New host capabilities that plugins need -The plugin versions below need host capabilities added in this release. Lithe 0.8.11 and earlier refuse to install them: +These plugin versions need host capabilities added in this release; Lithe 0.8.11 and earlier refuse to install them. -- Rust Support 0.1.0 (prerelease) from [Lithe-IDEA/lithe-plugin-rust](https://github.com/Lithe-IDEA/lithe-plugin-rust): needs command installers that download pinned archives (`commandInstallers` capability version 1) to download CodeLLDB on demand. When Rust is installed with rustup on macOS, it also relies on this release's fix for recognizing rustup's Cargo. +- [Lithe-IDEA/lithe-plugin-rust](https://github.com/Lithe-IDEA/lithe-plugin-rust) Rust Support 0.1.0 (prerelease): needs `commandInstallers` capability version 1 (downloading pinned archives) to download CodeLLDB on demand; with Rust installed by rustup on macOS it also needs this release's Cargo recognition fix. ### Upgrade instructions