Skip to content

chore(deps): update Android SDK to v8.62.0 - #6932

Merged
antonis merged 1 commit into
mainfrom
deps/scripts/update-android.sh
Oct 27, 2026
Merged

antonis merged 1 commit into
mainfrom
deps/scripts/update-android.sh

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Bumps scripts/update-android.sh from 8.61.0 to 8.62.0.

Auto-generated by a dependency updater.

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

@github-actions
github-actions Bot requested a review from alwx as a code owner October 22, 2026 11:41
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Oct 22, 2026
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Oct 22, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 53996f3 to d338133 Compare October 22, 2026 11:41
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Android SDK to v8.62.0 by github-actions[bot] in #6932
  • chore(deps): update Maestro to v2.12.0 by github-actions in #6945
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.35.0 to 3.0.0 by dependabot in #6944
  • chore(deps): bump the codeql-action group with 3 updates by dependabot in #6940
  • chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 by dependabot in #6941
  • chore(deps): bump fast-uri from 3.1.8 to 3.1.9 by dependabot in #6946
  • chore(deps): bump undici from 6.29.0 to 6.29.1 by dependabot in #6947
  • chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 by dependabot in #6943
  • chore(deps): bump ruby/setup-ruby from 1.327.0 to 1.334.0 by dependabot in #6942
  • chore(deps): bump ip-address from 10.7.2 to 10.7.4 by dependabot in #6939
  • chore(deps): update Wizard to v9.0.0 by github-actions in #6936
  • chore(deps): update CLI to v3.8.2 by github-actions in #6933
  • ci: Move CI off end-of-life Node versions to Node 22 by antonis in #6927

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author
Warnings
⚠️

🤖 Replay Stubs Check

✅ No changes detected in replay-stubs.jar

All file contents are identical (verified by SHA-256 hash comparison).

⚠️

⚠️ Android SDK Version Mismatch

Component Version
sentry-android in build.gradle 8.62.0
sentry-android bundled by gradle plugin 6.24.0 8.61.0

If a user enables AGP autoInstallation (default: true), this mismatch causes:

IllegalStateException: Sentry SDK has detected a mix of versions

Our docs instruct React Native users to set autoInstallation.enabled = false, so users following the guide are unaffected. Consider either updating packages/core/android/build.gradle to 8.61.0 or waiting for a gradle plugin release that bundles 8.62.0.

Generated by 🚫 dangerJS against 37a9a0d

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marking as blocked on getsentry/sentry-java#6355

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-android.sh branch 17 times, most recently from 4c18f38 to ba57d5f Compare October 27, 2026 08:39
@github-actions github-actions Bot changed the title chore(deps): update Android SDK to v8.61.1 chore(deps): update Android SDK to v8.62.0 Oct 27, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-android.sh branch from ba57d5f to 37a9a0d Compare October 27, 2026 09:09

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unblocking with 8.62.0

@antonis antonis added ready-to-merge Triggers the full CI test suite and removed Blocked labels Oct 27, 2026
@sentry

sentry Bot commented Oct 27, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.32.0 (112) Release

⚙️ sentry-react-native Build Distribution Settings

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and the CI is 🟢 🎉

@antonis
antonis merged commit b668114 into main Oct 27, 2026
117 of 124 checks passed
@antonis
antonis deleted the deps/scripts/update-android.sh branch October 27, 2026 09:35
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 ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants