Skip to content

Releases: getsentry/sentry-symfony

5.10.0

01 Apr 14:54

Choose a tag to compare

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

Features

  • Add support for strict_trace_continuation and org_id to continue incoming traces only when they belong to the same Sentry organization. (#1002)
  • Add ConsoleInputSerializer to capture console command arguments and options via class_serializers. (#1007)
  • Add support for log_flush_threshold to flush logs once a configured batch size is reached. (#1012)
  • Add support for Sentry\Integration\OTLPIntegration. (#1014)
  • Add tracing.dbal.ignore_prepare_spans to suppress db.sql.prepare spans for prepared queries. (#1016)
  • Isolate runtime context between HTTP requests on persistent workers, and add messenger.isolate_context_by_message to prevent scope, logs, and metrics data from leaking across messages. (#997)

Bug fixes

  • Remove the deprecated traceparent header. (#1005)

Misc

  • Bump sentry-php version to 4.23.0. (#1012)

5.9.0

23 Feb 12:40

Choose a tag to compare

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

Misc

  • Bump sentry-php version to 4.20.0. (#996)

5.8.3

18 Dec 09:30

Choose a tag to compare

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

Bug fixes

  • Using caches with namespaces will no longer cause an error. (#986)

5.8.2

04 Dec 12:36

Choose a tag to compare

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

Bug fixes

  • Move symfony/yaml to a non-dev dependency. (#983)

5.8.1

03 Dec 14:48

Choose a tag to compare

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

Improvements

  • Add support for before_send_metric and enable_metrics. (#981)

5.8.0

02 Dec 12:07

Choose a tag to compare

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

Features

  • Add support for Sentry metrics. #977
// Counter metric
\Sentry\trace_metrics()->count('test-counter', 10, ['my-attribute' => 'foo']);

// Gauge metric
\Sentry\trace_metrics()->gauge('test-gauge', 50.0, ['my-attribute' => 'foo'], \Sentry\Unit::millisecond());

// Distribution metric
\Sentry\trace_metrics()->distribution('test-distribution', 20.0, ['my-attribute' => 'foo'], \Sentry\Unit::kilobyte());

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)