# v0.8.3 Release Notes

> v0.8.2 -> v0.8.3

## Summary

Unifies remaining usage reporting while preserving differences in billing models and quota periods.

<details>
<summary>翻譯</summary>

統一剩餘用量的回報方式，保留不同計費方式與配額期間的資訊。

</details>

## Changes

### UPDATE

- Change `Usage` across six providers to return `UsageRemaining`, using optional pointer fields for different usage information. Codex returns separate `FiveHour` and `Week` remaining percentages instead of their minimum; DeepSeek and OpenRouter return `Balance`, while Copilot, Grok and Ollama Cloud return `Total`. Before upgrading, callers must replace their `float64` handling with access to the corresponding fields and handle `nil` values. Error paths return an empty structure alongside the error. Released as a patch at the user's request. (@pardnchiu) [9ee1915]

<details>
<summary>翻譯</summary>

- 六個供應商的 `Usage` 改回傳 `UsageRemaining`，以可省略的指標欄位區分不同用量資訊。Codex 分別回傳 `FiveHour` 與 `Week` 剩餘百分比，取代原先只回傳兩者較低值；DeepSeek 與 OpenRouter 回傳 `Balance`，Copilot、Grok 與 Ollama Cloud 回傳 `Total`。升級前須將呼叫端原本使用 `float64` 的邏輯改為讀取對應欄位，並處理欄位為 `nil` 的情況；錯誤回傳改為空結構與錯誤。依指定版本以 patch 發布。

</details>

## Scope

- `core/type.go` — UPDATE
- `core/copilot/` — UPDATE
- `core/deepseek/` — UPDATE
- `core/grokOauth/` — UPDATE
- `core/ollamaCloud/` — UPDATE
- `core/openRouter/` — UPDATE
- `core/openaiCodex/` — UPDATE

***

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
