PackageTrack
Sign in Get early access

sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

5.12.0 69M downloads/mo #535 most downloaded on Packagist getsentry/sentry-symfony

What this package is like to depend on

Last release 17 days ago

06 Aug 2026

Ships fairly regularly

a new release about every 6 weeks

Rarely documented

notes for 19 of 102 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

104 releases · first in 2016

13 releases in the last 12 months

see the full history below

Release timeline

104 releases · Apr 2016 to Aug 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 104
  1. 5.12.0 06 Aug 2026
    Release notes

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

    Bug fixes

    • Start the runtime context before the router and security firewall to prevent logs and breadcrumbs from leaking across requests on persistent workers. (#1043)

    Misc

    • Add support for guzzlehttp/psr7 3.x for Guzzle 8 compatibility. (#1046)
    Open source →
    Release notes

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

    Bug fixes

    • Start the runtime context before the router and security firewall to prevent logs and breadcrumbs from leaking across requests on persistent workers. (#1043)

    Misc

    • Add support for guzzlehttp/psr7 3.x for Guzzle 8 compatibility. (#1046)
    Open source →
  2. 5.11.0 13 Jul 2026
    Release notes

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

    Bug fixes

    • Escape values rendered by the Twig sentry_trace_meta() and sentry_baggage_meta() helpers. (#1025)
    • Clear the active request from RequestFetcher during kernel termination even when no transaction is set on the hub. (#1026)
    • Use Symfony's security.untracked_token_storage service in LoginListener. (#1028)
    Open source →
    Release notes

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

    Bug fixes

    • Escape values rendered by the Twig sentry_trace_meta() and sentry_baggage_meta() helpers. (#1025)
    • Clear the active request from RequestFetcher during kernel termination even when no transaction is set on the hub. (#1026)
    • Use Symfony's security.untracked_token_storage service in LoginListener. (#1028)
    Open source →
  3. 5.10.0 01 Apr 2026
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  4. 5.9.0 23 Feb 2026
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  5. 5.8.3 18 Dec 2025
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  6. 5.8.2 04 Dec 2025
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  7. 5.8.1 03 Dec 2025
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  8. 5.8.0 02 Dec 2025
    Release notes

    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());
    Open source →
    Release notes

    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])(https://github.com/getsentry/sentry-symfony/pull/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());
    
    Open source →
  9. 5.7.0 01 Dec 2025
    Release notes

    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)
    Open source →
    Release notes

    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)
    Open source →
  10. 5.6.0 24 Sep 2025
    Release notes

    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]);
    Open source →
    Release notes

    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]);
    
    Open source →
  11. 5.5.0 11 Sep 2025
    Release notes

    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'
    
    Open source →
  12. 5.4.1 09 Sep 2025
    Release notes

    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)
    Open source →
  13. 5.4.0 08 Sep 2025
    Release notes

    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)
    Open source →
  14. 5.3.1 30 Jul 2025
    Release notes

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

    Bug Fixes

    • Fix exception thrown when invalid IP address was captured by the request listener (#931)
    Open source →
  15. 5.3.0 07 Jul 2025
    Release notes

    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)
    Open source →
  16. 5.2.0 03 Mar 2025
    Release notes

    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)
    Open source →
  17. 5.1.0 20 Nov 2024
    Release notes

    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)
    Open source →
  18. 5.0.1 29 Jul 2024
    Release notes

    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)
    Open source →
  19. 5.0.0 09 Apr 2024
    Release notes

    The Sentry SDK team is thrilled to announce the immediate availability of Sentry Symfony SDK v5.0.0.

    Breaking Change

    Please refer to the UPGRADE-5.0.md guide for a complete list of breaking changes.

    This version adds support for the underlying Sentry PHP SDK v4.0. Please refer to the PHP SDK sentry-php/UPGRADE-4.0.md guide for a complete list of breaking changes.

    • This version exclusively uses the envelope endpoint to send event data to Sentry.

      If you are using sentry.io, no action is needed. If you are using an on-premise/self-hosted installation of Sentry, the minimum requirement is now version >= v20.6.0.

    • You need to have ext-curl installed to use the SDK.

    • The IgnoreErrorsIntegration integration was removed. Use the ignore_exceptions option instead. Previously, both Symfony\Component\ErrorHandler\Error\FatalError and Symfony\Component\Debug\Exception\FatalErrorException were ignored by default. To continue ignoring these exceptions, make the following changes to the config file:

      // config/packages/sentry.yaml
      
      sentry:
        options:
          ignore_exceptions:
            - 'Symfony\Component\ErrorHandler\Error\FatalError'
            - 'Symfony\Component\Debug\Exception\FatalErrorException'
      

      This option performs an is_a check now, so you can also ignore more generic exceptions.

    Features

    • Add support for Sentry Developer Metrics (#1619)

      use function Sentry\metrics;
      
      // Add 4 to a counter named hits
      metrics()->increment(key: 'hits', value: 4);
      
      // Add 25 to a distribution named response_time with unit milliseconds
      metrics()->distribution(key: 'response_time', value: 25, unit: MetricsUnit::millisecond());
      
      // Add 2 to gauge named parallel_requests, tagged with type: "a"
      metrics()->gauge(key: 'parallel_requests', value: 2, tags: ['type': 'a']);
      
      // Add a user's email to a set named users.sessions, tagged with role: "admin"
      metrics()->set('users.sessions', '[email protected]', null, ['role' => User::admin()]);
      

      Metrics are automatically sent to Sentry at the end of a request, hooking into Symfony's kernel.terminate event.

    • Add new fluent APIs (#1601)

      // Before
      $transactionContext = new TransactionContext();
      $transactionContext->setName('GET /example');
      $transactionContext->setOp('http.server');
      
      // After
      $transactionContext = (new TransactionContext())
          ->setName('GET /example');
          ->setOp('http.server');
      
    • Simplify the breadcrumb API (#1603)

      // Before
      \Sentry\addBreadcrumb(
          new \Sentry\Breadcrumb(
              \Sentry\Breadcrumb::LEVEL_INFO,
              \Sentry\Breadcrumb::TYPE_DEFAULT,
              'auth',                // category
              'User authenticated',  // message (optional)
              ['user_id' => $userId] // data (optional)
          )
      );
      
      // After
      \Sentry\addBreadcrumb(
          category: 'auth',
          message: 'User authenticated', // optional
          metadata: ['user_id' => $userId], // optional
          level: Breadcrumb::LEVEL_INFO, // set by default
          type: Breadcrumb::TYPE_DEFAULT, // set by default
      );
      
    • New default cURL HTTP client (#1589)

      The SDK now ships with its own HTTP client based on cURL. A few new options were added.

      // config/packages/sentry.yaml
      
      sentry:
        options:
          - http_proxy_authentication: 'username:password' // user name and password to use for proxy authentication
          - http_ssl_verify_peer: false // default true, verify the peer's SSL certificate
          - http_compression: false // default true, http request body compression
      

      To use a different client, you may use the http_client option. To use a different transport, you may use the transport option. A custom transport must implement the TransportInterface. If you use the transport option, the http_client option has no effect.

    Misc

    • The abandoned package php-http/message-factory was removed.
    Open source →
  20. 4.14.0 26 Feb 2024

    Nothing published for this version

  21. 4.13.2 11 Jan 2024

    Nothing published for this version

  22. 4.13.1 06 Dec 2023

    Nothing published for this version

  23. 4.13.0 05 Dec 2023

    Nothing published for this version

  24. 4.12.0 30 Oct 2023

    Nothing published for this version

  25. 4.11.0 07 Sep 2023

    Nothing published for this version

  26. 4.10.0 01 Aug 2023

    Nothing published for this version

  27. 4.9.2 19 Jun 2023

    Nothing published for this version

  28. 4.9.1 19 Jun 2023

    Nothing published for this version

  29. 4.9.0 15 Jun 2023

    Nothing published for this version

  30. 4.8.0 02 May 2023

    Nothing published for this version

  31. 4.7.0 14 Mar 2023

    Nothing published for this version

  32. 4.6.0 14 Feb 2023

    Nothing published for this version

  33. 4.5.0 28 Nov 2022

    Nothing published for this version

  34. 4.4.0 20 Oct 2022

    Nothing published for this version

  35. 4.3.1 10 Oct 2022

    Nothing published for this version

  36. 4.3.0 30 May 2022

    Nothing published for this version

  37. 4.2.10 17 May 2022

    Nothing published for this version

  38. 4.2.9 02 May 2022

    Nothing published for this version

  39. 4.2.8 31 Mar 2022

    Nothing published for this version

  40. 4.2.7 23 Feb 2022

    Nothing published for this version

  41. 4.2.6 10 Jan 2022

    Nothing published for this version

  42. 4.2.5 13 Dec 2021

    Nothing published for this version

  43. 4.2.4 20 Oct 2021

    Nothing published for this version

  44. 4.2.3 21 Sep 2021

    Nothing published for this version

  45. 4.2.2 30 Aug 2021

    Nothing published for this version

  46. 4.2.1 24 Aug 2021

    Nothing published for this version

  47. 4.2.0 11 Aug 2021

    Nothing published for this version

  48. 4.1.4 18 Jun 2021

    Nothing published for this version

  49. 4.1.3 31 May 2021

    Nothing published for this version

  50. 4.1.2 16 May 2021

    Nothing published for this version

  51. 4.1.1 10 May 2021

    Nothing published for this version

  52. 4.1.0 18 Apr 2021

    Nothing published for this version

  53. 4.0.3 03 Mar 2021

    Nothing published for this version

  54. 4.0.2 03 Mar 2021

    Nothing published for this version

  55. 4.0.1 26 Jan 2021

    Nothing published for this version

  56. 4.0.0 19 Jan 2021

    Nothing published for this version

  57. 3.5.4 13 May 2021

    Nothing published for this version

  58. 3.5.3 13 Oct 2020

    Nothing published for this version

  59. 3.5.2 08 Jul 2020

    Nothing published for this version

  60. 3.5.1 07 May 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive