Skip to content

Releases: wmde/Diff

1.0.0

10 Apr 15:31
Compare
Choose a tag to compare

Improvements

  • Diff is now PSR-4 compliant

Compatibility breaks

  • Removed the Diff\IDiff interface (deprecated since 0.5)
  • Removed the Diff\IDiffOp interface (deprecated since 0.4)
  • Replaced custom autoloader with PSR-4 based loading via Composer

Deprecations

  • The classes that got moved into other namespace now have their old names as deprecated aliases:
    • All Differ classes that resided directly in the Diff namespace are now in Diff\Differ.
    • All DiffOp classes that resided directly in the Diff namespace are now in Diff\DiffOp.
    • All Patcher classes that resided directly in the Diff namespace are now in Diff\Patcher.

0.9.0

02 Apr 12:18
Compare
Choose a tag to compare

Additions

  • Added OrderedArrayComparer, an ArrayComparer for ordered arrays
  • Added OrderedListDiffer, a Differ that acts as facade for a ListDiffer using an OrderedArrayComparer
  • Added ComparableComparer, a ValueComparer that makes use of a "equals" method of the objects it compares