Skip to content

chore: show current→latest version in update menu#8

Merged
Soju06 merged 1 commit intomainfrom
chore/update-menu-version-display
Feb 27, 2026
Merged

chore: show current→latest version in update menu#8
Soju06 merged 1 commit intomainfrom
chore/update-menu-version-display

Conversation

@Soju06
Copy link
Owner

@Soju06 Soju06 commented Feb 27, 2026

Summary

  • 업데이트 가능 시: Update (0.4.0 → 0.4.1)
  • 최신 버전일 때: Update (0.4.1 ✓)
  • 버전 정보 없을 때: Update (0.4.1)

Changes

  • src/core/version.ts: getLatestVersion() export 추가 (캐시된 latest version 반환)
  • src/cli.ts: interactive 메뉴에서 항상 현재/최신 버전 비교 표시

Test plan

  • tsc --noEmit pass
  • bun test — 117 tests pass

- Display "Update (0.4.0 → 0.4.1)" when update available
- Display "Update (0.4.1 ✓)" when already on latest
- Add getLatestVersion() to expose cached latest version
@Soju06 Soju06 merged commit 84553a8 into main Feb 27, 2026
5 checks passed
@Soju06 Soju06 deleted the chore/update-menu-version-display branch February 27, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant