Skip to content

Commit 591fed6

Browse files
committed
chore(release): 版本升到 0.10.2
同步单一版本源:pyproject.toml(真源)+ web/package.json + src/version.py FALLBACK_VERSION + uv.lock + README / README.en(pull 示例)+ TECHNICAL(healthz 示例)+ publish.yml 示例文案。 patch:v0.10.1 之后 30 个提交,含新端点与新能力,按维护期口径发 patch。 - 签到审计日志 checkin_events + 凭证页「签到记录」抽屉;SCHEMA_VERSION 30 → 31 - 冷却来源 cooling_kind,revive 不再顺手解掉上游点名冷却;SCHEMA_VERSION → 32 - 单条凭证导出 GET /api/credentials/{id}/export(issue #31) - 整库重建后旧会话 Cookie 不再免登录(issue #37) - 公网部署(Docker + Caddy 自动 HTTPS / 只有公网 IP 两种形态) - 安全收口:网关白名单、配额双层判定、弱密钥拦截、CI 依赖扫描 - 统计 rollup 改增量窗口,避免长事务持写锁丢用量 **升级必须重启后端**(含 migration:checkin_events 建表 + credentials 补列)。
1 parent 71a77cd commit 591fed6

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77
inputs:
88
tag:
9-
description: '要打的版本号(如 v0.10.1,留空则跳过)'
9+
description: '要打的版本号(如 v0.10.2,留空则跳过)'
1010
required: false
1111
default: ''
1212

‎README.en.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ docker compose up -d --build
7474
docker compose exec coding2api python scripts/create_user.py admin --role admin
7575
```
7676

77-
Pull image: `docker compose pull` (or `docker pull ghcr.io/robbsluo/coding2api:v0.10.1`). Pushing `v*` tag to main triggers `.github/workflows/publish.yml`, publishing `<tag>` + `:latest`.
77+
Pull image: `docker compose pull` (or `docker pull ghcr.io/robbsluo/coding2api:v0.10.2`). Pushing `v*` tag to main triggers `.github/workflows/publish.yml`, publishing `<tag>` + `:latest`.
7878

7979
Running the container on a **VPS with a public IP** and wanting an https edge → see [Public deployment (Docker + Caddy)](#public-deployment-docker--caddy-automatic-https).
8080

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ docker compose up -d --build
7474
docker compose exec coding2api python scripts/create_user.py admin --role admin
7575
```
7676

77-
拉镜像:`docker compose pull`(或 `docker pull ghcr.io/robbsluo/coding2api:v0.10.1`)。tag `v*` 推 main → `.github/workflows/publish.yml` → 发 `<tag>` + `:latest`。
77+
拉镜像:`docker compose pull`(或 `docker pull ghcr.io/robbsluo/coding2api:v0.10.2`)。tag `v*` 推 main → `.github/workflows/publish.yml` → 发 `<tag>` + `:latest`。
7878

7979
容器跑在**有公网 IP 的 VPS** 上要 https 入口 → 见「[公网部署(Docker + Caddy 自动 HTTPS)](#公网部署docker--caddy-自动-https)」。
8080

‎TECHNICAL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ PRAGMA foreign_keys = ON; -- 库里没有任何外键:users ↔ api_keys
812812

813813
```json
814814
{
815-
"status": "ok", "service": "coding2api", "version": "0.10.1",
815+
"status": "ok", "service": "coding2api", "version": "0.10.2",
816816
"credentials": {"total": 5, "ready": 4, "cooling": 1, "paused": 0, "disabled": 0}
817817
}
818818
```

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "coding2api"
3-
version = "0.10.1"
3+
version = "0.10.2"
44
description = "把 CodeBuddy(国内站 + 国际)、TRAE SOLO、OpenCode Zen、Kilo、Qoder、CodeArts、OfficeAce 八个上游渠道统一封装为 OpenAI / Responses / Anthropic 兼容 API"
55
readme = "README.md"
66
requires-python = ">=3.12"

‎src/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from pathlib import Path
1515

1616
# 回落值:仅在读不到 pyproject.toml 时使用。升版时与 pyproject 一起改。
17-
FALLBACK_VERSION = "0.10.1"
17+
FALLBACK_VERSION = "0.10.2"
1818

1919
# 相对本文件定位项目根:src/version.py → 上一级即项目根
2020
_PYPROJECT = Path(__file__).resolve().parent.parent / "pyproject.toml"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎web/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "coding2api-web",
33
"private": true,
4-
"version": "0.10.1",
4+
"version": "0.10.2",
55
"packageManager": "pnpm@10.18.0",
66
"type": "module",
77
"scripts": {

0 commit comments

Comments
 (0)