Releases: stevegrunwell/phpunit-markup-assertions
Releases · stevegrunwell/phpunit-markup-assertions
Version 2.0.0
⚠️ Breaking changes
This release changes the underlying library from the now-abandoned laminas/laminas-dom to the actively-supported symfony/dom-crawler library. In most cases, you shouldn't notice a difference, but please be aware if you have additional dependencies on the Laminas library. (#41)
Additionally, this release raises the minimum required PHP version from 5.6 to 7.1. Applications requiring PHP 5.6 or 7.0 should stick with the 1.x branch (and update PHP as soon as you're able!) (#52)
Other changes
- Add assertNotContainsSelector return type (#37, props @szepeviktor)
- Exclude dev-only files from the Composer distribution bundles, better-organize the repo (#40)
- Add PHP_CodeSniffer, PHPStan (#45, #48)
Version 1.4.0
Version 1.3.1
- Fix PHPUnit warnings regarding
assertContains()
andassertRegExp()
. Props @jakobbuis (#20, #27, #28) - Refactor the internal test scaffolding, including a move from Travis CI to GitHub Actions. Props @peter279k for the assist with GitHub Actions (#24)
- Added PHP 8.0 support (#26)
Version 1.3.0
Version 1.2.0
Bumped the minimum version of zendframework/zend-dom to 2.7, which includes a fix for attribute values that include spaces (#13).
Version 1.1.0
- Added the
assertElementContains()
,assertElementNotContains()
,assertElementRegExp()
, andassertElementNotRegExp()
assertions, for verifying the contents of elements that match the given DOM query (#6). - Moved the
Tests
namespace into a development-only autoloader, to prevent them from potentially being included in projects using this library (#7). - Based on this article by Martin Hujer, remove the
composer.lock
file from the library (#8). - Lower the minimum version of zendframework/zend-dom to 2.2.5 for maximum portability (#9).
Version 1.0.0
Initial release of the PHPUnit Markup Assertions Composer package.
Instructions for installation and usage can be found in the README.