Skip to content

chore(deps): update Java SDK to v8.62.0 - #2897

Merged
bitsandfoxes merged 6 commits into
mainfrom
deps/modules/sentry-java
Nov 11, 2026
Merged

bitsandfoxes merged 6 commits into
mainfrom
deps/modules/sentry-java

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-java from 8.61.0 to 8.62.0.

sentry-java 8.62.0 needs JDK 21 to build, so the Android SDK build in CI and the contributing guide now use Java 21 instead of 17.

Changelog

8.62.0

Improvements

  • Support Navigation 3 integration for multi-Activity and multi-Fragment applications, where each Activity or Fragment has its own SentryNavEffect (#6305)

Fixes

  • Fix a D8 crash (NullPointerException: Cannot invoke "String.length()") when dexing the SDK with AGP 8.0 and older, a regression from 8.61.1 (#6356)
  • Always remove the first-draw listener after the first frame, even if no layout pass follows it (#6152)
  • Prevent Reactor pool maintenance tasks from retaining unbounded Sentry scope chains (#6283)

8.61.1

Fixes

  • Session Replay: Fix a native crash (SIGABRT on the RenderThread) when stopping a replay that uses the canvas screenshot strategy (#6342)
  • Session Replay: Keep the segment videos of a replay that stopped before the startup cleanup of previous replays ran (#6343)
  • Report the number of dropped spans in client reports when a batched span envelope item is discarded, instead of a quantity of 1 (e.g. for Flutter span streaming) (#6265)
  • Session Replay: Keep the flushed video and do not reuse its segment id when stop() is called right after flush() in buffer mode (#6340)
  • Keep sending events from Android 7.1.0 and older devices after Sentry changes its TLS certificate authority (#6227)
    • In February 2027, Sentry moves its TLS certificates from DigiCert to Let's Encrypt and Google Trust Services (announcement).
    • Android 7.1.0 (API 25) and older don't trust the Let's Encrypt root certificate (ISRG Root X1), so without this fix, the SDK on those devices can no longer send events to Sentry after the switch.
    • The SDK now bundles ISRG Root X1 and trusts it in addition to the device's root certificates on API 25 and lower. This only applies to the SDK's own uploads to Sentry SaaS (DSNs on sentry.io), not to self-hosted Sentry, not to any other connection your app makes, and not if you set your own SentryOptions.setSslSocketFactory.
    • Apps need to update to an SDK version with this fix to keep sending events from these devices.
  • Session Replay: Use a software canvas for video encoding on the Android Emulator to avoid a native crash in eglDestroySurface (#6282)

Internal

  • Measure the hostname cache TTL on the monotonic ticker the options provide, so that a device time change no longer shortens or extends it (#6100)
  • Measure Session Replay's 1h recording cap and its touch-move debounce on a monotonic clock, so a device time change no longer stops a healthy recording early, keeps a finished one alive, or suppresses gesture events (#6090)
  • Add ScreenshotUtils.takeMaskedScreenshot so Hybrid SDKs can capture screenshots masked according to SentryAndroidOptions.getScreenshot() (#6281)

Dependencies

🤖 Generated with Claude Code

@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-java branch from e9ccc58 to 7fee067 Compare October 23, 2026 03:02
@bitsandfoxes bitsandfoxes changed the title chore(deps): update Java SDK to v8.61.1 chore(deps): update Java SDK to v8.62.0 Oct 28, 2026
@bitsandfoxes
bitsandfoxes merged commit b365b9a into main Nov 11, 2026
67 of 68 checks passed
@bitsandfoxes
bitsandfoxes deleted the deps/modules/sentry-java branch November 11, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants