Change record status: 
Project: 
Introduced in branch: 
10.1.x
Introduced in version: 
10.1.0
Description: 

Drupal\Component\Diff\Engine\DiffEngine is deprecated and will be removed in Drupal 11. DiffEngine was used internally within the Diff component code.

The Diff component has been refactored to use the sebastianbergmann/diff package instead.

Code that makes call to the Drupal\Component\Diff\Diff class is not affected.

Drupal core was not making direct calls to DiffEngine outside of the Diff component itself; if any custom/contrib module is using it like

    $eng = new DiffEngine();
    $edits = $eng->diff($from_lines, $to_lines);

should refactor that code to use sebastianbergmann/diff. See examples here.

Impacts: 
Module developers