Hunk 0.16
June 19, 2026 · 1 release
Hunk 0.16 rebuilds the built-in theme system around a single theme setting with a live selector, and lets custom themes inherit from any built-in theme.
npm i -g hunkdiff@0.16.0Hunk 0.16 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.16.0
Section titled “0.16.0”June 19, 2026
Minor Changes
Section titled “Minor Changes”- Refresh Hunk's built-in theme system, default to
github-dark-default, and simplify theme selection around onethemesetting withView -> Themes…/topening the selector. Custom themes can inherit from any built-in theme withcustom_theme.basewhile keeping explicit syntax color overrides, and removed theme ids such asgraphiteandpaperremain accepted as compatibility aliases.
Patch Changes
Section titled “Patch Changes”- Allow session comment cleanup commands to remove human
cnotes:comment rmacceptsuser:*note ids, andcomment clear --include-user/--allclears user notes alongside live agent comments. - Adopt Changesets for release-note fragments so pull requests can avoid conflicting
CHANGELOG.mdedits. - Prevent standalone Hunk binaries from loading
bunfig.tomlfiles from the caller's working directory. - Improve React review-stream responsiveness by reducing offscreen file mounting work while preserving adjacent highlight prefetching.
- Honor explicit split layout mode in static pager output for captured hosts like LazyGit.
- Improve generated theme contrast checks for built-in themes, including diff rows, metadata, chrome, and fallback token colors.
- Require an explicit click or keyboard action before previewing a theme from the theme selector, while keeping mouse-wheel navigation available inside the selector.