Skip to content

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

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/sentryandroid
Open

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2025

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry-android 8.27.18.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)

v8.32.0

Compare Source

Features
  • Add installGroups property to Build Distribution SDK (#​5062)
  • Update Android targetSdk to API 36 (Android 16) (#​5016)
  • Add AndroidManifest support for Spotlight configuration via io.sentry.spotlight.enable and io.sentry.spotlight.url (#​5064)
  • Collect database transaction spans (BEGIN, COMMIT, ROLLBACK) (#​5072)
    • To enable creation of these spans, set options.enableDatabaseTransactionTracing to true
    • enable-database-transaction-tracing=true when using sentry.properties
    • For Spring Boot, use sentry.enable-database-transaction-tracing=true in application.properties or in application.yml:
      sentry:
        enable-database-transaction-tracing: true
  • Add support for collecting native crashes using Tombstones (#​4933, #​5037)
    • Added Tombstone integration that detects native crashes using ApplicationExitInfo.REASON_CRASH_NATIVE on Android 12+
    • Crashes enriched with Tombstones contain more crash details and detailed thread info
    • Tombstone and NDK integrations are now automatically merged into a single crash event, eliminating duplicate reports
    • To enable it, add the integration in your Sentry initialization:
      SentryAndroid.init(context, options -> {
          options.isTombstoneEnabled = true
      })
      or in the AndroidManifest.xml using:
      <meta-data android:name="io.sentry.tombstone.enable" android:value="true" />
Fixes
  • Extract SpotlightIntegration to separate sentry-spotlight module to prevent insecure HTTP URLs from appearing in release APKs (#​5064)
    • Breaking: Users who enable Spotlight must now add the io.sentry:sentry-spotlight dependency:
      dependencies {
          debugImplementation("io.sentry:sentry-spotlight:<version>")
      }
  • Fix scroll target detection for Jetpack Compose (#​5017)
  • No longer fork Sentry Scopes for reactor-kafka consumer poll Runnable (#​5080)
    • This was causing a memory leak because reactor-kafka's poll event reschedules itself infinitely, and each invocation of SentryScheduleHook created forked scopes with a parent reference, building an unbounded chain that couldn't be garbage collected.
  • Fix cold/warm app start type detection for Android devices running API level 34+ (#​4999)
Internal
  • Establish new native exception mechanisms to differentiate events generated by sentry-native from ApplicationExitInfo. (#​5052)
  • Set write permission for statuses in the changelog preview GHA workflow. (#​5053)
Dependencies

v8.31.0

Compare Source

Features
  • Added io.sentry.ndk.sdk-name Android manifest option to configure the native SDK's name (#​5027)
  • Replace sentry.trace.parent_span_id attribute with spanId property on SentryLogEvent (#​5040)
Fixes
  • Only attach user attributes to logs if sendDefaultPii is enabled (#​5036)
  • Reject new logs if LoggerBatchProcessor is shutting down (#​5041)
  • Downgrade protobuf-javalite dependency from 4.33.1 to 3.25.8 (#​5044)
Dependencies

v8.30.0

Compare Source

Fixes
  • Fix ANRs when collecting device context (#​4970)
    • IMPORTANT: This disables collecting external storage size (total/free) by default, to enable it back
      use options.isCollectExternalStorageContext = true or <meta-data android:name="io.sentry.external-storage-context" android:value="true" />
  • Fix NullPointerException when reading ANR marker (#​4979)
  • Report discarded log in batch processor as log_byte (#​4971)
Improvements
  • Expose MAX_EVENT_SIZE_BYTES constant in SentryOptions (#​4962)
  • Discard envelopes on 4xx and 5xx response (#​4950)
    • This aims to not overwhelm Sentry after an outage or load shedding (including HTTP 429) where too many events are sent at once
Feature
  • Add a Tombstone integration that detects native crashes without relying on the NDK integration, but instead using ApplicationExitInfo.REASON_CRASH_NATIVE on Android 12+. (#​4933)
    • Currently exposed via options as an internal API only.
    • If enabled alongside the NDK integration, crashes will be reported as two separate events. Users should enable only one; deduplication between both integrations will be added in a future release.
  • Add Sentry Metrics to Java SDK (#​5026)
    • Metrics are enabled by default
    • APIs are namespaced under Sentry.metrics()
    • We offer the following APIs:
      • count: A metric that increments counts
      • gauge: A metric that tracks a value that can go up or down
      • distribution: A metric that tracks the statistical distribution of values
    • For more details, see the Metrics documentation: https://docs.sentry.io/product/explore/metrics/getting-started/

v8.29.0

Compare Source

Fixes
  • Support serialization of primitive arrays (boolean[], byte[], short[], char[], int[], long[], float[], double[]) (#​4968)
  • Session Replay: Improve network body parsing and truncation handling (#​4958)
Internal
  • Support metric envelope item type (#​4956)

v8.28.0

Compare Source

Features
  • Android: Flush logs when app enters background (#​4951)
  • Add option to capture additional OkHttp network request/response details in session replays (#​4919)
    • Depends on SentryOkHttpInterceptor to intercept the request and extract request/response bodies
    • To enable, add url regexes via the io.sentry.session-replay.network-detail-allow-urls metadata tag in AndroidManifest (code sample)
      • Or you can manually specify SentryReplayOptions via SentryAndroid#init:
        (Make sure you disable the auto init via manifest meta-data: io.sentry.auto-init=false)
Kotlin
SentryAndroid.init(
    this,
    options -> {
      // options.dsn = "https://examplePublicKey@o0.ingest.sentry.io/0"
      // options.sessionReplay.sessionSampleRate = 1.0
      // options.sessionReplay.onErrorSampleRate = 1.0
      // ..

      options.sessionReplay.networkDetailAllowUrls = listOf(".*")
      options.sessionReplay.networkDetailDenyUrls = listOf(".*deny.*")
      options.sessionReplay.networkRequestHeaders = listOf("Authorization", "X-Custom-Header", "X-Test-Request")
      options.sessionReplay.networkResponseHeaders = listOf("X-Response-Time", "X-Cache-Status", "X-Test-Response")
    });
Java
SentryAndroid.init(
    this,
    options -> {
        options.getSessionReplay().setNetworkDetailAllowUrls(Arrays.asList(".*"));
        options.getSessionReplay().setNetworkDetailDenyUrls(Arrays.asList(".*deny.*"));
        options.getSessionReplay().setNetworkRequestHeaders(
            Arrays.asList("Authorization", "X-Custom-Header", "X-Test-Request"));
        options.getSessionReplay().setNetworkResponseHeaders(
            Arrays.asList("X-Response-Time", "X-Cache-Status", "X-Test-Response"));
    });
Improvements
  • Avoid forking rootScopes for Reactor if current thread has NoOpScopes (#​4793)
    • This reduces the SDKs overhead by avoiding unnecessary scope forks
Fixes
  • Fix missing thread stacks for ANRv1 events (#​4918)
  • Fix handling of unparseable mime-type on request filter (#​4939)
Internal
  • Support span envelope item type (#​4935)
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 force-pushed the renovate/sentryandroid branch from 5fb8d57 to 0598620 Compare February 26, 2025 19:05
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.2.0 Update dependency io.sentry:sentry-android to v8.3.0 Feb 26, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch 2 times, most recently from ad0070c to 8a992e2 Compare March 2, 2025 20:09
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 8a992e2 to 4d6516c Compare March 14, 2025 15:40
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.3.0 Update dependency io.sentry:sentry-android to v8.4.0 Mar 14, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 4d6516c to 075274c Compare March 18, 2025 20:00
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.4.0 Update dependency io.sentry:sentry-android to v8.5.0 Mar 18, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 075274c to 63b6dfe Compare April 1, 2025 10:20
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.5.0 Update dependency io.sentry:sentry-android to v8.6.0 Apr 1, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 63b6dfe to 0e80a6b Compare April 8, 2025 17:51
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.6.0 Update dependency io.sentry:sentry-android to v8.7.0 Apr 8, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 0e80a6b to 6b649eb Compare April 14, 2025 20:13
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.7.0 Update dependency io.sentry:sentry-android to v8.8.0 Apr 14, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 6b649eb to 802878a Compare April 22, 2025 19:52
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.8.0 Update dependency io.sentry:sentry-android to v8.9.0 Apr 22, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 802878a to 0fa613e Compare April 25, 2025 16:44
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.9.0 Update dependency io.sentry:sentry-android to v8.10.0 Apr 25, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 0fa613e to 1c49484 Compare April 29, 2025 15:30
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.10.0 Update dependency io.sentry:sentry-android to v8.11.0 Apr 29, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 1c49484 to a9399dc Compare April 30, 2025 19:41
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.11.0 Update dependency io.sentry:sentry-android to v8.11.1 Apr 30, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from a9399dc to 9308c64 Compare May 13, 2025 23:14
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.11.1 Update dependency io.sentry:sentry-android to v8.12.0 May 13, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 9308c64 to f0b9241 Compare May 26, 2025 14:13
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.12.0 Update dependency io.sentry:sentry-android to v8.13.0 May 26, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from f0b9241 to 5f3d4ae Compare May 26, 2025 19:49
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.13.0 Update dependency io.sentry:sentry-android to v8.13.1 May 26, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 5f3d4ae to 70623c3 Compare May 27, 2025 20:01
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.13.1 Update dependency io.sentry:sentry-android to v8.13.2 May 27, 2025
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.16.0 Update dependency io.sentry:sentry-android to v8.17.0 Jul 8, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 3a74454 to 7c6b480 Compare July 30, 2025 15:59
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.17.0 Update dependency io.sentry:sentry-android to v8.18.0 Jul 30, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 7c6b480 to 4e40304 Compare August 11, 2025 15:35
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.18.0 Update dependency io.sentry:sentry-android to v8.19.0 Aug 11, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 4e40304 to 74ae7c9 Compare August 12, 2025 14:00
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.19.0 Update dependency io.sentry:sentry-android to v8.19.1 Aug 12, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 74ae7c9 to dcadcbb Compare August 25, 2025 15:11
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.19.1 Update dependency io.sentry:sentry-android to v8.20.0 Aug 25, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from dcadcbb to 6683bbe Compare September 8, 2025 14:27
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.20.0 Update dependency io.sentry:sentry-android to v8.21.0 Sep 8, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 6683bbe to 10e3051 Compare September 9, 2025 18:12
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.21.0 Update dependency io.sentry:sentry-android to v8.21.1 Sep 9, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 10e3051 to 77213c7 Compare September 22, 2025 12:24
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.21.1 Update dependency io.sentry:sentry-android to v8.22.0 Sep 22, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 77213c7 to 569926a Compare October 1, 2025 21:12
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.22.0 Update dependency io.sentry:sentry-android to v8.23.0 Oct 1, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 569926a to dc8d9a7 Compare October 22, 2025 17:42
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.23.0 Update dependency io.sentry:sentry-android to v8.24.0 Oct 22, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from dc8d9a7 to fb739e6 Compare October 29, 2025 16:48
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.24.0 Update dependency io.sentry:sentry-android to v8.25.0 Oct 29, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from fb739e6 to 85b8cfe Compare October 30, 2025 05:04
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 85b8cfe to 545f593 Compare November 12, 2025 07:55
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.25.0 Update dependency io.sentry:sentry-android to v8.26.0 Nov 12, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from 545f593 to e8999d8 Compare November 21, 2025 14:14
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.26.0 Update dependency io.sentry:sentry-android to v8.27.0 Nov 21, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from e8999d8 to c009c86 Compare November 24, 2025 14:02
@renovate renovate bot changed the title Update dependency io.sentry:sentry-android to v8.27.0 Update dependency io.sentry:sentry-android to v8.27.1 Nov 24, 2025
@renovate renovate bot force-pushed the renovate/sentryandroid branch from c009c86 to a541dab Compare December 3, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants