From b01241fe4977b6061d49d4fee1bf87e58bfe0ec4 Mon Sep 17 00:00:00 2001 From: Martin Linzmayer Date: Tue, 2 Dec 2025 11:39:27 +0100 Subject: [PATCH 1/3] Prepare 5.8.0 --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82b530ba..a7dec891 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # CHANGELOG +### 5.8.0 + +The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.7.0. + +### Features + +- Add support for Sentry metrics. [#977](https://github.com/getsentry/sentry-symfony/pull/977) +```php +// 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 The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.7.0. From 0f0f29c25ba55808a51fe567f942face29cdbd87 Mon Sep 17 00:00:00 2001 From: Martin Linzmayer Date: Tue, 2 Dec 2025 11:40:19 +0100 Subject: [PATCH 2/3] typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7dec891..340a1fda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### 5.8.0 -The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.7.0. +The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.8.0. ### Features From e6f2bc3cca8e7078ae40c6bdbcb518f6ad048ae0 Mon Sep 17 00:00:00 2001 From: Martin Linzmayer Date: Tue, 2 Dec 2025 11:41:27 +0100 Subject: [PATCH 3/3] typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 340a1fda..dac5a01a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -### 5.8.0 +## 5.8.0 The Sentry SDK team is happy to announce the immediate availability of Sentry Symfony SDK v5.8.0.