Skip to content

chore(deps): update Android SDK to v8.34.0#1092

Merged
runningcode merged 1 commit intomainfrom
deps/scripts/update-android.sh
Mar 5, 2026
Merged

chore(deps): update Android SDK to v8.34.0#1092
runningcode merged 1 commit intomainfrom
deps/scripts/update-android.sh

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 5, 2026

Bumps scripts/update-android.sh from 8.33.0 to 8.34.0.

Auto-generated by a dependency updater.

Changelog

8.34.0

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

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions bot commented Mar 5, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

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


Internal Changes 🔧

Deps

  • Update Android SDK to v8.34.0 by github-actions[bot] in #1092
  • Update CLI to v3.3.0 by github-actions in #1093
  • Update CLI to v3.2.3 by github-actions in #1090
  • Bump getsentry/craft from 2.21.7 to 2.23.1 by dependabot in #1088
  • Bump actions/upload-artifact from 6 to 7 by dependabot in #1087
  • Bump getsentry/craft from 2.21.4 to 2.21.7 by dependabot in #1085
  • Update CLI to v3.2.2 by github-actions in #1084
  • Bump gradle/actions from 5.0.1 to 5.0.2 by dependabot in #1086

🤖 This preview updates automatically when you update the PR.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from fe34d81 to da5fe01 Compare March 5, 2026 09:26
@runningcode runningcode merged commit afe60cc into main Mar 5, 2026
20 checks passed
@runningcode runningcode deleted the deps/scripts/update-android.sh branch March 5, 2026 13:28
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