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.
npm i -g hunkdiff@0.11.1Hunk 0.11 is no longer the current release. See the latest release or all install options.
Related documentation
Section titled “Related documentation”Releases in this series
Section titled “Releases in this series”0.11.1
Section titled “0.11.1”May 10, 2026
Changed
Section titled “Changed”- Auto-detect Jujutsu checkouts for
hunk diffandhunk show, while keeping explicitvcsconfig 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=trueinput so Hunk restores parser-safea/andb/prefixes without mangling real paths. - Fixed
hunk pagerparsing for Git diffs emitted withdiff.mnemonicPrefix=trueso file paths do not keepi/,w/,c/,1/, or2/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.
0.11.0
Section titled “0.11.0”May 9, 2026
- Added
vcs = "jj"support, enablinghunk diff [revset]andhunk show [revset]. - Added a pager-mode sidebar file tree that can be revealed with the existing
sshortcut while keeping pager chrome hidden by default.
- Fixed
git log -pand multi-commitgit show -pinputs 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.