Releases: php-middleware/phpdebugbar
Releases · php-middleware/phpdebugbar
Release list
4.3.0
Fixed
-
AJAX responses no longer build a second debug bar. Requests carrying
X-Requested-With: XMLHttpRequestnow skiprenderHead()and the initialization code, so php-debugbar attaches them as an(ajax)dataset of the bar the main request already created (#41, #44). Thanks @mostafasy for the report and the original patch in #40, and @fduarte42 / @tyrsson for describing the behaviour.Force enable/disable is unchanged:
X-Enable-Debug-Bar: falsestill wins for AJAX requests. Non-HTML responses are still wrapped in a standalone HTML page with the full head and initialization code.
Changed
maximebf/debugbarminimum raised from^1.4to^1.18. Releases below 1.18.0 miss#[\ReturnTypeWillChange]onDebugBar'sArrayAccessmethods and fatal on load under PHP 8.1+, which this package supports. The whole 1.x line stays allowed - no exact version is pinned. Consumers already on a current 1.x need no changes.symfony/var-dumpergained arequire-devfloor so the lowest-dependency CI jobs resolve to a version that runs on PHP 8.0. It does not constrain consumers.
CI
- The test matrix now covers PHP 8.0 - 8.3 and runs on pull requests; the retired
actions/checkout@v2andramsey/composer-install@v1are gone. - PHP 7.3 and 7.4 are no longer built. Composer 2.10+ only accepts
laminas-diactoros2.18.1 and newer as apsr/http-factory-implementationprovider, and those releases require PHP 8.0+, so the dev dependencies cannot be installed on 7.3/7.4 at all.composer.jsonstill declares"php": "^7.3 || ^8.0"- the supported range is unchanged, only untested below 8.0. - Mezzio's
MiddlewareFactoryInterfaceandRequestHandlerRunnerInterfaceare now registered in the test container, which had madeMezzioTestfail against current Mezzio.
Full Changelog: 4.2.0...4.3.0
4.2.0: Improve deps (#38)
* Improve deps * phpstan * Remove on pull request * Fix typos
4.1.0
- Move to github actions
- Add support for PHP 8
4.0.0
- migrate to Laminas/Mezzio from Zend
- drop PHP 7.1 support
- update phpunit
3.1.0
3.0.2
- Improve test suite by
infection/infection - Small bug fixes
3.0.1
3.0.0
2.1.1
2.1.0
- Disable and enable debug bar using header, cookie, attribute
- Disable debug bar on redirect responses