Requested by: @romtsn
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
- Session Replay: experimental support for capturing
SurfaceView content (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.
- Add
Sentry.feedback() API for show() and capture() (#5349)
Sentry.showUserFeedbackDialog() is deprecated in favor of Sentry.feedback().show()
Sentry.captureFeedback() is deprecated in favor of Sentry.feedback().capture()
Sentry.captureUserFeedback() and UserFeedback are deprecated in favor of Sentry.feedback().capture() with the new Feedback type
SentryUserFeedbackDialog is deprecated in favor of SentryUserFeedbackForm
- 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-kafka dependency and opt-in via the new option.
- Set
options.setEnableQueueTracing(true) on Sentry.init
- Or set
sentry.enable-queue-tracing=true in application.properties
- For Spring Boot Kafka is auto instrumented and no further configuration is needed.
- When using
kafka-clients directly
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
- Bump Native SDK from v0.13.7 to v0.14.0 (#5334, #5365)
- Bump Gradle from v9.4.1 to v9.5.0 (#5344)
Requested by: @romtsn
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
SurfaceViewcontent (e.g. Unity, video players, maps) (#5333)options.sessionReplay.isCaptureSurfaceViews = true<meta-data android:name="io.sentry.session-replay.capture-surface-views" android:value="true" />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 ofSentryUserFeedbackFormSentryUserFeedbackButton(View-based and Compose-based) (#5350)SentryUserFeedbackForm(#5353)sentry-kafkadependency and opt-in via the new option.options.setEnableQueueTracing(true)onSentry.initsentry.enable-queue-tracing=trueinapplication.propertieskafka-clientsdirectlyKafkaProducerviaSentryKafkaProducer.wrap(kafkaProducer)to getqueue.publishspansSentryKafkaConsumerTracing.withTracinghelper to instrument the consumer side manually.Fixes
Dependencies