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 XML and JSONL.
Diffing
Text nodes now get word diffing, consistent with string literals and comments. This is used in languages like HTML and XML that have separate text nodes.
Display
Improved syntax highlighting of constructors (i.e. type names when values are constructed, such as Foo {}
).
Improved syntax highlighting for C#.
Build
This release does not provide a prebuilt musl binary, due to a dynamic linking issue with binaries in the release script.
musl remains tested in CI and supported for users, but you will need to compile difftastic from source.