From 857c550f26910d3261b21a53a48ac7ea751403b0 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 13 Mar 2023 17:53:24 +0100 Subject: [PATCH] Changelog for the 1.0.5 release Includes updating the `VERSION` constant in the `Autoload` class. Includes minor documentation addition in CI test workflow. --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ phpunitpolyfills-autoload.php | 2 +- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4fac066..9f54d16 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,7 +64,7 @@ jobs: # Experimental builds. - php: '8.3' - phpunit: 'auto' + phpunit: 'auto' # PHPUnit 9.x. experimental: true - php: '8.1' diff --git a/CHANGELOG.md b/CHANGELOG.md index b8d08bd..24a8c92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,36 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses _Nothing yet._ +## [1.0.5] - 2023-03-31 + +### Fixed +* A custom `$message` parameter passed to an assertion, will no longer overrule an emulated "assertion failed" message, but will be prefixed to it instead. PR [#97] + This applies to the following polyfills: + - `assertIsClosedResource()` + - `assertIsNotClosedResource()` + - `assertIsReadable()` + - `assertNotIsReadable()` + - `assertIsWritable()` + - `assertNotIsWritable()` + - `assertDirectoryExists()` + - `assertDirectoryNotExists()` + - `assertStringNotContainsString()` + - `assertStringNotContainsStringIgnoringCase()` + +### Changed +* The `develop` branch has been removed. Development will now take place in the `1.x` and `2.x` branches. +* README: links to the PHPUnit manual now point explicitly to the PHPUnit 9.x documentation. PR [#94] +* README: new sub-section about PHPUnit version support. PR [#99] +* README: various minor improvements. PRs [#92], [#93] +* General housekeeping. + +[#92]: https://github.com/Yoast/PHPUnit-Polyfills/pull/92 +[#93]: https://github.com/Yoast/PHPUnit-Polyfills/pull/93 +[#94]: https://github.com/Yoast/PHPUnit-Polyfills/pull/94 +[#97]: https://github.com/Yoast/PHPUnit-Polyfills/pull/97 +[#99]: https://github.com/Yoast/PHPUnit-Polyfills/pull/99 + + ## [1.0.4] - 2022-11-16 This is a maintenance release. @@ -126,6 +156,7 @@ Initial release. [Unreleased]: https://github.com/Yoast/PHPUnit-Polyfills/compare/main...HEAD +[1.0.5]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.4...1.0.5 [1.0.4]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.3...1.0.4 [1.0.3]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.2...1.0.3 [1.0.2]: https://github.com/Yoast/PHPUnit-Polyfills/compare/1.0.1...1.0.2 diff --git a/phpunitpolyfills-autoload.php b/phpunitpolyfills-autoload.php index d132745..be62abf 100644 --- a/phpunitpolyfills-autoload.php +++ b/phpunitpolyfills-autoload.php @@ -17,7 +17,7 @@ final class Autoload { * * @var string */ - const VERSION = '1.0.4'; + const VERSION = '1.0.5'; /** * Loads a class.