packagist sentry/sentry-symfony 5.15.0

3 hours ago

The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.15.0.

Features

  • Add the experimental register_monolog_handler option, which captures errors through the Monolog channels Symfony reports them to instead of the SDK's global error handlers. (#1092)

    sentry:
        register_error_listener: false
        register_error_handler: false
        register_monolog_handler: true
  • Add the $includeChannel argument to the Monolog LogsHandler, which attaches the Monolog channel as a channel attribute to logs. (#1091)

    services:
        Sentry\SentryBundle\Monolog\LogsHandler:
            arguments:
                $level: !php/const Monolog\Logger::WARNING
                $includeChannel: true

Bug fixes

  • Fix empty response bodies from the PSR-18 clients when HTTP client tracing is enabled on Symfony HttpClient 6.4.49, 7.4.22 and 8.1.10. (#1099)

Don't miss a new sentry-symfony release

NewReleases is sending notifications on new releases.