Skip to content

Commit 9996958

Browse files
aqua5230claude
andcommitted
chore(release): 0.15.2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 368cfef commit 9996958

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

CHANGELOG.en.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ Format follows [Keep a Changelog](https://keepachangelog.com/).
77

88
## [Unreleased]
99

10+
## [0.15.2] - 2026-06-02
11+
12+
### Fixed
13+
- **Steadier background refresh**: file-change–triggered refreshes are now always marshalled to the main thread, and the refresh routine has an outer guard so it can't get stuck in a state where it never refreshes again.
14+
15+
### Performance
16+
- **Lighter refresh when sessions pile up**: history change-detection narrowed from scanning all of `~/.claude` to the `~/.claude/projects` it actually reads; Codex recent-session enumeration now walks the dated folder structure and scans only what's needed (skipping hidden files like `.DS_Store`) instead of rglob-ing the whole tree on every refresh.
17+
- **No stall on first launch / offline**: the pricing-table download moved to the background; cost calculation always uses the local cache or built-in fallback first and auto-refreshes once the download lands. A long-running app also refreshes pricing in the background after the cache expires.
18+
1019
## [0.15.1] - 2026-06-02
1120

1221
### Fixed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
## [Unreleased]
88

9+
## [0.15.2] - 2026-06-02
10+
11+
### 修正
12+
- **背景刷新更穩定**:檔案變動觸發的刷新一律切回主執行緒處理,並在刷新流程最外層加上保險,避免極少數情況下刷新狀態卡住、之後再也不更新。
13+
14+
### 效能
15+
- **session 變多時刷新更輕**:歷史用量的變動偵測從掃描整個 `~/.claude` 收斂到實際會讀的 `~/.claude/projects`;Codex 最近 session 的列舉改用日期資料夾結構只掃必要範圍(並自動略過 `.DS_Store` 之類隱藏檔),不再每次刷新都掃整棵目錄樹。
16+
- **首次啟動/離線時成本不卡頓**:價格表的網路下載移到背景進行,計算成本時一律先用本機快取或內建預設值,下載完成後再自動刷新一次;長時間開著的 app 在快取過期後也會自行在背景更新。
17+
918
## [0.15.1] - 2026-06-02
1019

1120
### 修正

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "usage"
3-
version = "0.15.1"
3+
version = "0.15.2"
44
description = "usage — 在 macOS menu bar 顯示 Claude Code 用量的繁中小工具(也提供終端機 TUI)"
55
readme = "README.md"
66
requires-python = ">=3.13"

0 commit comments

Comments
 (0)