Repository navigation
Releases
Sub2API 2.19.6.2 · AI Ops fix
AI Operations read requests must not include timezone query parameters. The shared client now skips automatic timezone injection only for /admin/ops/ai/*; the admin UI request marker and other routes are unchanged.
This patch is based on Sub2API v2.19.6.1 plus PR #46 at commit a0c02f6.
Validation: API client regression suite (31 tests), frontend lint and typecheck passed. Production reproduction confirmed the old request failed with 400 when timezone was present and returned 200 without it. Full source archive and required licenses are included and both archives are checksummed.
Sub2API 2.19.6.1 · TopAPI custom
Based on ranxi2001/sub2api v2.19.6, integrated through PR #45 at commit e4317b0.
Includes BEpusdt collection, bounded EasyPay recovery, per-key model/long-context policies, AI operations, account error-rate monitoring and scheduler retry recovery. Existing TopAPI recharge gifts, package cards, business contact/QR dialog, daily check-in, DesktopAuth and ImageWorkbench routing are preserved.
Validation: 2,005 frontend tests passed (9 skipped), 92 additional feature tests passed; full handler/service/server/cmd-server unit suites, real recharge order regression, embedded BEpusdt suites, Go build/vet and frontend build passed. Independent code and packaging reviews passed.
The Linux amd64 binary was built locally from the exact merged commit because fork Actions did not start. checksums.txt covers both binary and complete corresponding source archives; release-manifest.json records build identity.
The combined server embeds the GPL-3.0 BEpusdt engine. License notices and build instructions are included in the binary archive. The corresponding source archive includes the maintained engine and SQLite adapter.
Sub2API 2.19.2.1 · TopAPI custom
Based on ranxi2001/sub2api v2.19.2, integrated through #43 at commit 87c6ec8.
Includes upstream account performance monitoring, OpenAI authorization connections, upstream channel entities, recharge lottery and queue timing improvements. Existing TopAPI recharge gifts, package cards, enterprise contact/QR dialog, DesktopAuth, daily check-in and ImageWorkbench group routing are preserved.
Validation: frontend lint/typecheck and 1,725 tests; Go service, admin, server/routes/middleware tests; Go build/vet; frontend production build. The handler suite had one timing threshold failure under parallel load; its isolated rerun passed. Independent integration review found no blocking issues.
Linux amd64 artifacts were built locally from the merged commit because fork Actions remain unavailable. The archive includes the embedded frontend. Verify with checksums.txt; release-manifest.json records the exact source commit.
Sub2API custom 2.18.0.1
Upgrade the TopAPI custom release from v2.17.7.2 to ranxi v2.18.0 while retaining the image-workbench routing fixes and existing recharge UI.
Includes scoped administrator API keys, profit/upstream operations, quality-template improvements, Grok diagnostics, Gemini compatibility, pricing and pagination fixes. Two migrations add scoped_admin_api_keys and the default-off group image_count_billing field.
Conflict resolution combines all upstream admin permission middleware and routes with the custom daily check-in routes. Both locale indexes keep desktopAuth and imageWorkbench while adding new upstream modules. Recharge gifts (50→50, 100→120, 500→650, 1000→1400), package styles, enterprise contact and configured QR dialog are unchanged. Image catalog still follows the managed key group and strict chatgpt2api matching remains enforced.
Validation:
- handler/service full unit suites passed, including recharge and image-workbench regressions.
- server, middleware, routes and adminaccess suites passed after route integration.
- go build and relevant go vet passed.
- frontend lint/typecheck and 1,690 tests passed; 136 additional new-feature tests passed.
- frontend production build and git diff --check passed.
- Independent integration review found no remaining blockers.
- Pre-release live purchase cards and business dialog verified against v2.17.7.2; QR image loads at 315×325. Protected payment files have no changes.
Release uses custom tag v2.18.0.1 and fresh database backup before deployment. Operational records stay outside the source fork.
Sub2API custom 2.17.7.2
Custom fork release based on v2.17.7. Fixes image workbench model catalog routing to follow the managed key group and requires the configured chatgpt2api base URL. Recharge gifts, enterprise contact, business QR dialog, and existing custom styling are preserved.
Sub2API custom 2.17.7.1
Custom fork release based on upstream Sub2API v2.17.7. TopAPI recharge gifts, enterprise contact, business QR dialog, and existing custom styling are preserved. Deploy only after reviewing the matching upstream sync and this tag commit.
Sub2API custom 2.17.5.1
TopAPI custom release based on ranxi2001/sub2api v2.17.5 (sync PR #39, merge commit 693f24150faf4ae3bea65035d76ebfb510e5d175).
Includes 17 new database migrations (292–308); back up PostgreSQL before deployment. Recharge gifts, package cards, enterprise contact and QR configuration preserved; upstream now includes Wei-Shaw#8139, previously cherry-picked in v2.13.0.2.
Validation: TestCreateOrderPreservesRechargePackages, make test-frontend (103 files / 1590 tests), full frontend suite (515 files / 4427 tests), typecheck and lint pass. Full backend unit suite passes except a known mihomo load flake (passes alone) and TestSchedulerReadinessRealRedis, which fails identically on pristine upstream locally.
GitHub Actions is disabled for this repository, so the Linux amd64 archive was built locally from a clean checkout of the merge commit with the Custom release workflow's flags (go1.27.3, vcs.modified=false). Verify checksums.txt before deployment.
v2.13.0.2
TopAPI custom release based on v2.13.0.1 (ranxi2001/sub2api v2.13.0).
Adds upstream Wei-Shaw#8139 via PR #38 (merge commit 1b6a3f30abe2009c0b1a698adb9a252470736999): response.queued / response.metadata no longer commit stream output, so a following in-stream server_is_overloaded / slow_down can still retry or fail over to another account instead of being returned to the client. No database migrations. Recharge gifts, package cards, enterprise contact and QR configuration unchanged.
Validation: PR regressions, full internal/service unit package, TestCreateOrderPreservesRechargePackages, and frontend recharge specs (45 tests) pass. GitHub Actions is disabled for this repository (HTTP 422), so the Linux amd64 archive was built locally from a clean worktree with the Custom release workflow's Go flags (go1.27.2). Verify checksums.txt before deployment.
Sub2API custom 2.13.0.1
TopAPI custom release based on ranxi2001/sub2api v2.13.0. Preserves recharge gifts and package cards, enterprise contact and QR-code configuration, custom menus, and TypeSafe behavior while incorporating upstream features and 21 database migrations.
Source: merged PR #37, commit 74b152c15b75532b15ca89b9b6cbafecc9229ca7.
Validation: full frontend suite (4,115 passed), make test-frontend (1,281 passed), production frontend build, service unit package, and real recharge order regression. GitHub Actions returned HTTP 422 because Actions is disabled for this repository, so the Linux amd64 archive was built locally with the same Go build flags as the Custom release workflow. Verify checksums.txt before deployment.
Sub2API custom 2.10.7.1
Custom fork release based on ranxi2001/sub2api v2.10.7. TopAPI recharge gifts, package cards, enterprise contact and QR-code dialog are preserved.