Skip to content

Commit fffa68a

Browse files
authored
Prepare 4.11.0 (#1821)
1 parent 6341d84 commit fffa68a

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

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

3+
## 4.11.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.11.0.
6+
7+
### Features
8+
9+
- Serialize `\DateTimeInterface` objects by default [(#1803)](https://github.com/getsentry/sentry-php/pull/1803)
10+
- Add support for [Propagated Ramdom Value](https://develop.sentry.dev/sdk/telemetry/traces/#propagated-random-value) [(#1793)](https://github.com/getsentry/sentry-php/pull/1793)
11+
- Use the `SENTRY_SPOTLIGHT` environment variable as the input for the `spotlight` configuration option [(#1789)](https://github.com/getsentry/sentry-php/pull/1789)
12+
13+
### Bug Fixes
14+
15+
- Fix cases where anonymous stacktrace frames did not get their prefixes stripped [(#1820)](https://github.com/getsentry/sentry-php/pull/1820)
16+
- Fix Guzzle middleware not setting the span it created as the current span, which resulted in nesting issues in the trace view [(#1801)](https://github.com/getsentry/sentry-php/pull/1801)
17+
318
## 4.10.0
419

520
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.10.0.

src/FrameBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function buildFromBacktraceFrame(string $file, int $line, array $backtrac
7474
if (isset($backtraceFrame['class']) && isset($backtraceFrame['function'])) {
7575
$functionName = $backtraceFrame['class'];
7676

77-
// Optimization: skip doing regex if we don't have prefixes to strip
77+
// Skip if no prefixes are set
7878
if ($this->options->getPrefixes()) {
7979
$prefixStrippedFunctionName = preg_replace_callback('/@anonymous\\x00([^:]+)(:.*)?/', function (array $matches) {
8080
return "@anonymous\x00" . $this->stripPrefixFromFilePath($this->options, $matches[1]) . ($matches[2] ?? '');

0 commit comments

Comments
 (0)