PackageTrack
Sign in Get early access

icecave/parity

A customizable deep comparison library.

3.0.1 7.4M downloads/mo #2609 most downloaded on Packagist icecave/parity

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Release timing varies

gaps range from 3 months to 4.8 years

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

7 releases · first in 2013

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · May 2013 to Feb 2021
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 7
  1. 3.0.1 04 Feb 2021
    Release notes

    Please note, as of this release this project intends to support only those
    versions of PHP that are listed under the "Currently Supported Versions" section
    of https://www.php.net/supported-versions.php. This means that support for older
    PHP versions may be dropped in minor or patch releases.

    • Drop support for PHP 7.2
    • Add support for PHP 8
    Open source →
    Release notes

    Please note, as of this release this project intends to support only those versions of PHP that are listed under the "Currently Supported Versions" section of https://www.php.net/supported-versions.php. This means that support for older PHP versions may be dropped in minor or patch releases.

    • Drop support for PHP 7.2
    • Add support for PHP 8
    Open source →
  2. 3.0.0 25 Aug 2020
    Release notes

    This release contains several backwards compatibility breaks that will effect
    more advanced usage of Parity, however the common usage via Parity::compare()
    is unchanged.

    • [BC] Drop support for PHP 7.1
    • [BC] Add parameter and return type hints
    • [BC] Remove PackageInfo class
    • [BC] Rename ComparatorInterface to Comparator
    • [BC] Rename AnyComparableInterface to AnyComparable
    • [BC] Rename ExtendedComparableInterface to ExtendedComparable
    • [BC] Rename SelfComparableInterface to SelfComparable
    • [BC] Rename SubClassComparableInterface to SubClassComparable
    • [BC] Remove AbstractExtendedComparable class, use ExtendedComparableTrait instead
    Open source →
    Release notes

    This release contains several backwards compatibility breaks that will effect more advanced usage of Parity, however the common usage via Parity::compare() is unchanged.

    • [BC] Drop support for PHP 7.1
    • [BC] Add parameter and return type hints
    • [BC] Remove PackageInfo class
    • [BC] Rename ComparatorInterface to Comparator
    • [BC] Rename AnyComparableInterface to AnyComparable
    • [BC] Rename ExtendedComparableInterface to ExtendedComparable
    • [BC] Rename SelfComparableInterface to SelfComparable
    • [BC] Rename SubClassComparableInterface to SubClassComparable
    • [BC] Remove AbstractExtendedComparable class, use ExtendedComparableTrait instead
    Open source →
  3. 2.0.0 06 Nov 2018
    Release notes
    • [BC] Drop support for PHP 5.x and PHP 7.0
    • [NEW] Added Parity::min[Sequence](), max[Sequence]() (thanks @koden-km)
    Open source →
    Release notes
    • [BC] Drop support for PHP 5.x and PHP 7.0
    • [NEW] Added Parity::min[Sequence](), max[Sequence]() (thanks @koden-km)
    Open source →
  4. 1.0.0 17 Jan 2014
    Release notes
    • Stable release (no API changes since 1.0.0-alpha.2).
    Open source →
    Release notes
    • Stable release (no API changes since 1.0.0-alpha.2).
    Open source →
  5. 1.0.0-alpha.2 22 Oct 2013 pre-release
    Release notes
    • [BC] SelfComparableInterface now requires the comparison operands to be the exactly same type.
    • [NEW] Added SubClassComparableInterface, similar to the previous behavior of SelfComparableInterface
    Open source →
    Release notes
    • [BC] SelfComparableInterface now requires the comparison operands to be the exactly same type.
    • [NEW] Added SubClassComparableInterface, similar to the previous behavior of SelfComparableInterface
    Open source →
  6. 1.0.0-alpha.1 20 Oct 2013 pre-release
    Release notes
    • [BC] Removed deep parameter from Parity::compare() and related convenience methods
    • [BC] Removed ComparableInterface and Comparator
    • [BC] Removed AbstractComparable (replaced with AbstractExtendedComparable which does not implement any comparable interface)
    • [NEW] Added AnyComparableInterface and SelfComparableInterface
    • [NEW] Added ComparatorInterface::__invoke()
    • [NEW] Added ObjectIdentityComparator, StrictPhpComparator and PhpComparator
    • [NEW] Added ParityComparator which compares numeric types in a more natural manner
    • [IMPROVED] Comparators are now use other comparators to handle unsupported comparisons (composition rather than extension)
    • [IMPROVED] Deep comparison no longer compares arrays by size first, allows for more natural ordering based on elements
    Open source →
    Release notes
    • [BC] Removed deep parameter from Parity::compare() and related convenience methods
    • [BC] Removed ComparableInterface and Comparator
    • [BC] Removed AbstractComparable (replaced with AbstractExtendedComparable which does not implement any comparable interface)
    • [NEW] Added AnyComparableInterface and SelfComparableInterface
    • [NEW] Added ComparatorInterface::__invoke()
    • [NEW] Added ObjectIdentityComparator, StrictPhpComparator and PhpComparator
    • [NEW] Added ParityComparator which compares numeric types in a more natural manner
    • [IMPROVED] Comparators are now use other comparators to handle unsupported comparisons (composition rather than extension)
    • [IMPROVED] Deep comparison no longer compares arrays by size first, allows for more natural ordering based on elements
    Open source →
  7. 0.1.0 29 May 2013
    Release notes
    • Initial release
    Open source →
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive