Diff
This module adds a tab to view all revisions of content and visually highlights changes between them. It allows users to see added, changed, or deleted text between different versions of content.
This module adds a tab for sufficiently permissioned users. The tab shows all revisions like standard Drupal but it also allows pretty viewing of all added/changed/deleted words between revisions.
Versions
There are currently 2 supported versions of Diff.
The 8.x-1.x branch is a legacy branch that is effectively unmaintained and obsolete.
Migrating 8.x-1.x to 2.0.0.This should be a smooth upgrade. 8.x-1.10 will be marked as unsupported sometime between August and October 2026
Simply run
composer require drupal/diff:^2.1.0
You are strongly advised to update to 2.1.0, there should be no compatibility issues between 8.x-1.10 and 2.0.0.
2.x
This is a new branch started by acbramley in an attempt to bring the Diff module up to modern coding standards.
2.0.0 - functionally equivalent to 8.x-1.10 but refactored and modernised
2.1.0 - Diff now supports all entity types
It requires:
- Drupal 10.5 (this will be raised as Drupal 10's minors go EOL)
- PHP 8.1 (this will be raised as PHP's minors go EOL)
8.x-1.x
This branch supports Drupal 10 and Drupal 11. 8.x-1.10 is the final release on this branch.
You should be able to upgrade to 2.1.0 with no issues.
Active maintainer/s
- Adam Bramley (acbramley)
Previous maintainers
- Lucian Hangea (lhangea)
- Young Hahn (yhahn)
- Tim Altman (Junyor)
- Derek Wright (dww)
- rötzi
- Moshe Weitzman (moshe)
- Mitchell Tannenbaum (mitchell) - issue queue
- Brian Gilbert (realityloop)
- Alan Davison (Alan D.)
- Miro Dietiker (miro_dietiker)
Refer to the readme.txt for configuration options.