Bump Sentry Gradle plugin 6.19.0, SDK 8.53.0, native-ndk 0.16.3 - #258
Open
romtsn wants to merge 1 commit into
Open
Bump Sentry Gradle plugin 6.19.0, SDK 8.53.0, native-ndk 0.16.3#258romtsn wants to merge 1 commit into
romtsn wants to merge 1 commit into
Conversation
- Gradle plugin: 6.17.0 → 6.19.0 - SDK (auto-installed): 8.51.0 → 8.53.0 - sentry-native-ndk: 0.16.0 → 0.16.3 New SDK 8.53.0 features: - Runtime shake-to-report toggle: enable for enterprise customers, disable for others via Sentry.feedback().enableOnShake()/disableOnShake() - SpanOptions with explicit start timestamps: use SpanOptions to set explicit start timestamp on checkout cart processing span
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps Sentry dependencies to latest stable versions:
Changelogs
Gradle Plugin 6.17.0 → 6.19.0
optimization.enableDSL; eliminate reflection for SDK class-availability checks (~1% init time reduction, enabled by default viaruntimeOptimizations)optimization.enabledetection when variant is wrapped by AGP analyticsSDK 8.51.0 → 8.53.0
Scope.clear(), halve screenshot/replay memory viaRGB_565, batch scope-persistence disk writes, reduce SDK thread count, prevent cold app start inflation on API 35+SpanOptions; makeISpan.startChildoverloads withSpanOptionspublic; runtime toggle of shake-to-report viaSentry.feedback().enableOnShake()/disableOnShake()/isOnShakeEnabled(). Fixes: prevent ANR when Session Replay video encoder gets stuck; optimize CPU usage collectionsentry-native 0.16.0 → 0.16.3
sentry_app_hang_pause; fix crash reporter config checkssentry_scope_remove_fingerprint,sentry_options_set_before_send_feedback; fixes for FD leak, Crashpad init orderingenable_logsoption throughNdkOptions(automatic with SDK logs enabled); C API:sentry_scope_set_span/sentry_scope_set_transaction_object; Crashpad attachment path fixNew features implemented
Runtime shake-to-report toggle (SDK 8.53.0) — In
MyApplication.onCreate(), shake-to-report is now conditionally enabled at runtime based on customer plan: enterprise customers getSentry.feedback().enableOnShake(), all other plans getSentry.feedback().disableOnShake(). The manifest default (io.sentry.feedback.use-shake-gesture=true) is overridden at runtime. This demonstrates the new runtime toggle API introduced in 8.53.0.SpanOptions with explicit start timestamps (SDK 8.53.0) — In
MainFragment.checkout(), aSentryDateis captured right after the checkout transaction starts (before scope configuration and dialog setup). ASpanOptionsobject passes this timestamp as the explicit start time for theprocess_cart_datachild span, so the span timing accurately reflects the full checkout setup duration. This demonstrates both newly public APIs:SpanOptions.setStartTimestamp()andISpan.startChild(operation, description, SpanOptions).Features skipped (with technical blockers)
sentry_app_hang_pause(sentry-native 0.16.1) — C API not exposed through the Java/Kotlin Android SDKsentry_scope_remove_fingerprint(sentry-native 0.16.2) — C API not exposed through the Java/Kotlin Android SDKsentry_options_set_before_send_feedback(sentry-native 0.16.2) — C API not exposed through the Java/Kotlin Android SDKSENTRY_LINK_CURL(sentry-native 0.16.2) — Unix build-time option, not relevant to Androidsentry_scope_set_span/sentry_scope_set_transaction_object(sentry-native 0.16.3) — C API not exposed through the Java/Kotlin Android SDKenable_logsthroughNdkOptions(sentry-native 0.16.3) — Automatic;options.getLogs().setEnabled(true)is already set inMyApplication, so the NDK option is forwarded without code changesBuild verification
Build could not be fully verified —
./gradlew assembleDebugfails with HTTP 403 fromdl.google.comdue to network restrictions in the remote execution environment. This is an infrastructure issue, not a code issue. The Gradle plugin version, SDK version, and native-ndk version bumps are straightforward dependency updates, and the new API calls (Sentry.feedback().enableOnShake()/disableOnShake(),SpanOptions,SentryNanotimeDate,ISpan.startChildwithSpanOptions) were verified against the sentry-java 8.53.0 source.Generated by Claude Code