Skip to content

Releases: getsentry/sentry-symfony

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)

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)