v0.1.2

v0.1.1 Release Notes

v0.1.0 -> v0.1.1

Summary

Fix file watcher race conditions with proper mutex protection and refactor request detail rendering for better performance.

翻譯 修正檔案監控的競爭條件並加入適當的讀寫鎖保護,同時重構請求詳情渲染以提升效能。

Changes

FIX

翻譯
  • 修正檔案監控 debounce timer 競爭條件,改用 mutex 保護的 time.AfterFunc
  • 新增 sync.RWMutex 保護 TUI.Requests slice 的並發讀寫存取
  • 在 UpdateLeftView 中加入邊界檢查,防止空請求列表時 panic

REFACTOR

翻譯
  • 在 showRequestDetail 中以 strings.Builder 取代字串串接以提升記憶體效率
  • 在 main 中以 fmt.Fprintf + os.Exit(1) 取代 panic 處理 TUI 執行錯誤

Files Changed

File Status Tag
cmd/tui/main.go Modified REFACTOR
internal/parser/parser.go Modified FIX
internal/ui/tui.go Modified FIX, REFACTOR
README.md Modified DOC
README.zh.md Modified DOC
cover.png Added DOC
test.http Modified CHORE

Generated by Claude Code