0.59.0

Wilfred/difftastic0.59.0Jul 20, 2024by github-actions[bot]

AI Summary

Adds support for device tree and F# while improving comment highlighting consistency across languages.

Key Highlights

  • Added support for device tree and F#.
  • Improved comment highlighting consistency using tree-sitter hints.
  • Fixed crash on textual files with single changes containing more than 1,000 words.

New Features

  • Added support for device tree and F#.

Full Release Notes

Difftastic is a structural diff tool that understands syntax. See [the manual](https://difftastic.wilfred.me.uk/) to get started, and [the changelog](https://github.com/Wilfred/difftastic/blob/master/CHANGELOG.md) for historical changes.

### Diffing

Fixed crash on some textual files where a single change contained more than 1,000 words.

### Parsing

Added support for device tree and F#.

Difftastic now uses tree-sitter comment highlighing as a hint that nodes should be treated as atoms. This ensures comments are treated more consistently across languages. This fixes cases in Elm where comment differences were ignored, and may improve other languages too.