Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ jobs:
# v1.2.0 (type icons, 1lck/Lithe-IDEA#2169) and v1.3.0 (settings regions,
# 1lck/Lithe-IDEA#2183) were published as pre-releases and switched to
# stable once desktop 0.8.7 shipped both host changes.
# v1.3.1 lays the settings previews out at the view width and redraws
# them on resize (1lck/Lithe-IDEA#2191, Lithe-core-rust#109), which no
# desktop release has yet. Desktop 0.8.7 and 0.8.8 send no width and get
# the 1.3.0 layout, so it is published as a stable release.
PRERELEASE_TAGS: v0.0.1 v1.0.0
run: |
prerelease=false
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ gopls、go 和 dlv 仍然用你电脑上的。
> [Lithe-core-rust#104](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/104) 的 Core),桌面端 0.8.7 起包含它。
> 1.2.0 和 1.3.0 都作为正式版本发布并收录到 Lithe Store。桌面端 0.8.6 也支持 `ui` 0 和 `backend` 0,
> Store 按 `requires` 挡不住它,但它不认识 `settingRegions`,安装或更新到 1.3.0 会失败,需要先把桌面端更新到 0.8.7 或更新版本。
> 1.3.1 让这两个预览按设置窗口的实际宽度重新排版,窗口宽度变化后跟着重排;这要靠告诉插件视图宽度的桌面端
> ([1lck/Lithe-IDEA#2191](https://github.com/1lck/Lithe-IDEA/pull/2191),固定了
> [Lithe-core-rust#109](https://github.com/Lithe-IDEA/Lithe-core-rust/pull/109) 的 Core),还没有桌面端版本包含它。
> 桌面端 0.8.7、0.8.8 不发送宽度,1.3.1 在上面按最小设置窗口排版,和 1.3.0 相同,所以 1.3.1 作为正式版本发布。

## 功能

Expand Down Expand Up @@ -261,7 +265,7 @@ CI 在 macOS、Windows x64 和 Windows ARM64 上跑这个脚本,Windows 上测
```bash
node scripts/build-backend.mjs darwin
node scripts/package.mjs --platforms darwin
LITHE_TEST_GO_PLUGIN_ARCHIVE="$PWD/dist/go-support-1.3.0-darwin.zip" node scripts/e2e-host.mjs
LITHE_TEST_GO_PLUGIN_ARCHIVE="$PWD/dist/go-support-1.3.1-darwin.zip" node scripts/e2e-host.mjs
```

插件包路径要写绝对路径。脚本把固定版本的宿主(只取 `desktop/` 和 `scripts/`)检出到 `.artifacts/lithe-host`,
Expand All @@ -288,8 +292,9 @@ Lithe 主仓库的功能矩阵不收录插件能力,改动插件行为时在
3. `Release` 工作流会核对标签与版本一致、打包并发布 Release(说明里附 SHA-256 和
`docs/releases/v<版本>.md`)。`release.yml` 里 `PRERELEASE_TAGS` 列出的版本会标为预发布版本:
目前是只能装进新版桌面端的 `v0.0.1` 和依赖宿主 #1954、#1964、#1971 的 `v1.0.0`;
`v1.0.1`、`v1.1.0`、`v1.2.0` 和 `v1.3.0` 是正式版本。`v1.2.0` 和 `v1.3.0` 先以预发布发布,
桌面端 0.8.7 带上它们依赖的 #2169 和 #2183 后改为正式版本。
`v1.0.1`、`v1.1.0`、`v1.2.0`、`v1.3.0` 和 `v1.3.1` 是正式版本。
`v1.2.0` 和 `v1.3.0` 先以预发布发布,桌面端 0.8.7 带上它们依赖的 #2169 和 #2183 后改为正式版本;
`v1.3.1` 的宽度排版要靠还没发布的 #2191,但不发宽度的桌面端上退回 1.3.0 的排版,所以直接作为正式版本发布。
4. Lithe Store 的自动追踪会发现稳定版本并开合并请求,合并后用户即可在 Lithe 中更新。自动追踪会跳过预发布版本;
需要收录时在 Store 中手工提交条目,并使用已发布 ZIP 的实际 SHA-256。

Expand Down
4 changes: 2 additions & 2 deletions backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "go-support-backend"
description = "The Go Support plugin's backend: the previews its settings regions draw."
# Kept equal to the plugin's version; scripts/package.mjs refuses a mismatch.
version = "1.3.0"
version = "1.3.1"
edition = "2021"
license = "Apache-2.0"
rust-version = "1.87"
Expand All @@ -14,9 +14,9 @@ path = "src/main.rs"

[dependencies]
# The Rust plugin SDK has no release tag yet; this is Lithe-core-rust main with
# the plugin views contract (Lithe-core-rust#104), the Core that host
# 1lck/Lithe-IDEA#2183 pins.
lithe-plugin-sdk = { git = "https://github.com/Lithe-IDEA/Lithe-core-rust", rev = "545ca11fb971795a9937f0f60bcc29afebe3b8be" }
# the view width and the resize event (Lithe-core-rust#109) on top of the
# plugin views contract (Lithe-core-rust#104).
lithe-plugin-sdk = { git = "https://github.com/Lithe-IDEA/Lithe-core-rust", rev = "0b6da2725ded74de7c3b62b49d12c1947dc0a38a" }
serde_json = "1"

[profile.release]
Expand Down
Loading
Loading