Hunk 0.20
August 25, 2026 · 1 release
Hunk 0.20 adds a checksum-verified one-line installer and self-updates, launches a directory of 12 community extensions, and makes line-level reviewing faster and more precise.
npm i -g hunkdiff@0.20.0brew update && brew upgrade hunkThis is the current release. See all install options.
Related documentation
Section titled “Related documentation”Releases in this series
Section titled “Releases in this series”0.20.0
Section titled “0.20.0”August 25, 2026
Minor Changes
Section titled “Minor Changes”- Add a curl installer (
curl -fsSL https://hunk.dev/install.sh | sh) with checksum verification, and teachhunk updateto update curl installs. (#799) - Let extension commands inspect
ctx.selection.currentLine; TypeScript authors constructingExtensionReviewSelectionmust add its required field. (#779) - Let extension commands capture immutable snapshots of stable review files and every saved review note. (#833)
- Add
hunk updateto self-update Hunk with the package manager that installed it (npm or Homebrew), with guidance for Nix, mise, and source installs. (#788)
Patch Changes
Section titled “Patch Changes”- Keep the active code line fixed in place while an inline comment form pushes following content down. (#809)
- Keep
hunk --version,--help,daemon serve, andhunk session *off the diff-engine startup path again, and release the syntax worker when the review app exits instead of at startup. (#784) - Make
--fastoffload eligible syntax highlighting for files with 40 or more lines. (#810) - Let mouse clicks reliably select exact code lines, including blank lines, for keyboard review actions. (#840)
- Fail clearly when an OpenTUI upgrade removes the shifted-wheel scroll reset Hunk requires. (#786)
- Reduce hunk navigation latency by avoiding unnecessary diff, sidebar, and syntax-highlighting work. (#803)
- Reuse worker-highlighted diffs after the terminal cache evicts them. (#791)