pratdiff 5.0.0

A colorfull diff tool based on the patience diff algorithm
Documentation
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [5.0.0] - 2026-07-02

## [4.0.0] - 2026-04-16

### Added

- Added `--ignore-whitespace` to control whitespace handling during diffing.

### Changes

- Update dependencies

## [3.1.1] - 2026-03-31

### Changes

- Update dependencies

## [3.1.0] - 2026-03-31

### Added

- Added "rediff"ing support (including support for diff clustering with
  `--cluster`). When a diff is piped to pratdiff, it will produced an token
  based diff.

## [3.0.0] - 2026-03-25

### Added

- Added diff clustering with `--cluster`
- Added build stamps to `--version`

### Changed

- Update dependencies
- reworks parts of the library API

## [2.0.0] - 2026-03-23

### Fixed

- Fix handling of `-` to mean stdin

### Changed

- Update dependencies
- rework utf8 handling to better support unicode
- change lib.rs to use `&[u8]` directly instead of using traits

## [1.0.0] - 2025-11-28

### Changed

- Refactor lib.rs to allow for non-utf8 things
- update to edition 2024
- improve tokenization of symbols

## [0.1.9] - 2025-11-21

### Changed

- Make `DiffItem` public in the library
- Update dependency minimum versions

## [0.1.8] - 2025-09-03

### Changed

- Remove extra space from chunk header
- Update dependency minimum versions

## [0.1.7] - 2025-05-21

### Changed

- Update clap versions
- Update dependency minimum versions

## [0.1.6] - 2025-05-21

### Changed

- Move around code to make pratdiff easier to use as a library
- Update dependency versions

## [0.1.5] - 2024-06-24

### Changed

- Make directory walk report errors without halting the entire walk
- Include symlink info in file names

## [0.1.4] - 2024-06-19

### Changed

- Improve performance for the non-unique line case
- Update dependency versions

## [0.1.2] - 2024-06-09

### Added

- Added shell completions via `--completions`

## [0.1.1] - 2024-06-09

Documentation fixes only

### Changed

- Improve readme

### Fixed

- Correct license

## [0.1.0] - 2024-06-09

Initial release.

### Added

- Color diff including token level coloration
- Common prefix stripping for paths
- Directory walking

[0.1.0]: https://github.com/fowles/pratdiff/compare/33062819364ff9bf89dc1566e05e0b3e448ec094...0.1.0
[0.1.1]: https://github.com/fowles/pratdiff/compare/0.1.0...0.1.1
[0.1.2]: https://github.com/fowles/pratdiff/compare/0.1.1...0.1.2
[0.1.4]: https://github.com/fowles/pratdiff/compare/0.1.2...0.1.4
[0.1.5]: https://github.com/fowles/pratdiff/compare/0.1.4...0.1.5
[0.1.6]: https://github.com/fowles/pratdiff/compare/0.1.5...0.1.6
[0.1.7]: https://github.com/fowles/pratdiff/compare/0.1.6...0.1.7
[0.1.8]: https://github.com/fowles/pratdiff/compare/0.1.7...0.1.8
[0.1.9]: https://github.com/fowles/pratdiff/compare/0.1.8...0.1.9
[1.0.0]: https://github.com/fowles/pratdiff/compare/0.1.9...1.0.0
[2.0.0]: https://github.com/fowles/pratdiff/compare/1.0.0...2.0.0
[3.0.0]: https://github.com/fowles/pratdiff/compare/2.0.0...3.0.0
[3.1.0]: https://github.com/fowles/pratdiff/compare/3.0.0...3.1.0
[3.1.1]: https://github.com/fowles/pratdiff/compare/3.1.0...3.1.1
[Unreleased]: https://github.com/fowles/pratdiff/compare/5.0.0...main
[5.0.0]: https://github.com/fowles/pratdiff/compare/4.0.0...5.0.0
[4.0.0]: https://github.com/fowles/pratdiff/compare/3.1.1...4.0.0