Skip to content

Releases: Wilfred/difftastic

0.28.0

29 Apr 23:52
Compare
Choose a tag to compare

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

Parsing

Added support for HCL, Perl and Swift.

Improved language detection for JSON. More file extensions and file names are recognised as JSON, e.g. .jsonl.

Display

Fixed crash in inline mode.

Added an option --tab-width that controls how many spaces are used to display tabs. The default value is 8, consistent with older versions.

Added an option --syntax-highlight that controls whether the output is syntax highlighted.

Diffing

Difftastic now diffs files in parallel when diffing whole directories, increasing performance.

Directory diffing now correctly handles files that are only in one of the directories.

Command Line Interface

Fixed handling of paths that aren't valid UTF-8.

--missing-as-empty now only applies when diffing files, and has no effect when diffing directories.

Note: Crates.io Is Patched

Due to the 10 MB crate limit, two patches were applied before uploading to crates.io. The source code on crates.io therefore does not exactly match this git tag.

Cargo.toml had the include list changed (committed on master as d9ef270), and the vendored perl parser had whitespace removed with sed "s/^[ \t]*//" -i vendor/tree-sitter-perl-src/parser.c.

0.27.0

18 Apr 16:36
Compare
Choose a tag to compare

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.

0.26.3

10 Apr 22:40
Compare
Choose a tag to compare

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

Build

This release contains no logic changes from 0.26.2. 0.26.3 has a fixed release script to ensure that the release includes Windows binaries.

0.26.2

10 Apr 20:08
Compare
Choose a tag to compare

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

Build

Fixed compilation error on Windows due to GCC extension usage in the tree-sitter-nix library.

0.26.1

10 Apr 19:26
Compare
Choose a tag to compare

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

Build

This version of difftastic is also available as a GitHub release with precompiled binaries available.

Parsing

Fixed Zig parsing of @foo identifiers.

Display

Fixed a crash when inserting newlines in JSX literals.