Skip to content

Commit 4b813ff

Browse files
aqua5230claude
andcommitted
release: 0.27.3 — faster report generation on repeat clicks
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 5a95a5e commit 4b813ff

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
All notable changes to usage are documented here.
66
Format follows [Keep a Changelog](https://keepachangelog.com/).
77

8+
## [0.27.3] - 2026-07-15
9+
10+
### Changed
11+
- **Report generation is much faster, especially on repeat clicks**: generating the "Today"/"Last 7 days" HTML report used to re-open and re-parse every Antigravity conversation database and re-scan Codex's OTel trace log from scratch every time, and recomputed the same entry's local date and working-directory-to-project-name mapping repeatedly within a single report build. All three now cache appropriately (file-level caching for the SQLite sources, in-memory caching scoped to each report build), so a repeat click of the same period is dramatically faster with no change in the numbers shown.
12+
813
## [0.27.2] - 2026-07-15
914

1015
### Fixed

CHANGELOG.zh-TW.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
本檔記錄 usage 所有重要變更。格式參考 [Keep a Changelog](https://keepachangelog.com/)
66

7+
## [0.27.3] - 2026-07-15
8+
9+
### 變更
10+
- **產生使用報告快了不少,尤其是重複點擊時**:以前點「今天」「七日」的 HTML 報告,每次都會把所有 Antigravity 對話資料庫、Codex 追蹤紀錄從頭重新開啟解析一次,而且同一批資料在單次報告產生過程中,本地日期與工作目錄對應的專案名稱也會被重複計算好幾次。現在這三處都補上了對應的快取(SQLite 來源用檔案層級快取、單次報告內的重複運算用當次記憶體快取),同一個期間第二次點擊會快上許多,數字結果不受影響。
11+
712
## [0.27.2] - 2026-07-15
813

914
### 修正

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.27.2"
3+
version = "0.27.3"
44
description = "usage — 在 macOS menu bar 顯示 Claude Code 用量的繁中小工具(也提供終端機 TUI)"
55
readme = "README.md"
66
requires-python = ">=3.13"

0 commit comments

Comments
 (0)