Repository navigation
Releases
v1.0.0 - Behat 4 compatibility
Behat 4 compatibility
This is the first major release of libresign/behat-builtin-extension and introduces a breaking migration from Behat 3 to Behat 4.
Changes
- Require PHP >= 8.2 and Behat ^4.0 as a runtime dependency; Behat 3 is no longer supported.
- Replace the legacy
behat.ymlconfiguration with the Behat 4behat.phpconfiguration API. - Update event subscriptions and extension integration to Behat 4's public interfaces.
- Use supported Symfony Console APIs rather than internal Behat CLI services.
- Retain PHP built-in server lifecycle behavior, dynamic port allocation, worker cleanup, and failure diagnostics.
- Cover successful HTTP requests, invalid server roots, process failures and worker behavior in tests.
Upgrade notes
Update your Behat configuration from YAML to PHP using Behat\Config\Config, Behat\Config\Profile, and Behat\Config\Extension with PhpBuiltin\Server.
The new release can be requested with:
composer require 'libresign/behat-builtin-extension:^1.0'Projects depending on ^0.7 must update their Composer version constraints before installing v1.0.0.
Validation
PR #81 passed the Behat, PHPUnit, Lint, Psalm and REUSE workflows, including PHP 8.2, 8.3, 8.4 and 8.5 and the Xdebug/APCu integration scenario.
v0.7.3
Fix PHP built-in server subprocesses losing scanned PHP configuration when Behat runs as one user and the server is started as another user.
v0.7.2
Fix PHP built-in server subprocesses losing the original PHP configuration after Behat restarts through composer/xdebug-handler. Adds regression coverage for persistent Xdebug restarts.
v0.7.1
What's Changed
- feat: detect and diagnose unexpected PHP server failures by @vitormattos in #77
Full Changelog: v0.7.0...v0.7.1
v0.7.0
v0.6.3
What's Changed
- Fix path by @vitormattos in #73
- chore: improve validation of owner by @vitormattos in #75
Full Changelog: v0.6.2...v0.6.3
v0.6.2
v0.6.1
What's Changed
- Fix position of environment at command by @vitormattos in #68
Full Changelog: v0.6.0...v0.6.1
v0.6.0
v0.5.3
What's Changed
- Bump phpunit/phpunit from 9.6.8 to 9.6.9 by @dependabot in #59
- Prevent pass null or false to trim function by @vitormattos in #60
Full Changelog: v0.5.2...v0.5.3