Skip to content

Commit 4eb8152

Browse files
SeanSean
authored andcommitted
ci: use bilingual release notes
Use per-tag release notes via body_path and add v0.4.0 bilingual notes.
1 parent d1903dd commit 4eb8152

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ jobs:
5555
uses: softprops/action-gh-release@v2
5656
with:
5757
tag_name: ${{ github.ref_name }}
58-
generate_release_notes: true
58+
body_path: release-notes/${{ github.ref_name }}.md
5959
prerelease: ${{ contains(github.ref_name, '-') }}
6060
files: |
6161
dist/*
62-

release-notes/v0.4.0.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## v0.4.0
2+
3+
### Highlights (EN)
4+
5+
- Add `clipal update`: self-update from GitHub Releases with `checksums.txt` SHA256 verification; Windows uses a helper to replace an in-use `.exe`.
6+
- Fix SSE “hang” scenarios: fail over to the next provider when an upstream produces no response body bytes for `upstream_idle_timeout` (default `3m`).
7+
- Improve shutdown robustness: avoid misleading “all providers failed” logs when the request context is already canceled; harden config watcher shutdown concurrency.
8+
9+
### 亮点 (中文)
10+
11+
- 新增 `clipal update`:从 GitHub Releases 自更新,并使用 `checksums.txt` 做 SHA256 校验;Windows 通过 helper 进程自动替换占用中的 `.exe`
12+
- 修复 SSE 卡死场景:上游在 `upstream_idle_timeout`(默认 `3m`)内没有任何 body 字节时自动切换到下一个 provider。
13+
- 停机与并发健壮性增强:请求已取消时不再产生误导性的 “all providers failed” 日志;配置热重载 watcher 的 stop 逻辑更安全。
14+
15+
### Notes
16+
17+
- `clipal update` 默认使用 `lansespirit/Clipal``/releases/latest`;预发布版本(如 `v0.4.0-rc.1`)不会成为 `latest`
18+
- Windows 更新可能需要确保没有其他进程仍在占用 `clipal.exe`(例如 service/task 正在运行)。
19+

0 commit comments

Comments
 (0)