Skip to content

Releases: getsentry/sentry-symfony

5.7.0

01 Dec 13:12

Choose a tag to compare

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

Features

  • Add support for Symfony 8. (#968)

Misc

  • Add never as valid option for max_request_body_size. (#966)

5.6.0

24 Sep 14:49

Choose a tag to compare

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

Features

  • Remove upper limit for max_breadcrumbs option. (#953)
  • Allow passing string and enum Monolog level. (#959)
services:
  Sentry\SentryBundle\Monolog\LogsHandler:
    arguments:
      - 'info'
# or using PSR constants
services:
  Sentry\SentryBundle\Monolog\LogsHandler:
    arguments:
      - !php/const Psr\Log\LogLevel::INFO
// or via PHP config
$container->services()
    ->set(\Sentry\SentryBundle\Monolog\LogsHandler::class)
    ->args([\Monolog\Level::Info]);

5.5.0

12 Sep 08:48

Choose a tag to compare

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

Features

  • Enable auto-instrumentation for the Symfony Cache Component (#942)
  • Add a new config flag to reset breadcrumbs between Symfony messages (#946)
sentry:
  messenger:
    isolate_breadcrumbs_by_message: true
  • Allow to pass in callbacks to configure SDK integrations (#947)
services:
    App\IntegrationCallback:
        factory: ['App\IntegrationCallback', 'factory']

sentry:
    options:
        integrations: 'App\IntegrationCallback'

5.4.1

09 Sep 12:15

Choose a tag to compare

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

Bug Fixes

  • Support named arguments in BufferFlushPass. (#948)

5.4.0

08 Sep 09:23

Choose a tag to compare

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

Features

  • Introduce Sentry Structured Logging support. (#940)
sentry:
  options:
    enable_logs: true

services:
  Sentry\SentryBundle\Monolog\LogsHandler:
    arguments:
      - !php/const Monolog\Logger::INFO

monolog:
  handlers:
    sentry_logs:
      type: service
      id: Sentry\SentryBundle\Monolog\LogsHandler

Bug Fixes

  • Add buffer flusher for sentry monolog handler. (#936)

5.3.1

30 Jul 19:37

Choose a tag to compare

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

Bug Fixes

  • Fix exception thrown when invalid IP address was captured by the request listener (#931)

5.3.0

07 Jul 14:45

Choose a tag to compare

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

Features

  • Implement NamespacedPoolInterface for TraceableCacheAdapterForV3 (#927)

Misc

  • Update minimum required version of sentry/sentry to ^4.14.1
  • Remove support for traceparent header (#928)

5.2.0

03 Mar 07:51

Choose a tag to compare

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

Features

  • Allow to configure the logger via the sentry.yaml configuration file (#899)

    sentry:
      dsn: "%env(SENTRY_DSN)%"
      options:
          logger: "sentry.logger"
    
    services:
      sentry.logger:
        class: 'Sentry\Logger\DebugFileLogger'
        arguments:
            $filePath: '../../var/log/sentry.log'

Bug Fixes

  • Fixed updating the user context when a route is marked as stateless (#910)

Misc

  • Remove symfony/security-core and symfony/security-http as dependencies (#912)

5.1.0

20 Nov 09:50

Choose a tag to compare

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

Features

  • The SDK was updated to support PHP 8.4 (#893)
  • Set the status for CLI command transactions based on the exit code (#891)

Bug Fixes

  • Fix including request data on transactions (#879)

5.0.1

29 Jul 11:27

Choose a tag to compare

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

Bug Fixes

  • Add missing setCallbackWrapper method to TraceableCacheAdapterTrait (#841)
  • Fix detection of the symfony/http-client being installed (#858)