v1.0.3: changelog in release notes
This commit is contained in:
1 parent
3d5f98513a
commit
b3b2ac7298
5 files changed
+54
-4
No files matched your search
@@ -0,0 +1,26 @@
|
||||
## v1.0.3 更新内容
|
||||
|
||||
### 新增
|
||||
|
||||
- **中转站一键接入**:只需填写站点地址和 API Key,点「智能识别」即可自动判断程序类型(New API / Sub2API / One API / OpenAI 兼容),读取站点名称与余额。之后刷新直接使用识别结果,失效时才重新识别。
|
||||
- New API 站点的余额按站点设置的货币显示(美元 / 人民币 / 自定义货币 / Token)。
|
||||
- Key 未设置额度上限时会提示前往中转站后台(New API 为「令牌」页面)设置上限。
|
||||
- **ClinePass**:Cline 账号订阅 ClinePass 后,显示 5 小时、每周、每月三个用量窗口,以及套餐名称和到期日。
|
||||
- **OpenAI 开放平台 / Anthropic 开放平台**:使用组织的 Admin API Key,显示本月与今日花费。
|
||||
- **新版本提示**:有新版本时在「用量」标题旁提示,点击前往下载;关闭后同一版本不再提示。
|
||||
- **刷新结果提示**:点击刷新后显示已刷新的账号数;有失败时列出失败的账号及原因。
|
||||
|
||||
### 改进
|
||||
|
||||
- **设置页重新整理**:拆分为「外观与语言」「账号」「提醒」「数据」四个子页面;赞助卡片可以关闭,关闭后可在「关于」中找到「打赏作者」;版本号移至页面底部。
|
||||
- **添加账号列表**:按「订阅套餐」「开放平台」「中转站」分组,组内按常用程度排序。
|
||||
- **用量卡片**:套餐等级移到标题右侧,与图标、名称对齐;状态与到期日显示在第二行。
|
||||
- **统一命名**:按量付费的 API 账户统一称为「X 开放平台」(Kimi、DeepSeek、Runway、OpenAI、Anthropic)。
|
||||
- **补全图标**:Cline、Command Code、中转站、OpenAI 与 Anthropic 开放平台。
|
||||
- **输入框不再被键盘遮挡**:表单中正在输入的框会自动滚动到键盘上方。
|
||||
- 未填写月费时,用量页不再显示月费提示。
|
||||
- 月费货币只在填写月费后出现,并改名为「月费货币」,避免与余额货币混淆。
|
||||
|
||||
### 修复
|
||||
|
||||
- 服务商返回结果无法识别时,失败原因显示为完整说明,而不是英文代码。
|
||||
@@ -54,10 +54,22 @@ jobs:
|
||||
retention-days: 30
|
||||
|
||||
# a v* tag publishes a GitHub Release; the iOS workflow attaches its .ipa to the same one
|
||||
# release notes = this version's changelog (.github/changes/<tag>.md) + the install guide
|
||||
- name: Compose release notes
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: |
|
||||
{
|
||||
if [ -f ".github/changes/${GITHUB_REF_NAME}.md" ]; then
|
||||
cat ".github/changes/${GITHUB_REF_NAME}.md"
|
||||
echo
|
||||
fi
|
||||
cat .github/release-notes.md
|
||||
} > "$RUNNER_TEMP/release-notes.md"
|
||||
|
||||
- name: Attach to the GitHub Release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: AI Usage ${{ github.ref_name }}
|
||||
body_path: .github/release-notes.md
|
||||
body_path: ${{ runner.temp }}/release-notes.md
|
||||
files: ${{ env.APK }}
|
||||
@@ -69,12 +69,24 @@ jobs:
|
||||
retention-days: 30
|
||||
|
||||
# a v* tag publishes a GitHub Release; the Android workflow attaches its .apk to the same one
|
||||
# release notes = this version's changelog (.github/changes/<tag>.md) + the install guide
|
||||
- name: Compose release notes
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: |
|
||||
{
|
||||
if [ -f ".github/changes/${GITHUB_REF_NAME}.md" ]; then
|
||||
cat ".github/changes/${GITHUB_REF_NAME}.md"
|
||||
echo
|
||||
fi
|
||||
cat .github/release-notes.md
|
||||
} > "$RUNNER_TEMP/release-notes.md"
|
||||
|
||||
- name: Attach to the GitHub Release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: AI Usage ${{ github.ref_name }}
|
||||
body_path: .github/release-notes.md
|
||||
body_path: ${{ runner.temp }}/release-notes.md
|
||||
files: ${{ env.IPA }}
|
||||
|
||||
- name: Keep the build log on failure
|
||||
|
||||
@@ -107,7 +107,7 @@ npx expo start # 启动开发服务器
|
||||
|
||||
- Expo Go 可以运行本应用,但浏览器登录回调、主屏小组件和后台刷新需要原生构建。
|
||||
- `tools/probe` 可用真实账号验证服务商接口(`node tools/probe/probe.mjs list`)。
|
||||
- 推送 `v*` 标签(如 `v1.0.3`)会通过 GitHub Actions 自动构建 Android APK 与未签名 iOS IPA,并发布到 Releases。
|
||||
- 推送 `v*` 标签(如 `v1.0.3`)会通过 GitHub Actions 自动构建 Android APK 与未签名 iOS IPA,并发布到 Releases。发布前先在 `.github/changes/<标签>.md` 写好该版本的更新日志,并同步修改 `app.json` 中的 `version`;Release 说明会自动拼接更新日志与安装指南。
|
||||
|
||||
## 赞助
|
||||
|
||||
|
||||
Reference in new issue
Block a user