Difftastic is a diff tool that understands syntax. See the manual to get started, and the changelog for historical changes.
Parsing
Added support for Kotlin and TOML.
Fixed an issue with YAML and |
block strings.
Updated to the latest upstream C++, C#, Elixir, Go, Haskell, Java, Python, Ruby, Rust and TypeScript parsers.
Diffing
Improved performance in large files when changes are clustered together.
Display
Improved syntax highlighting.
Tabs are now rendered with eight spaces.
Command Line Interface
Difftastic now validates environment variables the same way as arguments. DFT_DISPLAY=no-such-mode
will now error rather than silently using the default display mode.
Build
The upstream Haskell parser has been ported from C++14 to pure C. This should allow difftastic to build on platforms with older C++ compilers.