github ranxi2001/sub2api v2.17.4
Sub2API 2.17.4

4 hours ago

AI API Gateway Platform - 将 AI 订阅配额分发和管理

本版修复登录续期后的令牌保存与会话切换竞态,新增自定义菜单中英文名称,并调整渠道监控 V2 的移动端展示。

登录续期修复

  • 自动续期后保存轮换后的令牌,避免页面刷新后仍使用旧凭据。
  • 续期结果回写前校验会话代次、用户及当前令牌,防止退出、切换账号或跨标签页更新后被迟到结果覆盖。

自定义菜单多语言

  • 自定义菜单支持分别配置中文、英文名称,侧栏、顶部导航和页面标题随界面语言显示;未配置对应语言时回退到原有名称。
  • 名称长度按 Unicode 字符计数,修复中文名称因按字节计算而提前触发长度限制的问题。

渠道监控 V2

  • 移动端顶部状态卡片取消粘顶,桌面端保留避开导航栏的粘顶偏移。
  • 未配置降智检测时恢复显示“未配置”提示。

以上变更来自 PR #562、#563、#568。真实设备上的滚动与遮挡效果尚未单独验收;本版未包含仍在审查的用户流量统计 PR #567。

完整变更:v2.17.3...v2.17.4


📥 Installation

Docker:

# GitHub Container Registry
docker pull ghcr.io/ranxi2001/sub2api:2.17.4

One-line install (Linux):

curl -fsSL https://raw.githubusercontent.com/ranxi2001/sub2api/v2.17.4/deploy/install.sh | sudo bash -s -- install -v v2.17.4

Manual download:
Download the appropriate archive for your platform from the assets below.

K3s gateway upgrade (on each existing single-node host):

curl -fsSL https://raw.githubusercontent.com/ranxi2001/sub2api/v2.17.4/deploy/upgrade-k3s.sh | sudo bash -s -- --version v2.17.4

Defaults: namespace tosky-canary, Deployment tosky-nerd; override with --namespace NAME --deployment NAME.
Upgrade every instance sharing Redis to this release.

📚 Documentation

Don't miss a new sub2api release

NewReleases is sending notifications on new releases.