Skip to content

chore(deps): update Android SDK to v8.57.0 - #6732

Merged
antonis merged 2 commits into
mainfrom
deps/scripts/update-android.sh
Sep 17, 2026
Merged

antonis merged 2 commits into
mainfrom
deps/scripts/update-android.sh

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Bumps scripts/update-android.sh from 8.56.0 to 8.57.0.

Auto-generated by a dependency updater.

Changelog

8.57.0

Behavioral Changes

  • Measure HTTP rate-limit backoff on a monotonic clock instead of the wall clock, so that a device time change no longer lifts or extends an active rate limit (#6030)

Features

  • Add Android SDK support for reporting MemoryLimiter app exits recovered from ApplicationExitInfo (#6111).
  • Sentry can now configure Log4j2 automatically for Spring Boot 4 when sentry-log4j2 is on the classpath and Log4j2 Core is the active logging backend (#5403)
    • Enable automatic appender registration with:
      sentry.logging.enabled=true
      Automatic registration is disabled by default for now and will be enabled by default in the next major release.
    • The appender is attached to the root logger by default. To attach it to specific loggers instead, configure one or more non-overlapping logger names:
      sentry.logging.loggers[0]=com.example
      sentry.logging.loggers[1]=org.example
    • Configure the minimum level for creating breadcrumbs. The default is INFO:
      sentry.logging.minimum-breadcrumb-level=INFO
    • Configure the minimum level for creating Sentry error events. The default is ERROR:
      sentry.logging.minimum-event-level=ERROR
    • Configure the minimum level for sending Sentry structured logs. The default is INFO:
      sentry.logging.minimum-level=INFO
      Structured logs must also be enabled:
      sentry.logs.enabled=true
  • Sentry can now configure Log4j2 automatically for Spring Boot 3 when sentry-log4j2 is on the classpath and Log4j2 Core is the active logging backend (#6072)
    • Disabled by default for now; enable it and configure levels the same way as described in the Spring Boot 4 entry above (sentry.logging.enabled=true)

Fixes

  • Keep resolving the server name after Sentry.close() or a re-init. Closing the SDK shut down the shared hostname cache for the life of the process, so server_name silently froze at the value it had last resolved (#6119)
  • Order breadcrumbs by the timestamp they carry rather than by when they were created in the current process, so breadcrumbs restored from disk or handed over by a hybrid SDK no longer sort as if they had just happened (#6097)

Internal

  • Deprecate RateLimiter(ICurrentDateProvider, SentryOptions) in favor of RateLimiter(SentryOptions), whose backoff is measured on a monotonic ticker (#6030)
  • Deprecate AndroidCurrentDateProvider.getInstance() in favor of MonotonicTicker, which counts time spent in deep sleep and cannot be confused with the epoch-based CurrentDateProvider (#6103)

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Sep 17, 2026
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Sep 17, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 3e85f57 to 2706c60 Compare September 17, 2026 03:07
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Android SDK to v8.57.0 by github-actions[bot] in #6732
  • chore(deps): update JavaScript SDK to v10.75.0 by github-actions in #6733
  • chore(deps): update CLI to v3.8.0 by github-actions in #6734
  • fix(android): Prevent fatal 'JavaCallback was already settled' crash from getNewScreenTimeToDisplay by antonis in #6722
  • feat(replay): Add per-class Session Replay masking by antonis in #6725
  • fix(replay): Mask React Native images on iOS New Architecture by antonis in #6726
  • test(e2e): Verify replay runtime controls drive native recording by antonis in #6704
  • feat(replay): Add Session Replay runtime controls by antonis in #6703
  • fix(android): honor host app's pinned ndkVersion by alwx in #6724
  • chore: Deduplicate yarn.lock by antonis in #6706
  • fix(tracing): background root spans overwrite native propagation context by alwx in #6720
  • ci(e2e): Fix broken idb-companion install on iOS e2e by antonis in #6719
  • chore(deps): Bump smol-toml to ^1.7.1 by antonis in #6713
  • chore(deps): Bump js-yaml to patched versions to resolve security alerts by antonis in #6710
  • chore(deps): Bump morgan to ^1.12.0 to resolve security alert by antonis in #6712
  • chore(deps): Bump joi to ^17.13.6 by antonis in #6714
  • chore(deps): Bump sharp to ^0.35.4 to resolve security alert by antonis in #6711
  • chore(deps): bump actions/setup-java from 6.0.0 to 6.0.1 by dependabot in #6716
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.30.1 to 2.31.0 by dependabot in #6718
  • chore(deps): bump getsentry/craft from 2.30.1 to 2.31.0 by dependabot in #6717
  • chore(deps): bump the codeql-action group with 3 updates by dependabot in #6715
  • fix(core): Fix process.exit typo in debugid script by friederbluemle in #6707
  • chore(ci): Only build production builds for visionOS and tvOS by antonis in #6700
  • chore(deps): update Sentry Android Gradle Plugin to v6.22.0 by github-actions in #6699

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author
Warnings
⚠️

🤖 Replay Stubs Check

No changes detected in replay-stubs.jar

All file contents are identical (verified by SHA-256 hash comparison).

⚠️

⚠️ Android SDK Version Mismatch

Component Version
sentry-android in build.gradle 8.57.0
sentry-android bundled by gradle plugin 6.22.0 8.56.0

If a user enables AGP autoInstallation (default: true), this mismatch causes:

IllegalStateException: Sentry SDK has detected a mix of versions

Our docs instruct React Native users to set autoInstallation.enabled = false, so users following the guide are unaffected. Consider either updating packages/core/android/build.gradle to 8.56.0 or waiting for a gradle plugin release that bundles 8.57.0.

Generated by 🚫 dangerJS against 93322b3

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-android.sh branch 2 times, most recently from d4bbf38 to 857d531 Compare September 17, 2026 06:47
@antonis antonis added the ready-to-merge Triggers the full CI test suite label Sep 17, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-android.sh branch from 857d531 to 1817abd Compare September 17, 2026 07:12
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 418.42 ms 442.60 ms 24.18 ms
Size 50.56 MiB 56.49 MiB 5.93 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
8929511+dirty 469.49 ms 502.65 ms 33.16 ms
1d3572b+dirty 444.48 ms 478.42 ms 33.94 ms
be120d6+dirty 514.67 ms 543.17 ms 28.49 ms
2d5d963+dirty 497.68 ms 534.02 ms 36.34 ms
bf168a4+dirty 430.60 ms 459.31 ms 28.71 ms
5c1e987+dirty 444.71 ms 475.13 ms 30.42 ms
100ce80+dirty 463.28 ms 532.10 ms 68.82 ms
88735e9+dirty 427.04 ms 487.37 ms 60.33 ms
b04af96+dirty 430.33 ms 485.98 ms 55.65 ms
f3997a1+dirty 470.84 ms 514.95 ms 44.12 ms

App size

Revision Plain With Sentry Diff
8929511+dirty 43.94 MiB 49.02 MiB 5.08 MiB
1d3572b+dirty 49.74 MiB 55.38 MiB 5.63 MiB
be120d6+dirty 49.74 MiB 55.36 MiB 5.62 MiB
2d5d963+dirty 50.56 MiB 56.46 MiB 5.90 MiB
bf168a4+dirty 49.74 MiB 55.09 MiB 5.35 MiB
5c1e987+dirty 43.94 MiB 48.94 MiB 5.00 MiB
100ce80+dirty 48.30 MiB 53.46 MiB 5.15 MiB
88735e9+dirty 49.74 MiB 54.82 MiB 5.07 MiB
b04af96+dirty 49.74 MiB 55.00 MiB 5.26 MiB
f3997a1+dirty 50.56 MiB 56.51 MiB 5.95 MiB

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

Startup times

Revision Plain With Sentry Diff
daa2302+dirty 395.90 ms 418.43 ms 22.53 ms
fa62e21+dirty 366.25 ms 422.43 ms 56.18 ms
b3d7080+dirty 363.00 ms 369.73 ms 6.73 ms
738a083+dirty 419.72 ms 436.96 ms 17.24 ms
f7252f6+dirty 369.56 ms 410.88 ms 41.32 ms
1cb888b+dirty 424.17 ms 447.60 ms 23.43 ms
d00a238+dirty 480.28 ms 525.02 ms 44.74 ms
c0842e7+dirty 427.88 ms 461.31 ms 33.43 ms
e0efebc+dirty 354.72 ms 393.98 ms 39.26 ms
eb51749+dirty 481.82 ms 506.51 ms 24.69 ms

App size

Revision Plain With Sentry Diff
daa2302+dirty 43.94 MiB 48.98 MiB 5.04 MiB
fa62e21+dirty 7.15 MiB 8.41 MiB 1.26 MiB
b3d7080+dirty 7.15 MiB 8.46 MiB 1.30 MiB
738a083+dirty 50.56 MiB 56.47 MiB 5.91 MiB
f7252f6+dirty 43.94 MiB 48.94 MiB 5.00 MiB
1cb888b+dirty 50.56 MiB 56.46 MiB 5.89 MiB
d00a238+dirty 49.74 MiB 55.26 MiB 5.52 MiB
c0842e7+dirty 43.94 MiB 49.27 MiB 5.33 MiB
e0efebc+dirty 7.15 MiB 8.46 MiB 1.31 MiB
eb51749+dirty 43.94 MiB 49.33 MiB 5.39 MiB

@sentry

sentry Bot commented Sep 17, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.26.0 (106) Release

⚙️ sentry-react-native Build Distribution Settings

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 428.59 ms 454.90 ms 26.30 ms
Size 50.56 MiB 56.49 MiB 5.93 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
a2585ce+dirty 426.36 ms 483.26 ms 56.90 ms
882f8ae+dirty 399.98 ms 427.06 ms 27.08 ms
af33f3b+dirty 434.90 ms 506.14 ms 71.24 ms
ecf47a2+dirty 420.40 ms 458.02 ms 37.62 ms
acd838e+dirty 422.63 ms 462.39 ms 39.76 ms
7fd0012+dirty 444.73 ms 470.08 ms 25.35 ms
580fb5c+dirty 436.34 ms 471.63 ms 35.28 ms
5ca03f9+dirty 423.30 ms 467.00 ms 43.70 ms
5c1e987+dirty 423.52 ms 471.64 ms 48.12 ms
822d35b+dirty 429.31 ms 498.04 ms 68.73 ms

App size

Revision Plain With Sentry Diff
a2585ce+dirty 49.74 MiB 55.36 MiB 5.61 MiB
882f8ae+dirty 48.30 MiB 53.60 MiB 5.29 MiB
af33f3b+dirty 49.74 MiB 55.09 MiB 5.35 MiB
ecf47a2+dirty 49.74 MiB 54.82 MiB 5.07 MiB
acd838e+dirty 48.30 MiB 53.60 MiB 5.30 MiB
7fd0012+dirty 50.56 MiB 56.46 MiB 5.90 MiB
580fb5c+dirty 49.74 MiB 54.79 MiB 5.05 MiB
5ca03f9+dirty 49.74 MiB 55.26 MiB 5.52 MiB
5c1e987+dirty 43.75 MiB 48.08 MiB 4.33 MiB
822d35b+dirty 49.74 MiB 54.84 MiB 5.10 MiB

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

Startup times

Revision Plain With Sentry Diff
daa2302+dirty 491.80 ms 520.02 ms 28.22 ms
b3d7080+dirty 360.17 ms 366.32 ms 6.15 ms
738a083+dirty 429.82 ms 449.37 ms 19.55 ms
f7252f6+dirty 532.18 ms 571.96 ms 39.78 ms
1cb888b+dirty 425.51 ms 441.98 ms 16.47 ms
d00a238+dirty 507.47 ms 551.00 ms 43.53 ms
c0842e7+dirty 425.83 ms 476.18 ms 50.35 ms
0886964 420.28 ms 435.74 ms 15.46 ms
e0efebc+dirty 334.33 ms 337.59 ms 3.27 ms
eb51749+dirty 407.24 ms 440.27 ms 33.02 ms

App size

Revision Plain With Sentry Diff
daa2302+dirty 43.75 MiB 48.12 MiB 4.37 MiB
b3d7080+dirty 17.75 MiB 19.74 MiB 1.99 MiB
738a083+dirty 50.56 MiB 56.47 MiB 5.91 MiB
f7252f6+dirty 43.75 MiB 48.08 MiB 4.33 MiB
1cb888b+dirty 50.56 MiB 56.46 MiB 5.89 MiB
d00a238+dirty 49.74 MiB 55.26 MiB 5.52 MiB
c0842e7+dirty 43.75 MiB 48.41 MiB 4.66 MiB
0886964 17.75 MiB 19.72 MiB 1.97 MiB
e0efebc+dirty 17.75 MiB 19.75 MiB 2.00 MiB
eb51749+dirty 43.75 MiB 48.46 MiB 4.71 MiB

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Marking as blocked to resolve the failed unit tests.

Replacing

metrics.appStartTimeSpan.start()

with

metrics.appStartTimeSpan.setStartedAt(SystemClock.uptimeMillis())

in my tests seems to work.

This is due to the method removal in getsentry/sentry-java#6089

@antonis antonis removed the Blocked label Sep 17, 2026
@antonis
antonis merged commit 8814dc8 into main Sep 17, 2026
87 checks passed
@antonis
antonis deleted the deps/scripts/update-android.sh branch September 17, 2026 08:23
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 ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants