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
Assign the accepted label to this issue to approve the release.
Targets
maven
github
registry
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
Add scope-level attributes API (#5118) via (#5148)
Automatically include scope attributes in logs and metrics (#5120)
New APIs are Sentry.setAttribute, Sentry.setAttributes, Sentry.removeAttribute
Support collections and arrays in attribute type inference (#5124)
Add support for SENTRY_SAMPLE_RATE environment variable / sample-rate property (#5112)
Create sentry-opentelemetry-otlp and sentry-opentelemetry-otlp-spring modules for combining OpenTelemetry SDK OTLP export with Sentry SDK (#5100)
OpenTelemetry is configured to send spans to Sentry directly using an OTLP endpoint.
Sentry only uses trace and span ID from OpenTelemetry (via OpenTelemetryOtlpEventProcessor) but will not send spans through OpenTelemetry nor use OpenTelemetry Context for Scopes propagation.
See the OTLP setup docs for Java and Spring Boot for installation and configuration instructions.
Add screenshot masking support using view hierarchy (#5077)
Masks sensitive content (text, images) in error screenshots using the same view hierarchy approach as Session Replay
Requires the sentry-android-replay module to be present at runtime for masking to work
Enable via code:
SentryAndroid.init(context) { options ->
options.isAttachScreenshot =true
options.screenshot.setMaskAllText(true)
options.screenshot.setMaskAllImages(true)
// Or mask specific view classes
options.screenshot.addMaskViewClass("com.example.MyCustomView")
}
The ManifestMetaDataReader now read the DIST (#5107)
Fixes
Fix attribute type detection for Long, Short, Byte, BigInteger, AtomicInteger, and AtomicLong being incorrectly inferred as double instead of integer (#5122)
Remove AndroidRuntimeManager StrictMode relaxation to prevent ANRs during SDK init (#5127)
IMPORTANT: StrictMode violations may appear again in debug builds. This is intentional to prevent ANRs in production releases.
Fix crash when unregistering SystemEventsBroadcastReceiver with try-catch block. (#5106)
Use peekDecorView instead of getDecorView in SentryGestureListener to avoid forcing view hierarchy construction (#5134)
Log an actionable error message when Relay returns HTTP 413 (Content Too Large) (#5115)
Also switch the client report discard reason for all HTTP 4xx/5xx errors (except 429) from network_error to send_error
Trim DSN string before parsing to avoid URISyntaxException caused by trailing whitespace (#5113)
Reduce allocations and bytecode instructions during Sentry.init (#5135)
Requested by: @adinauer
Merge target: (default)
Quick links:
Assign the accepted label to this issue to approve the release.
Targets
Checked targets will be skipped (either already published or user-requested skip). Uncheck to retry a target.
📋 Changelog
Features
Sentry.setAttribute,Sentry.setAttributes,Sentry.removeAttributeSENTRY_SAMPLE_RATEenvironment variable /sample-rateproperty (#5112)sentry-opentelemetry-otlpandsentry-opentelemetry-otlp-springmodules for combining OpenTelemetry SDK OTLP export with Sentry SDK (#5100)OpenTelemetryOtlpEventProcessor) but will not send spans through OpenTelemetry nor use OpenTelemetryContextforScopespropagation.sentry-android-replaymodule to be present at runtime for masking to workAndroidManifest.xml:ManifestMetaDataReadernow read theDIST(#5107)Fixes
Long,Short,Byte,BigInteger,AtomicInteger, andAtomicLongbeing incorrectly inferred asdoubleinstead ofinteger(#5122)AndroidRuntimeManagerStrictMode relaxation to prevent ANRs during SDK init (#5127)SystemEventsBroadcastReceiverwith try-catch block. (#5106)peekDecorViewinstead ofgetDecorViewinSentryGestureListenerto avoid forcing view hierarchy construction (#5134)network_errortosend_errorURISyntaxExceptioncaused by trailing whitespace (#5113)Sentry.init(#5135)Dependencies