Skip to content

v0.1.0

Latest

Choose a tag to compare

@gypg gypg released this 05 Sep 04:57
· 42 commits to main since this release

   🚀 Features

  • 添加所有设置页面的详细翻译键  -  by @gypg (b057c)
  • alerts:
    • Warn customers about low balance and expiring subscriptions  -  by @gypg (d5383)
  • auth:
    • Let a customer reset a forgotten password  -  by @gypg (ababa)
  • channel:
    • 渠道接入代理池,proxy_mode/proxy_config_id 真正生效(R-10)  -  by @gypg (434fe)
    • Show the upstream response body on failed channel tests  -  by @gypg (f7186)
    • Reclaim a channel's models from the registry on deletion  -  by @gypg (96026)
  • commercial:
    • Expose the overdraft bound in the settings UI  -  by @gypg (fd74d)
  • deploy:
    • Add one-click deploy script with image tag management  -  by @gypg (ec757)
    • Add poll-and-deploy script for auto-update polling  -  by @gypg (889fd)
  • group:
    • Add named strategy presets UX (Guardian/Balanced/Velocity/Fairshare/Adaptive)  -  by @gypg (c3cde)
    • Add a retroactive regroup action for projected channels  -  by @gypg (7ebc8)
  • hub/sub2api:
  • i18n:
    • Add interpolation argument validation gate  -  by @gypg (b3acd)
    • Internationalize BillingExpr variables and site Cloudflare text  -  by @gypg (65023)
    • Internationalize batch 7 UI components  -  by @gypg (43948)
    • Batch 8 - clean 4 UI components  -  by @gypg (962a9)
    • Batch 9 - translate site-type selector, remove static CJK label map  -  by @gypg (ac37e)
    • Batch 10 - translate remaining UI-surface hardcoded Chinese  -  by @gypg (8c8e5)
  • nav:
    • Mount RemoteSite hub so site-channels key completion is reachable  -  by @gypg (c63de)
  • ops:
    • Persist backend panics + frontend JS errors to ErrorLog  -  by @gypg (b3292)
  • price:
    • Add price category fallback + manual price presets  -  by @gypg (c3cac)
  • probe:
    • Schedule model availability probes and surface dead models  -  by @gypg (bb095)
  • relay:
  • site:
    • Add persistent 'Add Site' button when sites exist  -  by @gypg (2bebc)
    • Give each site its own channel folder and join routing groups  -  by @gypg (d1781)
    • Fetch the real key when an upstream masks its token list  -  by @gypg (efb1b)
  • subscription:
    • Draw request cost from the purchased quota pool  -  by @gypg (0abe3)
  • topup:
    • Record who paid for an offline top-up  -  by @gypg (4f43d)
  • transformer:
  • wallet:
    • Route every discrete balance change through a ledger funnel  -  by @gypg (edaf5)
    • Backfill opening balances for pre-ledger users  -  by @gypg (cc362)
    • Audit admin balance adjustments and add a reconcile endpoint  -  by @gypg (fcd4d)
    • Tell the customer their Stripe payment landed  -  by @gypg (0a317)
    • Let a customer see their own balance history  -  by @gypg (c4866)
  • web:
    • Add CJK regression gate to CI frontend job  -  by @gypg (ff0c7)

   🐞 Bug Fixes

  • 完善设置页面中文翻译  -  by @gypg (7b9f6)
  • 修复 JSON 语法错误  -  by @gypg (3ea7d)
  • 修复设置页面中文翻译(正确版本)  -  by @gypg (5b960)
  • 同步英文翻译键以通过 i18n 测试  -  by @gypg (9ce27)
  • 添加繁体中文翻译以通过 i18n 测试  -  by @gypg (d3246)
  • 完善 setting 翻译键的完整内容  -  by @gypg (de0ba)
  • 显式收窄可信代理,阻断 X-Forwarded-For 伪造客户端 IP(S-3)  -  by @gypg (316c6)
  • 数据库迁移路径限制在数据目录内,阻断越界建目录与配置劫持(S-6)  -  by @gypg (94c15)
  • Remove console.error from normalizeTimeZone and update test locale path  -  by @gypg (1939e)
  • Project channels on site account creation  -  by @gypg (185c3)
  • Exclude masked/disabled tokens from managed channel projection  -  by @gypg (58ecb)
  • Remove 53 dead i18n fallbacks + fix wording drift in switchToExternal  -  by @gypg (371df)
  • ai-route:
    • Unblock single-group AI routing (3 of 6 diagnosed causes)  -  by @gypg (a7a13)
    • Label the group-page button as whole-table scope  -  by @gypg (6c2db)
  • alert:
    • Validate the notification URL before dialling it  -  by @gypg (edf3e)
  • apikey:
    • Let a customer create a key without two 403s  -  by @gypg (9c65a)
  • auth,wallet:
    • Clear the session cookie on logout, and stop hiding recent spend  -  by @gypg (c23f5)
  • backup:
    • Never delete users unless the dump can restore logins (S-1)  -  by @gypg (a6667)
    • Validate WebDAV base_url against SSRF, incl. redirects (S-5)  -  by @gypg (67cc5)
  • billing:
    • Owe for delivered usage instead of serving it free  -  by @gypg (f6c01)
    • Bound the overdraft by in-flight cost, not just a positive balance  -  by @gypg (efc8e)
    • Reject a non-finite overdraft bound at both ends  -  by @gypg (78914)
  • billingexpr:
    • Reject non-finite (NaN/Inf) expression results (BUG-001)  -  by @gypg (6f87b)
  • channel:
    • Register GET /api/v1/channel/:id and stop viewer redaction poisoning the channel cache  -  by @gypg (fc759)
  • client:
    • Give the short-timeout proxy cache its own key  -  by @gypg (550db)
  • commercial:
    • Let the operator configure payments before the switch  -  by @gypg (faa47)
  • db:
    • Guard global db/currentDBType with RWMutex to fix data race  -  by @gypg (78980)
    • Widen money columns to float8 so reconcile works on PostgreSQL  -  by @gypg (c5abe)
  • deploy:
    • Handle GHCR pull stalls, port conflicts, and false upgrade reports  -  by @gypg (f3a1e)
    • Ensure data/ is writable by the container's UID 1000  -  by @gypg (7029d)
    • Stop reporting success after falling back to a stale image  -  by @gypg (0f84b)
  • group:
    • Stop auto-group from deleting channel folders  -  by @gypg (eebd3)
  • group-test:
    • A group with any failing item must not report PASS  -  by @gypg (28483)
    • Publish per-item results so a 404 group stops reporting PASS  -  by @gypg (65496)
  • helper:
    • Stop publishing a Done draft-test record before ClientIDs are stamped  -  by @gypg (27e38)
    • Let ratelimit_cooldown actually reach key selection  -  by @gypg (61ed1)
  • i18n:
    • 补齐 385 个缺失翻译 key 并加对账门  -  by @gypg (f6ae8)
    • Move the reset keys into the namespace the login page reads  -  by @gypg (4c5e9)
  • log:
    • 修复端点类型列显示内部端点名(翻译键路径渗出)  -  by @gypg (c0e9f)
  • media:
    • Close pipe reader on channel http client error to prevent writer goroutine leak  -  by @gypg (09277)
  • middleware:
    • Put the request body back after reading it for rate limiting  -  by @gypg (2d2e3)
  • model:
    • Show upstream casing in the model market  -  by @gypg (7ea46)
    • Stop a zero timestamp from hiding every model in the market  -  by @gypg (ad5c9)
  • navbar:
    • Give paying customers a way to reach their wallet  -  by @gypg (489f9)
  • oauth:
    • Cap GitHub user info response body reads with LimitReader  -  by @gypg (dcce2)
  • op:
    • Roll back transactions on every early return path  -  by @gypg (eaf9b)
    • Honour an explicitly disabled flag on three create paths  -  by @gypg (b8d51)
    • Honour an explicitly disabled flag on the remaining create paths  -  by @gypg (373c7)
  • ops:
    • Resolve prices through the full resolver in the prompt-cache panel  -  by @gypg (ef15d)
    • Key presence, not value, marks Anthropic cache usage  -  by @gypg (2f701)
  • ops,analytics:
    • Show real version number; confirm AI route local-mode auto-save  -  by @gypg (3a7fa)
  • portal:
    • Stop firing queries an end customer cannot make  -  by @gypg (34d89)
    • Decide permissions after the role has loaded, not before  -  by @gypg (4a3ea)
    • Remove the last two permission-denied toasts  -  by @gypg (b62e4)
  • probe:
    • Show the upstream response body for passing tests too  -  by @gypg (e19ce)
    • Make the group probe recognise fake 200 responses  -  by @gypg (87fda)
    • Never put raw upstream errors in outbound notifications  -  by @gypg (7eaba)
  • proxy-pool:
    • Put the proxy routes behind the settings permissions  -  by @gypg (1e792)
  • relay:
    • Charge TPM bucket by real token usage, once per request  -  by @gypg (5ec2f)
    • Enable param-based billing for media endpoints (BUG-003)  -  by @gypg (36f65)
    • Charge media cost exactly once without expr recompute (BUG-004)  -  by @gypg (07692)
    • Make empty-stream retry actually reachable (R-1)  -  by @gypg (7fccd)
    • 400/ScopeNone 原样回写下游,不再吞成 502;adapter fallback 补 Anthropic  -  by @gypg (3b93b)
    • Singleflight 失败重复执行整条链 + 单 key 渠道无限自旋  -  by @gypg (59de7)
    • Media 终态回调传 attempts,失败转移不再从日志与统计中消失 (R-4)  -  by @gypg (92ed1)
    • 总尝试配额改按真实转发计数,此前完全失效(R-5)  -  by @gypg (98551)
    • 会话指标 worker 改为显式启动,修复 init 顺序竞态(race detector 首个真实信号)  -  by @gypg (39ab8)
    • Add fake 200 guard to prevent routing pollution  -  by @gypg (ad713)
    • Add P2 media billing guard against charging on relay failure  -  by @gypg (dd8f2)
    • Remove obsolete test for P2 bug behavior  -  by @gypg (83752)
    • Defense-in-depth against LLM fake-200 billing exposure  -  by @gypg (92aa4)
    • Build media upstream URLs the way the LLM path does  -  by @gypg (1f4d9)
  • relaylog:
    • 尝试明细改随父日志同批落库,并在清理时一并回收(R-9)  -  by @gypg (40d3e)
  • resp:
    • Infer i18n message key for plain errors in ErrorWithAppError  -  by @gypg (e5282)
  • responses:
    • Stop dropping the json_schema on the Responses path  -  by @gypg (c0e9c)
  • security:
    • 站点导入/Stripe webhook 加体积上限,WebAuthn challenge 会话加容量上限(S-7、S-8)  -  by @gypg (6b26a)
    • 缺加密密钥拒绝启动,并解开 SetString 自锁(S-2)  -  by @gypg (c7037)
    • Stop echoing secrets of 8 chars or fewer verbatim  -  by @gypg (80bc5)
    • Bound every regexp2 match, four live sites had no timeout  -  by @gypg (4e0fc)
  • setting:
    • Mount the orphaned AI route settings panel  -  by @gypg (5e9d8)
    • Stop offering admin controls to end customers  -  by @gypg (7d1fa)
  • site:
  • site-channel:
    • 修复 SiteChannelDialog 缺失 useTranslations 导致的白屏崩溃  -  by @gypg (6afcc)
  • sitestats:
    • Record probe attempts in site model hourly buckets  -  by @gypg (24d77)
  • sitesync:
    • Username/password site accounts can now sync and check in  -  by @gypg (e3ae4)
  • subscription:
    • Atomic WHERE guard on balance deduction (BUG-002)  -  by @gypg (01454)
    • Refuse paid sales while a plan grants nothing  -  by @gypg (fe47e)
    • Run the expiry sweep that nothing was calling  -  by @gypg (58aaf)
  • task:
    • Reset failure count when cooldown expires to avoid single-failure cooldown loop  -  by @gypg (5991d)
    • Stop deleting site models from the model registry  -  by @gypg (fa548)
  • transformer:
    • Xhigh/max 推理档位不再被静默降级,并夹住 Anthropic thinking budget(R-7)  -  by @gypg (9b333)
    • Fold the three stream aggregators into one, restoring dropped output  -  by @gypg (e3286)
    • Read reasoning through the accessor on the response path  -  by @gypg (29b8a)
    • Forward include and top_logprobs to Responses upstreams  -  by @gypg (9f6d0)
  • tsc:
    • 清零所有 12 个类型错误并接 tsc CI 门  -  by @gypg (aa712)
  • update:
    • Add zip bomb guards (entry count, total/per-file size caps)  -  by @gypg (d8cbb)
  • wallet:
    • Report Stripe availability so customers can actually see top-up  -  by @gypg (57297)
  • web:
    • Move locale files out of public/ to enable cache busting  -  by @gypg (59337)
    • Pin @babel/parser + @babel/traverse in devDependencies for CJK gate  -  by @gypg (a8394)
    • Clear the query cache on logout and recover from stale chunks  -  by @gypg (33db1)
    • Stop API Key sessions from logging themselves straight out  -  by @gypg (1c026)
    View changes on GitHub