Skip to content

chore(deps): update Java SDK to v8.64.0 - #2944

Merged
bitsandfoxes merged 1 commit into
mainfrom
deps/modules/sentry-java
Nov 12, 2026
Merged

bitsandfoxes merged 1 commit into
mainfrom
deps/modules/sentry-java

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-java from 8.62.0 to 8.64.0.

Auto-generated by a dependency updater.

Changelog

Warning

SDK 9.0.0 will raise the minimum supported Java and Android versions:

  • Java 8 support will be dropped. SDK 9.0.0 requires Java 11+. See #6469.
  • The Android minSdk will be raised from 21 to 24. See #5508.

8.64.0

Breaking Changes

  • Android: AnrV2Integration, AnrProfilingIntegration, WindowContentChangedCallback, the deprecated SentryUserFeedbackButton and SentryUserFeedbackDialog.Builder, and the internal sentry-android-core classes are now final, and ActivityLifecycleCallbacksAdapter is now abstract (#6494)

Features

  • Connect Android traces with web content in a WebView using SentryWebViewTracing.addTracePropagation(webView, "example.com") (#6395)
    • Requires the androidx.webkit:webkit dependency. Only list hosts whose content you control.
    • Call it on the main thread before each page load you want connected.
    • Set options.webViewTracing.allowedHosts, or the io.sentry.webview-tracing.allowed-hosts manifest entry, to call addTracePropagation(webView) without passing hosts (#6516)
    • See the WebView docs for details.
  • Monitor every Spring Scheduled method with Sentry Crons by setting sentry.monitor-scheduled-tasks=true, without adding SentryCheckIn to each method. Sentry creates each monitor from the method's Scheduled schedule. Exclude methods with sentry.exclude-scheduled-tasks (#6275, #6276, #6277)
  • Quartz SentryJobListener can send a monitor config derived from the trigger with check-ins, so Sentry creates or updates the monitor from code. Set the sentry-upsert-monitor-config job or trigger data key to "true" to send the schedule (#6216)
  • Send a monitor config derived from Spring Scheduled with SentryCheckIn check-ins, so Sentry creates or updates the monitor from code. Set SentryCheckIn(upsertMonitorConfig = true) to send the schedule (#6215)
  • Sentry OpenTelemetry integrations now honor OTEL_BSP_SCHEDULE_DELAY (otel.bsp.schedule.delay) for how often spans are sent to Sentry, instead of always waiting 5 seconds (#6388)
  • Add experimental, opt-in out-of-process crash reporting on Android (#6347)
    • To enable it, add the sentry-android-ndk-outproc dependency and exclude sentry-native-ndk. Requires Android 11 (API level 30) or later.
    • See the NDK docs for details.

Behavioral Changes

  • Gradle builds now resolve all Sentry SDK modules to the same version, the highest one present, because every module depends on sentry-bom as a platform (#6466)
    • Before, a build could mix module versions, for example a newer sentry-android-core with an older sentry-android-fragment, which failed at runtime. Maven builds resolve as before.
    • sentry-bom now also includes sentry-android-distribution.

Fixes

  • Capture scroll breadcrumbs for LazyColumn, LazyRow, lazy grids, and Pager on Jetpack Compose foundation 1.10+ (#6548)
  • Prevent the main thread from potentially hanging during app start or when returning to the foreground if Android is slow to register the SDK's network or telephony listeners. Sentry.init, Session Replay, and capturing events no longer wait for that registration (#6537)
  • Add opt-in support for matching GraphQL ignored error types against classification specifications via sentry.graphql.enable-specification-error-type-filtering (#6092)
  • Session Replay: Fix SentryOkHttpInterceptor hanging forever on responses whose body has no known length, such as Server-Sent Events or a gzipped response, when network details are enabled for the URL (#6231)
  • Session Replay: SentryOkHttpInterceptor now captures network request and response details only while Session Replay is recording or buffering (#6486)
  • Stop marking an OkHttp call span as failed when a connection attempt to one of the host's addresses fails but OkHttp connects on another (#6472)
  • Stop blocking the main thread while the frame metrics thread starts when the first activity transaction begins (#6500)
    • On a busy device during cold start this could stall the launcher activity's onCreate for hundreds of milliseconds.
  • Do not inspect the response body of streaming Apollo 3 and 4 responses (multipart/mixed, text/event-stream) for failed requests, which blocked defer and stream (#6432)
  • Session Replay: Measure how long touch moves are batched on a monotonic clock, so a device time change during a swipe no longer drops its positions, delays them, or stretches their timing (#6538)

8.63.0

Features

  • Added Environment to the Scope, allowing you to overwrite the Environment set on the options (#5772)
    • The scope Environment is also applied to the trace envelope header (DSC), logs, metrics and profiles, so all telemetry of a trace reports the same environment
  • Add an attachTracingHeaders flag to SentryApolloInterceptor to stop attaching sentry-trace and baggage headers to Apollo v2 requests (#6414)
    • Apollo v2 has no request URL in the interceptor, so these headers are attached without checking tracePropagationTargets. Pass attachTracingHeaders = false to opt out.

Improvements

  • Speed up Session Replay and screenshot masking for large maskViewClasses/unmaskViewClasses lists by using constant-time class lookups (#6410)
  • Skip ANR profiling while a debugger is connected (#6389)

Behavioral Changes

  • Idle spans, including those produced by SentryTraced, now let any idle parent transaction finish after the idle timeout (3s by default) with status ok, rather than waiting for the deadline (30s by default) and reporting deadline_exceeded (#6396)
    • If you use SentryTraced, expect shorter durations and lower failure rates for affected ui.load and navigation transactions, plus changes to metrics measured over the transaction's lifetime, such as slow and frozen frames.
    • Cold and warm app start, TTID, and TTFD remain unchanged.

Fixes

  • Fix missing Navigation 3 transactions for preloaded ViewPager2 pages and destinations reached while another Activity or Fragment owns navigation tracking (#6400)
  • Keep UI profiling running when startProfiler is called before a requested stop takes effect at the end of the current chunk (#6291)
    • Before, the start call was ignored and the profiler still stopped at the end of the chunk, even in TRACE mode while sampled spans were active. On API 34 and lower, every later profile also stopped after one chunk.
  • Refuse to send data to servers whose certificate was issued by one of the leaked eMudhra intermediates (CVE-2026-111943) (#6336)
  • Stop sending the whole release as dist on ANR and app-exit events when the release has no +versionCode (#6450)
    • Relay rejected these values (e.g. invalid character ''). dist is now left empty unless options.dist is set or the release contains a version code.
  • Accept profiling traces directories whose path contains a . on the JVM, and keep profiling disabled after its first start rejects the options instead of starting on the next one (#6334)

Dependencies

  • Bump epitaph (Android tombstone parsing) from 0.1.1 to 0.2.0 (#6402)
    • Reject malformed protobuf tags, oversized lengths, invalid varints, and invalid reader bounds instead of silently accepting partial/corrupt tombstone data.
  • Bump Native SDK from v0.17.4 to v0.17.6 (#6409, #6460)

Internal

  • Measure ANR detection and ANR profiling durations on the internal MonotonicTicker (#6041)

Known Issues

  • On Android, the main thread may hang or trigger an ANR if the system is slow to register network or telephony callbacks during SDK initialization or when the app returns to the foreground. Fixed by #6537.

Known Issues

  • On Android, the main thread may hang or trigger an ANR if the system is slow to register network or telephony callbacks during SDK initialization or when the app returns to the foreground. Fixed by #6537.

Known Issues

  • On Android, the main thread may hang or trigger an ANR if the system is slow to register network or telephony callbacks during SDK initialization or when the app returns to the foreground. Fixed by #6537.

Known Issues

  • On Android, the main thread may hang or trigger an ANR if the system is slow to register network or telephony callbacks during SDK initialization or when the app returns to the foreground. Fixed by #6537.

Known Issues

  • On Android, the main thread may hang or trigger an ANR if the system is slow to register network or telephony callbacks during SDK initialization or when the app returns to the foreground. Fixed by #6537.

@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-java branch from f629ee5 to 1e84120 Compare November 12, 2026 03:01
@bitsandfoxes
bitsandfoxes merged commit 2208192 into main Nov 12, 2026
72 checks passed
@bitsandfoxes
bitsandfoxes deleted the deps/modules/sentry-java branch November 12, 2026 09:05
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