Skip to content

Update dependency io.sentry:sentry to v8.35.0#984

Merged
prof18 merged 1 commit intomainfrom
renovate/sentry
Mar 12, 2026
Merged

Update dependency io.sentry:sentry to v8.35.0#984
prof18 merged 1 commit intomainfrom
renovate/sentry

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 9, 2026

This PR contains the following updates:

Package Change Age Confidence
io.sentry:sentry 8.31.08.35.0 age confidence

Release Notes

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

v8.35.0

Compare Source

Fixes
  • Android: Remove the dependency on protobuf-lite for tombstones (#​5157)
Features
  • Add new experimental option to capture profiles for ANRs (#​4899)
    • This feature will capture a stack profile of the main thread when it gets unresponsive
    • The profile gets attached to the ANR event on the next app start, providing a flamegraph of the ANR issue on the sentry issue details page
    • Enable via options.setAnrProfilingSampleRate(<sample-rate>) or AndroidManifest.xml: <meta-data android:name="io.sentry.anr.profiling.sample-rate" android:value="[0.0-1.0]" />
    • The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable)
Behavioral Changes
  • Add enableAnrFingerprinting option which assigns static fingerprints to ANR events with system-only stacktraces
    • When enabled, ANRs whose stacktraces contain only system frames (e.g. java.lang or android.os) are grouped into a single issue instead of creating many separate issues
    • This will help to reduce overall ANR issue noise in the Sentry dashboard
    • IMPORTANT: This option is enabled by default.
    • Disable via options.setEnableAnrFingerprinting(false) or AndroidManifest.xml: <meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="false" />

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

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 becomes conflicted, 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/sentry branch from e54535b to c91b836 Compare February 12, 2026 18:13
@renovate renovate Bot changed the title Update dependency io.sentry:sentry to v8.32.0 fix(deps): update dependency io.sentry:sentry to v8.32.0 Feb 15, 2026
@renovate renovate Bot force-pushed the renovate/sentry branch from c91b836 to cde8ecd Compare February 18, 2026 16:48
@renovate renovate Bot changed the title fix(deps): update dependency io.sentry:sentry to v8.32.0 fix(deps): update dependency io.sentry:sentry to v8.33.0 Feb 18, 2026
@renovate renovate Bot force-pushed the renovate/sentry branch 2 times, most recently from 7a7d417 to c7cb2ea Compare March 4, 2026 13:47
@renovate renovate Bot changed the title fix(deps): update dependency io.sentry:sentry to v8.33.0 fix(deps): update dependency io.sentry:sentry to v8.34.0 Mar 4, 2026
@renovate renovate Bot changed the title fix(deps): update dependency io.sentry:sentry to v8.34.0 Update dependency io.sentry:sentry to v8.34.0 Mar 4, 2026
@renovate renovate Bot force-pushed the renovate/sentry branch 2 times, most recently from ff8c24e to 7e0d387 Compare March 5, 2026 20:48
@renovate renovate Bot changed the title Update dependency io.sentry:sentry to v8.34.0 Update dependency io.sentry:sentry to v8.34.1 Mar 5, 2026
@renovate renovate Bot force-pushed the renovate/sentry branch from 7e0d387 to dd2e21c Compare March 12, 2026 14:16
@renovate renovate Bot changed the title Update dependency io.sentry:sentry to v8.34.1 Update dependency io.sentry:sentry to v8.35.0 Mar 12, 2026
@prof18 prof18 merged commit 5aa3e7e into main Mar 12, 2026
4 checks passed
@prof18 prof18 deleted the renovate/sentry branch March 12, 2026 21:37
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.

1 participant