Releases: QuantumNous/new-api
v0.10.9-alpha.6
What's Changed
- feat: add OpenRouter pricing support to upstream ratio sync by @RedwindA in #2925
- feat(user): add currency amount input with auto quota conversion by @worryzyy in #2916
- 优化: 任务日志查询速度并显示用户详情 by @feitianbubu in #2905
- fix(token-search): use TrimPrefix for sk- token normalization by @RedwindA in #2928
- fix: support numeric status code mapping in ResetStatusCode by @seefs001 in #2926
New Contributors
Full Changelog: v0.10.9-alpha.5...v0.10.9-alpha.6
v0.10.9-alpha.5
Significantly optimize memory consumption with disk cache enabled
xAI channel add/v1/responses support
Optimize cached token log display
大幅优化磁盘缓存开启下的内存消耗,进一步节省内存
xAI渠道添加/v1/responses支持
优化缓存token日志显示
What's Changed
- chore(deps): bump axios from 1.12.0 to 1.13.5 in /web by @dependabot[bot] in #2917
- feat(localization): added zh_TW by @olivertzeng in #2913
- feat: logs cache field by @seefs001 in #2920
- feat(xai): 为xAI渠道添加/v1/responses支持 by @funkpopo in #2897
New Contributors
- @olivertzeng made their first contribution in #2913
- @funkpopo made their first contribution in #2897
Full Changelog: v0.10.9-alpha.4...v0.10.9-alpha.5
v0.10.9-alpha.4
v0.10.9-alpha.3
What's Changed
Full Changelog: v0.10.9-alpha.2...v0.10.9-alpha.3
v0.10.9-alpha.2
What's Changed
- fix: 如果模型管理有自定义配置则不合并默认配置 by @seefs001 in #2895
- fix: 修复模型管理"参与官方同步"与"状态"开关无法保存的问题 by @wans10 in #2815
Full Changelog: v0.10.9-alpha.1...v0.10.9-alpha.2
v0.10.9-alpha.1
- Support for custom OAuth providers
- 支持自定义Oauth提供商
- 渠道测试支持流测试
- 支持配置缓存创建倍率
What's Changed
- feat: Force beta=true parameter for Anthropic channel by @MUTED64 in #2874
- feat(oauth): implement custom OAuth provider by @Calcium-Ion in #2857
- fix: Claude stream block index/type transitions by @seefs001 in #2854
- fix: add paragraph breaks between reasoning summary chunks by @seefs001 in #2864
- feat: channel test with stream=true by @seefs001 in #2875
- fix: 使用openai兼容接口调用部分渠道在最终端点为claude原生端点下还是走了openai扣减input_token的逻辑 by @seefs001 in #2883
- fix: 补全 streaming message_delta 事件缺失的 input_tokens 和 cache 相关字段 by @seefs001 in #2887
- fix: 补全 streaming message_delta 事件缺失的 input_tokens 和 cache 相关字段 (#2881) by @naaive in #2885
- feat: /v1/messages -> /v1/responses by @seefs001 in #2889
- feat: make 5m cache-creation ratio configurable by @seefs001 in #2870
New Contributors
Full Changelog: v0.10.8...v0.10.9-alpha.1
v0.10.8
-
Paid Subscription Support (Beta): Added support for a paid subscription model.
-
System Performance Monitoring: Introduced system performance monitoring. When enabled, the system will reject new Relay requests (e.g.,
/v1,/v1beta) if resource usage exceeds configured thresholds, ensuring system stability. -
Cache Optimization: Further optimized caching functionality to reduce memory usage during large request bodies.
-
Bug Fix: Fixed an issue where
Chat2Responsescould not retrieve the chain of thought. -
Header Pass-through Support: Added support for full request header pass-through based on Go Regex rules. Please refer to the PR description for usage details: #2840
-
Multi-language Backend Support: Added backend support for multiple languages, respecting user-level language preferences and the
Accept-Languagerequest header. -
Task Logs Update: Task logs now display the username.
-
Gemini Billing Update: Implemented billing for empty completions caused by Gemini content safety filters.
-
Codex Channel Support: Improved support for Codex channels.
-
Model Removal: Removed support for
claude-2andclaude-1series models. -
支持订阅付费模式(测试版)
-
新增系统性能监控,启用性能监控后,当系统资源使用率超过设定阈值时,将拒绝新的 Relay 请求 (/v1, /v1beta 等),以保护系统稳定性。
-
进一步优化缓存功能,减少大请求体下内存占用
-
修复Chat2Responses无法获取思维链的问题
-
支持基于Go Regex规则和全量的请求头透传,使用方式请参考PR描述 #2840
-
支持后端多语言,支持用户级别语言偏好和Accept-Language请求头偏好
-
任务日志显示用户名
-
对Gemini因审核导致的空补全进行扣费处理
-
完善Codex渠道支持
-
移除对claude-2和claude-1系列模型支持
What's Changed
- feat: add regex pattern to mask API keys in sensitive information by @xiangsx in #2587
- fix(task): 修复使用 auto 分组时 Task Relay 不记录日志和不扣费的问题 by @147API in #2588
- fix: 设置默认max req body 为128MB by @xyfacai in #2590
- fix: remove Minimax from FETCHABLE channels by @RedwindA in #2619
- fix(gemini): fetch model list via native v1beta/models endpoint by @RedwindA in #2615
- feat: /v1/chat/completion -> /v1/response by @seefs001 in #2629
- fix: support snake_case fields in GeminiChatGenerationConfig by @deanxv in #2646
- feat: status code auto-disable configuration by @seefs001 in #2647
- fix: chat2response setting ui by @seefs001 in #2643
- fix: clean propertyNames for gemini function by @seefs001 in #2642
- feat: channel testing supports parameter overriding by @seefs001 in #2627
- 新增: 豆包视频1.5pro by @feitianbubu in #2632
- feat: codex channel by @seefs001 in #2652
- fix: log info input_token (chat -> claude model ) by @seefs001 in #2670
- fix: update warning threshold label from '5$' to '2$' by @feitianbubu in #2690
- fix: fix email send when special character(./+) included in email string by @Bliod-Cook in #2696
- fix: video content api Priority use url field by @feitianbubu in #2691
- fix: jimeng i2v support multi image by metadata by @feitianbubu in #2688
- Revert "fix: video content api Priority use url field" by @seefs001 in #2710
- fix: openAI function to gemini function field adjusted to whitelist mode by @seefs001 in #2667
- feat: TLS_INSECURE_SKIP_VERIFY env by @seefs001 in #2668
- fix: the login method cannot be displayed under the aff link. by @seefs001 in #2676
- fix: codex Unsupported parameter: max_output_tokens by @seefs001 in #2684
- feat: customizable automatic retry status codes by @seefs001 in #2663
- fix: calls to multiple tools in gemini all return index=0 by @seefs001 in #2701
- fix: replace Alibaba's Claude-compatible url with new url by @seefs001 in #2702
- feat: log shows request conversion by @seefs001 in #2703
- feat(qwen): support qwen image sync image model config by @xyfacai in #2717
- feat: requestId time string use UTC by @feitianbubu in #2713
- fix request pass-through aws channels can't test by @daggeryu in #2693
- feat: enhance Authorization header handling with Header Override support by @Li-Xingyu in #2738
- feat(gemini): 支持 tool_choice 参数转换,优化多个渠道错误处理 by @seefs001 in #2742
- 支持 tool_choice 参数转换,优化错误处理 by @laozuzhen in #2540
- 修复钱包页面刷新时显示错误余额数据的问题 by @wans10 in #2749
- feat: 可视化模型重定向设置中,允许用户从拉取的模型列表里直接选择模型 by @Bliod-Cook in #2610
- feat: header passthrough by @seefs001 in #2735
- fix: test using the correct path for rerank by @seefs001 in #2736
- feat: channel affinity by @seefs001 in #2669
- feat: openai response /v1/response/compact by @seefs001 in #2644
- feat: grok Usage Guidelines Violation Fee by @seefs001 in #2753
- feat(gemini): map OpenAI stop to Gemini stopSequences by @RedwindA in #2779
- fix: remove disable_parallel_tool_use if tool_choice=none by @seefs001 in #2765
- fix: /v1/responses/compact default billing by @seefs001 in #2766
- feat: disk request body cache by @Calcium-Ion in #2780
- feat: Support customizing the success and cancel url of Stripe. by @mehunk in #2745
- feat: doubao add first and last image to video by @feitianbubu in #2756
- feat: task pre consume modelPrice default use setting value by @feitianbubu in #2733
- feat: CodeViewer click link and auto wrap by @feitianbubu in #2783
- feat(gemini): support cached token billing by @RedwindA in #2798
- fix(ui): use distinct color palette for group tags by @KiGamji in #2759
- fix: channel affinity by @seefs001 in #2799
- fix: make channel Host override take effect by @lanfunoe in #2805
- fix: claude panic by @seefs001 in #2804
- feat: /v1/responses qwen3 max && perplexity by @seefs001 in #2803
- feat: auto-adapt video modal by @feitianbubu in #2764
- fix: openrouter claude cache usage by @seefs001 in #2811
- feat:default enable channel affinity by @seefs001 in #2809
- fix: vertex maas api addr by @seefs001 in #2810
- ✨ feat: add subscription billing system by @t0ng7u in #2808
- fix: 移除不必要的 unescapeMapOrSlice 调用,修复 Windows 路径转义问题 by @thirking in #2814
- feat: add useTimeSeconds in error log by @feitianbubu in #2819
- feat: log search field request_id && conversion_path display by @seefs001 in #2825
- Revert "fix(ui): use distinct color palette for group tags" by @seefs001 in #2832
- feat(performance): implement system performance monitoring by @Calcium-Ion in #2835
- feat: task log show username by @feitianbubu in #2635
- ✨ fix: Improve subscription payment handling and card layout consistency by @t0ng7u in #2838
- 🐛 fix: sidebar scroll on mobile dynamic viewport by @t0ng7u in #2839
- fix: map Responses reasoning stream to chat completion deltas by @seefs001 in #2837
- feat: 支持基于Go Regex规则和全量的请求体透传 by @seefs001 in #2840
- feat: backend i18n by @Calcium-Ion in #2842
- fix: optimize Codex relay by @dahetaoa in #2826
- fix: charge local input tokens when Gemini returns empty...
v0.10.8-alpha.9
What's Changed
Full Changelog: v0.10.8-alpha.8...v0.10.8-alpha.9
v0.10.8-alpha.12
- Defaulting to subscriptions when available and avoiding initial flash when no plans exist.
- Adjust the wide-screen layout to place wallet and invite sections side by side, simplify the subscription header and controls, and add padding to prevent card borders from clipping.
- Update related i18n strings by adding the new tab label and removing the obsolete subscription blurb.
What's Changed
- fix: /v1/chat/completions -> /v1/responses json_schema by @seefs001 in #2876
- ✨ refactor(wallet): Top-up layout to embed subscription plans into the recharge card tabs by @t0ng7u in #2878
- refactor: 抽象统一计费会话 BillingSession by @Calcium-Ion in #2877
Full Changelog: v0.10.8-alpha.11...v0.10.8-alpha.12
v0.10.8-alpha.11
Full Changelog: v0.10.8-alpha.10...v0.10.8-alpha.11