Skip to content

Releases: amix/dunk

v0.15.1

19 May 09:51

Choose a tag to compare

Changed

  • .dunk/comments.json is now deleted when the last comment is resolved instead of leaving an empty { "comments": [] } file. Reads already treat a missing file as "no comments", so an empty review leaves no artifact for a coding agent or human reviewer to reason about.

Full Changelog: v0.15.0...v0.15.1

v0.15.0

19 May 09:16

Choose a tag to compare

Changed

  • dunk diff now reviews staged and unstaged changes together (working tree vs HEAD), so a quick dunk diff shows everything you've touched since the last commit, including changes you've already git added. Untracked files are still included. Use dunk diff --staged (or --cached) for index-vs-HEAD only, and the new dunk diff --unstaged for working-tree-vs-index only. In a repo with no commits, dunk diff diffs against the empty tree so staged-but-uncommitted files still show.

Full Changelog: v0.14.0...v0.15.0

v0.14.0

16 May 19:55
aee2378

Choose a tag to compare

Added

  • watch = true in .dunk/config.toml (or ~/.config/dunk/config.toml) now enables watch mode without passing --watch every time. The --watch/absence of it on the command line still overrides the config value.
  • Ctrl-Z suspends dunk as a normal shell job (the terminal is restored, the process group gets SIGTSTP, and fg resumes the renderer). Previously Ctrl-Z was swallowed in raw mode and dunk could not be suspended. No-op on Windows.
  • , and . jump to the previous / next file in the review stream (clamped at the ends), so you can skip whole files without stepping through every hunk. Shown in ? help.
  • Captured pager hosts (LazyGit, git -c core.pager="dunk pager" log -p, anything that pipes a custom pager into its own panel with TERM=dumb) now get a static, colored ANSI diff instead of a broken alt-screen attempt. Other non-TTY / dumb-terminal pipes echo the raw patch verbatim so the pager pipeline keeps working.

Removed

  • Jujutsu support. dunk now targets Git only — there's no more vcs config key, jj workspace auto-detection, or jj revset handling for dunk diff/dunk show. Use a colocated Git checkout if you work in jj.

Fixed

  • }/{ (next/previous comment) now jump to the nearest comment relative to your position in the review stream. Pressing them from a hunk that has no comment of its own previously snapped to the first or last comment in the whole review instead of the closest one.
  • Ctrl-C now exits through dunk's ordered shutdown (renderer torn down, terminal screen restored) instead of OpenTUI's hard exit. dunk also shuts down cleanly on SIGINT/SIGTERM.

v0.13.0

14 May 08:16
b257069

Choose a tag to compare

What's Changed

  • feat(diff): add --branch flag to review the whole branch vs its base by @amix in #2
  • chore(release): 0.13.0 by @amix in #3

Full Changelog: v0.12.2...v0.13.0

v0.12.2

11 May 11:41

Choose a tag to compare

What's Changed

  • fix(ui): preserve scroll position across comment add/edit/delete by @amix in #1

New Contributors

  • @amix made their first contribution in #1

Full Changelog: v0.12.1...v0.12.2

v0.12.1

11 May 09:43

Choose a tag to compare

Full Changelog: v0.12.0...v0.12.1