Skip to content

dependency: Update dependency io.sentry:sentry to v8.34.0#255

Merged
renovate[bot] merged 1 commit intomasterfrom
renovate/io.sentry-sentry-8.x
Mar 4, 2026
Merged

dependency: Update dependency io.sentry:sentry to v8.34.0#255
renovate[bot] merged 1 commit intomasterfrom
renovate/io.sentry-sentry-8.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2026

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry 8.33.0 โ†’ 8.34.0 age confidence

Release Notes

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

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

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Enabled.

โ™ป 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.

@renovate renovate bot added the ๐Ÿ”„ dependencies Pull requests that update a dependency file label Mar 4, 2026
@renovate renovate bot force-pushed the renovate/io.sentry-sentry-8.x branch from 498db5f to a28aa88 Compare March 4, 2026 18:00
@renovate renovate bot merged commit 3be7283 into master Mar 4, 2026
2 checks passed
@renovate renovate bot deleted the renovate/io.sentry-sentry-8.x branch March 4, 2026 21:41
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.

0 participants