Skip to content

Commit db54fd0

Browse files
committed
chore(release): 统一版本号到 0.13.1
pyproject.toml 是唯一真源,同步 src/version.py 回落值、uv.lock、 web/package.json、CITATION.cff、README 镜像示例与故障模板样例。
1 parent 6ac9766 commit db54fd0

10 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ body:
8282
attributes:
8383
label: 版本
8484
description: 镜像 tag 或 commit。`/healthz` 的 `version` 字段与 `git rev-parse --short HEAD` 都行。
85-
placeholder: v0.11.0 / 85cb083
85+
placeholder: v0.13.1 / 6ac9766
8686
validations:
8787
required: true
8888

@@ -109,7 +109,7 @@ body:
109109
只含计数与版本号,不含凭证内容。没有 jq 就直接贴原文。
110110
render: json
111111
placeholder: |
112-
{"status":"ok","service":"coding2api","version":"0.11.0",
112+
{"status":"ok","service":"coding2api","version":"0.13.1",
113113
"credentials":{"ready":3,"cooling":0,"paused":0,"disabled":0,"total":3}}
114114
115115
- type: textarea

‎.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.11.0,留空则跳过)'
9+
description: '要打的版本号(如 v0.13.1,留空则跳过)'
1010
required: false
1111
default: ''
1212

‎CITATION.cff‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ type: software
1010
license: MIT
1111
repository-code: "https://github.com/RobbsLuo/Coding2API"
1212
url: "https://github.com/RobbsLuo/Coding2API"
13-
version: "0.11.0"
14-
date-released: "2026-11-04"
13+
version: "0.13.1"
14+
date-released: "2026-11-09"
1515
keywords:
1616
- api-gateway
1717
- openai-compatible
@@ -39,6 +39,6 @@ preferred-citation:
3939
- family-names: Luo
4040
given-names: Hongsheng
4141
alias: RobbsLuo
42-
version: "0.11.0"
42+
version: "0.13.1"
4343
url: "https://github.com/RobbsLuo/Coding2API"
4444
license: MIT

‎README.en.md‎

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

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

8484
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).
8585

‎README.md‎

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

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

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

‎TECHNICAL.md‎

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

854854
```json
855855
{
856-
"status": "ok", "service": "coding2api", "version": "0.11.0",
856+
"status": "ok", "service": "coding2api", "version": "0.13.1",
857857
"credentials": {"total": 5, "ready": 4, "cooling": 1, "paused": 0, "disabled": 0}
858858
}
859859
```

‎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.11.0"
3+
version = "0.13.1"
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.11.0"
17+
FALLBACK_VERSION = "0.13.1"
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.11.0",
4+
"version": "0.13.1",
55
"packageManager": "pnpm@10.18.0",
66
"type": "module",
77
"scripts": {

0 commit comments

Comments
 (0)