Skip to content

0.48.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Jul 23:49
· 2206 commits to master since this release

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

Parsing

Updated Scala parser.

Improved parsing of qualified modules and variables in Haskell.

Diffing

Replaced strings now have subword highlighting, consistent with replaced comments. Thanks @amnore!

Fixed an issue with the cost model for comment replacement, leading difftastic to prefer modified comments even when exact comment matches are possible.

Simplified the cost model, which previously had an inconsistent heuristic depending on whether there were multiple items on the same line. This can lead to slightly different items being marked as changed, but on average the results are better.

Display

Improved word highlighting in comments when they contain numbers or hyphens.

Internals

Difftastic's logging is now configured with the environment variable DFT_LOG. This was previously RUST_LOG, which could interfere with users configuring logging for their own development work.