Releases: Wilfred/difftastic
0.28.0
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
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
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
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
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.