Skip to content

Releases: buggregator/trap

1.3.3

24 Jan 22:26
1.3.3
c7f888b
Compare
Choose a tag to compare

What's Changed

  • Support for symfony/console 7 by @roxblnfk in #44
    Add nunomaduro/termwind v2 because v1 blocks symfony/console 7
    Update Run command to be compatible with symfony/console 7
    Added soft (ctrl+c once) and hard (ctrl+c twice) exits

Full Changelog: 1.3.2...1.3.3

1.3.2

23 Jan 11:15
1.3.2
b0a8097
Compare
Choose a tag to compare

What's Changed

  • Socket Server fix: fast connection closing with clients, by @roxblnfk in #42
    In some cases, the connection to the client closes too quickly. The client doesn't have time to receive all the content.

Full Changelog: 1.3.1...1.3.2

1.3.1

18 Dec 18:09
1.3.1
e5e642d
Compare
Choose a tag to compare

What's Changed

UI fix: event locks now work correctly by @roxblnfk in #37, #38
Picture)
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

17 Dec 08:35
1.3.0
1ff86bd
Compare
Choose a tag to compare

What's Changed

  • Websocket support has been added by @roxblnfk in #34

  • 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

    trap-ui

schema

Full Changelog: 1.2.2...1.3.0

1.2.2

14 Dec 16:12
1.2.2
04e5dea
Compare
Choose a tag to compare

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

05 Dec 20:03
1.2.1
fab397d
Compare
Choose a tag to compare

What's Changed

Fixed:

  • Source context provider provides true source path and line by @roxblnfk in #31
  • fixed errors on using for trap()->once() by @roxblnfk in #31

Full Changelog: 1.2.0...1.2.1

1.2.0

27 Nov 18:29
1.2.0
0eb5d12
Compare
Choose a tag to compare

What's Changed

  • Add trap() options: if(), once(), times(), depth() by @roxblnfk in #29

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

1.1.0

12 Nov 12:38
1.1.0
11ea96e
Compare
Choose a tag to compare

What's Changed

  • Fix Sentry trap. Add supporting for Sentry Envelopes by @roxblnfk in #27
    image

Full Changelog: 1.0.4...1.1.0