Fixes
- Session Replay: Fix Compose text masking mismatch with weighted text (#5218)
Features
- Add cache tracing instrumentation for Spring Boot 2, 3, and 4 (#5165)
- Wraps Spring
CacheManagerandCachebeans to produce cache spans - Set
sentry.enable-cache-tracingtotrueto enable this feature
- Wraps Spring
- Add JCache (JSR-107) cache tracing via new
sentry-jcachemodule (#5165)- Wraps JCache
CachewithSentryJCacheWrapperto produce cache spans - Set the
enableCacheTracingoption totrueto enable this feature
- Wraps JCache
- Add configurable
IScopesStorageFactorytoSentryOptionsfor providing a customIScopesStorage, e.g. when the defaultThreadLocal-backed storage is incompatible with non-pinning thread models (#5199) - Android: Add
beforeErrorSamplingcallback to Session Replay (#5214)- Allows filtering which errors trigger replay capture before the
onErrorSampleRateis checked - Returning
falseskips replay capture entirely for that error; returningtrueproceeds with the normal sample rate check - Example usage:
SentryAndroid.init(context) { options -> options.sessionReplay.beforeErrorSampling = SentryReplayOptions.BeforeErrorSamplingCallback { event, hint -> // Only capture replay for crashes (excluding e.g. handled exceptions) event.isCrashed } }
- Allows filtering which errors trigger replay capture before the
Dependencies
- Bump Native SDK from v0.13.2 to v0.13.3 (#5215)
- Bump OpenTelemetry (#5225)
opentelemetryto1.60.1(was1.57.0)opentelemetry-instrumentationto2.26.0(was2.23.0)opentelemetry-instrumentation-alphato2.26.0-alpha(was2.23.0-alpha)opentelemetry-semconvto1.40.0(was1.37.0)opentelemetry-semconv-alphato1.40.0-alpha(was1.37.0-alpha)