github Wilfred/difftastic 0.30.0

latest releases: 0.60.0, 0.59.0, 0.58.0...
2 years ago

Difftastic is a structural diff tool that understands syntax. See the manual to get started, and the changelog for historical changes.

Parsing

Added support for HTML and Julia.

Display

Fixed an issue where line numbers were coloured even when colour was disabled.

Improved alignment when files contain Unicode characters that are more than one column wide.

Improved syntax highlighting for conditionals, particularly for Dart, Elvish and HCL.

Command Line Interface

--node-limit has been replaced by --graph-limit, and the corresponding environment variable DFT_NODE_LIMIT has been replaced with DFT_GRAPH_LIMIT.

--graph-limit makes difftastic give up on structural diffs after traversing this many graph nodes. --node-limit applied a limit based on an estimate of how big the graph would be, leading to very slow diffs when the estimate was wrong.

This new setting sets a more accurate limit on difftastic performance. It also means that difftastic will always try a structural diff first. This will be slower for files that exceed --graph-limit, but guarantees that files with a small number of changes will always get a structural diff.

Don't miss a new difftastic release

NewReleases is sending notifications on new releases.