src
1 year ago
ChangeLog.md
1 year ago
LICENSE
1 year ago
README.md
1 year ago
composer.json
1 year ago
ChangeLog.md
144 lines
| 1 | # ChangeLog |
| 2 | |
| 3 | All notable changes are documented in this file using the [](http://keepachangelog.com/Keep a CHANGELOG](http://keepachangelog.com/](http://keepachangelog.com/) principles. |
| 4 | |
| 5 | ## [4.0.8] - 2022-09-14 |
| 6 | |
| 7 | ### Fixed |
| 8 | |
| 9 | * [](https://github.com/sebastianbergmann/comparator/pull/102#102](https://github.com/sebastianbergmann/comparator/pull/102](https://github.com/sebastianbergmann/comparator/pull/102): Fix `float` comparison precision |
| 10 | |
| 11 | ## [4.0.7] - 2022-09-14 |
| 12 | |
| 13 | ### Fixed |
| 14 | |
| 15 | * [](https://github.com/sebastianbergmann/comparator/pull/99#99](https://github.com/sebastianbergmann/comparator/pull/99](https://github.com/sebastianbergmann/comparator/pull/99): Fix weak comparison between `'0'` and `false` |
| 16 | |
| 17 | ## [4.0.6] - 2020-10-26 |
| 18 | |
| 19 | ### Fixed |
| 20 | |
| 21 | * `SebastianBergmann\Comparator\Exception` now correctly extends `\Throwable` |
| 22 | |
| 23 | ## [4.0.5] - 2020-09-30 |
| 24 | |
| 25 | ### Fixed |
| 26 | |
| 27 | * [](https://github.com/sebastianbergmann/comparator/pull/89#89](https://github.com/sebastianbergmann/comparator/pull/89](https://github.com/sebastianbergmann/comparator/pull/89): Handle PHP 8 `ValueError` |
| 28 | |
| 29 | ## [4.0.4] - 2020-09-28 |
| 30 | |
| 31 | ### Changed |
| 32 | |
| 33 | * Changed PHP version constraint in `composer.json` from `^7.3 || ^8.0` to `>=7.3` |
| 34 | |
| 35 | ## [4.0.3] - 2020-06-26 |
| 36 | |
| 37 | ### Added |
| 38 | |
| 39 | * This component is now supported on PHP 8 |
| 40 | |
| 41 | ## [4.0.2] - 2020-06-15 |
| 42 | |
| 43 | ### Fixed |
| 44 | |
| 45 | * [](https://github.com/sebastianbergmann/comparator/issues/85#85](https://github.com/sebastianbergmann/comparator/issues/85](https://github.com/sebastianbergmann/comparator/issues/85): Version 4.0.1 breaks backward compatibility |
| 46 | |
| 47 | ## [4.0.1] - 2020-06-15 |
| 48 | |
| 49 | ### Changed |
| 50 | |
| 51 | * Tests etc. are now ignored for archive exports |
| 52 | |
| 53 | ## [4.0.0] - 2020-02-07 |
| 54 | |
| 55 | ### Removed |
| 56 | |
| 57 | * Removed support for PHP 7.1 and PHP 7.2 |
| 58 | |
| 59 | ## [3.0.5] - 2022-09-14 |
| 60 | |
| 61 | ### Fixed |
| 62 | |
| 63 | * [](https://github.com/sebastianbergmann/comparator/pull/102#102](https://github.com/sebastianbergmann/comparator/pull/102](https://github.com/sebastianbergmann/comparator/pull/102): Fix `float` comparison precision |
| 64 | |
| 65 | ## [3.0.4] - 2022-09-14 |
| 66 | |
| 67 | ### Fixed |
| 68 | |
| 69 | * [](https://github.com/sebastianbergmann/comparator/pull/99#99](https://github.com/sebastianbergmann/comparator/pull/99](https://github.com/sebastianbergmann/comparator/pull/99): Fix weak comparison between `'0'` and `false` |
| 70 | |
| 71 | ## [3.0.3] - 2020-11-30 |
| 72 | |
| 73 | ### Changed |
| 74 | |
| 75 | * Changed PHP version constraint in `composer.json` from `^7.1` to `>=7.1` |
| 76 | |
| 77 | ## [3.0.2] - 2018-07-12 |
| 78 | |
| 79 | ### Changed |
| 80 | |
| 81 | * By default, `MockObjectComparator` is now tried before all other (default) comparators |
| 82 | |
| 83 | ## [3.0.1] - 2018-06-14 |
| 84 | |
| 85 | ### Fixed |
| 86 | |
| 87 | * [](https://github.com/sebastianbergmann/comparator/pull/53#53](https://github.com/sebastianbergmann/comparator/pull/53](https://github.com/sebastianbergmann/comparator/pull/53): `DOMNodeComparator` ignores `$ignoreCase` parameter |
| 88 | * [](https://github.com/sebastianbergmann/comparator/pull/58#58](https://github.com/sebastianbergmann/comparator/pull/58](https://github.com/sebastianbergmann/comparator/pull/58): `ScalarComparator` does not handle extremely ugly string comparison edge cases |
| 89 | |
| 90 | ## [3.0.0] - 2018-04-18 |
| 91 | |
| 92 | ### Fixed |
| 93 | |
| 94 | * [](https://github.com/sebastianbergmann/comparator/issues/48#48](https://github.com/sebastianbergmann/comparator/issues/48](https://github.com/sebastianbergmann/comparator/issues/48): `DateTimeComparator` does not support fractional second deltas |
| 95 | |
| 96 | ### Removed |
| 97 | |
| 98 | * Removed support for PHP 7.0 |
| 99 | |
| 100 | ## [2.1.3] - 2018-02-01 |
| 101 | |
| 102 | ### Changed |
| 103 | |
| 104 | * This component is now compatible with version 3 of `sebastian/diff` |
| 105 | |
| 106 | ## [2.1.2] - 2018-01-12 |
| 107 | |
| 108 | ### Fixed |
| 109 | |
| 110 | * Fix comparison of `DateTimeImmutable` objects |
| 111 | |
| 112 | ## [2.1.1] - 2017-12-22 |
| 113 | |
| 114 | ### Fixed |
| 115 | |
| 116 | * [](https://github.com/sebastianbergmann/phpunit/issues/2923phpunit/#2923](https://github.com/sebastianbergmann/phpunit/issues/2923](https://github.com/sebastianbergmann/phpunit/issues/2923): Unexpected failed date matching |
| 117 | |
| 118 | ## [2.1.0] - 2017-11-03 |
| 119 | |
| 120 | ### Added |
| 121 | |
| 122 | * Added `SebastianBergmann\Comparator\Factory::reset()` to unregister all non-default comparators |
| 123 | * Added support for `phpunit/phpunit-mock-objects` version `^5.0` |
| 124 | |
| 125 | [4.0.8]: https://github.com/sebastianbergmann/comparator/compare/4.0.7...4.0.8 |
| 126 | [4.0.7]: https://github.com/sebastianbergmann/comparator/compare/4.0.6...4.0.7 |
| 127 | [4.0.6]: https://github.com/sebastianbergmann/comparator/compare/4.0.5...4.0.6 |
| 128 | [4.0.5]: https://github.com/sebastianbergmann/comparator/compare/4.0.4...4.0.5 |
| 129 | [4.0.4]: https://github.com/sebastianbergmann/comparator/compare/4.0.3...4.0.4 |
| 130 | [4.0.3]: https://github.com/sebastianbergmann/comparator/compare/4.0.2...4.0.3 |
| 131 | [4.0.2]: https://github.com/sebastianbergmann/comparator/compare/4.0.1...4.0.2 |
| 132 | [4.0.1]: https://github.com/sebastianbergmann/comparator/compare/4.0.0...4.0.1 |
| 133 | [4.0.0]: https://github.com/sebastianbergmann/comparator/compare/3.0.5...4.0.0 |
| 134 | [3.0.5]: https://github.com/sebastianbergmann/comparator/compare/3.0.4...3.0.5 |
| 135 | [3.0.4]: https://github.com/sebastianbergmann/comparator/compare/3.0.3...3.0.4 |
| 136 | [3.0.3]: https://github.com/sebastianbergmann/comparator/compare/3.0.2...3.0.3 |
| 137 | [3.0.2]: https://github.com/sebastianbergmann/comparator/compare/3.0.1...3.0.2 |
| 138 | [3.0.1]: https://github.com/sebastianbergmann/comparator/compare/3.0.0...3.0.1 |
| 139 | [3.0.0]: https://github.com/sebastianbergmann/comparator/compare/2.1.3...3.0.0 |
| 140 | [2.1.3]: https://github.com/sebastianbergmann/comparator/compare/2.1.2...2.1.3 |
| 141 | [2.1.2]: https://github.com/sebastianbergmann/comparator/compare/2.1.1...2.1.2 |
| 142 | [2.1.1]: https://github.com/sebastianbergmann/comparator/compare/2.1.0...2.1.1 |
| 143 | [2.1.0]: https://github.com/sebastianbergmann/comparator/compare/2.0.2...2.1.0 |
| 144 |