Skip to content

Update dependency io.sentry:sentry-android to v8.34.1#5742

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/io.sentry-sentry-android-8.x
Open

Update dependency io.sentry:sentry-android to v8.34.1#5742
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/io.sentry-sentry-android-8.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 19, 2026

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry-android 8.32.08.34.1 age confidence

Release Notes

getsentry/sentry-java (io.sentry:sentry-android)

v8.34.1

Compare Source

Fixes
  • Common: Finalize previous session even when auto session tracking is disabled (#​5154)
  • Android: Add filterTouchesWhenObscured to prevent Tapjacking on user feedback dialog (#​5155)
  • Android: Add proguard rules to prevent error about missing Replay classes (#​5153)

v8.34.0

Compare Source

Features
  • Add scope-level attributes API (#​5118) via (#​5148)
    • Automatically include scope attributes in logs and metrics (#​5120)
    • New APIs are Sentry.setAttribute, Sentry.setAttributes, Sentry.removeAttribute
  • Support collections and arrays in attribute type inference (#​5124)
  • Add support for SENTRY_SAMPLE_RATE environment variable / sample-rate property (#​5112)
  • Create sentry-opentelemetry-otlp and sentry-opentelemetry-otlp-spring modules for combining OpenTelemetry SDK OTLP export with Sentry SDK (#​5100)
    • OpenTelemetry is configured to send spans to Sentry directly using an OTLP endpoint.
    • Sentry only uses trace and span ID from OpenTelemetry (via OpenTelemetryOtlpEventProcessor) but will not send spans through OpenTelemetry nor use OpenTelemetry Context for Scopes propagation.
    • See the OTLP setup docs for Java and Spring Boot for installation and configuration instructions.
  • Add screenshot masking support using view hierarchy (#​5077)
    • Masks sensitive content (text, images) in error screenshots using the same view hierarchy approach as Session Replay
    • Requires the sentry-android-replay module to be present at runtime for masking to work
    • Enable via code:
      SentryAndroid.init(context) { options ->
          options.isAttachScreenshot = true
          options.screenshot.setMaskAllText(true)
          options.screenshot.setMaskAllImages(true)
          // Or mask specific view classes
          options.screenshot.addMaskViewClass("com.example.MyCustomView")
      }
    • Or via AndroidManifest.xml:
      <meta-data android:name="io.sentry.attach-screenshot" android:value="true" />
      <meta-data android:name="io.sentry.screenshot.mask-all-text" android:value="true" />
      <meta-data android:name="io.sentry.screenshot.mask-all-images" android:value="true" />
  • The ManifestMetaDataReader now read the DIST (#​5107)
Fixes
  • Fix attribute type detection for Long, Short, Byte, BigInteger, AtomicInteger, and AtomicLong being incorrectly inferred as double instead of integer (#​5122)
  • Remove AndroidRuntimeManager StrictMode relaxation to prevent ANRs during SDK init (#​5127)
    • IMPORTANT: StrictMode violations may appear again in debug builds. This is intentional to prevent ANRs in production releases.
  • Fix crash when unregistering SystemEventsBroadcastReceiver with try-catch block. (#​5106)
  • Use peekDecorView instead of getDecorView in SentryGestureListener to avoid forcing view hierarchy construction (#​5134)
  • Log an actionable error message when Relay returns HTTP 413 (Content Too Large) (#​5115)
    • Also switch the client report discard reason for all HTTP 4xx/5xx errors (except 429) from network_error to send_error
  • Trim DSN string before parsing to avoid URISyntaxException caused by trailing whitespace (#​5113)
  • Reduce allocations and bytecode instructions during Sentry.init (#​5135)
Dependencies

v8.33.0

Compare Source

Features
  • Add installGroupsOverride parameter to Build Distribution SDK for programmatic filtering, with support for configuration via properties file using io.sentry.distribution.install-groups-override (#​5066)
Fixes
  • When merging tombstones with Native SDK, use the tombstone message if the Native SDK didn't explicitly provide one. (#​5095)
  • Fix thread leak caused by eager creation of SentryExecutorService in SentryOptions (#​5093)
    • There were cases where we created options that ended up unused but we failed to clean those up.
  • Attach user attributes to logs and metrics regardless of sendDefaultPii (#​5099)
  • No longer log a warning if a logging integration cannot initialize Sentry due to missing DSN (#​5075)
    • While this may have been useful to some, it caused lots of confusion.
  • Session Replay: Add androidx.camera.view.PreviewView to default maskedViewClasses to mask camera previews by default. (#​5097)
Dependencies
Internal
  • Add integration to track session replay custom masking (#​5070)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@simple-services simple-services requested review from a team and siddh1004 and removed request for a team February 19, 2026 10:00
@github-actions github-actions bot enabled auto-merge (squash) February 19, 2026 10:00
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-android-8.x branch 2 times, most recently from 1ea8c7f to 34b266e Compare March 4, 2026 13:07
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.33.0 Update dependency io.sentry:sentry-android to v8.34.0 Mar 4, 2026
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-android-8.x branch 2 times, most recently from 740e9c2 to ca8639e Compare March 5, 2026 08:20
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-android-8.x branch from ca8639e to c1d335d Compare March 5, 2026 18:47
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.34.0 Update dependency io.sentry:sentry-android to v8.34.1 Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants