Skip to content

Commit d87ae3e

Browse files
authored
Prepare 4.25.0 (#2070)
1 parent 86dd794 commit d87ae3e

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# CHANGELOG
22

3+
## 4.25.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.25.0.
6+
7+
### Features
8+
9+
- Add `ExceptionToSentryIssueHandler` Monolog handler that only captures exceptions as Sentry issues without converting log messages to errors. [(#2061)](https://github.com/getsentry/sentry-php/pull/2061)
10+
- Add `metric_flush_threshold` option to automatically flush buffered metrics after a configured number of metric records. [(#2059)](https://github.com/getsentry/sentry-php/pull/2059)
11+
12+
```php
13+
\Sentry\init([
14+
'dsn' => '__YOUR_DSN__',
15+
'metric_flush_threshold' => 50,
16+
]);
17+
```
18+
19+
### Bug Fixes
20+
21+
- Prevent PHP warnings when trying to increase the memory limit for out-of-memory error handling. [(#2063)](https://github.com/getsentry/sentry-php/pull/2063)
22+
23+
### Misc
24+
25+
- Use a `RingBuffer` for log storage when `log_flush_threshold` is not set to prevent unbounded memory growth, with a hard cap of 1000 records. [(#2058)](https://github.com/getsentry/sentry-php/pull/2058)
26+
- Add `ext-excimer` as a Composer suggestion to surface its requirement for profiling. [(#2057)](https://github.com/getsentry/sentry-php/pull/2057)
27+
328
## 4.24.0
429

530
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.24.0.

0 commit comments

Comments
 (0)