v0.1.177
Wei-Shaw/sub2apiv0.1.177Aug 15, 2026by github-actions[bot]
AI Summary
This release improves the performance of group usage statistics by introducing daily summaries and adapts Codex to the remote compaction v2 protocol. It also modifies the default behavior of Codex OAuth fingerprint convergence.
Key Highlights
- Group usage statistics now include daily summaries for faster and more accurate reporting.
- Codex fully adapted to upstream remote compaction v2, removing dependency on deprecated interfaces.
- Codex OAuth fingerprint convergence default changed to 'off' to prevent silent client identifier rewriting.
- Codex turn state headers are now returned to clients to ensure consistency.
Breaking Changes
- Codex OAuth fingerprint convergence default changed to 'off'. Accounts not explicitly configured will stop converging and resume passing through the original client identifier.
New Features
- Daily summary for group usage statistics.
- Codex remote compaction v2 adaptation.
- Codex turn state header return.
- Compression test updated to v2.
Full Release Notes
> AI API Gateway Platform - 将 AI 订阅配额分发和管理 分组用量统计引入按日汇总,大数据量下更快更准;Codex 全面适配上游 remote compaction v2,压缩探测与路由不再依赖已下线的旧接口。 ## 新增功能 - 分组用量统计按日汇总:新增日汇总表与自动汇聚,分组页与仪表盘的用量统计性能大幅提升 ## 优化改进 - Codex 请求补齐会话级 beta 功能头(remote_compaction_v2),与官方客户端行为对齐 - Codex 回合状态头 x-codex-turn-state 现会回传给客户端,并拦截跨账号回显,保障回合链路一致 - 账号"压缩测试"改用原生 remote compaction v2 探测,上游旧接口下线后不再误报失败 - 远程压缩 v2 与旧版压缩路由分离,原生 v2 请求保留 /responses 端点不再被改写 ## Bug 修复 - 修复 Grok 长上下文计费被 OpenAI 账号开关否决的问题,现仅跟随分组开关 - 修复带版本号的 Grok 媒体模型(如 grok-2-image-1212)被误按文本 token 计价的问题 - 修复账号页自动刷新偏好在页面加载时被覆盖导致失效的问题 ## 破坏性变更 - Codex OAuth 账号的指纹收敛开关默认值改为"关闭":v0.1.175 会将未配置该项的账号隐式按"会话级收敛"处理,静默改写客户端标识。升级后未显式配置的账号将停止收敛、恢复透传客户端原始标识;已显式选择档位(关闭/设备/会话/完全)的账号行为不变。如需继续收敛,请在账号编辑中显式选择档位。另外收敛现已同时覆盖透传路径。 --- ## 📥 Installation **Docker:** ```bash # Docker Hub docker pull weishaw/sub2api:0.1.177 # GitHub Container Registry docker pull ghcr.io/wei-shaw/sub2api:0.1.177 ``` **One-line install (Linux):** ```bash curl -sSL https://raw.githubusercontent.com/Wei-Shaw/sub2api/main/deploy/install.sh | sudo bash ``` **Manual download:** Download the appropriate archive for your platform from the assets below. ## 📚 Documentation - [GitHub Repository](https://github.com/Wei-Shaw/sub2api) - [Installation Guide](https://github.com/Wei-Shaw/sub2api/blob/main/deploy/README.md)