Skip to content

Latest commit

 

History

History
330 lines (211 loc) · 16.1 KB

File metadata and controls

330 lines (211 loc) · 16.1 KB

Changelog

All notable user-visible changes to Hunk are documented in this file.

Added

  • Added Windows x64 prebuilt artifact publishing to the release workflow.

Changed

Fixed

0.12.0-beta.1 - 2026-05-10

Added

  • Added Homebrew tap release automation and Homebrew-aware startup update notices.
  • Added lower-level hunkdiff/opentui primitives for embedding Hunk diff bodies, file headers, file navigation, and multi-file review streams in custom OpenTUI apps.
  • Added row windowing for large single-file reviews to keep huge diffs responsive.

Changed

Fixed

  • Fixed the prebuilt beta npm package so the hunkdiff/opentui export and bundled type declarations are included.
  • Made hunk pager emit static highlighted diff output for captured pager contexts like LazyGit, and pass diff input through unchanged when stdout is non-interactive.
  • Fixed Ctrl-Z job-control suspend support so Hunk can suspend and resume cleanly from a terminal.
  • Fixed Windows compatibility issues across paths, packaging, and tests.

0.11.1 - 2026-05-10

Added

Changed

  • Auto-detect Jujutsu checkouts for hunk diff and hunk show, while keeping explicit vcs config overrides.

Fixed

  • 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.

0.11.0 - 2026-05-09

Added

  • 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.

Changed

Fixed

  • 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.

0.10.0 - 2026-04-21

Added

  • Added agent comment counts in the sidebar so review-heavy files stand out at a glance.
  • Added hunk daemon serve as the standard daemon entrypoint and published reusable session-broker packages plus an OpenTUI diff component for integrators.

Changed

  • Included untracked files when hunk diff <ref> still compares against the live working tree, while keeping explicit revset diffs commit-to-commit only.

Fixed

  • Enabled mouse scrolling in pager mode.
  • 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.

0.9.5 - 2026-04-21

Added

  • Added a Modem sponsor block to the README.

Changed

Fixed

0.9.4 - 2026-04-14

Added

  • Added hunk skill path to print the bundled Hunk review skill path for direct loading or symlinking in coding agents.

Changed

  • Show a one-time startup notice after version changes that points users with copied agent skills to hunk skill path.

Fixed

  • Restored execute permissions for packaged prebuilt binaries so npm install -g hunkdiff works on root-owned installs without spawnSync … EACCES failures.

0.9.3 - 2026-04-13

Fixed

  • Normalized rename-only diff paths so pure renames keep one clean old/path -> new/path header 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).

0.9.2 - 2026-04-11

Fixed

  • 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

Fixed

  • 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 skipped placeholder (#187).

0.9.0 - 2026-04-08

Added

  • Added hunk session review --json for 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).

Changed

  • 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).

Fixed

  • 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

Fixed

  • Enabled j and k step scrolling in normal mode (#131).
  • Aligned inline note rendering more cleanly beside diffs (#137).

0.8.0 - 2026-03-29

Added

  • 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).

Changed

  • 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

  • Fixed keyboard help dialog row overlap (#122).
  • Fixed scrollbar click-drag behavior on large diffs (#120).

0.7.0 - 2026-03-25

Added

  • Grouped sidebar files by folder for easier navigation in large reviews (#99).
  • Added Ctrl+D, Ctrl+U, and Shift+Space navigation shortcuts (#102).
  • Added an auto-hiding vertical scrollbar to the diff pane (#93).
  • Added Linux arm64 prebuilt package release support (#107).

Fixed

  • Prevented scroll snapback when using Space, PageUp, and PageDown (#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

  • Added watch mode for reloadable reviews (#91).

Changed

  • Fit menu dropdowns to their contents (#92).

Fixed

  • 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

  • Added a reload shortcut for the current diff (#83).

Changed

  • Optimized large split review streams for faster rendering on big changesets (#76).
  • Replaced footer hints with a keyboard help modal (#88).

Fixed

  • Restored daemon autostart for prebuilt npm binaries (#84).
  • Detected $bunfs virtual paths correctly when autostarting daemons from Bun binaries (#86).
  • Published prerelease tags to npm under the beta dist-tag (#87).

0.5.1 - 2026-03-23

Fixed

  • Improved friendly Git command errors during CLI failures (#75).

0.5.0 - 2026-03-22

Added

  • 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).

Changed

  • Made Graphite the default theme (#57).
  • Switched review rendering and scroll math to an explicit review row plan for more consistent navigation (#64, #67).

Fixed

  • 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

Added

  • 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

  • Added prebuilt npm binary packaging and automated npm releases, including beta tag support (#12, #14, #15).
  • Added a top-level hunk --version command (#19).
  • Added the experimental MCP daemon for live Hunk sessions (#22).

Changed

  • 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).

Fixed

  • 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

  • Fixed npm installs by bundling Bun in published packages (#11).

0.1.0 - 2026-03-20

Added

  • Initial Hunk release with split and stack terminal diff views built around a single multi-file review stream.
  • Added git-style diff and show commands 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.

Changed

  • 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.

Fixed

  • Stabilized diff repainting, active-hunk scrolling, syntax highlighting, pager stdin patch handling, and terminal cleanup on exit.