diff --git a/CHANGELOG.md b/CHANGELOG.md index a0c37ab..1d967f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes are recorded here. Versions follow [SemVer](https://semver.org/). +## v0.7.33 (2026-10-15) + +自 v0.7.32 起累计 1 个提交(#409)。**无 schema 变更(仍 16)**;**无行为变更** —— 唯一的改动是两条保留门禁的模块注释(`tx_retention_gate.rs` 与 `usage_retention_gate.rs`)。 + +- **两条保留门禁的注释不再把一个已作废的前提当现在时说(#409)** — #406 把交易页列表搬到读模型 `tx_facts` 之后,「列表要逐行身份 ⇒ 只能从明细表答」这条前提已经作废(#407 亲笔在 `ui/README.md` 里把它称作「本轮已消失的前提」),而陈述它的两个模块文档仍用**现在时 +「永远」**这么说着 —— 落地 #406 的那一轮只改了下一条要点,前提句原样留着。修法是就地把时态改成**过去时**并点明它随 #406 作废(窗外那段历史由**分钟汇总行**承载),⛔ 不加回任何行为。纯注释:2 文件 +6/−4。 + +`cargo test` **562 → 562**(注释改动,无新增、无删减)。UI 资产令牌随各前端 PR 自行推进,本版与 v0.7.32 结束在同一组:`app.js` `?v=20261015-3`、`i18n.js` `?v=20261015-2`、`style.css` `?v=20261012-1`、`api.js` `?v=20261012-1`、`data.js` `?v=20260914-11`。 + ## v0.7.32 (2026-10-15) 自 v0.7.31 起累计 2 个提交(#406–#407)。**无 schema 变更(仍 16)**;**行为变更一处**:明细保留窗口的**默认值**从 30 天改成 **10 分钟**(老配置里显式写过的窗口不受影响 —— `retain_days` 仍被认且优先)。本版把宿主 2026-10-15 的裁定落地:**真实的明细只留 10 分钟,交易页的「明细」由分钟级汇总承担**。 diff --git a/Cargo.lock b/Cargo.lock index 5228803..5d888ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -51,7 +51,7 @@ dependencies = [ [[package]] name = "aitokenpool" -version = "0.7.32" +version = "0.7.33" dependencies = [ "aes-gcm", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index e164507..aff1e6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aitokenpool" -version = "0.7.32" +version = "0.7.33" edition = "2021" description = "AI Token 共享池 — 企业 key 池 + 公共共享市场" license = "MIT" diff --git a/Dockerfile b/Dockerfile index 39eeed9..ba9e84e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -# AITokenPool — multi-stage release image (v0.7.32) +# AITokenPool — multi-stage release image (v0.7.33) # -# Build: docker build -t aitokenpool:0.7.32 . +# Build: docker build -t aitokenpool:0.7.33 . # Run: docker run -p 8080:8080 -v "$PWD/atp-data:/data" \ # -e ATP_MASTER_KEY="$(openssl rand -hex 32)" \ -# aitokenpool:0.7.32 +# aitokenpool:0.7.33 # # Notes: # - unified data dir (rant 2026-08-19T20:53:23): ATP_DATA_DIR=/data holds diff --git a/docker-compose.yml b/docker-compose.yml index f2f4dd2..5c158b9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -# AITokenPool — Docker Compose 一键部署(v0.7.32) +# AITokenPool — Docker Compose 一键部署(v0.7.33) # # 快速开始: # export ATP_MASTER_KEY=$(openssl rand -hex 32) # 必填,见下方说明 @@ -16,7 +16,7 @@ services: aitokenpool: build: . - image: aitokenpool:0.7.32 + image: aitokenpool:0.7.33 ports: - "8080:8080" volumes: