Skip to content

Conversation

@antonis
Copy link
Contributor

@antonis antonis commented Jul 31, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Changelog

Features

  • Add SentryUserFeedbackButton Composable (#4559)
    • Also added Sentry.showUserFeedbackDialog static method
  • Add deadlineTimeout option (#4555)
  • Add Ktor client integration (#4527)
    • To use the integration, add a dependency on io.sentry:sentry-ktor-client, then install the SentryKtorClientPlugin on your HttpClient,
      e.g.:
      val client =
        HttpClient(Java) {
          install(io.sentry.ktorClient.SentryKtorClientPlugin) {
            captureFailedRequests = true
            failedRequestTargets = listOf(".*")
            failedRequestStatusCodes = listOf(HttpStatusCodeRange(500, 599))
          }
        }

Fixes

  • Allow multiple UncaughtExceptionHandlerIntegrations to be active at the same time (#4462)
  • Prevent repeated scroll target determination during a single scroll gesture (#4557)
    • This should reduce the number of ANRs seen in SentryGestureListener
  • Do not use Sentry logging API in JUL if logs are disabled (#4574)
    • This was causing Sentry SDK to log warnings: "Sentry Log is disabled and this 'logger' call is a no-op."
  • Do not use Sentry logging API in Log4j2 if logs are disabled (#4573)
    • This was causing Sentry SDK to log warnings: "Sentry Log is disabled and this 'logger' call is a no-op."
  • SDKs send queue is no longer shutdown immediately on re-init (#4564)
    • This means we're no longer losing events that have been enqueued right before SDK re-init.
  • Reduce scope forking when using OpenTelemetry (#4565)
    • Sentry.withScope now has the correct current scope passed to the callback. Previously our OpenTelemetry integration forked scopes an additional.
    • Overall the SDK is now forking scopes a bit less often.

💡 Motivation and Context

https://github.com/getsentry/sentry-java/releases/tag/8.18.0

💚 How did you test it?

Manual, CI

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

@github-actions
Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 404.55 ms 418.71 ms 14.16 ms
Size 17.75 MiB 19.60 MiB 1.86 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
3c99746 399.51 ms 429.09 ms 29.58 ms
c26618b 435.76 ms 430.14 ms -5.62 ms
472960b 418.84 ms 405.38 ms -13.46 ms
10ec2e1 435.28 ms 431.58 ms -3.70 ms
7eff2d7 420.64 ms 401.86 ms -18.78 ms
0e27665 356.27 ms 367.74 ms 11.47 ms
fb47c4a 435.33 ms 434.94 ms -0.40 ms
f870f2d 444.67 ms 449.62 ms 4.95 ms
20d0171 366.62 ms 366.43 ms -0.19 ms

App size

Revision Plain With Sentry Diff
3c99746 17.75 MiB 19.58 MiB 1.83 MiB
c26618b 17.75 MiB 19.60 MiB 1.85 MiB
472960b 17.75 MiB 19.58 MiB 1.83 MiB
10ec2e1 17.75 MiB 19.60 MiB 1.85 MiB
7eff2d7 17.75 MiB 19.60 MiB 1.85 MiB
0e27665 17.75 MiB 19.60 MiB 1.85 MiB
fb47c4a 17.75 MiB 19.60 MiB 1.85 MiB
f870f2d 17.75 MiB 19.58 MiB 1.83 MiB
20d0171 17.75 MiB 19.60 MiB 1.85 MiB

@github-actions
Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1232.75 ms 1230.53 ms -2.22 ms
Size 2.63 MiB 3.82 MiB 1.19 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
fb47c4a+dirty 1231.00 ms 1231.33 ms 0.33 ms
10ec2e1+dirty 1228.02 ms 1237.54 ms 9.52 ms
f870f2d+dirty 1227.18 ms 1232.30 ms 5.12 ms
7eff2d7+dirty 1225.34 ms 1234.53 ms 9.19 ms
472960b+dirty 1213.96 ms 1222.58 ms 8.62 ms
3c99746+dirty 1215.12 ms 1222.31 ms 7.18 ms
0e27665+dirty 1213.52 ms 1237.61 ms 24.09 ms
c26618b+dirty 1230.06 ms 1233.30 ms 3.24 ms
20d0171+dirty 1214.96 ms 1215.20 ms 0.25 ms

App size

Revision Plain With Sentry Diff
fb47c4a+dirty 2.63 MiB 3.80 MiB 1.17 MiB
10ec2e1+dirty 2.63 MiB 3.82 MiB 1.19 MiB
f870f2d+dirty 2.63 MiB 3.79 MiB 1.15 MiB
7eff2d7+dirty 2.63 MiB 3.79 MiB 1.16 MiB
472960b+dirty 2.63 MiB 3.79 MiB 1.15 MiB
3c99746+dirty 2.63 MiB 3.78 MiB 1.15 MiB
0e27665+dirty 2.63 MiB 3.80 MiB 1.17 MiB
c26618b+dirty 2.63 MiB 3.82 MiB 1.19 MiB
20d0171+dirty 2.63 MiB 3.80 MiB 1.17 MiB

@github-actions
Copy link
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 391.28 ms 408.42 ms 17.14 ms
Size 7.15 MiB 8.36 MiB 1.20 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
fb47c4a+dirty 408.58 ms 407.17 ms -1.41 ms
472960b+dirty 394.39 ms 376.18 ms -18.20 ms
10ec2e1+dirty 373.87 ms 443.64 ms 69.78 ms
f870f2d+dirty 398.49 ms 434.24 ms 35.75 ms
0e27665+dirty 355.91 ms 422.52 ms 66.61 ms
20d0171+dirty 380.17 ms 422.57 ms 42.40 ms
3c99746+dirty 400.65 ms 399.59 ms -1.06 ms
7eff2d7+dirty 393.13 ms 426.77 ms 33.65 ms
c26618b+dirty 354.44 ms 414.73 ms 60.29 ms

App size

Revision Plain With Sentry Diff
fb47c4a+dirty 7.15 MiB 8.35 MiB 1.20 MiB
472960b+dirty 7.15 MiB 8.34 MiB 1.18 MiB
10ec2e1+dirty 7.15 MiB 8.35 MiB 1.20 MiB
f870f2d+dirty 7.15 MiB 8.34 MiB 1.18 MiB
0e27665+dirty 7.15 MiB 8.35 MiB 1.20 MiB
20d0171+dirty 7.15 MiB 8.35 MiB 1.20 MiB
3c99746+dirty 7.15 MiB 8.34 MiB 1.18 MiB
7eff2d7+dirty 7.15 MiB 8.35 MiB 1.20 MiB
c26618b+dirty 7.15 MiB 8.36 MiB 1.20 MiB

@github-actions
Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1215.22 ms 1232.88 ms 17.65 ms
Size 3.19 MiB 4.39 MiB 1.20 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
fb47c4a+dirty 1243.40 ms 1245.86 ms 2.46 ms
10ec2e1+dirty 1229.04 ms 1222.28 ms -6.76 ms
f870f2d+dirty 1230.08 ms 1238.88 ms 8.80 ms
7eff2d7+dirty 1224.84 ms 1227.94 ms 3.10 ms
472960b+dirty 1243.67 ms 1233.57 ms -10.11 ms
3c99746+dirty 1227.65 ms 1228.81 ms 1.16 ms
0e27665+dirty 1207.12 ms 1220.33 ms 13.20 ms
c26618b+dirty 1228.54 ms 1236.52 ms 7.98 ms
20d0171+dirty 1214.21 ms 1220.31 ms 6.10 ms

App size

Revision Plain With Sentry Diff
fb47c4a+dirty 3.19 MiB 4.37 MiB 1.18 MiB
10ec2e1+dirty 3.19 MiB 4.39 MiB 1.20 MiB
f870f2d+dirty 3.19 MiB 4.36 MiB 1.17 MiB
7eff2d7+dirty 3.19 MiB 4.36 MiB 1.17 MiB
472960b+dirty 3.19 MiB 4.36 MiB 1.17 MiB
3c99746+dirty 3.19 MiB 4.35 MiB 1.16 MiB
0e27665+dirty 3.19 MiB 4.37 MiB 1.18 MiB
c26618b+dirty 3.19 MiB 4.39 MiB 1.20 MiB
20d0171+dirty 3.19 MiB 4.37 MiB 1.18 MiB

@antonis antonis marked this pull request as ready for review July 31, 2025 12:47
@antonis antonis requested a review from lucas-zimerman as a code owner July 31, 2025 12:47
Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

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

LGTM!

@antonis antonis merged commit f43169e into v7 Jul 31, 2025
131 of 136 checks passed
@antonis antonis deleted the antonis/bump_to_android_sdk_8.18.0 branch July 31, 2025 13: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.

2 participants