Skip to content

ghr v0.9.1

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Sep 03:59
· 37 commits to main since this release

ghr v0.9.1 adds commit-scoped pull request review and restores reliable automatic light/dark theme detection on newer macOS releases.

Highlights:

  • Press V, click the commit count, or click a commit in the conversation to review one commit, a contiguous commit range, or the full pull request diff.
  • The commit picker supports keyboard and mouse selection, fills gaps to keep ranges contiguous, and remembers the selected file and scroll position for each range.
  • Inline review comments target the last commit in the selected range, while general PR comments remain available with a. Draft comments are kept separate for each commit selection.
  • Commit comparisons use the pull request base and construct a virtual merge base across upstream merge commits, matching the web review model while preserving the selected branch side on conflicts.
  • Commit-scoped comparisons require Git 2.46 or newer. Cached snapshots live under ~/.ghr/git-diffs/, reuse the selected GitHub backend credentials, and expose retryable failures in the TUI.
  • On macOS, theme = "auto" now determines light mode from the defaults command status instead of matching localized or version-specific error text. This fixes dark-theme fallback on macOS 27 while preserving automatic dark-mode detection.
  • Updated Tokio and Octocrab patch releases for current runtime and GitHub API maintenance.

Install with Homebrew:

brew install chenyukang/tap/ghr-cli

Install the latest binary on macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/chenyukang/ghr/main/install.sh | sh

Windows PowerShell:

irm https://raw.githubusercontent.com/chenyukang/ghr/main/install.ps1 | iex

Cargo:

cargo install ghr-cli

Published to crates.io: https://crates.io/crates/ghr-cli/0.9.1