Skip to content

Bump sentry from 8.2.0 to 8.34.1#25

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/sentry-8.34.1
Open

Bump sentry from 8.2.0 to 8.34.1#25
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/sentry-8.34.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2026

Bumps sentry from 8.2.0 to 8.34.1.
Updates io.sentry:sentry-android from 8.2.0 to 8.34.1

Release notes

Sourced from io.sentry:sentry-android's releases.

8.34.1

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)

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)

... (truncated)

Changelog

Sourced from io.sentry:sentry-android's changelog.

8.34.1

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)

8.34.0

Features

  • Allow configuring shutdown and session flush timeouts externally (#4641)
    • sentry.properties: shutdown-timeout-millis, session-flush-timeout-millis
    • Environment variables: SENTRY_SHUTDOWN_TIMEOUT_MILLIS, SENTRY_SESSION_FLUSH_TIMEOUT_MILLIS
    • Spring Boot application.properties: sentry.shutdownTimeoutMillis, sentry.sessionFlushTimeoutMillis
  • 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)
  • 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)

... (truncated)

Commits
  • f063350 release: 8.34.1
  • 20ec62a fix(android): Add filterTouchesWhenObscured to prevent Tapjacking (#5155)
  • 7272747 chore: Add stacked PR support to create-java-pr skill and PR rules (#5151)
  • 872b084 fix(sessions): Finalize previous session even when auto session tracking is d...
  • 37a4609 chore(ci): Kill BinarySizeTest in favour of Size Analysis status check (#5159)
  • b8bd8c4 fix(logging): Use ImmediateExecutorService in logging tests and fix Log4j2 sc...
  • a415905 fix(screenshot): Add dontwarn replay rules to sentry-android-core (#5153)
  • 83884a0 Allow configuring shutdown and session flush timeouts externally and speed up...
  • 8ec9ca8 Merge branch 'release/8.34.0'
  • 46044dc release: 8.34.0
  • Additional commits viewable in compare view

Updates io.sentry:sentry-android-timber from 8.2.0 to 8.34.1

Release notes

Sourced from io.sentry:sentry-android-timber's releases.

8.34.1

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)

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)

... (truncated)

Changelog

Sourced from io.sentry:sentry-android-timber's changelog.

8.34.1

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)

8.34.0

Features

  • Allow configuring shutdown and session flush timeouts externally (#4641)
    • sentry.properties: shutdown-timeout-millis, session-flush-timeout-millis
    • Environment variables: SENTRY_SHUTDOWN_TIMEOUT_MILLIS, SENTRY_SESSION_FLUSH_TIMEOUT_MILLIS
    • Spring Boot application.properties: sentry.shutdownTimeoutMillis, sentry.sessionFlushTimeoutMillis
  • 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)
  • 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)

... (truncated)

Commits
  • f063350 release: 8.34.1
  • 20ec62a fix(android): Add filterTouchesWhenObscured to prevent Tapjacking (#5155)
  • 7272747 chore: Add stacked PR support to create-java-pr skill and PR rules (#5151)
  • 872b084 fix(sessions): Finalize previous session even when auto session tracking is d...
  • 37a4609 chore(ci): Kill BinarySizeTest in favour of Size Analysis status check (#5159)
  • b8bd8c4 fix(logging): Use ImmediateExecutorService in logging tests and fix Log4j2 sc...
  • a415905 fix(screenshot): Add dontwarn replay rules to sentry-android-core (#5153)
  • 83884a0 Allow configuring shutdown and session flush timeouts externally and speed up...
  • 8ec9ca8 Merge branch 'release/8.34.0'
  • 46044dc release: 8.34.0
  • Additional commits viewable in compare view

Updates io.sentry:sentry-okhttp from 8.2.0 to 8.34.1

Release notes

Sourced from io.sentry:sentry-okhttp's releases.

8.34.1

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)

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)

... (truncated)

Changelog

Sourced from io.sentry:sentry-okhttp's changelog.

8.34.1

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)

8.34.0

Features

  • Allow configuring shutdown and session flush timeouts externally (#4641)
    • sentry.properties: shutdown-timeout-millis, session-flush-timeout-millis
    • Environment variables: SENTRY_SHUTDOWN_TIMEOUT_MILLIS, SENTRY_SESSION_FLUSH_TIMEOUT_MILLIS
    • Spring Boot application.properties: sentry.shutdownTimeoutMillis, sentry.sessionFlushTimeoutMillis
  • 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)
  • 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)

