From 2f2181d340bd82588cf340240578008937e25e73 Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Wed, 18 Nov 2026 16:59:35 +0800 Subject: [PATCH 1/3] =?UTF-8?q?release:=20=E7=89=88=E6=9C=AC=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=201.1.0=EF=BC=88=E9=A2=84=E5=8F=91=E5=B8=83=EF=BC=89?= =?UTF-8?q?=EF=BC=8C=E7=89=88=E6=9C=AC=E8=A7=84=E5=88=99=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=96=B0=E5=8A=9F=E8=83=BD=E4=BE=9D=E8=B5=96=E6=9C=AA=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E7=9A=84=E5=AE=BF=E4=B8=BB=E8=83=BD=E5=8A=9B=E6=97=B6?= =?UTF-8?q?=E5=8D=87=E6=AC=A1=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 ++-- README.md | 12 ++++++------ docs/feature-matrix.md | 2 +- docs/releases/{v2.0.0.md => v1.1.0.md} | 4 ++-- e2e/host/lithe-host.json | 2 +- io.github.lithe-idea.go-support/plugin.json | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) rename docs/releases/{v2.0.0.md => v1.1.0.md} (95%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8a6437..afffce6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,10 +39,10 @@ jobs: # desktop release has yet. # v1.0.1 adds the Windows archive on top of 1.0.0 and needs the same host, # but is published as a stable release so the Store tracker lists it. - # v2.0.0 declares buildSystems runConfigurationTypes (1lck/Lithe-IDEA#2148, + # v1.1.0 declares buildSystems runConfigurationTypes (1lck/Lithe-IDEA#2148, # Lithe-core-rust#94), which no desktop release has yet (desktop-v0.8.5 # pins Core 5c48a67, before #94). - PRERELEASE_TAGS: v0.0.1 v1.0.0 v2.0.0 + PRERELEASE_TAGS: v0.0.1 v1.0.0 v1.1.0 run: | prerelease=false for tag in $PRERELEASE_TAGS; do diff --git a/README.md b/README.md index 0911823..eb5cf26 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,10 @@ > ([1lck/Lithe-IDEA#1971](https://github.com/1lck/Lithe-IDEA/pull/1971))。1.0.1 起作为正式版本发布并收录到 Lithe Store; > 没有这些能力的桌面端会从 Store 装到 0.0.1。语言服务器的 `indexingExclusions` 声明需要固定了包含 > [Lithe-core-rust#68](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/68) 的 Core 的桌面端, -> 更早的桌面端不认识这个字段,会拒绝整份清单。2.0.0 的 Go 构建和 Go 测试运行配置需要支持插件声明运行配置类型的桌面端 +> 更早的桌面端不认识这个字段,会拒绝整份清单。1.1.0 的 Go 构建和 Go 测试运行配置需要支持插件声明运行配置类型的桌面端 > ([1lck/Lithe-IDEA#2148](https://github.com/1lck/Lithe-IDEA/pull/2148),固定了 > [Lithe-core-rust#94](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/94) 的 Core),还没有桌面端发布版本包含它, -> 所以 2.0.0 是预发布版本;更早的桌面端会拒绝安装 2.0.0,继续用 Store 里的 1.0.1。 +> 所以 1.1.0 是预发布版本;更早的桌面端会拒绝安装 1.1.0,继续用 Store 里的 1.0.1。 ## 功能 @@ -248,7 +248,7 @@ CI 在 macOS、Windows x64 和 Windows ARM64 上跑这个脚本,Windows 上测 ```bash node scripts/package.mjs -LITHE_TEST_GO_PLUGIN_ARCHIVE="$PWD/dist/go-support-2.0.0-darwin.zip" node scripts/e2e-host.mjs +LITHE_TEST_GO_PLUGIN_ARCHIVE="$PWD/dist/go-support-1.1.0-darwin.zip" node scripts/e2e-host.mjs ``` 插件包路径要写绝对路径。脚本把固定版本的宿主(只取 `desktop/` 和 `scripts/`)检出到 `.artifacts/lithe-host`, @@ -264,8 +264,8 @@ Lithe 主仓库的功能矩阵不收录插件能力,改动插件行为时在 ## 发布新版本 1. 按语义化版本修改 `io.github.lithe-idea.go-support/plugin.json` 的 `version`:只修 Bug 升修订号, - 加功能升次版本号,有不兼容的变化升主版本号。要求能装上一版的宿主没有的能力或 Core 版本,也算不兼容; - 1.0.0 以下同样适用,0.y.z 有不兼容的变化时升到 1.0.0。合入 `main`。 + 加功能升次版本号,有不兼容的变化升主版本号。新功能要求还没有发布的宿主能力或 Core 版本时升次版本号, + 并作为预发布版本发布(见第 3 步);1.0.0 以下同样适用,0.y.z 有不兼容的变化时升到 1.0.0。合入 `main`。 2. 推送同名标签: ```bash @@ -274,7 +274,7 @@ Lithe 主仓库的功能矩阵不收录插件能力,改动插件行为时在 3. `Release` 工作流会核对标签与版本一致、打包并发布 Release(说明里附 SHA-256 和 `docs/releases/v<版本>.md`)。`release.yml` 里 `PRERELEASE_TAGS` 列出的版本会标为预发布版本: - 目前是只能装进新版桌面端的 `v0.0.1`、依赖宿主 #1954、#1964、#1971 的 `v1.0.0`,以及依赖宿主 #2148 的 `v2.0.0`; + 目前是只能装进新版桌面端的 `v0.0.1`、依赖宿主 #1954、#1964、#1971 的 `v1.0.0`,以及依赖宿主 #2148 的 `v1.1.0`; `v1.0.1` 是正式版本。 4. Lithe Store 的自动追踪会发现稳定版本并开合并请求,合并后用户即可在 Lithe 中更新。自动追踪会跳过预发布版本; 需要收录时在 Store 中手工提交条目,并使用已发布 ZIP 的实际 SHA-256。 diff --git a/docs/feature-matrix.md b/docs/feature-matrix.md index c30e038..e111250 100644 --- a/docs/feature-matrix.md +++ b/docs/feature-matrix.md @@ -161,7 +161,7 @@ Go 构建按“运行种类”执行 `go run` 一个软件包(导入路径或 名称不会按所选软件包自动生成;类型图标按执行类别显示宿主图标,不显示插件包里的 Go 图标。 - 还没有的字段:输出目录、构建后运行、模拟终端、重定向输入、以 sudo 运行、模块、测试框架、使用所有自定义构建标记。 -**最近验证**:2026-11-18,macOS(Apple Silicon),插件 2.0.0 发布包,宿主 `a8797ae`(1lck/Lithe-IDEA main,包含 #2148), +**最近验证**:2026-11-18,macOS(Apple Silicon),插件 1.1.0 发布包,宿主 `a8797ae`(1lck/Lithe-IDEA main,包含 #2148), Go 1.27.4。`node scripts/e2e-host.mjs` 通过 `TestOfficialGoPluginRunsGoBuildAndGoTestConfigurations`:两种类型以“Go 构建” “Go 测试”列出;在对话框里新建 Go 构建,运行种类默认软件包、只显示软件包路径,填 `./cmd/echo` 和程序参数 `one two` 后运行,输出 `echo: one|two`;新建 Go 测试,切到目录后显示目录、隐藏软件包路径,填项目根目录、模式 `^TestGreet$` 和 diff --git a/docs/releases/v2.0.0.md b/docs/releases/v1.1.0.md similarity index 95% rename from docs/releases/v2.0.0.md rename to docs/releases/v1.1.0.md index 34de5db..9aa33b3 100644 --- a/docs/releases/v2.0.0.md +++ b/docs/releases/v1.1.0.md @@ -1,4 +1,4 @@ -2.0.0 在「运行/调试配置」里加入 Go 构建和 Go 测试两种运行配置,并把 gopls 的索引排除改为由清单声明。这个版本需要还没有发布的新版桌面端,所以是预发布版本。 +1.1.0 在「运行/调试配置」里加入 Go 构建和 Go 测试两种运行配置,并把 gopls 的索引排除改为由清单声明。这个版本需要还没有发布的新版桌面端,所以是预发布版本。 功能: - Go 构建:点「运行/调试配置」的「+」,选 Go 构建。运行种类可选软件包、文件或目录,执行 `go run`;软件包填导入路径(如 `example.com/app/cmd/server`)或相对路径(如 `./cmd/server`)。“Go 工具实参”放在 `go run` 后面,例如 `-mod=vendor`;程序参数传给程序。 @@ -19,5 +19,5 @@ 权限:不变。 兼容性: -- 需要支持插件声明运行配置类型的桌面端(1lck/Lithe-IDEA#2148,固定了 Lithe-core-rust#94 的 Core)。已发布的桌面端 0.8.5 及更早版本都不包含它,会拒绝安装 2.0.0;请继续使用 1.0.1。 +- 需要支持插件声明运行配置类型的桌面端(1lck/Lithe-IDEA#2148,固定了 Lithe-core-rust#94 的 Core)。已发布的桌面端 0.8.5 及更早版本都不包含它,会拒绝安装 1.1.0;请继续使用 1.0.1。 - `indexingExclusions` 需要 Lithe-core-rust#68,桌面端 0.8.5 已包含。 diff --git a/e2e/host/lithe-host.json b/e2e/host/lithe-host.json index ad112b7..3232629 100644 --- a/e2e/host/lithe-host.json +++ b/e2e/host/lithe-host.json @@ -6,7 +6,7 @@ "./internal/workbench": "^TestOfficialGoPlugin(BuildsAndServesAModule|DebugsEachProjectOfAWorkspaceWithDelve|RunsGoBuildAndGoTestConfigurations)$" }, "requiredEnvironment": { - "LITHE_TEST_GO_PLUGIN_ARCHIVE": "go-support--darwin.zip to install, for example dist/go-support-2.0.0-darwin.zip" + "LITHE_TEST_GO_PLUGIN_ARCHIVE": "go-support--darwin.zip to install, for example dist/go-support-1.1.0-darwin.zip" }, "repositoryEnvironment": { "LITHE_PLUGIN_GO_DIR": "io.github.lithe-idea.go-support" diff --git a/io.github.lithe-idea.go-support/plugin.json b/io.github.lithe-idea.go-support/plugin.json index db6640a..2cfe05e 100644 --- a/io.github.lithe-idea.go-support/plugin.json +++ b/io.github.lithe-idea.go-support/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 0, "id": "io.github.lithe-idea.go-support", "displayName": "Go Support", - "version": "2.0.0", + "version": "1.1.0", "pluginAPIVersion": 0, "requires": { "buildSystems": 0, From 067cd4e12957d2360f8b722d372227b00d5c32cc Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Wed, 18 Nov 2026 17:01:42 +0800 Subject: [PATCH 2/3] =?UTF-8?q?docs:=20=E7=89=88=E6=9C=AC=E8=A7=84?= =?UTF-8?q?=E5=88=99=E6=94=B9=E4=B8=BA=E4=BF=AE=E5=A4=8D=E5=8D=87=E4=BF=AE?= =?UTF-8?q?=E8=AE=A2=E5=8F=B7=E3=80=81=E5=8A=A0=E5=8A=9F=E8=83=BD=E5=8D=87?= =?UTF-8?q?=E6=AC=A1=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=8C=E5=A4=A7=E9=9D=A9?= =?UTF-8?q?=E6=96=B0=E6=89=8D=E5=8D=87=E4=B8=BB=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb5cf26..c358478 100644 --- a/README.md +++ b/README.md @@ -263,9 +263,9 @@ Lithe 主仓库的功能矩阵不收录插件能力,改动插件行为时在 ## 发布新版本 -1. 按语义化版本修改 `io.github.lithe-idea.go-support/plugin.json` 的 `version`:只修 Bug 升修订号, - 加功能升次版本号,有不兼容的变化升主版本号。新功能要求还没有发布的宿主能力或 Core 版本时升次版本号, - 并作为预发布版本发布(见第 3 步);1.0.0 以下同样适用,0.y.z 有不兼容的变化时升到 1.0.0。合入 `main`。 +1. 修改 `io.github.lithe-idea.go-support/plugin.json` 的 `version`:修复升修订号(1.1.0 → 1.1.1), + 加功能升次版本号(1.1.0 → 1.2.0);只有特别大的革新才升主版本号,由维护者决定。新功能要求还没有发布的 + 宿主能力或 Core 版本时,照样升次版本号,并作为预发布版本发布(见第 3 步)。合入 `main`。 2. 推送同名标签: ```bash From d0b6de6b1e3d06a9841428c34508f91565daeabd Mon Sep 17 00:00:00 2001 From: Yao Jingxi <23722032@bjtu.edu.cn> Date: Wed, 18 Nov 2026 17:08:32 +0800 Subject: [PATCH 3/3] =?UTF-8?q?release:=201.1.0=20=E4=BD=9C=E4=B8=BA?= =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=89=88=E6=9C=AC=E5=8F=91=E5=B8=83=EF=BC=8C?= =?UTF-8?q?Store=20=E7=BB=99=E6=97=A7=E6=A1=8C=E9=9D=A2=E7=AB=AF=E7=BB=A7?= =?UTF-8?q?=E7=BB=AD=E6=8F=90=E4=BE=9B=201.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 7 ++++--- README.md | 7 +++---- docs/feature-matrix.md | 2 +- docs/releases/v1.1.0.md | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afffce6..b1ec74b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,9 +40,10 @@ jobs: # v1.0.1 adds the Windows archive on top of 1.0.0 and needs the same host, # but is published as a stable release so the Store tracker lists it. # v1.1.0 declares buildSystems runConfigurationTypes (1lck/Lithe-IDEA#2148, - # Lithe-core-rust#94), which no desktop release has yet (desktop-v0.8.5 - # pins Core 5c48a67, before #94). - PRERELEASE_TAGS: v0.0.1 v1.0.0 v1.1.0 + # Lithe-core-rust#94), which desktop 0.8.6 is the first release to ship. + # It is published as a stable release so the Store tracker lists it; the + # Store index records its requires and keeps older hosts on 1.0.1. + PRERELEASE_TAGS: v0.0.1 v1.0.0 run: | prerelease=false for tag in $PRERELEASE_TAGS; do diff --git a/README.md b/README.md index c358478..1b633af 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ > [Lithe-core-rust#68](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/68) 的 Core 的桌面端, > 更早的桌面端不认识这个字段,会拒绝整份清单。1.1.0 的 Go 构建和 Go 测试运行配置需要支持插件声明运行配置类型的桌面端 > ([1lck/Lithe-IDEA#2148](https://github.com/1lck/Lithe-IDEA/pull/2148),固定了 -> [Lithe-core-rust#94](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/94) 的 Core),还没有桌面端发布版本包含它, -> 所以 1.1.0 是预发布版本;更早的桌面端会拒绝安装 1.1.0,继续用 Store 里的 1.0.1。 +> [Lithe-core-rust#94](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/94) 的 Core),桌面端 0.8.6 起包含它。 +> 1.1.0 作为正式版本发布并收录到 Lithe Store;Store 按版本的 `requires` 给更早的桌面端继续提供 1.0.1。 ## 功能 @@ -274,8 +274,7 @@ Lithe 主仓库的功能矩阵不收录插件能力,改动插件行为时在 3. `Release` 工作流会核对标签与版本一致、打包并发布 Release(说明里附 SHA-256 和 `docs/releases/v<版本>.md`)。`release.yml` 里 `PRERELEASE_TAGS` 列出的版本会标为预发布版本: - 目前是只能装进新版桌面端的 `v0.0.1`、依赖宿主 #1954、#1964、#1971 的 `v1.0.0`,以及依赖宿主 #2148 的 `v1.1.0`; - `v1.0.1` 是正式版本。 + 目前是只能装进新版桌面端的 `v0.0.1` 和依赖宿主 #1954、#1964、#1971 的 `v1.0.0`;`v1.0.1` 和 `v1.1.0` 是正式版本。 4. Lithe Store 的自动追踪会发现稳定版本并开合并请求,合并后用户即可在 Lithe 中更新。自动追踪会跳过预发布版本; 需要收录时在 Store 中手工提交条目,并使用已发布 ZIP 的实际 SHA-256。 diff --git a/docs/feature-matrix.md b/docs/feature-matrix.md index e111250..433eb12 100644 --- a/docs/feature-matrix.md +++ b/docs/feature-matrix.md @@ -140,7 +140,7 @@ Go 构建按“运行种类”执行 `go run` 一个软件包(导入路径或 | 平台 | 实现 | 验证 | 说明 | | --- | --- | --- | --- | -| macOS | implemented | pending | 需要支持 `runConfigurationTypes` 的桌面端(1lck/Lithe-IDEA#2148,Core Lithe-core-rust#94);旧宿主不认识这个字段,会拒绝安装本版本 | +| macOS | implemented | pending | 需要支持 `runConfigurationTypes` 的桌面端 0.8.6 或更新版本(1lck/Lithe-IDEA#2148,Core Lithe-core-rust#94);Store 给更早的桌面端继续提供 1.0.1 | | Windows | implemented | pending | 命令与平台无关,文件和目录以绝对路径传给 `go.exe`;还没有在 Windows 版 Lithe 里跑过 | **证据**: diff --git a/docs/releases/v1.1.0.md b/docs/releases/v1.1.0.md index 9aa33b3..7988296 100644 --- a/docs/releases/v1.1.0.md +++ b/docs/releases/v1.1.0.md @@ -1,4 +1,4 @@ -1.1.0 在「运行/调试配置」里加入 Go 构建和 Go 测试两种运行配置,并把 gopls 的索引排除改为由清单声明。这个版本需要还没有发布的新版桌面端,所以是预发布版本。 +1.1.0 在「运行/调试配置」里加入 Go 构建和 Go 测试两种运行配置,并把 gopls 的索引排除改为由清单声明。这个版本需要桌面端 0.8.6 或更新版本。 功能: - Go 构建:点「运行/调试配置」的「+」,选 Go 构建。运行种类可选软件包、文件或目录,执行 `go run`;软件包填导入路径(如 `example.com/app/cmd/server`)或相对路径(如 `./cmd/server`)。“Go 工具实参”放在 `go run` 后面,例如 `-mod=vendor`;程序参数传给程序。 @@ -19,5 +19,5 @@ 权限:不变。 兼容性: -- 需要支持插件声明运行配置类型的桌面端(1lck/Lithe-IDEA#2148,固定了 Lithe-core-rust#94 的 Core)。已发布的桌面端 0.8.5 及更早版本都不包含它,会拒绝安装 1.1.0;请继续使用 1.0.1。 +- 需要支持插件声明运行配置类型的桌面端 0.8.6 或更新版本(1lck/Lithe-IDEA#2148,固定了 Lithe-core-rust#94 的 Core)。桌面端 0.8.5 及更早版本在 Lithe Store 里继续得到 1.0.1。 - `indexingExclusions` 需要 Lithe-core-rust#68,桌面端 0.8.5 已包含。