Skip to content

Conversation

@github-actions
Copy link
Contributor

Bumps scripts/update-android.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
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from a7d5e1b to dbdd2d7 Compare October 22, 2025 16:07
@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 363.00 ms 369.73 ms 6.73 ms
Size 7.15 MiB 8.46 MiB 1.30 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
000da7a+dirty 347.89 ms 381.98 ms 34.09 ms
20d5eaa+dirty 358.31 ms 442.37 ms 84.06 ms
90edad7+dirty 372.57 ms 398.83 ms 26.26 ms
46bd012+dirty 333.76 ms 359.24 ms 25.48 ms
a0b15d6+dirty 414.33 ms 448.85 ms 34.52 ms
955f2eb+dirty 388.13 ms 433.56 ms 45.44 ms
23080e5+dirty 347.29 ms 381.87 ms 34.58 ms
5c16cdc+dirty 375.45 ms 426.62 ms 51.17 ms
459a438+dirty 359.50 ms 390.53 ms 31.03 ms
c4e097a+dirty 382.43 ms 443.77 ms 61.34 ms

App size

Revision Plain With Sentry Diff
000da7a+dirty 7.15 MiB 8.41 MiB 1.26 MiB
20d5eaa+dirty 7.15 MiB 8.42 MiB 1.27 MiB
90edad7+dirty 7.15 MiB 8.43 MiB 1.28 MiB
46bd012+dirty 7.15 MiB 8.42 MiB 1.27 MiB
a0b15d6+dirty 7.15 MiB 8.42 MiB 1.27 MiB
955f2eb+dirty 7.15 MiB 8.42 MiB 1.27 MiB
23080e5+dirty 7.15 MiB 8.41 MiB 1.26 MiB
5c16cdc+dirty 7.15 MiB 8.41 MiB 1.26 MiB
459a438+dirty 7.15 MiB 8.42 MiB 1.27 MiB
c4e097a+dirty 7.15 MiB 8.41 MiB 1.26 MiB

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

Startup times

Revision Plain With Sentry Diff
fa62e21+dirty 366.25 ms 422.43 ms 56.18 ms
0886964+dirty 327.26 ms 380.80 ms 53.54 ms

App size

Revision Plain With Sentry Diff
fa62e21+dirty 7.15 MiB 8.41 MiB 1.26 MiB
0886964+dirty 7.15 MiB 8.45 MiB 1.29 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1232.59 ms 1228.77 ms -3.83 ms
Size 3.19 MiB 4.57 MiB 1.38 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a0b15d6+dirty 1213.79 ms 1210.45 ms -3.34 ms
59f3a84+dirty 1205.09 ms 1213.31 ms 8.23 ms
c7f264b+dirty 1229.78 ms 1225.84 ms -3.94 ms
534ba8c+dirty 1225.00 ms 1237.43 ms 12.43 ms
46da307+dirty 1213.45 ms 1207.96 ms -5.49 ms
276d348+dirty 1222.10 ms 1229.02 ms 6.92 ms
c9e95bd+dirty 1205.83 ms 1207.38 ms 1.55 ms
b3b5b0d+dirty 1235.16 ms 1238.61 ms 3.45 ms
1853710+dirty 1213.67 ms 1226.35 ms 12.67 ms
083f560+dirty 1215.27 ms 1231.96 ms 16.69 ms

App size

Revision Plain With Sentry Diff
a0b15d6+dirty 3.19 MiB 4.38 MiB 1.19 MiB
59f3a84+dirty 3.19 MiB 4.56 MiB 1.37 MiB
c7f264b+dirty 3.19 MiB 4.48 MiB 1.29 MiB
534ba8c+dirty 3.19 MiB 4.38 MiB 1.19 MiB
46da307+dirty 3.19 MiB 4.44 MiB 1.25 MiB
276d348+dirty 3.19 MiB 4.54 MiB 1.36 MiB
c9e95bd+dirty 3.19 MiB 4.44 MiB 1.25 MiB
b3b5b0d+dirty 3.19 MiB 4.48 MiB 1.29 MiB
1853710+dirty 3.19 MiB 4.48 MiB 1.29 MiB
083f560+dirty 3.19 MiB 4.56 MiB 1.38 MiB

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

Startup times

Revision Plain With Sentry Diff
0886964+dirty 1221.41 ms 1218.40 ms -3.01 ms
fa62e21+dirty 1220.90 ms 1216.46 ms -4.44 ms

App size

