Skip to content

Releases: dlvhdr/diffnav

v0.9.0

07 Feb 17:21
v0.9.0
3da3297

Choose a tag to compare

Changelog

v0.8.2

06 Feb 19:27
v0.8.2
e95cea2

Choose a tag to compare

Changelog

  • e95cea2 fix: only log errors to stderr if not debug mode (#84)
  • 89fce8d fix: use cache key for side-by-side toggle instead of clearing cache (#77)

v0.8.1

31 Jan 20:25
v0.8.1
dfb73a4

Choose a tag to compare

Quick and small fix thanks to @pablospe!

Changelog

  • dfb73a4 Fix side-by-side toggle for directory nodes (#72)

v0.8.0

31 Jan 20:17
v0.8.0

Choose a tag to compare

The Collapsible Release

Directories Are Now Intractable

The main feature of this release is that you can now collapse and expand directories!
In addition you can view the diff for entire directories at once, as well as the entire diff if you're on the root node.

Screen.Recording.2026-01-31.at.22.14.09.1.mov

Diffstats

Diff stats in the file tree show you the amount of changes to a file in a glance.
This is on by default and you can turn it off by setting this in your config:

ui:
  showDiffStats: false

Enjoy!

Changelog

  • 297d8d0 feat: diffstats
  • 6e5d9c3 feat: expand/collapse dirs (#70)
  • 9305af9 fix: add node cache so you can view collapsed nodes diff (#71)
  • 2d86e83 refactor: use dirnode for dir nodes (#69)

v0.7.0

30 Jan 14:28
v0.7.0
cc9c87c

Choose a tag to compare

New File Tree Infra + File Icons!

v0.7.0 uses a new file tree under the hood that in the future will enable expanding/collapsing directories. Watch out for future updates.

Also, star contributor @pablospe added support for file icons with this config option:

ui:
  icons: nerd-fonts-full

Changelog

  • 580ed20 chore: update .gh-dash.yml
  • 04b0c19 feat: add configurable icon styles with nerd font support (#65)
  • cc9c87c refactor: rename filetreev2 to filetree (#67)
  • 52b6e4e refactor: use tree bubble (#37)

v0.6.0

17 Jan 17:46
v0.6.0
4bfcf87

Choose a tag to compare

Unified Diff Mode Toggle

Thanks to @markdorison 🙏🏽 diffnav now supports toggling between side-by-side and unified diff modes.
Press s to switch between the two or use the --side-by-side and --unified flags.
You can also set this in the config file under ui.sideBySide.

Changelog

  • 4bfcf87 feat: add unified diff view option (#63)

v0.5.0

14 Jan 09:34
v0.5.0
c8a8f8e

Choose a tag to compare

Changelog

  • f016577 Update README to remove caution note
  • 47787e2 ci: add taskfile (#55)
  • 7d14b38 ci: update devbox
  • c8a8f8e feat: add configurable icon styles (#58)
  • f319214 feat: add keybinding to open file in editor (#60)
  • dd8fd3d fix: correct file tree selection after search (#61)

v0.4.0

09 Jan 17:09
v0.4.0
8d516cd

Choose a tag to compare

Switch focus between panes, config file, mouse support and more!

This release is brought to you by @pablospe who made some serious improvements across the board!
Thank you @pablospe, your work is really appreciated! <3

Focus Switching

You can now switch focus between the file tree and the diff by hitting tab.
This lets you use a wider set of movement keybinds like actually navigating one line at a time with j/k.

Config File

diffnav now has a config file (check the readme on how to set it up).
It lets you hide the footer/header, hide the file tree by default or set its width.

Mouse Support

You can now click the files in the tree or scroll the diff with your mouse!

Again, this was all done by @pablospe so give him some love!

Changelog

  • ccb29e8 Revert "fix: prevent j/k from scrolling inactive panel"
  • 3a431de chore: add funding configuration for GitHub
  • 37a52c1 feat: add config option to hide header
  • e5efc99 feat: add more config options
  • 8d516cd feat: add mouse support (#49)
  • 60f5aa3 feat: add panel switching with h/l and arrow keys
  • bfc0ef1 feat: convert config to YAML and nest under ui key
  • 600d8ed feat: improve config file discovery
  • 090abfc feat: make ctrl+d/ctrl+u global for diff scrolling
  • 23b3000 feat: replace h/l panel switching with Tab toggle
  • d6b2e73 fix: improve file tree selection styling
  • cad6633 fix: isolate panel navigation to prevent cross-scrolling
  • 803f7a8 fix: prevent delta colors from bleeding into file tree panel
  • a07e104 fix: prevent j/k from scrolling inactive panel
  • f5f8972 refactor: use ansi.Truncate instead of custom implementation
  • e939dcf refactor: use camelCase for config keys
  • 08a7356 style: capitalize TAB in footer help

v0.3.1

10 May 18:15
v0.3.1

Choose a tag to compare

Minor fix

  • Go to top of the diff viewport when changing files

Changelog

v0.3.0

07 Jan 15:00

Choose a tag to compare

Changelog

  • Press y to copy the file path

Commits

  • deafe64 chore: remove copySelectedFilePath func
  • bff4633 chore: update README.md
  • eb2dfa1 feat: add copy selected file path
  • 3b0a369 fix: change keybinding from c to y