Skip to content
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

chore(deps): update Android SDK to v7.15.0 #4161

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Bumps scripts/update-android.sh from 7.14.0 to 7.15.0.

Auto-generated by a dependency updater.

Changelog

7.15.0

Features

  • Add support for feedback envelope header item type (#3687)
  • Add breadcrumb.origin field (#3727)
  • Session Replay: Add options to selectively mask/unmask views captured in replay. The following options are available: (#3689)
    • android:tag="sentry-mask|sentry-unmask" in XML or view.setTag("sentry-mask|sentry-unmask") in code tags
      • if you already have a tag set for a view, you can set a tag by id: <tag android:id="id/sentry_privacy" android:value="mask|unmask"/> in XML or view.setTag(io.sentry.android.replay.R.id.sentry_privacy, "mask|unmask") in code
    • view.sentryReplayMask() or view.sentryReplayUnmask() extension functions
    • mask/unmask Views of a certain type by adding fully-qualified classname to one of the lists options.experimental.sessionReplay.addMaskViewClass() or options.experimental.sessionReplay.addUnmaskViewClass(). Note, that all of the view subclasses/subtypes will be masked/unmasked as well
      • For example, (this is already a default behavior) to mask all TextViews and their subclasses (RadioButton, EditText, etc.): options.experimental.sessionReplay.addMaskViewClass("android.widget.TextView")
      • If you're using code obfuscation, adjust your proguard-rules accordingly, so your custom view class name is not minified
  • Session Replay: Support Jetpack Compose masking (#3739)
    • To selectively mask/unmask Composables, use Modifier.sentryReplayMask() and Modifier.sentryReplayUnmask() modifiers
  • Session Replay: Mask WebView, VideoView and androidx.media3.ui.PlayerView by default (#3775)

Fixes

  • Avoid stopping appStartProfiler after application creation (#3630)
  • Session Replay: Correctly detect dominant color for TextViews with Spans (#3682)
  • Fix ensure Application Context is used even when SDK is initialized via Activity Context (#3669)
  • Fix potential ANRs due to Calendar.getInstance usage in Breadcrumbs constructor (#3736)
  • Fix potential ANRs due to default integrations (#3778)
  • Lazily initialize heavy SentryOptions members to avoid ANRs on app start (#3749)

Breaking changes:

  • options.experimental.sessionReplay.errorSampleRate was renamed to options.experimental.sessionReplay.onErrorSampleRate (#3637)
  • Manifest option io.sentry.session-replay.error-sample-rate was renamed to io.sentry.session-replay.on-error-sample-rate (#3637)
  • Change redactAllText and redactAllImages to maskAllText and maskAllImages (#3741)

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Oct 10, 2024
Copy link
Contributor Author

github-actions bot commented Oct 10, 2024

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1234.31 ms 1237.86 ms 3.54 ms
Size 2.92 MiB 3.69 MiB 794.20 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
575f9da+dirty 1272.00 ms 1284.38 ms 12.38 ms
1c65324+dirty 1239.71 ms 1239.86 ms 0.15 ms
baa882f+dirty 1235.48 ms 1229.02 ms -6.46 ms
457e29f+dirty 1256.71 ms 1258.50 ms 1.79 ms
148f924+dirty 1220.72 ms 1221.30 ms 0.58 ms
abb7058+dirty 1260.28 ms 1266.56 ms 6.28 ms
728164b+dirty 1280.06 ms 1285.26 ms 5.20 ms
27ef4ee+dirty 1236.41 ms 1244.90 ms 8.49 ms
700cbf4+dirty 1233.96 ms 1228.27 ms -5.69 ms
3ffcddd+dirty 1272.22 ms 1273.98 ms 1.76 ms

App size

Revision Plain With Sentry Diff
575f9da+dirty 2.92 MiB 3.43 MiB 524.26 KiB
1c65324+dirty 2.92 MiB 3.61 MiB 705.56 KiB
baa882f+dirty 2.92 MiB 3.64 MiB 738.56 KiB
457e29f+dirty 2.92 MiB 3.43 MiB 524.75 KiB
148f924+dirty 2.92 MiB 3.60 MiB 701.88 KiB
abb7058+dirty 2.92 MiB 3.43 MiB 524.53 KiB
728164b+dirty 2.92 MiB 3.44 MiB 533.26 KiB
27ef4ee+dirty 2.92 MiB 3.41 MiB 503.72 KiB
700cbf4+dirty 2.92 MiB 3.64 MiB 740.57 KiB
3ffcddd+dirty 2.92 MiB 3.40 MiB 494.39 KiB

Copy link
Contributor Author

github-actions bot commented Oct 10, 2024

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1236.40 ms 1245.30 ms 8.90 ms
Size 2.36 MiB 3.14 MiB 793.32 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
575f9da+dirty 1266.22 ms 1274.84 ms 8.62 ms
1c65324+dirty 1235.17 ms 1235.08 ms -0.09 ms
baa882f+dirty 1218.00 ms 1227.04 ms 9.04 ms
457e29f+dirty 1253.94 ms 1269.18 ms 15.24 ms
148f924+dirty 1214.76 ms 1215.73 ms 0.97 ms
abb7058+dirty 1255.42 ms 1268.86 ms 13.44 ms
728164b+dirty 1256.10 ms 1259.08 ms 2.98 ms
27ef4ee+dirty 1293.52 ms 1296.08 ms 2.56 ms
700cbf4+dirty 1234.59 ms 1227.71 ms -6.88 ms
3ffcddd+dirty 1244.47 ms 1264.14 ms 19.67 ms

App size

Revision Plain With Sentry Diff
575f9da+dirty 2.36 MiB 2.87 MiB 520.20 KiB
1c65324+dirty 2.36 MiB 3.04 MiB 698.64 KiB
baa882f+dirty 2.36 MiB 3.08 MiB 731.91 KiB
457e29f+dirty 2.36 MiB 2.87 MiB 520.67 KiB
148f924+dirty 2.36 MiB 3.04 MiB 696.25 KiB
abb7058+dirty 2.36 MiB 2.87 MiB 520.42 KiB
728164b+dirty 2.36 MiB 2.88 MiB 530.38 KiB
27ef4ee+dirty 2.36 MiB 2.85 MiB 500.03 KiB
700cbf4+dirty 2.36 MiB 3.08 MiB 734.22 KiB
3ffcddd+dirty 2.36 MiB 2.84 MiB 489.60 KiB

@antonis
Copy link
Collaborator

antonis commented Oct 10, 2024

Hey @romtsn 👋
Considering the changes introduced in getsentry/sentry-java#3749, I've set the SentryReplayOptions constructor parameter to false with 5dd7789 to keep the existing behaviour on the sentry-react-native side.
Let me know if that makes sense 🙇

Copy link
Contributor Author

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 485.92 ms 502.18 ms 16.27 ms
Size 17.73 MiB 20.11 MiB 2.38 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
27ef4ee 317.40 ms 321.70 ms 4.30 ms
22e31b6 396.48 ms 419.64 ms 23.16 ms
728164b 414.34 ms 449.22 ms 34.88 ms
d361d38 354.10 ms 381.69 ms 27.59 ms
e2b64fe 316.88 ms 330.23 ms 13.35 ms
2ec71da 438.14 ms 460.46 ms 22.32 ms
3853f43 329.68 ms 346.32 ms 16.64 ms
e5c9b8b 409.02 ms 426.66 ms 17.64 ms
34aba08 328.10 ms 342.84 ms 14.74 ms
1d86dd6 405.14 ms 411.06 ms 5.92 ms

App size

Revision Plain With Sentry Diff
27ef4ee 17.73 MiB 19.82 MiB 2.08 MiB
22e31b6 17.73 MiB 19.84 MiB 2.10 MiB
728164b 17.73 MiB 19.85 MiB 2.12 MiB
d361d38 17.73 MiB 19.81 MiB 2.08 MiB
e2b64fe 17.73 MiB 19.80 MiB 2.07 MiB
2ec71da 17.73 MiB 20.10 MiB 2.37 MiB
3853f43 17.73 MiB 19.81 MiB 2.08 MiB
e5c9b8b 17.73 MiB 19.83 MiB 2.10 MiB
34aba08 17.73 MiB 19.80 MiB 2.07 MiB
1d86dd6 17.73 MiB 19.86 MiB 2.12 MiB

Copy link
Contributor Author

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 378.54 ms 414.26 ms 35.72 ms
Size 7.15 MiB 8.39 MiB 1.24 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
575f9da+dirty 337.15 ms 370.47 ms 33.32 ms
70e6261+dirty 395.08 ms 408.12 ms 13.04 ms
c398f67+dirty 315.08 ms 345.60 ms 30.52 ms
d0bf494+dirty 253.73 ms 308.23 ms 54.49 ms
70caa60+dirty 308.83 ms 393.06 ms 84.23 ms
d43a46b+dirty 417.65 ms 472.98 ms 55.33 ms
c2a4e9b+dirty 392.94 ms 474.55 ms 81.61 ms
dadc233+dirty 363.19 ms 370.37 ms 7.18 ms
5bb8d5f+dirty 356.71 ms 389.65 ms 32.94 ms
5571a20+dirty 359.52 ms 389.80 ms 30.28 ms

App size

Revision Plain With Sentry Diff
575f9da+dirty 7.15 MiB 8.10 MiB 979.68 KiB
70e6261+dirty 7.15 MiB 8.21 MiB 1.07 MiB
c398f67+dirty 7.15 MiB 8.21 MiB 1.07 MiB
d0bf494+dirty 7.15 MiB 8.04 MiB 910.85 KiB
70caa60+dirty 7.15 MiB 8.03 MiB 901.79 KiB
d43a46b+dirty 7.15 MiB 8.34 MiB 1.19 MiB
c2a4e9b+dirty 7.15 MiB 8.34 MiB 1.19 MiB
dadc233+dirty 7.15 MiB 8.04 MiB 910.84 KiB
5bb8d5f+dirty 7.15 MiB 8.21 MiB 1.06 MiB
5571a20+dirty 7.15 MiB 8.20 MiB 1.05 MiB

Copy link
Collaborator

@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!
I'll expect a confirmation before merging.

Copy link
Member

@romtsn romtsn 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 antonis merged commit c773341 into main Oct 10, 2024
64 checks passed
@antonis antonis deleted the deps/scripts/update-android.sh branch October 10, 2024 13:28
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