NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #527 most downloaded on Packagist
Symfony integration for Sentry (http://getsentry.com)
Latest stable
5.15.0
Last release 22 days ago
29 Oct 2026
Ships fairly regularly
a new release about every 5 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
107 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Refactors and fixes class aliases for more robustness (#315 #359, thanks to @guilliamxavier)
Use jean85/pretty-package-versions ^1.5 to leverage the new getRootPackageVersion method
jean85/pretty-package-versions ^1.5 to leverage the new getRootPackageVersion method (c8799ac)capture_soft_fails: false option for the Messenger (#353)Capture events using the Hub in the MessengerListener to avoid loosing Scope data (#339, thanks to @sh41)
Hub in the MessengerListener to avoid loosing Scope data (#339, thanks to @sh41)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Capture and flush messages in a Messenger Worker context (#326, thanks to @emarref)
Improve release option default value
release option default value (#325)Change default of in_app_include to empty, due to getsentry/sentry-php#958
in_app_include to empty, due to getsentry/sentry-php#958 (#311)Remove space from classname used with class_alias
class_alias (#313)Fix issue due to usage of class_alias to fix deprecations, which could break BC layers of third party packages (#309, thanks to @scheb)
class_alias to fix deprecations, which could break BC layers of third party packages (#309, thanks to @scheb)Add support for sentry/sentry 2.3
sentry/sentry 2.3 (#298)sentry/sentry < 2.3 (#298)in_app_include client option (#298)excluded_exception option to use the new IgnoreErrorIntegration (#298)Fix issue with exception listener under Symfony 4.3
Nothing published for this version
Add support for Symfony 5.0 (#266, thanks to @Big-Shark)
release option, using the detected root package version (#291 #292, thanks to @Ocramius)Fix handling of command with no name on ConsoleListener
ConsoleListener (#261)RequestListener (#264)RequestListener (#263)Add forward compatibility with Symfony 5 (#235, thanks to @garak)
ErrorListener (#243, thanks to @teohhanhui)class_serializers option (#245)max_request_body_size option (#249)Add support for Symfony 2.8 (#233, thanks to @nocive)
This is a new major version, with many changes. The most notable is the usage of the new Sentry SDK (v2). For more details please refer to the UPGRADE
This is a new major version, with many changes. The most notable is the usage of the new Sentry SDK (v2). For more details please refer to the UPGRADE-3.0.md document.
sentry:test command, to test if the Sentry SDK is functioning properly.Disable Sentry's ErrorHandler, and report all errors using Symfony's events
The 3.0 major release has multiple breaking changes. The most notable one is the upgrade to the 2.0 base SDK client. Refer to the UPGRADE-3.0.md docum…
The 3.0 major release has multiple breaking changes. The most notable one is the upgrade to the 2.0 base SDK client. Refer to the UPGRADE-3.0.md document for a detailed explanation.
Add support for ignore_server_port option (#187, thanks @nocive)
ignore_server_port option (#187, thanks @nocive)server_name option default value: this will help reporting the server name correctly in Docker containers (#181, thanks @jvasseur)ExceptionListener to have a dedicated getUserData() protected method (#180, thanks @bouland)Add the route tag automatically to any event generated by a request (#167, thanks @ruudk)
route tag automatically to any event generated by a request (#167, thanks @ruudk)ExceptionListener more extendable by making all members at least protected (#176, thanks @bouland)Add symfony_version as a default tag (#116, thanks @hjanuschka)
symfony_version as a default tag (#116, thanks @hjanuschka)Fix processorOptions in yaml configuration
processorOptions in yaml configuration (#107)Avoid reporting CLI errors twice
Add symfony_version as a default tag (#117, backport of #116, thanks @hjanuschka)
symfony_version as a default tag (#117, backport of #116, thanks @hjanuschka)Fix processorOptions in YAML configuration (#109, backport of #107)
processorOptions in YAML configuration (#109, backport of #107)The sentry.client service is now explicitly declared as public
sentry.client service is now explicitly declared as publicThis will be the last release with new features for the 0.x series; only security fixes will be released in the feature for this branch.
This will be the last release with new features for the 0.x series; only security fixes will be released in the feature for this branch.
symfony_version as a default tag (backport of #116, thanks @hjanuschka)excluded_exceptions option from Sentry client 1.9 (see getsentry/sentry-php#583; #124, backport of #123, thanks @mcfedr)sentry/sentry base client, due to #124Fix a fatal error when the user token is not authenticated
Migrate service definitions to non-deprecated option configuration values
options.error_types config value (scalar instead of array, discovered in #72)trim() DSN value from config, to avoid issues with .env files on BitBucket (see https://github.com/getsentry/sentry-symfony/pull/21#issuecomment-32367
trim() DSN value from config, to avoid issues with .env files on BitBucket (see https://github.com/getsentry/sentry-symfony/pull/21#issuecomment-323673938)Fix exception being thrown when both deprecated and new options are used.
…usable in the old form, but they will generate deprecation notices. They will be dropped in the 1.0 release.
sentry.options (#68); the affected options are still usable in the old form, but they will generate deprecation notices. They will be dropped in the 1.0 release.Before:
sentry:
app_path: ~
environment: ~
error_types: ~
excluded_app_paths: ~
prefixes: ~
release: ~
After:
sentry:
options:
app_path: ~
environment: ~
error_types: ~
excluded_app_paths: ~
prefixes: ~
release: ~
Fix previous release with cherry pick of the right commit from #67
Force load of client in console commands to avoid missing notices due to lazy-loading
Add SentryExceptionListenerInterface and the exception_listener option in the configuration (#47) to allow customization of the exception listener
SentryExceptionListenerInterface and the exception_listener option in the configuration (#47) to allow customization of the exception listenerSentrySymfonyEvents::PRE_CAPTURE and SentrySymfonyEvents::SET_USER_CONTEXT events (#47) to customize event capturing informationlistener_priorities configuration keyQuote sentry.options in services.yml.
Expose all configuration options (#36).
Improve app path detection to exclude root folder and exclude vendor.
Raise sentry/sentry minimum requirement to ## 1.2.0. - 2017-xx-xx Fixed an issue with a missing import (#24)### . - 2017-xx-xx prefixes and app_path w
prefixes and app_path will now be bound by default.Added skip_capture configuration for excluding exceptions.
skip_capture configuration for excluding exceptions.Raven_Client->install).Added support for capturing the current user.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Remove deprecation raised by Symfony 4.2 (#161, thanks @chalasr)
excluded_exceptions option in config (#123, thanks @mcfedr)symfony/yaml (#155, thanks @Pierstoval)Due to a deprecation in symfony/console, we require it at at least version 3.3, and we added a method to SentryExceptionListenerInterface: `php public…
SentryBundle::VERSION constant has been replaced with the SentryBundle::getVersion(): string method, to get a more accurate resultsymfony/console, we require it at at least version 3.3, and we added a method to SentryExceptionListenerInterface: public function onConsoleException(ConsoleErrorEvent $event);
Remove usage of create_function() to avoid deprecations
src/Sentry/SentryBundle to just src/ (thanks to PSR-4 and Composer this doesn't affect you)ExceptionListenerSentrySymfonyClient is no longer an optional argument of ExceptionListener; it's now requiredcreate_function() to avoid deprecations (#71)sentry.optionsSentrySymfonyClient constructor; error_types are now fetched from the second argument, the options arrayOne column per quarter.