Releases: getsentry/sentry-symfony
Releases · getsentry/sentry-symfony
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'5.4.1
5.4.0
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\LogsHandlerBug Fixes
- Add buffer flusher for sentry monolog handler. (#936)