Skip to content

Hunk 0.11

May 9, 2026 – May 10, 2026 · 2 releases

Hunk 0.11 adds Jujutsu support through vcs = "jj", a pager-mode sidebar file tree, and steadier cross-file hunk navigation.

Terminal window
npm i -g hunkdiff@0.11.1

Hunk 0.11 is no longer the current release. See the latest release or all install options.

May 10, 2026

  • Auto-detect Jujutsu checkouts for hunk diff and hunk show, while keeping explicit vcs config overrides.
  • Fixed large tracked and untracked file handling so very large diffs render as skipped placeholders instead of slowing startup or overflowing the JavaScript call stack.
  • Fixed Git patch parsing for diff.noprefix=true input so Hunk restores parser-safe a/ and b/ prefixes without mangling real paths.
  • Fixed hunk pager parsing for Git diffs emitted with diff.mnemonicPrefix=true so file paths do not keep i/, w/, c/, 1/, or 2/ side prefixes.
  • Fixed review scrolling so viewport updates are coalesced and no longer risk a render loop.
  • Fixed agent comment hunk ranges so context lines from hunk headers remain part of the target range.
  • Fixed untracked-file reviews in repositories with external diff tools configured by passing --no-ext-diff.
  • Fixed diff geometry for hunks with multiple agent notes so offscreen notes no longer skew scrolling measurements.

May 9, 2026

  • Added vcs = "jj" support, enabling hunk diff [revset] and hunk show [revset].
  • Added a pager-mode sidebar file tree that can be revealed with the existing s shortcut while keeping pager chrome hidden by default.
  • Fixed git log -p and multi-commit git show -p inputs so patch parsing ignores commit metadata instead of emitting Pierre parser warnings.
  • Fixed cross-file hunk navigation so near-boundary jumps keep the selected file pinned and backward jumps reveal the target hunk instead of the file top.
  • Fixed the View menu sidebar checkmark so it follows whether the responsive layout is actually rendering the sidebar.

Newer: Hunk 0.12 · Older: Hunk 0.10 · All releases