Skip to content

chore(deps): update Android SDK to v8.31.0#6

Open
github-actions[bot] wants to merge 1 commit intomainfrom
deps/scripts/update-android.sh
Open

chore(deps): update Android SDK to v8.31.0#6
github-actions[bot] wants to merge 1 commit intomainfrom
deps/scripts/update-android.sh

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Oct 10, 2024

Bumps scripts/update-android.sh from 8.23.0 to 8.31.0.

Auto-generated by a dependency updater.

Changelog

8.31.0

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

8.30.0

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/

8.29.0

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)

8.28.0

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://examplePublicKeyo0.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

8.27.1

Fixes

  • Do not log if sentry.properties in rundir has not been found (#4929)

8.27.0

Features

  • Implement OpenFeature Integration that tracks Feature Flag evaluations (#4910)
    • To make use of it, add the sentry-openfeature dependency and register the the hook using: openFeatureApiInstance.addHooks(new SentryOpenFeatureHook());
  • Implement LaunchDarkly Integrations that track Feature Flag evaluations (#4917)
    • For Android, please add sentry-launchdarkly-android as a dependency and register the SentryLaunchDarklyAndroidHook
    • For Server / JVM, please add sentry-launchdarkly-server as a dependency and register the SentryLaunchDarklyServerHook
  • Detect oversized events and reduce their size (#4903)
    • You can opt into this new behaviour by setting enableEventSizeLimiting to true (sentry.enable-event-size-limiting=true for Spring Boot application.properties)
    • You may optionally register an onOversizedEvent callback to implement custom logic that is executed in case an oversized event is detected
      • This is executed first and if event size was reduced sufficiently, no further truncation is performed
    • In case we detect an oversized event, we first drop breadcrumbs and if that isn't sufficient we also drop stack frames in order to get an events size down

Improvements

  • Do not send manual log origin (#4897)

Dependencies

  • Bump Spring Boot 4 to GA (#4923)

8.26.0

Features

  • Add feature flags API (#4812) and (#4831)
    • You may now keep track of your feature flag evaluations and have them show up in Sentry.
    • Top level API (Sentry.addFeatureFlag("my-feature-flag", true);) writes to scopes and the current span (if there is one)
    • It is also possible to use API on IScope, IScopes, ISpan and ITransaction directly
    • Feature flag evaluations tracked on scope(s) will be added to any errors reported to Sentry.
      • The SDK keeps the latest 100 evaluations from scope(s), replacing old entries as new evaluations are added.
    • For feature flag evaluations tracked on spans:
      • Only 10 evaluations are tracked per span, existing flags are updated but new ones exceeding the limit are ignored
      • Spans do not inherit evaluations from their parent
  • Drop log events once buffer hits hard limit (#4889)
    • If we have 1000 log events queued up, we drop any new logs coming in to prevent OOM
  • Remove vendored code and upgrade to async profiler 4.2 (#4856)
    • This adds support for JDK 23+

Fixes

  • Removed SentryExecutorService limit for delayed scheduled tasks (#4846)
  • Fix visual artifacts for the Canvas strategy on some devices (#4861)
  • [Config] Trim whitespace on properties path (#4880)
  • Only set DefaultReplayBreadcrumbConverter if replay is available (#4888)
  • Session Replay: Cache connection status instead of using blocking calls (#4891)
  • Fix log count in client reports (#4869)
  • Fix profilerId propagation (#4833)
  • Fix profiling init for Spring and Spring Boot w Agent auto-init (#4815)
  • Copy active span on scope clone (#4878)

Improvements

  • Fallback to distinct-id as user.id logging attribute when user is not set (#4847)
  • Report Timber.tag() as timber.tag log attribute (#4845)
  • Session Replay: Add screenshot strategy serialization to RRWeb events (#4851)
  • Report discarded log bytes (#4871)
  • Log why a properties file was not loaded (#4879)

Dependencies

8.25.0

Fixes

  • [ANR] Removed AndroidTransactionProfiler lock (#4817)
  • Avoid ExecutorService for DefaultCompositePerformanceCollector timeout (#4841)
    • This avoids infinite data collection for never stopped transactions, leading to OOMs
  • Fix wrong .super() call in SentryTimberTree (#4844)

Improvements

  • [ANR] Defer some class availability checks (#4825)
  • Collect PerformanceCollectionData only for sampled transactions (#4834)
    • Breaking change: Transactions with a deferred sampling decision (sampled == null) won't be collecting any performance data anymore (CPU, RAM, slow/frozen frames).

Dependencies

8.24.0

Features

  • Attach MDC properties to logs as attributes (#4786)
    • MDC properties set using supported logging frameworks (Logback, Log4j2, java.util.Logging) are now attached to structured logs as attributes.
    • The attribute reflected on the log is mdc.<key>, where <key> is the original key in the MDC.
    • This means that you will be able to filter/aggregate logs in the product based on these properties.
    • Only properties with keys matching the configured contextTags are sent as log attributes.
      • You can configure which properties are sent using options.setContextTags if initalizing manually, or by specifying a comma-separated list of keys with a context-tags entry in sentry.properties or sentry.context-tags in application.properties.
      • Note that keys containing spaces are not supported.
  • Add experimental Sentry Android Distribution module for integrating with Sentry Build Distribution to check for and install updates (#4804)
  • Allow passing a different Handler to SystemEventsBreadcrumbsIntegration and AndroidConnectionStatusProvider so their callbacks are deliver to that handler (#4808)
  • Session Replay: Add new experimental Canvas Capture Strategy (#4777)
    • A new screenshot capture strategy that uses Android's Canvas API for more accurate and reliable text and image masking
    • Any .drawText() or .drawBitmap() calls are replaced by rectangles, ensuring no text or images are present in the resulting output
    • Note: If this strategy is used, all text and images will be masked, regardless of any masking configuration
    • To enable this feature, set the screenshotStrategy, either via code:
      SentryAndroid.init(context) { options ->
        options.sessionReplay.screenshotStrategy = ScreenshotStrategyType.CANVAS
      }
      or AndroidManifest.xml:
      <application>
        <meta-data android:name="io.sentry.session-replay.screenshot-strategy" android:value="canvas" />
      </application>

Fixes

  • Avoid StrictMode warnings (#4724)
  • Use logger from options for JVM profiler (#4771)
  • Session Replay: Avoid deadlock when pausing replay if no connection (#4788)
  • Session Replay: Fix capturing roots with no windows (#4805)
  • Session Replay: Fix java.lang.IllegalArgumentException: width and height must be > 0 (#4805)
  • Handle NoOpScopes in Context when starting a span through OpenTelemetry (#4823)
    • This fixes "java.lang.IllegalArgumentException: The DSN is required" when combining WebFlux and OpenTelemetry
  • Session Replay: Do not use recycled screenshots for masking (#4790)
    • This fixes native crashes seen in Canvas.<init>/ScreenshotRecorder.capture
  • Session Replay: Ensure bitmaps are recycled properly (#4820)

Miscellaneous

  • Mark SentryClient(SentryOptions) constructor as not internal (#4787)

Dependencies

@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from efd0b86 to 0ae9680 Compare October 10, 2024 03:11
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.15.0 chore(deps): update Android SDK to v7.16.0 Oct 24, 2024
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 0ae9680 to 9cddaa4 Compare October 24, 2024 03:11
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 9cddaa4 to 6d0f3a2 Compare November 13, 2024 03:10
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.16.0 chore(deps): update Android SDK to v7.17.0 Nov 13, 2024
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.17.0 chore(deps): update Android SDK to v7.18.0 Nov 19, 2024
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 6d0f3a2 to 4ca8de9 Compare November 19, 2024 03:16
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 4ca8de9 to 2798c8d Compare November 30, 2024 03:15
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.18.0 chore(deps): update Android SDK to v7.18.1 Nov 30, 2024
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.18.1 chore(deps): update Android SDK to v7.19.0 Dec 13, 2024
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 2798c8d to d615c60 Compare December 13, 2024 03:22
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.19.0 chore(deps): update Android SDK to v7.19.1 Dec 24, 2024
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from d615c60 to 41d85a6 Compare December 24, 2024 03:11
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.19.1 chore(deps): update Android SDK to v7.20.0 Jan 3, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 41d85a6 to bbdf883 Compare January 3, 2025 03:11
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.20.0 chore(deps): update Android SDK to v7.20.1 Jan 21, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from bbdf883 to e665535 Compare January 21, 2025 03:08
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v7.20.1 chore(deps): update Android SDK to v8.0.0 Jan 22, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from e665535 to d7acf5c Compare January 22, 2025 03:09
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from d7acf5c to 05e48b9 Compare January 31, 2025 03:08
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.0.0 chore(deps): update Android SDK to v8.1.0 Jan 31, 2025
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.1.0 chore(deps): update Android SDK to v8.2.0 Feb 13, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 05e48b9 to 9781118 Compare February 13, 2025 03:10
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.2.0 chore(deps): update Android SDK to v8.3.0 Feb 27, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 9781118 to 6641804 Compare February 27, 2025 03:13
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 6641804 to 7db4a3a Compare March 15, 2025 03:13
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.3.0 chore(deps): update Android SDK to v8.4.0 Mar 15, 2025
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.4.0 chore(deps): update Android SDK to v8.5.0 Mar 19, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 7db4a3a to fe424c2 Compare March 19, 2025 03:17
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 7bc599b to d7c384b Compare August 26, 2025 03:25
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from d7c384b to f088cd5 Compare September 9, 2025 03:21
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.20.0 chore(deps): update Android SDK to v8.21.0 Sep 9, 2025
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.21.0 chore(deps): update Android SDK to v8.21.1 Sep 10, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from f088cd5 to 071fd7e Compare September 10, 2025 03:16
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.21.1 chore(deps): update Android SDK to v8.22.0 Sep 23, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 071fd7e to 43c8e4f Compare September 23, 2025 03:18
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.22.0 chore(deps): update Android SDK to v8.23.0 Oct 2, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 43c8e4f to 5abac6b Compare October 2, 2025 03:17
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 5abac6b to bab9867 Compare October 23, 2025 03:23
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.23.0 chore(deps): update Android SDK to v8.24.0 Oct 23, 2025
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.24.0 chore(deps): update Android SDK to v8.25.0 Oct 30, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from bab9867 to 006cd22 Compare October 30, 2025 03:27
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.25.0 chore(deps): update Android SDK to v8.26.0 Nov 13, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch 3 times, most recently from 0eb2033 to 9bbb4bb Compare November 20, 2025 03:27
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.26.0 chore(deps): update Android SDK to v8.27.0 Nov 22, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch 2 times, most recently from 6173db8 to d2aa688 Compare November 25, 2025 03:30
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.27.0 chore(deps): update Android SDK to v8.27.1 Nov 25, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from d2aa688 to 188a476 Compare December 5, 2025 03:33
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.27.1 chore(deps): update Android SDK to v8.28.0 Dec 5, 2025
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.28.0 chore(deps): update Android SDK to v8.29.0 Dec 17, 2025
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 188a476 to 8eee33f Compare December 17, 2025 03:34
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 8eee33f to 4565bcb Compare January 16, 2026 03:37
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.29.0 chore(deps): update Android SDK to v8.30.0 Jan 16, 2026
@github-actions github-actions bot changed the title chore(deps): update Android SDK to v8.30.0 chore(deps): update Android SDK to v8.31.0 Jan 22, 2026
@github-actions github-actions bot force-pushed the deps/scripts/update-android.sh branch from 4565bcb to e4b3a81 Compare January 22, 2026 03:39
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.

1 participant