Skip to content

Hunk 0.12

May 12, 2026 – May 14, 2026 · 2 releases

Hunk 0.12 brings native Windows support, Homebrew release automation, terminal-aware light and dark theme detection, and row windowing for very large single-file reviews.

Terminal window
npm i -g hunkdiff@0.12.1

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

May 14, 2026

  • Included the bundled Hunk review skill in standalone prebuilt release archives so hunk skill path works after extracting a tarball or installing via Homebrew.

May 12, 2026

  • 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.
  • Added Windows x64 prebuilt artifact publishing to the release workflow.
  • Added native Windows support in the README, contributor guide, and local build/install scripts.
  • Added Nix flake app outputs for nix run, a named hunk package output, and package validation.
  • Added automatic light/dark theme detection from the terminal background when theme = "auto" is enabled.
  • Ported build:npm, build:bin, and install:bin from bash scripts to cross-platform Bun-runnable TypeScript so native Windows contributors no longer need Git Bash to build or install Hunk locally.
  • Fixed the prebuilt npm package so the hunkdiff/opentui export and bundled type declarations are included.
  • Fixed the npm package so npx hunkdiff and other package-name executable lookups resolve to the Hunk CLI.
  • 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.
  • Fixed Ctrl-C in the live TUI so it exits through Hunk's full shutdown path instead of only destroying the renderer.

Newer: Hunk 0.13 · Older: Hunk 0.11 · All releases