Skip to content

Commit c7bffa8

Browse files
authored
Merge pull request #49 from Yoast/feature/changelog-1.0.1
Changelog for the 1.0.1 release
2 parents c026a2d + 77fffb8 commit c7bffa8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,27 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses
99

1010
_Nothing yet._
1111

12+
## [1.0.1] - 2021-08-09
13+
14+
### Added
15+
* The `Yoast\PHPUnitPolyfills\Autoload` class now contains a `VERSION` constant. Issue [#46], PR [#47], props [Pascal Birchler] for the suggestion.
16+
This version constant can be used by (complex) test setups to verify that the PHPUnit Polyfills which will be loaded, comply with the version requirements for the test suite.
17+
18+
### Changed
19+
* Minor documentation updates. [#43]
20+
21+
[#43]: https://github.com/Yoast/PHPUnit-Polyfills/pull/43
22+
[#46]: https://github.com/Yoast/PHPUnit-Polyfills/issues/46
23+
[#47]: https://github.com/Yoast/PHPUnit-Polyfills/pull/47
24+
25+
1226
## [1.0.0] - 2021-06-21
1327

1428
### Added
1529
* `Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource` trait to polyfill the `Assert::assertIsClosedResource()` and `Assert::assertIsNotClosedResource()` methods as introduced in PHPUnit 9.3.0. PR [#27].
1630
* `Yoast\PHPUnitPolyfills\Polyfills\AssertObjectEquals` trait to polyfill the `Assert::assertObjectEquals()` method as introduced in PHPUnit 9.4.0. PR [#38].
1731
The behaviour of the polyfill closely matches the PHPUnit native implementation, but is not 100% the same.
18-
Most notably, the polyfill will check the type of the returned value from the comparator method instead of the enforcing a return type declaration of the comparator method.
32+
Most notably, the polyfill will check the type of the returned value from the comparator method instead of enforcing a return type declaration for the comparator method.
1933
* `Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations` trait to polyfill the `Assert::equalToCanonicalizing()`, `Assert::equalToIgnoringCase()` and `Assert::equalToWithDelta()` methods as introduced in PHPUnit 9.0.0. PR [#28], props [Marc Siegrist].
2034
* Polyfills for the PHP native `Error` and `TypeError` classes as introduced in PHP 7.0. PR [#36].
2135
* README: FAQ section covering functionality removed from PHPUnit and usage with a Phar.
@@ -67,10 +81,12 @@ Initial release.
6781

6882

6983
[Unreleased]: https://github.com/Yoast/PHPUnit-Polyfills/compare/main...HEAD
84+
[1.0.1]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.0...1.0.1
7085
[1.0.0]: https://github.com/Yoast/PHPUnit-Polyfills/compare/0.2.0...1.0.0
7186
[0.2.0]: https://github.com/Yoast/PHPUnit-Polyfills/compare/0.1.0...0.2.0
7287
[0.1.0]: https://github.com/Yoast/PHPUnit-Polyfills/compare/e8f8b7a73737aa9a5974bd9c73d2bd8d09f69873...0.1.0
7388

7489
[Gary Jones]: https://github.com/GaryJones
7590
[Marc Siegrist]: https://github.com/mergeMarc
7691
[Mark Baker]: https://github.com/MarkBaker
92+
[Pascal Birchler]: https://github.com/swissspidy

0 commit comments

Comments
 (0)