Releases: peter5842/sub2api
Sub2API 0.1.104
AI API Gateway Platform - 将 AI 订阅配额分发和管理
-
运维日志新增「忽略余额不足错误」开关,可过滤上游余额不足类错误
-
使用记录页新增端点分布统计图表,展示入站、上游与路径三类端点分布
-
重置密码功能支持在 UI 中配置发送邮件域名
-
批量编辑账号时模型白名单改为动态生成,不再依赖硬编码列表
-
Claude 请求的 output_config.effort 参数现在会记录到使用日志中
-
Dockerfile 中添加 pg_dump 和 psql 工具,支持容器内数据库备份恢复
-
运维错误日志将硬编码错误字符串提取为常量,定义 ErrNoAvailableAccounts 哨兵错误
-
修复限额窗口为 nil 时用量累计不重置,导致误报「日限额已用完」的问题
-
修复流式 failover 拼接腐化导致客户端收到双 message_start 的问题
-
修复 Bedrock 账户配额计数器始终为 $0.00、配额限制不生效的问题
-
修复分组限额字段部分为空时保存报错的问题
-
修复分组配额清零和设为 0 时行为不正确的问题
-
修复批量编辑账号时模型白名单显示与实际不一致的问题
-
修复 UsageProgressBar 中窗口统计数据展示被意外移除的问题
-
修复 Gemini 不支持的 patternProperties 字段导致的兼容性问题
-
修复余额不足错误提示文案不准确的问题
📥 Installation
Docker:
# Docker Hub
docker pull liudq6/sub2api:0.1.104
# GitHub Container Registry
docker pull ghcr.io/peter5842/sub2api:0.1.104One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/peter5842/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.
📚 Documentation
Sub2API 0.1.103
AI API Gateway Platform - 将 AI 订阅配额分发和管理
📥 Installation
Docker:
# Docker Hub
docker pull liudq6/sub2api:0.1.103
# GitHub Container Registry
docker pull ghcr.io/peter5842/sub2api:0.1.103One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/peter5842/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.
📚 Documentation
Sub2API 0.1.102
AI API Gateway Platform - 将 AI 订阅配额分发和管理
-
仪表盘新增按用户下钻查看分组、模型、端点分布
-
仪表盘和用量页面默认展示最近24小时数据
-
订阅管理页面新增平台类型筛选和教程指南弹窗
-
分组管理新增容量列(并发/会话/RPM 实时聚合)和用量列与账号数分类
-
备份/恢复操作异步化,解决大数据量下 504 超时问题
-
个人资料弹窗 GitHub 链接仅对管理员可见
-
兼容 Claude Code v2.1.78+ 新 JSON 格式 metadata.user_id
-
Antigravity TestConnection 与调度重试逻辑统一
-
Antigravity 新增流式心跳保活,防止连接断开
-
提取 formatCompactNumber 公共工具函数
-
Codex 用量数据统一由后端 /usage API 提供,移除前端冗余计算
-
默认 User-Agent 版本升级到 1.20.5
-
修复 OpenAI Codex 跨用户串流问题
-
修复 WS 连接池跨请求串流问题
-
修复 Redis 限流 Lua 脚本窗口过期检查缺失
-
修复 OpenAI OAuth 用量统计始终显示及零值徽章隐藏
-
修复会话窗口使用预测值而非真实 reset header 的问题
-
修复过期 Codex 窗口未归零的问题
-
修复 OAuth system-role 未正确提取到 instructions 字段
-
修复代理凭据中特殊字符未编码的问题
-
修复自定义数据库测试连接硬编码导致 auto setup 失败
-
修复 Docker 卷挂载 /app/data 权限拒绝问题
-
修复设置页面 pattern 属性阻止 Claude Code 版本保存
-
修复账号编辑弹窗重新打开时状态未重置
-
修复空 extra payload 无法清除账号配额限制
-
修复用量标签 "Total" 应为 "Last 30d" 的翻译错误
-
修复空闲 OpenAI 用量窗口未显示 'now' 的问题
📥 Installation
Docker:
# Docker Hub
docker pull liudq6/sub2api:0.1.102
# GitHub Container Registry
docker pull ghcr.io/peter5842/sub2api:0.1.102One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/peter5842/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.
📚 Documentation
Sub2API 0.1.101
AI API Gateway Platform - 将 AI 订阅配额分发和管理
📥 Installation
Docker:
# Docker Hub
docker pull liudq6/sub2api:0.1.101
# GitHub Container Registry
docker pull ghcr.io/peter5842/sub2api:0.1.101One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/peter5842/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.
📚 Documentation
Sub2API 0.1.87
AI API Gateway Platform - 将 AI 订阅配额分发和管理
📥 Installation
Docker:
# Docker Hub
docker pull liudq6/sub2api:0.1.87
# GitHub Container Registry
docker pull ghcr.io/peter5842/sub2api:0.1.87One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/peter5842/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.
📚 Documentation
Sub2API 0.1.99
AI API Gateway Platform - 将 AI 订阅配额分发和管理
-
数据库定时备份与恢复:支持 S3 兼容存储(含 Cloudflare R2),支持手动/定时备份、一键恢复、自动过期清理
-
账号配额固定时间重置模式:支持按日/按周固定时刻重置配额,可配置时区
-
Backend Mode:系统级后台模式开关,禁用用户自助注册和自助服务
-
Antigravity 403 状态检测:识别并分类 403 响应(验证/违规/禁止),前端展示状态徽章和验证链接
-
运维面板支持隐藏告警事件
-
OpenAI Token 统计可选显示
-
合并 Bedrock 渠道类型:将 bedrock-apikey 合并为 bedrock 统一渠道,通过 auth_mode 区分认证方式
-
备份服务重构:S3 凭证加密存储、流式处理避免 OOM、操作抽象为接口符合依赖注入架构
-
将备份和数据管理页面合并为设置页的标签页,减少侧边栏条目
-
运维聚合查询超时从 3s 调整为 5s,回填窗口从 30 天缩短为 1 小时,防止 PG 过载
-
修复运维设置对话框保存按钮始终禁用的问题
-
修复加密内容无效时的错误处理和重试逻辑
-
修复 Gemini OAuth 401 临时不可调度路径被意外排除的问题
-
修复 wire_gen_test.go 中缺少 backupSvc 参数的问题
-
bedrock-apikey 渠道类型已移除,合并为 bedrock 渠道(通过 credentials.auth_mode 区分 sigv4/apikey)
📥 Installation
Docker:
# Docker Hub
docker pull liudq6/sub2api:0.1.99
# GitHub Container Registry
docker pull ghcr.io/peter5842/sub2api:0.1.99One-line install (Linux):
curl -sSL https://raw.githubusercontent.com/peter5842/sub2api/main/deploy/install.sh | sudo bashManual download:
Download the appropriate archive for your platform from the assets below.