Skip to content

chore(deps): v7: update Android SDK to v8.16.0 #4955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2025
Merged

Conversation

antonis
Copy link
Collaborator

@antonis antonis commented Jun 30, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Changelog

8.16.0

Features

  • Send JUL logs to Sentry as logs (#4518)
    • You need to enable the logs feature, either in sentry.properties:
      logs.enabled=true
    • Or, if you manually initialize Sentry, you may also enable logs on Sentry.init:
      Sentry.init(options -> {
        ...
        options.getLogs().setEnabled(true);
      });
    • It is also possible to set the minimumLevel in logging.properties, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:
      io.sentry.jul.SentryHandler.minimumLevel=CONFIG
  • Send Log4j2 logs to Sentry as logs (#4517)
    • You need to enable the logs feature either in sentry.properties:
      logs.enabled=true
    • If you manually initialize Sentry, you may also enable logs on Sentry.init:
      Sentry.init(options -> {
        ...
        options.getLogs().setEnabled(true);
      });
    • It is also possible to set the minimumLevel in log4j2.xml, meaning any log message >= the configured level will be sent to Sentry and show up under Logs:
      <Sentry name="Sentry"
          dsn="your DSN"
          minimumBreadcrumbLevel="DEBUG"
          minimumEventLevel="WARN"
          minimumLevel="DEBUG"
      />

💡 Motivation and Context

💚 How did you test it?

📝 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

Copy link
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 393.29 ms 381.73 ms -11.55 ms
Size 7.15 MiB 8.35 MiB 1.20 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
3c99746+dirty 400.65 ms 399.59 ms -1.06 ms
7eff2d7+dirty 393.13 ms 426.77 ms 33.65 ms
472960b+dirty 394.39 ms 376.18 ms -18.20 ms
f870f2d+dirty 398.49 ms 434.24 ms 35.75 ms

App size

Revision Plain With Sentry Diff
3c99746+dirty 7.15 MiB 8.34 MiB 1.18 MiB
7eff2d7+dirty 7.15 MiB 8.35 MiB 1.20 MiB
472960b+dirty 7.15 MiB 8.34 MiB 1.18 MiB
f870f2d+dirty 7.15 MiB 8.34 MiB 1.18 MiB

Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1219.43 ms 1228.90 ms 9.47 ms
Size 2.63 MiB 3.79 MiB 1.16 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
7eff2d7+dirty 1225.34 ms 1234.53 ms 9.19 ms
3c99746+dirty 1215.12 ms 1222.31 ms 7.18 ms
472960b+dirty 1213.96 ms 1222.58 ms 8.62 ms
f870f2d+dirty 1227.18 ms 1232.30 ms 5.12 ms

App size

Revision Plain With Sentry Diff
7eff2d7+dirty 2.63 MiB 3.79 MiB 1.16 MiB
3c99746+dirty 2.63 MiB 3.78 MiB 1.15 MiB
472960b+dirty 2.63 MiB 3.79 MiB 1.15 MiB
f870f2d+dirty 2.63 MiB 3.79 MiB 1.15 MiB

Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1223.19 ms 1239.41 ms 16.22 ms
Size 3.19 MiB 4.36 MiB 1.17 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
7eff2d7+dirty 1224.84 ms 1227.94 ms 3.10 ms
3c99746+dirty 1227.65 ms 1228.81 ms 1.16 ms
472960b+dirty 1243.67 ms 1233.57 ms -10.11 ms
f870f2d+dirty 1230.08 ms 1238.88 ms 8.80 ms

App size

Revision Plain With Sentry Diff
7eff2d7+dirty 3.19 MiB 4.36 MiB 1.17 MiB
3c99746+dirty 3.19 MiB 4.35 MiB 1.16 MiB
472960b+dirty 3.19 MiB 4.36 MiB 1.17 MiB
f870f2d+dirty 3.19 MiB 4.36 MiB 1.17 MiB

Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 438.20 ms 443.90 ms 5.70 ms
Size 17.75 MiB 19.60 MiB 1.85 MiB

Baseline results on branch: v7

Startup times

Revision Plain With Sentry Diff
472960b 418.84 ms 405.38 ms -13.46 ms
3c99746 399.51 ms 429.09 ms 29.58 ms
f870f2d 444.67 ms 449.62 ms 4.95 ms
7eff2d7 420.64 ms 401.86 ms -18.78 ms

App size

Revision Plain With Sentry Diff
472960b 17.75 MiB 19.58 MiB 1.83 MiB
3c99746 17.75 MiB 19.58 MiB 1.83 MiB
f870f2d 17.75 MiB 19.58 MiB 1.83 MiB
7eff2d7 17.75 MiB 19.60 MiB 1.85 MiB

@antonis antonis marked this pull request as ready for review June 30, 2025 09:17
@antonis antonis requested a review from lucas-zimerman as a code owner June 30, 2025 09:17
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 901d64f into v7 Jun 30, 2025
140 of 144 checks passed
@antonis antonis deleted the antonis/v7-android-8.16.0 branch June 30, 2025 13:24
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