0.68.0

ocrmypdf/OCRmyPDF0.68.0Mar 16, 2026by github-actions[bot]

AI Summary

This release focuses on updates for Difftastic, a structural diff tool. It includes fixes for Git support to prevent crashes on unmerged paths, updates to parsers for multiple programming languages, and improvements to the build process and CLI error reporting.

Key Highlights

  • Fixed Git support to prevent crashes on unmerged paths
  • Updated parsers for Bash, C, Go, Lua, Nix, Perl, Python, Rust, Scala, Swift, and YAML
  • Build now requires Rust 1.77 or later
  • Improved CLI error reporting for invalid arguments

New Features

  • Fixed issue with parsing raw string literals in Rust
  • Improved error reporting when invoked with an invalid number of arguments
  • Fixed inline display to respect --context value
  • Fixed side-by-side rendering when files contain tabs

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.

### Git Support

Fixed an issue where git with difftastic would terminate with `fatal: external diff died` when there was an unmerged path.

### Parsing

Updated Bash, C, Go, Lua, Nix, Perl, Python, Rust, Scala, Swift and YAML parsers.

Fixed an issue with parsing raw string literals in Rust.

### Build

Difftastic now requires Rust 1.77 or later to build.

Difftastic no longer uses jemalloc on any Windows builds. Previously jemalloc was only disabled for MSVC.

### Command Line Interface

Improved error reporting when invoked with an invalid number of arguments.

### Display

Fixed an issue with inline display where it didn't always respect the value of --context.

Fixed an issue with side-by-side rendering when files contain tabs.