Skip to content

Commit 8e08b86

Browse files
authored
Prepare 4.23.0 (#2033)
1 parent aced06b commit 8e08b86

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

CHANGELOG.md

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

3+
## 4.23.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.23.0.
6+
7+
### Features
8+
9+
- Add `OTLPIntegration` support to interoperate with OpenTelemetry traces. [(#2030)](https://github.com/getsentry/sentry-php/pull/2030)
10+
11+
```php
12+
\Sentry\init([
13+
'dsn' => '__YOUR_DSN__',
14+
'integrations' => [
15+
new \Sentry\Integration\OTLPIntegration(),
16+
],
17+
]);
18+
```
19+
20+
- Add `log_flush_threshold` to automatically flush buffered logs after a configured number of log records. [(#2032)](https://github.com/getsentry/sentry-php/pull/2032)
21+
```php
22+
\Sentry\init([
23+
'dsn' => '__YOUR_DSN__',
24+
'enable_logs' => true,
25+
'log_flush_threshold' => 20,
26+
]);
27+
```
28+
29+
330
## 4.22.0
431

532
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.22.0.

0 commit comments

Comments
 (0)