Releases: buggregator/trap
1.3.3
What's Changed
- Support for
symfony/console
7 by @roxblnfk in #44
Add nunomaduro/termwind v2 because v1 blockssymfony/console
7
Update Run command to be compatible withsymfony/console
7
Added soft (ctrl+c once) and hard (ctrl+c twice) exits
Full Changelog: 1.3.2...1.3.3
1.3.2
1.3.1
What's Changed
UI fix: event locks now work correctly by @roxblnfk in #37, #38
Accompanying fixes:
- HTTP DELETE method added to the list of methods for which the request body is read and parsed
- Support for passing arguments in RPC calls from the client via HTTP and Websocket
Full Changelog: 1.3.0...1.3.1
1.3.0
What's Changed
-
An experimental Web UI, similar to the one in Buggregator Server, has been introduced.
You can launch it by adding the--ui
flag when starting the Trap Server.
In this case, events will be sent simultaneously to the console and to the open websocket connections of browser interfaces.vendor/bin/trap --ui
Supported messages:
- VarDumper
- Sentry
- Monolog
- HTTP dump
- SMTP
Full Changelog: 1.2.2...1.3.0
1.2.2
The packages symfony/polyfill-php72
..php80
have been added to the replace
section of the Composer.
Polyfills for PHP < 8.1 are useless, as our package requires PHP >= 8.1, and even harmful, as they prevent the installation of some Symfony 5.4 LTS packages
Full Changelog: 1.2.1...1.2.2
1.2.1
1.2.0
What's Changed
Trap options
We've updated the trap()
function. Now, you can:
- Limit the depth of the dumped structure:
trap($veryDeepArray)->depth(3);
- Limit the number of dumps for similar data:
foreach ($veryLargeArray as $item) { // We don't need to dump more than 3 items trap($item)->times(3); }
- Dump only if a condition is true:
trap($animal)->once()->if($var instanceof Animal\Cat);
These changes provide more control over the debugging process.
Full Changelog: 1.1.0...1.2.0