From 46be833ba6b9b6bb7c948f354ff952a6ae5c38c8 Mon Sep 17 00:00:00 2001 From: YXC0915 Date: Thu, 3 Dec 2026 04:12:17 +0800 Subject: [PATCH] release: prepare v0.2.12 --- .github/workflows/dev-release.yml | 20 +---- .github/workflows/release.yml | 20 +---- CHANGELOG.md | 84 +++++++++++++++++++ changes/alpha-suspend-compatibility.json | 7 -- changes/borderless-resolution-display.json | 7 -- changes/computer-use-mcp.json | 7 -- changes/cow-backing-disk-protection.json | 7 -- changes/daily-alpha-builds.json | 7 -- changes/fix-clipboard-sync-stability.json | 7 -- ...ket-compatibility-and-theme-lifecycle.json | 7 -- changes/guest-tools-host-dns.json | 7 -- changes/guest-tools-timezone.json | 7 -- ...-script-approval-and-market-downloads.json | 7 -- changes/npcap-bridge-lifecycle.json | 7 -- changes/npcap-host-guest-access.json | 7 -- changes/npcap-review-followup.json | 7 -- changes/npcap-unix-only-transport.json | 7 -- changes/official-website-links.json | 7 -- changes/page-file-commit-memory.json | 7 -- changes/runtime-reinstall-rollback.json | 7 -- changes/tiered-tests-webview2.json | 7 -- changes/vm-focus-shortcut-capture.json | 7 -- changes/vm-nested-virtualization.json | 7 -- changes/vm-target-display.json | 7 -- changes/window-drag-drop.json | 7 -- changes/window-native-resolution.json | 9 -- changes/windows-active-gpu-detection.json | 7 -- frontend/package.json | 2 +- frontend/package.json.md5 | 2 +- internal/plugin/builtin/builtin.go | 2 +- internal/version/version.go | 4 +- scripts/build-release-notes.ps1 | 20 ++++- 32 files changed, 109 insertions(+), 215 deletions(-) delete mode 100644 changes/alpha-suspend-compatibility.json delete mode 100644 changes/borderless-resolution-display.json delete mode 100644 changes/computer-use-mcp.json delete mode 100644 changes/cow-backing-disk-protection.json delete mode 100644 changes/daily-alpha-builds.json delete mode 100644 changes/fix-clipboard-sync-stability.json delete mode 100644 changes/fix-plugin-market-compatibility-and-theme-lifecycle.json delete mode 100644 changes/guest-tools-host-dns.json delete mode 100644 changes/guest-tools-timezone.json delete mode 100644 changes/harden-ui-script-approval-and-market-downloads.json delete mode 100644 changes/npcap-bridge-lifecycle.json delete mode 100644 changes/npcap-host-guest-access.json delete mode 100644 changes/npcap-review-followup.json delete mode 100644 changes/npcap-unix-only-transport.json delete mode 100644 changes/official-website-links.json delete mode 100644 changes/page-file-commit-memory.json delete mode 100644 changes/runtime-reinstall-rollback.json delete mode 100644 changes/tiered-tests-webview2.json delete mode 100644 changes/vm-focus-shortcut-capture.json delete mode 100644 changes/vm-nested-virtualization.json delete mode 100644 changes/vm-target-display.json delete mode 100644 changes/window-drag-drop.json delete mode 100644 changes/window-native-resolution.json delete mode 100644 changes/windows-active-gpu-detection.json diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index 571d6d0..192de02 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -100,27 +100,10 @@ jobs: Write-Host "Resolved DEV_VERSION=$devVersion (commit=$shortSha, baseStable=$baseStableTag)" - name: Generate dev release notes - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: pwsh run: | $ErrorActionPreference = 'Stop' $devVersion = $env:DEV_VERSION - $runtimeTag = '' - $runtimeTitle = '' - try { - $rels = gh release list -R $env:GITHUB_REPOSITORY --limit 100 --json tagName,name,isPrerelease,isDraft,createdAt | ConvertFrom-Json - $stable = $rels | - Where-Object { $_.tagName -like 'runtime-*' -and -not $_.isPrerelease -and -not $_.isDraft } | - Sort-Object createdAt -Descending | - Select-Object -First 1 - if ($stable) { - $runtimeTag = $stable.tagName - $runtimeTitle = if ($stable.name) { $stable.name } else { $stable.tagName } - } - } catch { - Write-Warning "Could not query latest stable runtime release: $_" - } New-Item -ItemType Directory -Force -Path .debug/runs/dev-release | Out-Null $notesFile = Join-Path $PWD '.debug/runs/dev-release/release-notes-dev.md' & ./scripts/build-release-notes.ps1 ` @@ -129,8 +112,7 @@ jobs: -PrevTag $env:BASE_STABLE_TAG ` -Commit $env:DEV_COMMIT ` -Repo $env:GITHUB_REPOSITORY ` - -StableRuntimeTag $runtimeTag ` - -StableRuntimeTitle $runtimeTitle ` + -DiscoverStableRuntime ` -OutFile $notesFile "RELEASE_NOTES_FILE=$notesFile" | Out-File -FilePath $env:GITHUB_ENV -Append Write-Host "Generated dev release notes ($((Get-Item -LiteralPath $notesFile).Length) bytes) for $devVersion" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aaf45ff..673783e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,28 +67,11 @@ jobs: Write-Host "Resolved tag=$tag channel=$channel" - name: Generate release notes - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: pwsh run: | $ErrorActionPreference = 'Stop' $tag = $env:RELEASE_TAG $channel = $env:RELEASE_CHANNEL - $runtimeTag = '' - $runtimeTitle = '' - try { - $rels = gh release list -R $env:GITHUB_REPOSITORY --limit 100 --json tagName,name,isPrerelease,isDraft,createdAt | ConvertFrom-Json - $stable = $rels | - Where-Object { $_.tagName -like 'runtime-*' -and -not $_.isPrerelease -and -not $_.isDraft } | - Sort-Object createdAt -Descending | - Select-Object -First 1 - if ($stable) { - $runtimeTag = $stable.tagName - $runtimeTitle = if ($stable.name) { $stable.name } else { $stable.tagName } - } - } catch { - Write-Warning "Could not query latest stable runtime release: $_" - } New-Item -ItemType Directory -Force -Path .debug/runs/release | Out-Null $notesFile = Join-Path $PWD ".debug/runs/release/release-notes-$tag.md" & ./scripts/build-release-notes.ps1 ` @@ -96,8 +79,7 @@ jobs: -Channel $channel ` -ChangelogPath 'CHANGELOG.md' ` -Repo $env:GITHUB_REPOSITORY ` - -StableRuntimeTag $runtimeTag ` - -StableRuntimeTitle $runtimeTitle ` + -DiscoverStableRuntime ` -OutFile $notesFile "RELEASE_NOTES_FILE=$notesFile" | Out-File -FilePath $env:GITHUB_ENV -Append Write-Host "Generated $channel release notes ($((Get-Item -LiteralPath $notesFile).Length) bytes) for $tag" diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e39e9c..024f928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,90 @@ Client releases are listed newest first. Release notes for portable runtimes (`runtime-*`) are available on [GitHub Releases](https://github.com/Nwflower/Reims-Go/releases). +## v0.2.12 — 2026-12-03 + +[中文](#cn-v0.2.12) | [English](#en-v0.2.12) + +

新增功能

+ +- 新增默认启用的「虚拟机交互」扩展,统一处理虚拟机截图、鼠标、键盘与文本输入;新增按虚拟机授权的插件控制通道和 MCP 服务。 — [@bvzrays](https://github.com/bvzrays) +- 「帮助」菜单和「关于」页新增官方网站与使用文档入口,按界面语言打开 [reims.dev](https://reims.dev/) 的中文或英文页面。 — [@Nwflower](https://github.com/Nwflower) +- 可为每台虚拟机指定目标显示器。目标显示器断开时,窗口回退到主显示器([#63](https://github.com/Nwflower/Reims-Go/pull/63))。 — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- 支持将 Windows 文件、文件夹、图片及文本或网址直接拖入 macOS 虚拟机窗口,提供宿主机零拷贝 WebDAV 映射、桌面直投、照片原生导入与跨应用隐身模拟粘贴。 — [@YinLiaoCo](https://github.com/YinLiaoCo) +- 虚拟机可使用 Npcap 桥接到指定的有线或无线网卡,运行中可切换桥接出口。宿主与客体可经同一网卡双向访问,需要 Npcap 1.83 或更高版本。 [#54](https://github.com/Nwflower/Reims-Go/pull/54) — [@ssdsl0126](https://github.com/ssdsl0126) +- 已安装的 macOS 虚拟机可通过 Guest Tools 使用宿主系统 DNS 或 DoH,适用于直连 DNS 受限的网络。 [#65](https://github.com/Nwflower/Reims-Go/pull/65) — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- 在 macOS 虚拟机设置中选择跟随宿主机或固定时区。同步需要更新并授权 Guest Tools。 [#66](https://github.com/Nwflower/Reims-Go/pull/66) — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- 支持 VMX 的 Windows 宿主机可为单台 macOS 虚拟机启用嵌套虚拟化。默认关闭,冷启动后生效。 [#72](https://github.com/Nwflower/Reims-Go/pull/72) — [@zhongruan0522](https://github.com/zhongruan0522), [@yxc0915](https://github.com/yxc0915) +- 虚拟机修饰键设置新增「聚焦时拦截宿主机快捷键」开关,聚焦虚拟机窗口时拦截 Windows 的 Win 与 Alt 快捷键并自动置顶低级键盘钩子。 [#73](https://github.com/Nwflower/Reims-Go/pull/73) — [@reiasu2](https://github.com/reiasu2) + +### 体验优化 + +- 具有相同挂起兼容标识的 Alpha 修订可恢复同一主编号下保存的虚拟机挂起状态。 — [@yxc0915](https://github.com/yxc0915) + +### 问题修复 + +- 开启无边框模式时若 `reims-ctl show` 未输出分辨率,改为从 `vm.toml` 回读已配置的 `[display].resolution`,避免界面误显示默认 `1920x1080`。 — [@YinLiaoCo](https://github.com/YinLiaoCo) +- 保护在册 CoW 副本依赖的父磁盘,删除最后一个副本后可恢复启动和磁盘修改,历史残留文件不再阻断操作。 — [@Admilkk](https://github.com/Admilkk) +- 修复 Windows 宿主机与 macOS 虚拟机之间的剪贴板同步失效问题,包括重复复制和挂起恢复后的失效。减少大图同步的重复读取和拷贝。请在虚拟机内重新安装 Guest Tools 以升级到 `v14`。 — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- 修复插件市场平台与引擎兼容校验不一致、外部主题在重启或升级后丢失、安全模式或 CLI 停用无关插件误清空当前主题,以及隐藏对话框阻断快捷键和审批弹窗在小窗口被裁切的问题。 [#93](https://github.com/Nwflower/Reims-Go/issues/93) — [@Dnyo666](https://github.com/Dnyo666) +- 修复多台桥接虚拟机同时启停时的偶发断网,以及停用 Npcap 插件后桥接通道被后台任务重新打开的问题。 — [@ssdsl0126](https://github.com/ssdsl0126) +- 修复 Npcap 桥接时宿主与虚拟机无法通过同一物理网卡的局域网地址双向访问的问题,支持有线、WLAN、IPv4 与 IPv6,需要 Npcap 1.83 或更高版本。 — [@ssdsl0126](https://github.com/ssdsl0126) +- 修复网络应用失败回滚后出口选中项与实际配置不一致的问题,补齐备用启动路径的桥接参数归属,并在网络操作结束后回收无使用者的虚拟机网络锁。 — [@ssdsl0126](https://github.com/ssdsl0126) +- Windows 内存检查计入分页文件可增长的空间,避免明明能启动的虚拟机因当前提交内存上限而被拦截。 — [@Nwflower](https://github.com/Nwflower) +- 重新导入同版本运行时失败时保留旧运行时,避免被占用的 Windows 文件导致已安装的运行时缺失。 — [@Admilkk](https://github.com/Admilkk) +- 在支持固定显示模式的运行时中,创建和设置虚拟机时可在窗口模式选择目标显示器的原生分辨率,并缩放以适应窗口。 — [@cxykhaos](https://github.com/cxykhaos) +- Windows 显卡检测仅保留当前在位且正常启动的显示适配器,避免已拔出或已禁用的显卡继续出现在可用显卡列表中。 — [@icaruszezen](https://github.com/icaruszezen) + +### 安全 + +- 为 `ui:script` 交互主题补齐脚本 SHA-256 哈希锚定与高危审批详情(从 `v0.2.11` 升级后已启用的 `ui:script` 主题首次启动需重新确认一次),并为插件市场下载加固直连防 HTTPS 降级、体积硬上限、慢流超时、版本路径校验及陈旧缓存信任降级一致性。 [#93](https://github.com/Nwflower/Reims-Go/issues/93) — [@Dnyo666](https://github.com/Dnyo666) +- 禁止恢复旧版 TCP 桥接及管理通道,防止客体经 SLIRP 冒用 QEMU 连接;正常关机后重新启动即可迁移到 Unix 通道,旧挂起状态需确认放弃后再冷启动。 — [@ssdsl0126](https://github.com/ssdsl0126) + +### 其他变更 + +- 新增本地定向、CI 与发布三档测试,并用真实 WebView2 首启冒烟验证客户端数据目录设置。 — [@Nwflower](https://github.com/Nwflower) +- 每天北京时间 0 点以 `main` 上最新的 `fix` 提交自动发布 Alpha 测试版,该提交已发布时跳过。 — [@Nwflower](https://github.com/Nwflower) + +

New Features

+ +- Add the enabled-by-default Computer Use extension for VM screenshots, pointer, keyboard, and text input, plus per-VM authorization and the MCP service. — [@bvzrays](https://github.com/bvzrays) +- Open the official website and documentation from the Help menu and the About page, in Chinese or English to match the app language. See [reims.dev](https://reims.dev/en). — [@Nwflower](https://github.com/Nwflower) +- Choose a target monitor per VM. The window falls back to the primary monitor if the target is disconnected ([#63](https://github.com/Nwflower/Reims-Go/pull/63)). — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- Support dragging Windows files, folders, images, and text or URLs directly into the macOS VM window with zero-copy host WebDAV shares, direct Desktop placement, native Photos import, and stealth cross-app paste. — [@YinLiaoCo](https://github.com/YinLiaoCo) +- Bridge a VM to a selected Ethernet or Wi-Fi adapter with Npcap and switch uplinks while the VM is running. Bidirectional host and guest access on the same adapter requires Npcap 1.83 or later. [#54](https://github.com/Nwflower/Reims-Go/pull/54) — [@ssdsl0126](https://github.com/ssdsl0126) +- Use the host DNS resolver or DoH through Guest Tools in installed macOS VMs on networks that block direct DNS. [#65](https://github.com/Nwflower/Reims-Go/pull/65) — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- Set a fixed timezone or follow the host in macOS VM settings. Sync requires updated and authorized Guest Tools. [#66](https://github.com/Nwflower/Reims-Go/pull/66) — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- Enable nested virtualization per macOS VM on Windows hosts with WHPX VMX support. Off by default, applied on cold start. [#72](https://github.com/Nwflower/Reims-Go/pull/72) — [@zhongruan0522](https://github.com/zhongruan0522), [@yxc0915](https://github.com/yxc0915) +- Add a per-VM "Capture Host Shortcuts" toggle under modifier key settings to block Windows Win/Alt shortcuts and promote the low-level keyboard hook while the VM window is focused. [#73](https://github.com/Nwflower/Reims-Go/pull/73) — [@reiasu2](https://github.com/reiasu2) + +### Improvements + +- Alpha revisions with the same suspend compatibility ID can resume VM state saved under the same base version. — [@yxc0915](https://github.com/yxc0915) + +### Bug Fixes + +- Read `[display].resolution` from `vm.toml` when `reims-ctl show` omits the resolution in borderless mode so the UI no longer falls back to `1920x1080`. — [@YinLiaoCo](https://github.com/YinLiaoCo) +- Protect backing disks used by registered CoW clones, and allow startup and disk changes once the last dependent VM is deleted even if older overlay files remain. — [@Admilkk](https://github.com/Admilkk) +- Fix clipboard sync between a Windows host and a macOS VM, including failures after copying the same content again or resuming a suspended VM. Reduce repeated reads and copies when syncing large images. Reinstall Guest Tools inside the VM to upgrade to `v14`. — [@reiasu2](https://github.com/reiasu2), [@yxc0915](https://github.com/yxc0915) +- Fix mismatched plugin market platform and engine compatibility checks, external theme loss across restarts and upgrades, unrelated safe-mode or CLI disables clearing the active theme, hidden dialogs blocking shortcuts, and approval modal list clipping on compact windows. [#93](https://github.com/Nwflower/Reims-Go/issues/93) — [@Dnyo666](https://github.com/Dnyo666) +- Fix intermittent network loss when bridged VMs start and stop concurrently, and prevent background tasks from reopening bridge channels after the Npcap plugin is disabled. — [@ssdsl0126](https://github.com/ssdsl0126) +- Fix bidirectional LAN access between the host and bridged VMs through the same physical adapter, supporting Ethernet, WLAN, IPv4, and IPv6 with Npcap 1.83 or later. — [@ssdsl0126](https://github.com/ssdsl0126) +- Keep the selected network mode and uplink aligned with the actual configuration after a failed apply, track bridge argument ownership in fallback startup, and reclaim unused per-VM network locks. — [@ssdsl0126](https://github.com/ssdsl0126) +- Windows memory checks account for available page-file growth so the current commit limit does not block VMs that can start. — [@Nwflower](https://github.com/Nwflower) +- Preserve the existing runtime when reimporting the same version fails, including when Windows has files open. — [@Admilkk](https://github.com/Admilkk) +- Allow the target display’s native resolution in windowed mode when creating or configuring a VM with a fixed-display-mode runtime, scaling it to fit the window. — [@cxykhaos](https://github.com/cxykhaos) +- Detect only present, started display adapters on Windows so unplugged or disabled GPUs no longer appear in the available GPU list. — [@icaruszezen](https://github.com/icaruszezen) + +### Security + +- Enforce script SHA-256 hash pinning and full high-risk approval disclosure for `ui:script` interactive themes (existing `v0.2.11` `ui:script` themes require one-time re-approval on first startup), and harden plugin market downloads with direct HTTPS-only redirects, hard size caps, stall timeouts, version path validation, and stale-cache trust parity. [#93](https://github.com/Nwflower/Reims-Go/issues/93) — [@Dnyo666](https://github.com/Dnyo666) +- Reject legacy TCP bridge and management channels to prevent guests from impersonating QEMU through SLIRP. A normal shutdown and restart migrates to Unix channels; suspended legacy VMs require confirmation to discard their suspended state before a cold start. — [@ssdsl0126](https://github.com/ssdsl0126) + +### Chores + +- Add focused, CI, and release test profiles, including a first-launch WebView2 smoke test that checks client data-folder setup. — [@Nwflower](https://github.com/Nwflower) +- Publish an alpha build every day at midnight Beijing time from the newest `fix` commit on `main`, skipping commits that were already released. — [@Nwflower](https://github.com/Nwflower) + ## v0.2.11 — 2026-12-01 [中文](#cn-v0.2.11) | [English](#en-v0.2.11) diff --git a/changes/alpha-suspend-compatibility.json b/changes/alpha-suspend-compatibility.json deleted file mode 100644 index d1a9dfd..0000000 --- a/changes/alpha-suspend-compatibility.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "improvements", - "order": 0, - "authors": ["yxc0915"], - "zh": "具有相同挂起兼容标识的 Alpha 修订可恢复同一主编号下保存的虚拟机挂起状态。", - "en": "Alpha revisions with the same suspend compatibility ID can resume VM state saved under the same base version." -} diff --git a/changes/borderless-resolution-display.json b/changes/borderless-resolution-display.json deleted file mode 100644 index 47ffd24..0000000 --- a/changes/borderless-resolution-display.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["YinLiaoCo"], - "zh": "开启无边框模式时若 `reims-ctl show` 未输出分辨率,改为从 `vm.toml` 回读已配置的 `[display].resolution`,避免界面误显示默认 `1920x1080`。", - "en": "Read `[display].resolution` from `vm.toml` when `reims-ctl show` omits the resolution in borderless mode so the UI no longer falls back to `1920x1080`." -} diff --git a/changes/computer-use-mcp.json b/changes/computer-use-mcp.json deleted file mode 100644 index 03434c1..0000000 --- a/changes/computer-use-mcp.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 0, - "authors": ["bvzrays"], - "zh": "新增默认启用的「虚拟机交互」扩展,统一处理虚拟机截图、鼠标、键盘与文本输入;新增按虚拟机授权的插件控制通道和 MCP 服务。", - "en": "Add the enabled-by-default Computer Use extension for VM screenshots, pointer, keyboard, and text input, plus per-VM authorization and the MCP service." -} diff --git a/changes/cow-backing-disk-protection.json b/changes/cow-backing-disk-protection.json deleted file mode 100644 index abcf57d..0000000 --- a/changes/cow-backing-disk-protection.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["Admilkk"], - "zh": "保护在册 CoW 副本依赖的父磁盘,删除最后一个副本后可恢复启动和磁盘修改,历史残留文件不再阻断操作。", - "en": "Protect backing disks used by registered CoW clones, and allow startup and disk changes once the last dependent VM is deleted even if older overlay files remain." -} diff --git a/changes/daily-alpha-builds.json b/changes/daily-alpha-builds.json deleted file mode 100644 index 090bf25..0000000 --- a/changes/daily-alpha-builds.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "chores", - "order": 1, - "authors": ["Nwflower"], - "zh": "每天北京时间 0 点以 `main` 上最新的 `fix` 提交自动发布 Alpha 测试版,该提交已发布时跳过。", - "en": "Publish an alpha build every day at midnight Beijing time from the newest `fix` commit on `main`, skipping commits that were already released." -} diff --git a/changes/fix-clipboard-sync-stability.json b/changes/fix-clipboard-sync-stability.json deleted file mode 100644 index 8ebd6ea..0000000 --- a/changes/fix-clipboard-sync-stability.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["reiasu2", "yxc0915"], - "zh": "修复 Windows 宿主机与 macOS 虚拟机之间的剪贴板同步失效问题,包括重复复制和挂起恢复后的失效。减少大图同步的重复读取和拷贝。请在虚拟机内重新安装 Guest Tools 以升级到 `v14`。", - "en": "Fix clipboard sync between a Windows host and a macOS VM, including failures after copying the same content again or resuming a suspended VM. Reduce repeated reads and copies when syncing large images. Reinstall Guest Tools inside the VM to upgrade to `v14`." -} diff --git a/changes/fix-plugin-market-compatibility-and-theme-lifecycle.json b/changes/fix-plugin-market-compatibility-and-theme-lifecycle.json deleted file mode 100644 index e59020b..0000000 --- a/changes/fix-plugin-market-compatibility-and-theme-lifecycle.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["Dnyo666"], - "zh": "修复插件市场平台与引擎兼容校验不一致、外部主题在重启或升级后丢失、安全模式或 CLI 停用无关插件误清空当前主题,以及隐藏对话框阻断快捷键和审批弹窗在小窗口被裁切的问题。 [#93](https://github.com/Nwflower/Reims-Go/issues/93)", - "en": "Fix mismatched plugin market platform and engine compatibility checks, external theme loss across restarts and upgrades, unrelated safe-mode or CLI disables clearing the active theme, hidden dialogs blocking shortcuts, and approval modal list clipping on compact windows. [#93](https://github.com/Nwflower/Reims-Go/issues/93)" -} diff --git a/changes/guest-tools-host-dns.json b/changes/guest-tools-host-dns.json deleted file mode 100644 index 02eb650..0000000 --- a/changes/guest-tools-host-dns.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 27, - "authors": ["reiasu2", "yxc0915"], - "zh": "已安装的 macOS 虚拟机可通过 Guest Tools 使用宿主系统 DNS 或 DoH,适用于直连 DNS 受限的网络。 [#65](https://github.com/Nwflower/Reims-Go/pull/65)", - "en": "Use the host DNS resolver or DoH through Guest Tools in installed macOS VMs on networks that block direct DNS. [#65](https://github.com/Nwflower/Reims-Go/pull/65)" -} diff --git a/changes/guest-tools-timezone.json b/changes/guest-tools-timezone.json deleted file mode 100644 index 29d9ddd..0000000 --- a/changes/guest-tools-timezone.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 35, - "authors": ["reiasu2", "yxc0915"], - "zh": "在 macOS 虚拟机设置中选择跟随宿主机或固定时区。同步需要更新并授权 Guest Tools。 [#66](https://github.com/Nwflower/Reims-Go/pull/66)", - "en": "Set a fixed timezone or follow the host in macOS VM settings. Sync requires updated and authorized Guest Tools. [#66](https://github.com/Nwflower/Reims-Go/pull/66)" -} diff --git a/changes/harden-ui-script-approval-and-market-downloads.json b/changes/harden-ui-script-approval-and-market-downloads.json deleted file mode 100644 index fc1776f..0000000 --- a/changes/harden-ui-script-approval-and-market-downloads.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "security", - "order": 0, - "authors": ["Dnyo666"], - "zh": "为 `ui:script` 交互主题补齐脚本 SHA-256 哈希锚定与高危审批详情(从 `v0.2.11` 升级后已启用的 `ui:script` 主题首次启动需重新确认一次),并为插件市场下载加固直连防 HTTPS 降级、体积硬上限、慢流超时、版本路径校验及陈旧缓存信任降级一致性。 [#93](https://github.com/Nwflower/Reims-Go/issues/93)", - "en": "Enforce script SHA-256 hash pinning and full high-risk approval disclosure for `ui:script` interactive themes (existing `v0.2.11` `ui:script` themes require one-time re-approval on first startup), and harden plugin market downloads with direct HTTPS-only redirects, hard size caps, stall timeouts, version path validation, and stale-cache trust parity. [#93](https://github.com/Nwflower/Reims-Go/issues/93)" -} diff --git a/changes/npcap-bridge-lifecycle.json b/changes/npcap-bridge-lifecycle.json deleted file mode 100644 index 3c869bc..0000000 --- a/changes/npcap-bridge-lifecycle.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["ssdsl0126"], - "zh": "修复多台桥接虚拟机同时启停时的偶发断网,以及停用 Npcap 插件后桥接通道被后台任务重新打开的问题。", - "en": "Fix intermittent network loss when bridged VMs start and stop concurrently, and prevent background tasks from reopening bridge channels after the Npcap plugin is disabled." -} diff --git a/changes/npcap-host-guest-access.json b/changes/npcap-host-guest-access.json deleted file mode 100644 index cc164f1..0000000 --- a/changes/npcap-host-guest-access.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["ssdsl0126"], - "zh": "修复 Npcap 桥接时宿主与虚拟机无法通过同一物理网卡的局域网地址双向访问的问题,支持有线、WLAN、IPv4 与 IPv6,需要 Npcap 1.83 或更高版本。", - "en": "Fix bidirectional LAN access between the host and bridged VMs through the same physical adapter, supporting Ethernet, WLAN, IPv4, and IPv6 with Npcap 1.83 or later." -} diff --git a/changes/npcap-review-followup.json b/changes/npcap-review-followup.json deleted file mode 100644 index 0ced7d2..0000000 --- a/changes/npcap-review-followup.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["ssdsl0126"], - "zh": "修复网络应用失败回滚后出口选中项与实际配置不一致的问题,补齐备用启动路径的桥接参数归属,并在网络操作结束后回收无使用者的虚拟机网络锁。", - "en": "Keep the selected network mode and uplink aligned with the actual configuration after a failed apply, track bridge argument ownership in fallback startup, and reclaim unused per-VM network locks." -} diff --git a/changes/npcap-unix-only-transport.json b/changes/npcap-unix-only-transport.json deleted file mode 100644 index 5a91070..0000000 --- a/changes/npcap-unix-only-transport.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "security", - "order": 0, - "authors": ["ssdsl0126"], - "zh": "禁止恢复旧版 TCP 桥接及管理通道,防止客体经 SLIRP 冒用 QEMU 连接;正常关机后重新启动即可迁移到 Unix 通道,旧挂起状态需确认放弃后再冷启动。", - "en": "Reject legacy TCP bridge and management channels to prevent guests from impersonating QEMU through SLIRP. A normal shutdown and restart migrates to Unix channels; suspended legacy VMs require confirmation to discard their suspended state before a cold start." -} diff --git a/changes/official-website-links.json b/changes/official-website-links.json deleted file mode 100644 index 07eadb7..0000000 --- a/changes/official-website-links.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 0, - "authors": ["Nwflower"], - "zh": "「帮助」菜单和「关于」页新增官方网站与使用文档入口,按界面语言打开 [reims.dev](https://reims.dev/) 的中文或英文页面。", - "en": "Open the official website and documentation from the Help menu and the About page, in Chinese or English to match the app language. See [reims.dev](https://reims.dev/en)." -} diff --git a/changes/page-file-commit-memory.json b/changes/page-file-commit-memory.json deleted file mode 100644 index 80fcf15..0000000 --- a/changes/page-file-commit-memory.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["Nwflower"], - "zh": "Windows 内存检查计入分页文件可增长的空间,避免明明能启动的虚拟机因当前提交内存上限而被拦截。", - "en": "Windows memory checks account for available page-file growth so the current commit limit does not block VMs that can start." -} diff --git a/changes/runtime-reinstall-rollback.json b/changes/runtime-reinstall-rollback.json deleted file mode 100644 index a5f0987..0000000 --- a/changes/runtime-reinstall-rollback.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["Admilkk"], - "zh": "重新导入同版本运行时失败时保留旧运行时,避免被占用的 Windows 文件导致已安装的运行时缺失。", - "en": "Preserve the existing runtime when reimporting the same version fails, including when Windows has files open." -} diff --git a/changes/tiered-tests-webview2.json b/changes/tiered-tests-webview2.json deleted file mode 100644 index c02dfb3..0000000 --- a/changes/tiered-tests-webview2.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "chores", - "order": 0, - "authors": ["Nwflower"], - "zh": "新增本地定向、CI 与发布三档测试,并用真实 WebView2 首启冒烟验证客户端数据目录设置。", - "en": "Add focused, CI, and release test profiles, including a first-launch WebView2 smoke test that checks client data-folder setup." -} diff --git a/changes/vm-focus-shortcut-capture.json b/changes/vm-focus-shortcut-capture.json deleted file mode 100644 index dad0eda..0000000 --- a/changes/vm-focus-shortcut-capture.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 69, - "authors": ["reiasu2"], - "zh": "虚拟机修饰键设置新增「聚焦时拦截宿主机快捷键」开关,聚焦虚拟机窗口时拦截 Windows 的 Win 与 Alt 快捷键并自动置顶低级键盘钩子。 [#73](https://github.com/Nwflower/Reims-Go/pull/73)", - "en": "Add a per-VM \"Capture Host Shortcuts\" toggle under modifier key settings to block Windows Win/Alt shortcuts and promote the low-level keyboard hook while the VM window is focused. [#73](https://github.com/Nwflower/Reims-Go/pull/73)" -} diff --git a/changes/vm-nested-virtualization.json b/changes/vm-nested-virtualization.json deleted file mode 100644 index 22e8707..0000000 --- a/changes/vm-nested-virtualization.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 68, - "authors": ["zhongruan0522", "yxc0915"], - "zh": "支持 VMX 的 Windows 宿主机可为单台 macOS 虚拟机启用嵌套虚拟化。默认关闭,冷启动后生效。 [#72](https://github.com/Nwflower/Reims-Go/pull/72)", - "en": "Enable nested virtualization per macOS VM on Windows hosts with WHPX VMX support. Off by default, applied on cold start. [#72](https://github.com/Nwflower/Reims-Go/pull/72)" -} diff --git a/changes/vm-target-display.json b/changes/vm-target-display.json deleted file mode 100644 index 1e9e6f1..0000000 --- a/changes/vm-target-display.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 0, - "authors": ["reiasu2", "yxc0915"], - "zh": "可为每台虚拟机指定目标显示器。目标显示器断开时,窗口回退到主显示器([#63](https://github.com/Nwflower/Reims-Go/pull/63))。", - "en": "Choose a target monitor per VM. The window falls back to the primary monitor if the target is disconnected ([#63](https://github.com/Nwflower/Reims-Go/pull/63))." -} diff --git a/changes/window-drag-drop.json b/changes/window-drag-drop.json deleted file mode 100644 index 5a96a76..0000000 --- a/changes/window-drag-drop.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "new", - "order": 0, - "authors": ["YinLiaoCo"], - "zh": "支持将 Windows 文件、文件夹、图片及文本或网址直接拖入 macOS 虚拟机窗口,提供宿主机零拷贝 WebDAV 映射、桌面直投、照片原生导入与跨应用隐身模拟粘贴。", - "en": "Support dragging Windows files, folders, images, and text or URLs directly into the macOS VM window with zero-copy host WebDAV shares, direct Desktop placement, native Photos import, and stealth cross-app paste." -} diff --git a/changes/window-native-resolution.json b/changes/window-native-resolution.json deleted file mode 100644 index 2dd56f1..0000000 --- a/changes/window-native-resolution.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": [ - "cxykhaos" - ], - "zh": "在支持固定显示模式的运行时中,创建和设置虚拟机时可在窗口模式选择目标显示器的原生分辨率,并缩放以适应窗口。", - "en": "Allow the target display’s native resolution in windowed mode when creating or configuring a VM with a fixed-display-mode runtime, scaling it to fit the window." -} diff --git a/changes/windows-active-gpu-detection.json b/changes/windows-active-gpu-detection.json deleted file mode 100644 index 6f85ea7..0000000 --- a/changes/windows-active-gpu-detection.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "group": "fixes", - "order": 0, - "authors": ["icaruszezen"], - "zh": "Windows 显卡检测仅保留当前在位且正常启动的显示适配器,避免已拔出或已禁用的显卡继续出现在可用显卡列表中。", - "en": "Detect only present, started display adapters on Windows so unplugged or disabled GPUs no longer appear in the available GPU list." -} diff --git a/frontend/package.json b/frontend/package.json index 3ae5791..a2c4da1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "reims-go-frontend", "private": true, - "version": "0.2.11", + "version": "0.2.12", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 14761f7..a5f8e5d 100644 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -f0555717e9c11f4616f356c2a83bd506 \ No newline at end of file +f30a3646316b376820394ecddd138518 \ No newline at end of file diff --git a/internal/plugin/builtin/builtin.go b/internal/plugin/builtin/builtin.go index 163bae5..24c0617 100644 --- a/internal/plugin/builtin/builtin.go +++ b/internal/plugin/builtin/builtin.go @@ -79,7 +79,7 @@ func hasCap(caps []string, want string) bool { func appVersion() string { v := strings.TrimPrefix(strings.TrimSpace(version.Version), "v") if v == "" || v == "dev" { - return "0.2.11" + return "0.2.12" } return v } diff --git a/internal/version/version.go b/internal/version/version.go index 729b4e7..fec814c 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -16,8 +16,8 @@ import ( // Version is the current Reims-Go release version. Release builds may override // it at link time with: // -// -ldflags "-X github.com/Nwflower/reims-go/internal/version.Version=v0.2.11" -var Version = "v0.2.11" +// -ldflags "-X github.com/Nwflower/reims-go/internal/version.Version=v0.2.12" +var Version = "v0.2.12" const ( DefaultReleasesRepo = "Nwflower/Reims-Go" diff --git a/scripts/build-release-notes.ps1 b/scripts/build-release-notes.ps1 index eb10643..fc3b16f 100644 --- a/scripts/build-release-notes.ps1 +++ b/scripts/build-release-notes.ps1 @@ -10,6 +10,7 @@ git commits since the latest stable tag and marks the release as temporary. - dev: generates rolling development release notes with version, commit SHA, UTC build time, and git commits since the latest stable tag. + - DiscoverStableRuntime: looks up the latest public Stable release in RuntimeRepo. #> [CmdletBinding()] param( @@ -24,7 +25,9 @@ param( [string]$Commit = '', [string]$StableRuntimeTag = '', [string]$StableRuntimeTitle = '', - [string]$Summary = '' + [string]$Summary = '', + [string]$RuntimeRepo = 'reims-go/reims-vgpu', + [switch]$DiscoverStableRuntime ) $ErrorActionPreference = 'Stop' @@ -293,10 +296,23 @@ $downloadLines = @( '' '首次安装与使用说明见官网的 [快速开始](https://reims.dev/docs/quick-start)。' ) +if ($DiscoverStableRuntime -and [string]::IsNullOrWhiteSpace($StableRuntimeTag)) { + try { + $stableRuntime = Invoke-RestMethod -Uri "https://api.github.com/repos/$RuntimeRepo/releases/latest" ` + -Headers @{ Accept = 'application/vnd.github+json' } -TimeoutSec 15 + if ($stableRuntime.tag_name -notlike 'runtime-*' -or $stableRuntime.draft -or $stableRuntime.prerelease) { + throw "Latest release in $RuntimeRepo is not a stable runtime." + } + $StableRuntimeTag = $stableRuntime.tag_name + $StableRuntimeTitle = $stableRuntime.name + } catch { + Write-Warning "Could not query latest stable runtime release in ${RuntimeRepo}: $_" + } +} if (-not [string]::IsNullOrWhiteSpace($StableRuntimeTag)) { $rtLabel = if (-not [string]::IsNullOrWhiteSpace($StableRuntimeTitle)) { $StableRuntimeTitle } else { $StableRuntimeTag } $downloadLines += '' - $downloadLines += "当前稳定版运行时为 [$rtLabel](https://github.com/$Repo/releases/tag/$StableRuntimeTag),已经装过的不用重装。" + $downloadLines += "当前稳定版运行时为 [$rtLabel](https://github.com/$RuntimeRepo/releases/tag/$StableRuntimeTag),已经装过的不用重装。" } $blocks.Add(($downloadLines -join "`n"))