Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Diff

74,809 sites Security covered
View on drupal.org

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

Previous maintainers

Refer to the readme.txt for configuration options.

Activity

Total releases
7
First release
Jun 2025
Latest release
1 month ago
Releases (12 mo)
5 ▲ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.1.0 Stable Jun 10, 2026
2.0.0 Stable May 6, 2026
2.0.0-beta6 Pre-release May 5, 2026
2.0.0-beta5 Pre-release Mar 2, 2026
8.x-1.10 Stable Jan 20, 2026
8.x-1.9 Stable Jun 4, 2025
2.0.0-beta4 Pre-release Jun 2, 2025