-
-
Notifications
You must be signed in to change notification settings - Fork 472
Releases: getsentry/sentry-java
Releases · getsentry/sentry-java
8.44.1
Fixes
- Fix
FirstDrawDoneListenerleaking anOnGlobalLayoutListenerper registration (#5567)
Features
- Add experimental
SentrySQLiteDrivertosentry-android-sqlitefor instrumentingandroidx.sqlite.SQLiteDriver(#5563)- To use it, pass
SQLiteDrivertoSentrySQLiteDriver.create(...) - Requires
androidx.sqlite:sqlite(2.5.0+) on runtime classpath (typically provided by Room or SQLDelight)
- To use it, pass
Dependencies
Assets 59
- sha256:44e32ac21a7339f9f7856a8b77dbb071d4a86a7c1f48e5ce2eee2457ca3bbb3d3.9 MB
2026年06月19日T13:49:27Z - sha256:2125332c3f71aa7a80bf9b1c481165ccec68d30b6990ba0dca39298240852bc73.48 KB
2026年06月19日T13:49:27Z - sha256:9eec4ed450d98e49366e69c116a53370e30399c00f993dcadb699fa3762b74841.34 MB
2026年06月19日T13:49:27Z - sha256:698f11d5451082d875511facebbcb95143197611f15f35150acd2eb466b2e81d279 KB
2026年06月19日T13:49:27Z - sha256:27b63842e36fe242fb1f6a76f0407662a77c24718fca4b318b69eaa1b707d52a303 KB
2026年06月19日T13:49:27Z - sha256:fc13a9b15f419479d42954f8ffe80b7c5e2f92d9f85807c4162702e7df375f5a276 KB
2026年06月19日T13:49:27Z - sha256:d8223a6b469ccbcf24257b410ba167be39d0426c77d445571876e1132859b171290 KB
2026年06月19日T13:49:27Z - sha256:226cf2761461ff0aaa90ad2b5461745a8b703f45d68c0b7324dfd30971c0029e722 KB
2026年06月19日T13:49:27Z - sha256:beab24d3f5d6c8adbe85a2d63f4d3140de25c9e640d0e0183796260679881dd1329 KB
2026年06月19日T13:49:28Z - sha256:d9083800fa4d2b5e9af2eb2daa7ce37d0d9c8709d2a53335ae8bfba07706d78b290 KB
2026年06月19日T13:49:27Z -
2026年06月19日T12:51:59Z -
2026年06月19日T12:51:59Z - Loading
8.44.0
Features
- Add
enableStandaloneAppStartTracingoption to send app start as a standalone transaction instead of attaching it as a child span of the first activity transaction (#5342)- Disabled by default; opt in via
options.isEnableStandaloneAppStartTracing = trueor manifest meta-dataio.sentry.standalone-app-start-tracing.enable - Emits a transaction named
App Startwith opapp.start, carrying the existing app start measurements and phase spans (process.load,contentprovider.load,application.load, activity lifecycle spans) as direct children of the root - The standalone transaction shares the same
traceIdas the firstui.loadactivity transaction so they remain linked in the trace view - Also covers non-activity starts (broadcast receivers, services, content providers)
- Disabled by default; opt in via
Improvements
- Reduce boxing to improve performance (#5523, #5527, #5551)
- Replace
Datewith a unix timestamp inSentryNanotimeDateto improve performance (#5550)SentryNanotimeDateis now marked@ApiStatus.Internal. A new(long unixDateMillis, long nanos)constructor was added, whereunixDateMillisis milliseconds since the epoch. The existing(Date, long)constructor is retained but deprecated.
Dependencies
Fixes
Assets 59
1 person reacted
8.43.2
8.43.1
Assets 59
3 people reacted
8.43.0
Features
-
Session Replay: Add
ReplayFrameObserverfor observing captured replay frames (#5386)SentryAndroid.init(context) { options -> options.sessionReplay.frameObserver = SentryReplayOptions.ReplayFrameObserver { hint, frameTimestamp, screenName -> val bitmap = hint.getAs(TypeCheckHint.REPLAY_FRAME_BITMAP, Bitmap::class.java) if (bitmap != null) { try { // Process the masked replay frame myAnalyzer.processFrame(bitmap, frameTimestamp, screenName) } finally { bitmap.recycle() } } } }
-
Parse ART memory and garbage collector info from ANR tombstones into ART context (#5428)
Assets 59
2 people reacted
8.42.0
Features
- Add option to attach raw tombstone protobuf on native crash events (#5446)
- Enable via
options.isAttachRawTombstone = trueor manifest:<meta-data android:name="io.sentry.tombstone.attach-raw" android:value="true" />
- Enable via
- Add API to clear feature flags from scopes (#5426)
- Add support to configure reporting historical ANRs via
AndroidManifest.xmlusing theio.sentry.anr.report-historicalattribute (#5387)
Dependencies
Assets 59
2 people reacted
8.41.0
Features
- Session Replay: experimental support for capturing
SurfaceViewcontent (e.g. Unity, video players, maps) (#5333)- To enable, set
options.sessionReplay.isCaptureSurfaceViews = true - Or via manifest:
<meta-data android:name="io.sentry.session-replay.capture-surface-views" android:value="true" /> - Warning: masking granularity is at the SurfaceView level only — the SDK cannot mask individual elements rendered inside the SurfaceView (e.g. native Unity UI, map labels, video frames). Only enable for SurfaceViews whose content is safe to record.
- To enable, set
- Add
Sentry.feedback()API forshow()andcapture()(#5349)Sentry.showUserFeedbackDialog()is deprecated in favor ofSentry.feedback().show()Sentry.captureFeedback()is deprecated in favor ofSentry.feedback().capture()Sentry.captureUserFeedback()andUserFeedbackare deprecated in favor ofSentry.feedback().capture()with the newFeedbacktypeSentryUserFeedbackDialogis deprecated in favor ofSentryUserFeedbackForm- All deprecated APIs will be removed in the next major version
- Deprecate
SentryUserFeedbackButton(View-based and Compose-based) (#5350)- It will be removed in the next major version
- Add per-form shake-to-show support for
SentryUserFeedbackForm(#5353)- Useful for enabling shake-to-report on specific screens instead of globally
SentryUserFeedbackForm.Builder(activity) .configurator { it.isUseShakeGesture = true } .create()
- Add support for Kafka (#5249)
- You will need to add the
sentry-kafkadependency and opt-in via the new option.- Set
options.setEnableQueueTracing(true)onSentry.init - Or set
sentry.enable-queue-tracing=trueinapplication.properties
- Set
- For Spring Boot Kafka is auto instrumented and no further configuration is needed.
- When using
kafka-clientsdirectly- you need to wrap your
KafkaProducerviaSentryKafkaProducer.wrap(kafkaProducer)to getqueue.publishspans - and you may use our
SentryKafkaConsumerTracing.withTracinghelper to instrument the consumer side manually. - also see https://docs.sentry.io/platforms/java/integrations/kafka/
- you need to wrap your
- You will need to add the
Fixes
- Fix soft input keyboard not being shown on the Feedback form (#5359)
- Fix shake-to-report not triggering on some devices due to high acceleration threshold (#5366)
- Fix feedback form retaining previous message when shown again via shake (#5366)
- Avoid stack overflow when deserializing large flat JSON objects (#5361)
Dependencies
Assets 59
2 people reacted
8.40.0
Fixes
- Fix
NoSuchMethodErrorforLayoutCoordinates.localBoundingBoxOf$defaulton Compose touch dispatch with AGP 8.13 andminSdk < 24(#5302) - Fix reporting OkHttp's synthetic 504 "Unsatisfiable Request" responses as errors for
CacheControl.FORCE_CACHEcache misses (#5299) - Make
SentryGestureDetectorthread-safe and recycleVelocityTrackerper gesture (#5301) - Fix duplicate
ui.clickbreadcrumbs when anotherWindow.CallbackwrapsSentryWindowCallback(#5300)
Dependencies
Assets 58
2 people reacted
8.39.1
Fixes
- Fix
JsonObjectReaderandMapObjectReaderhanging indefinitely when deserialization errors leave the reader in an inconsistent state (#5293)- Failed collection values are now skipped so parsing can continue
- Skipped collection values emit
WARNINGlogs - Unknown-key failures and unrecoverable recovery failures emit
ERRORlogs
Assets 58
2 people reacted