Revision Plain With Sentry Diff
0886964+dirty 3.19 MiB 4.48 MiB 1.29 MiB
fa62e21+dirty 3.19 MiB 4.48 MiB 1.29 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Oct 22, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1219.02 ms 1229.04 ms 10.02 ms
Size 2.63 MiB 4.00 MiB 1.37 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a0b15d6+dirty 1220.18 ms 1223.18 ms 3.00 ms
59f3a84+dirty 1232.56 ms 1238.12 ms 5.56 ms
c7f264b+dirty 1211.82 ms 1218.04 ms 6.22 ms
534ba8c+dirty 1230.22 ms 1231.18 ms 0.96 ms
46da307+dirty 1217.08 ms 1224.16 ms 7.08 ms
276d348+dirty 1224.22 ms 1227.38 ms 3.16 ms
c9e95bd+dirty 1240.19 ms 1246.33 ms 6.14 ms
b3b5b0d+dirty 1227.71 ms 1239.50 ms 11.79 ms
1853710+dirty 1224.35 ms 1230.18 ms 5.84 ms
083f560+dirty 1227.33 ms 1242.02 ms 14.69 ms

App size

Revision Plain With Sentry Diff
a0b15d6+dirty 2.63 MiB 3.81 MiB 1.18 MiB
59f3a84+dirty 2.63 MiB 3.99 MiB 1.36 MiB
c7f264b+dirty 2.63 MiB 3.91 MiB 1.28 MiB
534ba8c+dirty 2.63 MiB 3.81 MiB 1.18 MiB
46da307+dirty 2.63 MiB 3.87 MiB 1.24 MiB
276d348+dirty 2.63 MiB 3.98 MiB 1.34 MiB
c9e95bd+dirty 2.63 MiB 3.87 MiB 1.24 MiB
b3b5b0d+dirty 2.63 MiB 3.91 MiB 1.28 MiB
1853710+dirty 2.63 MiB 3.91 MiB 1.28 MiB
083f560+dirty 2.63 MiB 4.00 MiB 1.36 MiB

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

Startup times

Revision Plain With Sentry Diff
0886964+dirty 1231.23 ms 1235.18 ms 3.95 ms
fa62e21+dirty 1238.14 ms 1244.73 ms 6.59 ms

App size

Revision Plain With Sentry Diff
0886964+dirty 2.63 MiB 3.91 MiB 1.28 MiB
fa62e21+dirty 2.63 MiB 3.91 MiB 1.28 MiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-android.sh branch from dbdd2d7 to 223d802 Compare October 23, 2025 08:39
@github-actions
Copy link
Contributor Author

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 360.17 ms 366.32 ms 6.15 ms
Size 17.75 MiB 19.74 MiB 1.99 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
2b89ce9 413.69 ms 442.58 ms 28.89 ms
90edad7+dirty 423.57 ms 438.92 ms 15.35 ms
21c9e75 450.39 ms 452.92 ms 2.53 ms
c08359e 421.87 ms 445.37 ms 23.50 ms
46bd012 387.09 ms 404.47 ms 17.38 ms
955f2eb+dirty 422.74 ms 410.19 ms -12.55 ms
98f632c 424.25 ms 435.48 ms 11.23 ms
5c16cdc+dirty 423.48 ms 452.35 ms 28.88 ms
459a438+dirty 417.09 ms 406.52 ms -10.57 ms
20d5eaa 377.62 ms 406.50 ms 28.88 ms

App size

Revision Plain With Sentry Diff
2b89ce9 17.75 MiB 19.68 MiB 1.94 MiB
90edad7+dirty 17.75 MiB 19.70 MiB 1.95 MiB
21c9e75 17.75 MiB 20.15 MiB 2.41 MiB
c08359e 17.75 MiB 20.15 MiB 2.41 MiB
46bd012 17.75 MiB 20.15 MiB 2.41 MiB
955f2eb+dirty 17.75 MiB 19.70 MiB 1.95 MiB
98f632c 17.75 MiB 20.15 MiB 2.41 MiB
5c16cdc+dirty 17.75 MiB 19.68 MiB 1.94 MiB
459a438+dirty 17.75 MiB 19.70 MiB 1.95 MiB
20d5eaa 17.75 MiB 20.15 MiB 2.41 MiB

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

Startup times

Revision Plain With Sentry Diff
fa62e21 432.46 ms 457.29 ms 24.83 ms
0886964 420.28 ms 435.74 ms 15.46 ms

App size

Revision Plain With Sentry Diff
fa62e21 17.75 MiB 19.68 MiB 1.94 MiB
0886964 17.75 MiB 19.72 MiB 1.97 MiB

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Opened #5300 to check new experimental Canvas Capture Strategy

@antonis antonis merged commit f234eb4 into main Oct 23, 2025
73 checks passed
@antonis antonis deleted the deps/scripts/update-android.sh branch October 23, 2025 09:47
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