Skip to content

Conversation

@github-actions
Copy link
Contributor

Bumps scripts/update-android-stubs.sh from 8.23.0 to 8.24.0.

Auto-generated by a dependency updater.

Changelog

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

8.23.0

Features

Full CHANGELOG.md diff
 -1,18 +1,61 
 # Changelog
 
-## 8.23.0
+## 8.24.0
+
+### Features
+
+- Attach MDC properties to logs as attributes ([#4786](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/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](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4804))
+- Allow passing a different `Handler` to `SystemEventsBreadcrumbsIntegration` and `AndroidConnectionStatusProvider` so their callbacks are deliver to that handler ([#4808](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4808))
+- Session Replay: Add new _experimental_ Canvas Capture Strategy ([#4777](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/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:
+    ```kotlin
+    SentryAndroid.init(context) { options ->
+      options.sessionReplay.screenshotStrategy = ScreenshotStrategyType.CANVAS
+    }
+    ```
+    or AndroidManifest.xml:
+    ```xml
+    <application>
+      <meta-data android:name="io.sentry.session-replay.screenshot-strategy" android:value="canvas" />
+    </application>
+    ```
+
+### Fixes
 
-### Various fixes & improvements
+- Avoid StrictMode warnings ([#4724](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4724))
+- Use logger from options for JVM profiler ([#4771](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4771))
+- Session Replay: Avoid deadlock when pausing replay if no connection ([#4788](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4788))
+- Session Replay: Fix capturing roots with no windows ([#4805](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4805))
+- Session Replay: Fix `java.lang.IllegalArgumentException: width and height must be > 0` ([#4805](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4805))
+- Handle `NoOpScopes` in `Context` when starting a span through OpenTelemetry ([#4823](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/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](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4790))
+  - This fixes native crashes seen in `Canvas.<init>`/`ScreenshotRecorder.capture`
+- Session Replay: Ensure bitmaps are recycled properly ([#4820](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4820))
 
-- Add session replay id to Sentry Logs ([#4740](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4740)) by stefanosiano
-- Feat/poc continuous profiling ([#4556](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4556)) by lbloder
-- Start performance collection on AppStart continuous profiling ([#4752](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4752)) by stefanosiano
-- Fix(compose): Preserve modifiers in SentryNavigable ([#4757](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4757)) by VleemingM
-- build(deps): bump github/codeql-action from 3.30.3 to 3.30.5 ([#4761](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4761)) by dependabot
-- Handle `RejectedExecutionException` everywhere ([#4747](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4747)) by lcian
-- Mark `SentryEnvelope` as not internal ([#4748](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/4748)) by lcian
+### Miscellaneous
 
-## Features
+- Mark SentryClient(SentryOptions) constructor as not internal ([#4787](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4787))
+
+### Dependencies
+
+- Bump Native SDK from v0.10.1 to v0.11.2 ([#4775](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4775))
+  - [changelog](https://github-redirect.dependabot.com/getsentry/sentry-native/blob/master/CHANGELOG.md[#0112](https://github-redirect.dependabot.com/getsentry/sentry-java/issues/0112))
+  - [diff](https://github-redirect.dependabot.com/getsentry/sentry-native/compare/0.10.1...0.11.2)
+
+## 8.23.0
+
+### Features
 
 - Add session replay id to Sentry Logs ([#4740](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4740))
 - Add support for continuous profiling of JVM applications on macOS and Linux ([#4556](https://github-redirect.dependabot.com/getsentry/sentry-java/pull/4556))

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Oct 22, 2025
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Oct 22, 2025
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android-stubs.sh branch from e7e8578 to ad36559 Compare October 22, 2025 16:07
@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 328.59 ms 338.54 ms 9.95 ms
Size 17.75 MiB 19.74 MiB 1.99 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
083f560+dirty 358.21 ms 382.00 ms 23.79 ms
170d5ea+dirty 407.92 ms 422.49 ms 14.57 ms
8db9631+dirty 442.78 ms 461.96 ms 19.18 ms
e76d0d3+dirty 404.18 ms 411.53 ms 7.35 ms
459a438+dirty 417.09 ms 406.52 ms -10.57 ms
49ef936+dirty 405.96 ms 417.22 ms 11.26 ms
5ee3314+dirty 415.80 ms 426.14 ms 10.34 ms
6479fd5+dirty 412.95 ms 434.02 ms 21.07 ms
59f3a84+dirty 382.16 ms 376.45 ms -5.71 ms
21c9e75 450.39 ms 452.92 ms 2.53 ms

App size

Revision Plain With Sentry Diff
083f560+dirty 17.75 MiB 19.70 MiB 1.96 MiB
170d5ea+dirty 17.75 MiB 19.70 MiB 1.95 MiB
8db9631+dirty 17.75 MiB 19.70 MiB 1.96 MiB
e76d0d3+dirty 17.75 MiB 19.71 MiB 1.96 MiB
459a438+dirty 17.75 MiB 19.70 MiB 1.95 MiB
49ef936+dirty 17.75 MiB 19.69 MiB 1.94 MiB
5ee3314+dirty 17.75 MiB 19.70 MiB 1.95 MiB
6479fd5+dirty 17.75 MiB 19.68 MiB 1.94 MiB
59f3a84+dirty 17.75 MiB 19.70 MiB 1.95 MiB
21c9e75 17.75 MiB 20.15 MiB 2.41 MiB

Previous results on branch: deps/scripts/update-android-stubs.sh

Startup times

Revision Plain With Sentry Diff
27f76c3+dirty 457.81 ms 472.96 ms 15.15 ms
f019d79+dirty 420.88 ms 417.82 ms -3.06 ms
eb48e4e+dirty 354.60 ms 378.00 ms 23.40 ms

App size

Revision Plain With Sentry Diff
27f76c3+dirty 17.75 MiB 19.69 MiB 1.94 MiB
f019d79+dirty 17.75 MiB 19.68 MiB 1.94 MiB
eb48e4e+dirty 17.75 MiB 19.71 MiB 1.96 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1218.98 ms 1241.92 ms 22.94 ms
Size 2.63 MiB 4.00 MiB 1.37 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
1bea095+dirty 1234.14 ms 1233.96 ms -0.18 ms
98f632c+dirty 1236.40 ms 1241.62 ms 5.22 ms
e2fa43d+dirty 1216.04 ms 1232.65 ms 16.61 ms
8d89cc9+dirty 1222.92 ms 1239.43 ms 16.51 ms
9f211e3+dirty 1218.80 ms 1233.88 ms 15.08 ms
d861c16+dirty 1231.94 ms 1242.32 ms 10.38 ms
a2bb688+dirty 1223.53 ms 1232.90 ms 9.37 ms
3e0a5f9+dirty 1226.94 ms 1230.02 ms 3.08 ms
c4e097a+dirty 1229.09 ms 1242.61 ms 13.53 ms
000da7a+dirty 1214.31 ms 1221.91 ms 7.61 ms

App size

Revision Plain With Sentry Diff
1bea095+dirty 2.63 MiB 3.99 MiB 1.35 MiB
98f632c+dirty 2.63 MiB 3.81 MiB 1.18 MiB
e2fa43d+dirty 2.63 MiB 3.81 MiB 1.18 MiB
8d89cc9+dirty 2.63 MiB 3.96 MiB 1.33 MiB
9f211e3+dirty 2.63 MiB 3.91 MiB 1.28 MiB
d861c16+dirty 2.63 MiB 4.00 MiB 1.36 MiB
a2bb688+dirty 2.63 MiB 3.99 MiB 1.36 MiB
3e0a5f9+dirty 2.63 MiB 3.81 MiB 1.18 MiB
c4e097a+dirty 2.63 MiB 3.87 MiB 1.24 MiB
000da7a+dirty 2.63 MiB 3.91 MiB 1.28 MiB

Previous results on branch: deps/scripts/update-android-stubs.sh

Startup times

Revision Plain With Sentry Diff
eb48e4e+dirty 1203.23 ms 1209.57 ms 6.34 ms
27f76c3+dirty 1213.49 ms 1220.78 ms 7.29 ms
f019d79+dirty 1215.96 ms 1223.40 ms 7.44 ms

App size

Revision Plain With Sentry Diff
eb48e4e+dirty 2.63 MiB 4.00 MiB 1.37 MiB
27f76c3+dirty 2.63 MiB 3.98 MiB 1.34 MiB
f019d79+dirty 2.63 MiB 3.98 MiB 1.34 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 308.06 ms 348.22 ms 40.16 ms
Size 7.15 MiB 8.46 MiB 1.30 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
083f560+dirty 383.96 ms 417.76 ms 33.80 ms
170d5ea+dirty 348.79 ms 406.94 ms 58.15 ms
8db9631+dirty 351.44 ms 396.28 ms 44.84 ms
9f211e3+dirty 371.00 ms 432.51 ms 61.51 ms
e76d0d3+dirty 358.22 ms 378.65 ms 20.43 ms
459a438+dirty 359.50 ms 390.53 ms 31.03 ms
46da307+dirty 356.62 ms 415.02 ms 58.40 ms
b3b5b0d+dirty 361.42 ms 403.90 ms 42.48 ms
49ef936+dirty 333.72 ms 387.51 ms 53.79 ms
c1573b3+dirty 355.65 ms 448.82 ms 93.17 ms

App size

Revision Plain With Sentry Diff
083f560+dirty 7.15 MiB 8.43 MiB 1.28 MiB
170d5ea+dirty 7.15 MiB 8.42 MiB 1.27 MiB
8db9631+dirty 7.15 MiB 8.43 MiB 1.28 MiB
9f211e3+dirty 7.15 MiB 8.41 MiB 1.26 MiB
e76d0d3+dirty 7.15 MiB 8.44 MiB 1.28 MiB
459a438+dirty 7.15 MiB 8.42 MiB 1.27 MiB
46da307+dirty 7.15 MiB 8.41 MiB 1.26 MiB
b3b5b0d+dirty 7.15 MiB 8.41 MiB 1.26 MiB
49ef936+dirty 7.15 MiB 8.42 MiB 1.26 MiB
c1573b3+dirty 7.15 MiB 8.42 MiB 1.27 MiB

Previous results on branch: deps/scripts/update-android-stubs.sh

Startup times

Revision Plain With Sentry Diff
27f76c3+dirty 337.86 ms 372.65 ms 34.78 ms
f019d79+dirty 338.92 ms 368.04 ms 29.12 ms
eb48e4e+dirty 300.91 ms 327.55 ms 26.64 ms

App size

Revision Plain With Sentry Diff
27f76c3+dirty 7.15 MiB 8.42 MiB 1.26 MiB
f019d79+dirty 7.15 MiB 8.41 MiB 1.26 MiB
eb48e4e+dirty 7.15 MiB 8.44 MiB 1.28 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1226.25 ms 1254.86 ms 28.61 ms
Size 3.19 MiB 4.57 MiB 1.38 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
1bea095+dirty 1218.93 ms 1212.37 ms -6.57 ms
98f632c+dirty 1221.38 ms 1229.26 ms 7.88 ms
e2fa43d+dirty 1224.43 ms 1235.40 ms 10.98 ms
8d89cc9+dirty 1232.35 ms 1228.53 ms -3.82 ms
9f211e3+dirty 1215.38 ms 1218.15 ms 2.77 ms
d861c16+dirty 1226.00 ms 1223.35 ms -2.65 ms
a2bb688+dirty 1244.82 ms 1238.60 ms -6.22 ms
3e0a5f9+dirty 1233.65 ms 1239.10 ms 5.45 ms
c4e097a+dirty 1231.35 ms 1246.91 ms 15.56 ms
000da7a+dirty 1204.50 ms 1218.94 ms 14.44 ms

App size

Revision Plain With Sentry Diff
1bea095+dirty 3.19 MiB 4.55 MiB 1.37 MiB
98f632c+dirty 3.19 MiB 4.38 MiB 1.19 MiB
e2fa43d+dirty 3.19 MiB 4.38 MiB 1.19 MiB
8d89cc9+dirty 3.19 MiB 4.53 MiB 1.35 MiB
9f211e3+dirty 3.19 MiB 4.48 MiB 1.29 MiB
d861c16+dirty 3.19 MiB 4.56 MiB 1.38 MiB
a2bb688+dirty 3.19 MiB 4.56 MiB 1.37 MiB
3e0a5f9+dirty 3.19 MiB 4.38 MiB 1.19 MiB
c4e097a+dirty 3.19 MiB 4.44 MiB 1.25 MiB
000da7a+dirty 3.19 MiB 4.48 MiB 1.29 MiB

Previous results on branch: deps/scripts/update-android-stubs.sh

Startup times

Revision Plain With Sentry Diff
eb48e4e+dirty 1215.33 ms 1223.10 ms 7.77 ms
27f76c3+dirty 1229.00 ms 1210.17 ms -18.83 ms
f019d79+dirty 1223.78 ms 1233.57 ms 9.79 ms

App size

Revision Plain With Sentry Diff
eb48e4e+dirty 3.19 MiB 4.57 MiB 1.38 MiB
27f76c3+dirty 3.19 MiB 4.54 MiB 1.36 MiB
f019d79+dirty 3.19 MiB 4.54 MiB 1.36 MiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android-stubs.sh branch from ad36559 to bdadf9f Compare October 23, 2025 08:40
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android-stubs.sh branch from bdadf9f to dfdaf88 Compare October 23, 2025 09:48
@antonis antonis enabled auto-merge (squash) October 23, 2025 09:52
@antonis antonis merged commit 28188f3 into main Oct 23, 2025
65 checks passed
@antonis antonis deleted the deps/scripts/update-android-stubs.sh branch October 23, 2025 09:55
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants