Skip to content

v0.12.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 May 21:11

What's Changed

Added

  • Added lower-level hunkdiff/opentui primitives for embedding Hunk-powered review UIs in custom OpenTUI apps: HunkDiffBody, HunkFileNav, HunkReviewStream, HunkDiffFileHeader, createHunkDiffFile, and createHunkDiffFilesFromPatch (#272).
  • Added a runnable OpenTUI primitives demo under examples/8-opentui-primitives (#272).
  • Added Homebrew tap release automation and Homebrew-aware startup update notices (#273).
  • Added row windowing for large single-file reviews to keep huge diffs responsive (#237).

Fixed

  • Fixed prerelease npm packaging so the published beta includes the hunkdiff/opentui export, bundled JavaScript, and type declarations.
  • Made hunk pager emit static highlighted diff output for captured pager contexts such as LazyGit, while passing diff input through unchanged when stdout is non-interactive (#271).
  • Fixed Ctrl-Z job-control suspend support so Hunk can suspend and resume cleanly from a terminal (#269).
  • Fixed Windows compatibility issues across paths, packaging, and tests (#257).

Install

CLI:

npm install -g hunkdiff@beta

OpenTUI package usage:

npm install hunkdiff@beta @opentui/core @opentui/react react

Full Changelog: v0.11.1...v0.12.0-beta.1