Skip to content

Releases: php-middleware/phpdebugbar

4.3.0

Choose a tag to compare

@snapshotpl snapshotpl released this 19 Aug 16:37
517dec9

Fixed

  • AJAX responses no longer build a second debug bar. Requests carrying X-Requested-With: XMLHttpRequest now skip renderHead() 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: false still wins for AJAX requests. Non-HTML responses are still wrapped in a standalone HTML page with the full head and initialization code.

Changed

  • maximebf/debugbar minimum raised from ^1.4 to ^1.18. Releases below 1.18.0 miss #[\ReturnTypeWillChange] on DebugBar's ArrayAccess methods 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-dumper gained a require-dev floor 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@v2 and ramsey/composer-install@v1 are gone.
  • PHP 7.3 and 7.4 are no longer built. Composer 2.10+ only accepts laminas-diactoros 2.18.1 and newer as a psr/http-factory-implementation provider, and those releases require PHP 8.0+, so the dev dependencies cannot be installed on 7.3/7.4 at all. composer.json still declares "php": "^7.3 || ^8.0" - the supported range is unchanged, only untested below 8.0.
  • Mezzio's MiddlewareFactoryInterface and RequestHandlerRunnerInterface are now registered in the test container, which had made MezzioTest fail against current Mezzio.

Full Changelog: 4.2.0...4.3.0

4.2.0: Improve deps (#38)

Choose a tag to compare

@snapshotpl snapshotpl released this 22 Feb 13:35
7a55035
* Improve deps
* phpstan
* Remove on pull request
* Fix typos

4.1.0

Choose a tag to compare

@snapshotpl snapshotpl released this 17 Nov 13:15
133763e
  • Move to github actions
  • Add support for PHP 8

4.0.0

Choose a tag to compare

@snapshotpl snapshotpl released this 12 May 18:18
fa7fa05
  • migrate to Laminas/Mezzio from Zend
  • drop PHP 7.1 support
  • update phpunit

3.1.0

Choose a tag to compare

@snapshotpl snapshotpl released this 08 Feb 22:05
9aaf39c

Support for php 7.4

3.0.2

Choose a tag to compare

@snapshotpl snapshotpl released this 01 Jul 17:18
3120159
  • Improve test suite by infection/infection
  • Small bug fixes

3.0.1

Choose a tag to compare

@snapshotpl snapshotpl released this 02 May 17:33
25cec6e

PHP 7.3 support

3.0.0

Choose a tag to compare

@snapshotpl snapshotpl released this 15 Oct 09:17
daa1985

PSR-17 support

2.1.1

Choose a tag to compare

@snapshotpl snapshotpl released this 09 Oct 09:09
160e792

Allow to install zend-diactoros v2

2.1.0

Choose a tag to compare

@snapshotpl snapshotpl released this 26 Apr 11:31
6c2c461
  • Disable and enable debug bar using header, cookie, attribute
  • Disable debug bar on redirect responses