Repository navigation
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.