... (truncated)

Commits
  • f063350 release: 8.34.1
  • 20ec62a fix(android): Add filterTouchesWhenObscured to prevent Tapjacking (#5155)
  • 7272747 chore: Add stacked PR support to create-java-pr skill and PR rules (#5151)
  • 872b084 fix(sessions): Finalize previous session even when auto session tracking is d...
  • 37a4609 chore(ci): Kill BinarySizeTest in favour of Size Analysis status check (#5159)
  • b8bd8c4 fix(logging): Use ImmediateExecutorService in logging tests and fix Log4j2 sc...
  • a415905 fix(screenshot): Add dontwarn replay rules to sentry-android-core (#5153)
  • 83884a0 Allow configuring shutdown and session flush timeouts externally and speed up...
  • 8ec9ca8 Merge branch 'release/8.34.0'
  • 46044dc release: 8.34.0
  • Additional commits viewable in compare view

Updates io.sentry:sentry-compose-android from 8.2.0 to 8.34.1

Release notes

Sourced from io.sentry:sentry-compose-android's releases.

8.34.1

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)

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)

... (truncated)

Changelog

Sourced from io.sentry:sentry-compose-android's changelog.

8.34.1

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)

8.34.0

Features

  • Allow configuring shutdown and session flush timeouts externally (#4641)
    • sentry.properties: shutdown-timeout-millis, session-flush-timeout-millis
    • Environment variables: SENTRY_SHUTDOWN_TIMEOUT_MILLIS, SENTRY_SESSION_FLUSH_TIMEOUT_MILLIS
    • Spring Boot application.properties: sentry.shutdownTimeoutMillis, sentry.sessionFlushTimeoutMillis
  • 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)
  • 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)

... (truncated)

Commits
  • f063350 release: 8.34.1
  • 20ec62a fix(android): Add filterTouchesWhenObscured to prevent Tapjacking (#5155)
  • 7272747 chore: Add stacked PR support to create-java-pr skill and PR rules (#5151)
  • 872b084 fix(sessions): Finalize previous session even when auto session tracking is d...
  • 37a4609 chore(ci): Kill BinarySizeTest in favour of Size Analysis status check (#5159)
  • b8bd8c4 fix(logging): Use ImmediateExecutorService in logging tests and fix Log4j2 sc...
  • a415905 fix(screenshot): Add dontwarn replay rules to sentry-android-core (#5153)
  • 83884a0 Allow configuring shutdown and session flush timeouts externally and speed up...
  • 8ec9ca8 Merge branch 'release/8.34.0'
  • 46044dc release: 8.34.0
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `sentry` from 8.2.0 to 8.34.1.

Updates `io.sentry:sentry-android` from 8.2.0 to 8.34.1
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-java@8.2.0...8.34.1)

Updates `io.sentry:sentry-android-timber` from 8.2.0 to 8.34.1
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-java@8.2.0...8.34.1)

Updates `io.sentry:sentry-okhttp` from 8.2.0 to 8.34.1
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-java@8.2.0...8.34.1)

Updates `io.sentry:sentry-compose-android` from 8.2.0 to 8.34.1
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-java@8.2.0...8.34.1)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-version: 8.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.sentry:sentry-android-timber
  dependency-version: 8.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.sentry:sentry-okhttp
  dependency-version: 8.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.sentry:sentry-compose-android
  dependency-version: 8.34.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Mar 8, 2026
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 java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants