Releases: wmde/Diff
Releases · wmde/Diff
1.0.0
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
Additions
- Added
OrderedArrayComparer
, anArrayComparer
for ordered arrays - Added
OrderedListDiffer
, a Differ that acts as facade for aListDiffer
using anOrderedArrayComparer
- Added
ComparableComparer
, aValueComparer
that makes use of a "equals" method of the objects it compares