Repository navigation
release: 桌面端 0.8.4(Viva 同步上游 d36f87e,固定 fork main c1f24ff) - #2116
Merged
Merged
Conversation
1 task done
xiaoyumuxi
marked this pull request as ready for review
November 17, 2026 15:33
Collaborator
Author
|
关于 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
背景 / Why
准备桌面端
0.8.4正式版本。按 Viva fork 维护 Note 与发布流程,发版前先把上游vivaui/viva的最新提交同步进Lithe-IDEA/Lithe-vivamain,升级 Lithe 的 Viva 固定版本,再更新desktop/viva.toml与双语发布说明docs/releases/v0.8.4.md。本 PR 包含两个提交:chore(desktop): Viva 同步上游 d36f87e,固定 fork main c1f24ffchore(release): 桌面端 0.8.4 版本号与发布说明改动 / Changes
Viva 固定版本
desktop/go.mod:require github.com/vivaui/viva v0.6.6-0.20261117144308-d36f87e2234a(上游基线d36f87e),replace => github.com/Lithe-IDEA/viva v0.6.6-0.20261117151934-c1f24ffa3d8a(forkmain头c1f24ff);desktop/go.sum随之更新。0.8.4 发布准备
desktop/viva.toml:[app] version0.8.3→0.8.4。docs/releases/v0.8.4.md:按TEMPLATE.md撰写的中英双语发布说明,已通过校验脚本。内容覆盖desktop-v0.8.3..main期间的用户可见改动:#2097、#2099、#2101、#2102、#2103、#2106、#2110、#2111、#2113、#2115(#2098是 Homebrew 配方、#2114是 Agent 文档,不写入说明)。#2087(插件设置按模块配置源目录、依赖等条目):它在desktop-v0.8.2时已经发布,但 0.8.2 和 0.8.3 的说明都没有写,这次按维护者要求补进 0.8.4 的“新功能”。publish-update-feed.sh的当前规则写:增量包只从更新源当前提供的 0.8.3 生成,更早的版本下载完整包;Windows 0.8.0 无法应用内更新,需要手动安装。Viva 同步报告
基线
main:412c0d9→c1f24ff(Lithe-IDEA/Lithe-viva#38 以 merge commit 合入,双亲412c0d9、8e27169)。vivaui/viva main:aa89181..d36f87e(15 个提交);git merge-base --is-ancestor upstream/main origin/main为真,git log origin/main..upstream/main为空。上游与 fork 的标签一致,没有要补推的标签。影响 Lithe 的上游改动
d828c8bBase把停用状态传给HitWithOptions,并逐个比较Base和控件Box.Disabled;全量测试通过,未发现行为回归333a930、8cf777d、9614365ui.Field新增Invalid、Disabled、Hint;FormField新增Description*string而不是*Field,暂不能替换 #1821 第 1 项,见下方“绕过代码”3eaae58FormField显示错误、无效样式,并为控件加标签FormField,无影响7ae8b6bBox.ButtonRecipe,单个按钮可用自己的样式1443298Select触发器新增无障碍Hinte1bb4dad97f2b6audio包,在默认输出设备播放 PCM01bf3b8+8d814bfButtonExtent后又撤销3ed35ad、86e602f7a46c79、d36f87efork 补丁与冲突
ui/textview)和 #37(ContextMenu)按维护者决定本次不合入,留到之后;因此 Lithe 的desktop/internal/textview副本继续保留。绕过代码(#1821)
Disabled:上游新增的Field.Disabled只覆盖*Field绑定;paintInput仍不处理flagDisabled,绑定*string的输入框设Box.Disabled仍然无效。plugin_settings_view.go的readOnlyField、filetree_view.go的fileTree.wheel(vivaui/viva#203)、editor_view.go的verticalWheel、root.go的OnKey/OnShortcut。不在本 PR 范围内 / Out of scope
类型专属:release
版本号(
MAJOR.MINOR.PATCH):0.8.4上一个稳定版 tag:
desktop-v0.8.3docs/releases/v0.8.4.md已按docs/releases/TEMPLATE.md写好(中文在前、英文在后),并运行node scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.4.md内容来自
desktop-v0.8.3..main之间的提交和 PR,以及已知限制;另按维护者要求补了 0.8.2 起已发布但未写进说明的#2087;没有编造功能、兼容性、下载文件或修复下载文件名与两个平台的打包工作流产物一致(
lithe-0.8.4-darwin-<arm64|amd64>.dmg/.zip、-windows-amd64-setup.exe/.zip、Linux DEB/RPM/tar.gz);版本元数据只在desktop/viva.toml一处贡献者名单已按 GitHub 核验:
@1lck、@xiaoyumuxi[N/A] 修改了 GitHub Actions 工作流的,已运行
actionlint:未改工作流本 PR 不创建 tag、不触发发布工作流、不编辑线上 Release(标签与发布动作在合入
main后按维护者授权执行)范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:未改变宿主用户可见能力或跨平台行为(只更新 Viva 固定版本、版本号与发布说明)。
./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh(198 capabilities 通过).artifacts/下生成的矩阵视图插件归属 / Plugin ownership
develop-lithe第三节“插件归属与宿主零依赖”的自查命令,结果为空UI 验证 / UI evidence
N/A:未修改布局、控件、样式或界面文案。
统一日志系统 / Structured logging
N/A:未新增或修改日志事件、错误边界或失败路径。
界面文案 / i18n
N/A:未新增或修改界面文案。
node scripts/i18n/verify-app-language-localization.mjs和node scripts/i18n/generate-i18n.mjs --check,均通过逻辑归属 / Logic placement
N/A:未新增或修改业务逻辑。
性能与内存 / Performance and memory
N/A:未改动运行时性能路径或编辑器模块。
设置 / Settings
N/A:未改设置。
插件契约 / Plugin contract
N/A:未改契约,
PINNED_CORE_REVISION保持不变。发行包与资源 / Bundle and resources
N/A:未新增或修改运行时资源或构建资源。
./scripts/desktop/verify/verify-runtime-bundle-immutability.sh,通过无用代码与重构 / Dead code and refactoring
验证 / Verification
./scripts/desktop/desktop-go.sh build ./...PATH="/bin:$PATH" ./scripts/desktop/desktop-go.sh test ./...internal/localshell2 个用例超时失败,见下方注记PATH="/bin:$PATH" ./scripts/desktop/desktop-go.sh test -count=1 ./internal/localshell/...node scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.4.mdbash scripts/ci/desktop-release/resolve-release-version.sh 0.8.4desktop-v0.8.4)node scripts/i18n/verify-app-language-localization.mjs、node scripts/i18n/generate-i18n.mjs --check./scripts/agent-notes/verify-agent-notes.sh./scripts/platform-feature-matrix/verify-platform-feature-matrix.sh./scripts/desktop/verify/verify-runtime-bundle-immutability.sh./scripts/desktop/generate-desktop-icons.sh、generate-desktop-file-icons.sh./scripts/desktop/desktop-go.sh --exec go run github.com/vivaui/viva/cmd/viva vet ./...rg自查native (ubuntu-latest)、native (windows-latest)、cross-vet、lint、test、benchmarks通过;macOS 三项(darwin、native (macos-latest)、size)提交本 PR 时仍在排队git merge-base --is-ancestor upstream/main origin/main(fork)未能执行的检查和原因:
internal/localshell的TestClosingAnIntegratedShellHangsUpTheShellAndItsJobs/bash与TestClosingAnIntegratedShellRightAfterACommandHangsUpItsJobs/zsh在全量并行测试时超出 5s 等待(shell 的子任务在终端关闭后未及时退出);同一包单独复跑全部通过,本 PR 未改动localshell,判断为全量负载下的时序问题。go test ./cmd/viva/...有 14 个打包测试失败(本机 SDK 27.2 / clang 21 产物最低系统 13.0,与测试固定的min_system = "12.0"不符);在同步前的 fork main412c0d9上同样失败,与本次同步无关,已在 fork Feat/windows/terminal sessions #38 说明。Desktop Release工作流验证。提交前确认 / Final checks
main(3a487c660)创建,目标分支:main.build/、target/、dist/、.artifacts/等产物,没有凭据和个人路径