Skip to content

chore(deps): update Java SDK to v8.42.0#5208

Open
github-actions[bot] wants to merge 2 commits into
mainfrom
deps/scripts/update-java.ps1
Open

chore(deps): update Java SDK to v8.42.0#5208
github-actions[bot] wants to merge 2 commits into
mainfrom
deps/scripts/update-java.ps1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 7, 2026

Bumps scripts/update-java.ps1 from 8.40.0 to 8.42.0.

Auto-generated by a dependency updater.

Changelog

8.42.0

Features

  • Add option to attach raw tombstone protobuf on native crash events (#5446)
    • Enable via options.isAttachRawTombstone = true or manifest: <meta-data android:name="io.sentry.tombstone.attach-raw" android:value="true" />
  • Add API to clear feature flags from scopes (#5426)
  • Add support to configure reporting historical ANRs via AndroidManifest.xml using the io.sentry.anr.report-historical attribute (#5387)

Dependencies

8.41.0

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

@github-actions github-actions Bot added the Dependencies Pull requests that update a dependency file label May 7, 2026
@github-actions github-actions Bot added the Dependencies Pull requests that update a dependency file label May 7, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch from 9a43903 to 5354c83 Compare May 8, 2026 04:02
@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.11%. Comparing base (b682a76) to head (5d186e4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5208      +/-   ##
==========================================
- Coverage   74.12%   74.11%   -0.02%     
==========================================
  Files         508      508              
  Lines       18318    18320       +2     
  Branches     3583     3584       +1     
==========================================
- Hits        13579    13577       -2     
- Misses       3864     3871       +7     
+ Partials      875      872       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch 5 times, most recently from aa0a1ec to f258b45 Compare May 14, 2026 04:16
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch 3 times, most recently from f7ceda9 to c259803 Compare May 20, 2026 04:23
@github-actions github-actions Bot changed the title chore(deps): update Java SDK to v8.41.0 chore(deps): update Java SDK to v8.42.0 May 21, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-java.ps1 branch from c259803 to 1904f87 Compare May 21, 2026 04:26
The Java SDK 8.41 release deprecated SentryUserFeedbackDialog in favor of
SentryUserFeedbackForm. The auto-generated C# bindings now produce CS0108
collisions because Dialog's nested IOptionsConfiguration /
IOptionsConfigurationInvoker share names with the ones on Form, and Form's
nested Builder collides with the inherited AlertDialog.Builder.

Remove the deprecated Dialog tree (we never exposed it) and rename Form's
nested Builder to SentryUserFeedbackFormBuilder so it no longer shadows
the inherited member.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants