Skip to content

Tags: michaelschaud/new-api

Tags

Verified

This tag was signed with the committer’s verified signature.

Verified

This tag was signed with the committer’s verified signature.

Verified

This tag was signed with the committer’s verified signature.

v0.12.2

Toggle v0.12.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request QuantumNous#4106 from HynoR/feat/fix

feat(playground): enhance max_tokens handling and input sanitization

v0.12.1

Toggle v0.12.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat(i18n): update localization files with new currency display optio…

…ns and descriptions

Added translations for custom currency display settings across multiple languages, including descriptions for quota display types and exchange rates. This enhances user experience by providing clear information on how quotas are displayed and calculated in different currencies.

v0.12.0

Toggle v0.12.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat(EditChannelModal): persist advanced settings state in local storage

Added functionality to save and restore the state of advanced settings in the EditChannelModal using local storage. This enhancement allows users to maintain their preferences when editing channels, improving the overall user experience.

v0.12.0-alpha.2

Toggle v0.12.0-alpha.2's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
fix(EditChannelModal): enhance clipboard handling with error checks

Added checks to ensure clipboard functionality is available before attempting to read from it. Improved error handling during clipboard read operations to prevent unhandled exceptions.

v0.12.0-alpha.1

Toggle v0.12.0-alpha.1's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat: add clipboard magic string for quick channel creation from toke…

…n copy

When copying a token, users can now choose "Copy Connection String" which
encodes both the API key and server URL as a JSON clipboard payload
(type: newapi_channel_conn). When opening the channel creation form, the
clipboard is auto-detected and a banner offers to fill key + base_url,
eliminating repeated tab-switching when connecting to another new-api instance.

v0.11.9

Toggle v0.11.9's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
feat: record stream interruption reasons via StreamStatus

- Add StreamStatus type (relay/common) to track stream end reason
  (done/timeout/client_gone/scanner_error/eof/panic/ping_fail) and
  accumulate soft errors during streaming via sync.Once + sync.Mutex.
- Add StreamResult (relay/helper) as the callback interface: adapters
  call sr.Error() for soft errors, sr.Stop() for fatal, sr.Done() for
  normal completion. No early-return problem — multiple errors per chunk
  are naturally supported.
- Refactor StreamScannerHandler callback from func(string) bool to
  func(string, *StreamResult). All 9 channel adapters updated.
- Write stream_status into log other JSON field (admin-only) with
  status ok/error, end_reason, error_count, and error messages.
- Frontend: display stream status in log detail expansion for admins.

v0.11.9-alpha.3

Toggle v0.11.9-alpha.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request QuantumNous#3440 from seefs001/refactor/expose-ski…

…p-retry-option

refactor: expose skip-retry option and show it in rules list