Releases: getsentry/sentry-symfony
Releases · getsentry/sentry-symfony
5.10.0
The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.10.0.
Features
- Add support for
strict_trace_continuationandorg_idto continue incoming traces only when they belong to the same Sentry organization. (#1002) - Add
ConsoleInputSerializerto capture console command arguments and options viaclass_serializers. (#1007) - Add support for
log_flush_thresholdto flush logs once a configured batch size is reached. (#1012) - Add support for
Sentry\Integration\OTLPIntegration. (#1014) - Add
tracing.dbal.ignore_prepare_spansto suppressdb.sql.preparespans for prepared queries. (#1016) - Isolate runtime context between HTTP requests on persistent workers, and add
messenger.isolate_context_by_messageto prevent scope, logs, and metrics data from leaking across messages. (#997)
Bug fixes
- Remove the deprecated
traceparentheader. (#1005)
Misc
- Bump
sentry-phpversion to4.23.0. (#1012)
5.9.0
5.8.3
5.8.2
5.8.1
5.8.0
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
5.6.0
The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.6.0.
Features
- Remove upper limit for
max_breadcrumbsoption. (#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
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'