You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(logs,metrics): Attach user attributes to logs and metrics regardless of sendDefaultPii (#5099)
* fix: Attach user attributes to logs and metrics regardless of sendDefaultPii
When a user is explicitly set on the scope, user.id, user.name, and
user.email are now always attached to log and metric attributes, matching
the existing behavior for error events (SentryClient.applyScope).
Fixes#5078
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* changelog: Add entry for user attributes fix in logs/metrics
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
- When merging tombstones with Native SDK, use the tombstone message if the Native SDK didn't explicitly provide one. ([#5095](https://github.com/getsentry/sentry-java/pull/5095))
12
12
- Fix thread leak caused by eager creation of `SentryExecutorService` in `SentryOptions` ([#5093](https://github.com/getsentry/sentry-java/pull/5093))
13
13
- There were cases where we created options that ended up unused but we failed to clean those up.
14
+
- Attach user attributes to logs and metrics regardless of `sendDefaultPii` ([#5099](https://github.com/getsentry/sentry-java/pull/5099))
14
15
- No longer log a warning if a logging integration cannot initialize Sentry due to missing DSN ([#5075](https://github.com/getsentry/sentry-java/pull/5075))
15
16
- While this may have been useful to some, it caused lots of confusion.
16
17
- Session Replay: Add `androidx.camera.view.PreviewView` to default `maskedViewClasses` to mask camera previews by default. ([#5097](https://github.com/getsentry/sentry-java/pull/5097))
0 commit comments