0.69.0

chaitin/SafeLine0.69.0Apr 30, 2026by github-actions[bot]

AI Summary

Difftastic update focusing on smarter parsing that understands syntax, including improved handling of trailing punctuation and support for Assembly.

Key Highlights

  • Trailing punctuation is now ignored for no-change detection (e.g., `foo(1,)` vs `foo(1)`).
  • Added support for Assembly language parsing.
  • Removed support for Hack (HHVM) as the upstream parser is unmaintained.
  • Improved parsing for Clojure, Common Lisp, CSS, Dart, Erlang, F#, OCaml, Python, Rust, Scala, TypeScript, and VHDL.

Breaking Changes

  • Removed support for Hack language files (`.php` starting with `<?hh` are now treated as text).

New Features

  • Better binary/text detection using `.gitattributes`.
  • Significantly improved parsing for multiple programming languages.

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

Difftastic now understands when trailing punctuation isn't significant, so `foo(1,)` and `foo(1)` are treated as "no syntactic changes". This is supported for Go, Java, JavaScript, Python, Rust, Swift and TypeScript.

### Parsing

Added support for Assembly.

Substantially improved parsing for Perl.

Improved parsing for Clojure, Common Lisp, CSS, Dart, Erlang, F#, OCaml, Python, Rust, Scala, TypeScript and VHDL.

Removed support for Hack, as the upstream parser is no longer maintained. `.php` files starting with `<?hh` are now treated as text.

### File Detection

Difftastic now considers `.gitattributes` when deciding if a file is binary, recognising both the `-text` and `binary` attributes.

### Build

Difftastic now requires Rust 1.85 or later to build.