0.64.0

ocrmypdf/OCRmyPDF0.64.0Jun 15, 2025by github-actions[bot]

AI Summary

This release integrates Difftastic for structural diffs and updates parsers for several languages, while also tightening file detection and migrating CI to Ubuntu 22.04.

Key Highlights

  • Integration of Difftastic, a structural diff tool that understands syntax
  • Updated tree-sitter parsers for Erlang, F#, Gleam, Pascal, and Swift
  • Added support for Verilog and SystemVerilog
  • Stricter file detection for UTF-8 and improved recognition of compression types like zstd and bzip2 as binary
  • CI updated to Ubuntu 22.04, requiring a newer glibc version for prebuilt binaries

Breaking Changes

  • Prebuilt binaries now require a newer glibc version to run

New Features

  • Support for Verilog and SystemVerilog
  • Difftastic integration

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.

### Parsing

Updated to the latest tree-sitter parser for Erlang, F#, Gleam, Pascal and Swift.

File detection is now stricter for UTF-8, and recognises more compression file types as binary (e.g. zstd or bzip2).

Added support for Verilog and SystemVerilog.

### Build

CI on GitHub now uses Ubuntu 22.04 for Linux builds (previously Ubuntu 20.04), so prebuilt binaries will require a newer glibc version to run.

### Internal

Difftastic has switched from MiMalloc to Jemalloc for allocation. This is modest performance regression (up to 20% longer runtime in testing). Jemalloc is currently easier to build (see issue #805) and has fewer pathological performance corner cases.