All notable user-visible changes to Hunk are documented in this file.
- Included untracked files when
hunk diff <ref>still compares against the live working tree, while keeping explicit revset diffs commit-to-commit only. - Balanced Pierre word-level highlights so split-view inline changes stay visible without overpowering the surrounding diff row.
- Smoothed mouse-wheel review scrolling so small diffs stay precise while sustained wheel gestures still speed up.
- Fixed Shift+mouse-wheel horizontal scrolling so it no longer leaks a one-line vertical scroll in some terminals.
- Added
hunk skill pathto print the bundled Hunk review skill path for direct loading or symlinking in coding agents.
- Show a one-time startup notice after version changes that points users with copied agent skills to
hunk skill path.
- Restored execute permissions for packaged prebuilt binaries so
npm install -g hunkdiffworks on root-owned installs withoutspawnSync … EACCESfailures.
- Normalized rename-only diff paths so pure renames keep one clean
old/path -> new/pathheader in the review UI (#194). - Stripped Pierre's empty-line newline placeholder spans so blank additions and deletions keep stable line numbers and diff row backgrounds (#201).
- Fixed a bottom-edge scrolling regression where short last files could snap back and make upward navigation feel stuck near the end of the review stream (#196).
0.9.1 - 2026-04-10
- Preserved viewport position when switching layouts (#185).
- Skipped binary file contents in reviews while keeping binary files visible in the review stream with a
Binary file skippedplaceholder (#187).
0.9.0 - 2026-04-08
- Added
hunk session review --jsonfor full live-session exports (#160). - Added horizontal code-column scrolling in review mode (#171).
- Added batch apply support for live session comments in agent review flows (#179).
- Pinned the current file header while scrolling the review pane (#141).
- Made session comment focus opt-in instead of forcing comment focus by default (#163).
- Synced active hunks to mouse scrolling and prefetched diff highlighting for smoother navigation (#172).
- Hid zero-value sidebar file stats to reduce visual noise (#174).
- Updated in-app controls help (#175).
- Sped up syntax-highlight row building in large diffs (#177).
- Reported the packaged version correctly in installed builds (#153).
- Fixed stale syntax highlights after reloads (#146).
- Fixed diff pane header popping while scrolling (#159).
- Avoided failures on untracked directory symlinks (#169).
- Aligned top-menu dropdowns correctly (#176).
- Restored live escape handling in PTY flows (#173).
- Kept viewport-follow selection from jumping unexpectedly (#181).
- Refreshed stale daemons after upgrades (#178).
- Rejected incompatible live session registrations more clearly (#180).
- Versioned daemon compatibility separately from other MCP behavior (#183).
0.8.1 - 2026-03-30
- Enabled
jandkstep scrolling in normal mode (#131). - Aligned inline note rendering more cleanly beside diffs (#137).
0.8.0 - 2026-03-29
- Added file state indicators to the sidebar (#128).
- Added comment-to-comment navigation in review mode (#126).
- Included TTY and tmux pane metadata in session lists (#90).
- Added worktree-based session path targeting for session workflows (#118).
- Included untracked files in working-tree diff reviews by default (#123).
- Surfaced a transient startup update notice (#127).
- Refined top-level CLI help text and files/filter focus copy (#129, #121).
- Fixed keyboard help dialog row overlap (#122).
- Fixed scrollbar click-drag behavior on large diffs (#120).
0.7.0 - 2026-03-25
- Grouped sidebar files by folder for easier navigation in large reviews (#99).
- Added
Ctrl+D,Ctrl+U, andShift+Spacenavigation shortcuts (#102). - Added an auto-hiding vertical scrollbar to the diff pane (#93).
- Added Linux arm64 prebuilt package release support (#107).
- Prevented scroll snapback when using
Space,PageUp, andPageDown(#105). - Normalized Git patch prefixes for parser compatibility (#106).
- Kept selected hunks fully visible when they fit in the viewport (#108).
- Fixed wrap-toggle redraws while preserving the viewport anchor (#110).
0.6.1 - 2026-03-24
- Added watch mode for reloadable reviews (#91).
- Fit menu dropdowns to their contents (#92).
- Shut down idle session daemons more reliably (#96).
- Coordinated singleton daemon launches to avoid duplicate background processes (#97).
- Exited the daemon process cleanly after shutdown (#98).
0.6.0 - 2026-03-23
- Added a reload shortcut for the current diff (#83).
- Optimized large split review streams for faster rendering on big changesets (#76).
- Replaced footer hints with a keyboard help modal (#88).
- Restored daemon autostart for prebuilt npm binaries (#84).
- Detected
$bunfsvirtual paths correctly when autostarting daemons from Bun binaries (#86). - Published prerelease tags to npm under the
betadist-tag (#87).
0.5.1 - 2026-03-23
- Improved friendly Git command errors during CLI failures (#75).
0.5.0 - 2026-03-22
- Added inline agent notes across the review stream, including side-aware range guides (#69, #62).
- Added a session control CLI and a session reload command for live review workflows (#50, #63).
- Added live session comment lifecycle support and expanded the MCP tool surface (#53, #39).
- Added curated Hunk demo examples (#34).
- Made Graphite the default theme (#57).
- Switched review rendering and scroll math to an explicit review row plan for more consistent navigation (#64, #67).
- Hardened MCP daemon lifecycle handling and kept the daemon loopback-only by default (#36, #46).
- Refreshed stale MCP daemons when using the session CLI (#55).
- Let the sidebar shortcut force the files pane open (#56).
0.4.0 - 2026-03-22
- Auto-started the MCP daemon when needed for live sessions (#29).
- Added arrow-key line-by-line scrolling (#30).
0.3.0 - 2026-03-22
- Added prebuilt npm binary packaging and automated npm releases, including beta tag support (#12, #14, #15).
- Added a top-level
hunk --versioncommand (#19). - Added the experimental MCP daemon for live Hunk sessions (#22).
- Always showed the diff rail while dimming inactive hunks (#16).
- Decoupled sidebar visibility from layout toggles (#18).
- Stopped auto-saving view preferences to config files (#13).
- Used a supported Intel macOS runner for prebuilt release builds (#17).
- Preserved executable permissions for prebuilt binaries after installation.
0.2.0 - 2026-03-20
- Fixed npm installs by bundling Bun in published packages (#11).
0.1.0 - 2026-03-20
- Initial Hunk release with split and stack terminal diff views built around a single multi-file review stream.
- Added git-style
diffandshowcommands plus a general Git pager wrapper for drop-in review workflows. - Added persistent Hunk view preferences across sessions (#7).
- Added agent-note anchored review flows, responsive layouts, and display toggles for line numbers, wrapping, and hunk metadata.
- Simplified the review chrome around a menu bar, lighter borders, and diff-focused headers.
- Improved startup and large-review performance with windowed diff sections and deferred syntax highlighting.
- Stabilized diff repainting, active-hunk scrolling, syntax highlighting, pager stdin patch handling, and terminal cleanup on exit.