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.
npm i -g hunkdiff@0.12.1Hunk 0.12 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.12.1
Section titled “0.12.1”May 14, 2026
- Included the bundled Hunk review skill in standalone prebuilt release archives so
hunk skill pathworks after extracting a tarball or installing via Homebrew.
0.12.0
Section titled “0.12.0”May 12, 2026
- Added Homebrew tap release automation and Homebrew-aware startup update notices.
- Added lower-level
hunkdiff/opentuiprimitives 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 namedhunkpackage output, and package validation. - Added automatic light/dark theme detection from the terminal background when
theme = "auto"is enabled.
Changed
Section titled “Changed”- Ported
build:npm,build:bin, andinstall:binfrom 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/opentuiexport and bundled type declarations are included. - Fixed the npm package so
npx hunkdiffand other package-name executable lookups resolve to the Hunk CLI. - Made
hunk pageremit 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.