Skip to content

Bump Sentry Gradle plugin 6.18.0, SDK 8.52.0, native-ndk 0.16.1 - #255

Open
romtsn wants to merge 1 commit into
mainfrom
sentry-bump/6.18.0
Open

Bump Sentry Gradle plugin 6.18.0, SDK 8.52.0, native-ndk 0.16.1#255
romtsn wants to merge 1 commit into
mainfrom
sentry-bump/6.18.0

Conversation

@romtsn

@romtsn romtsn commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bumps Sentry dependencies to latest stable versions:

Dependency Old New
Sentry Android Gradle Plugin 6.17.0 6.18.0
Sentry Android SDK (auto-installed) 8.51.0 8.52.0
sentry-native-ndk 0.16.0 0.16.1

Changelogs

Gradle Plugin 6.18.0

  • Release notes
  • Fix: Support ProGuard mapping tasks when R8 is enabled with the AGP optimization.enable DSL
  • Performance: Eliminate reflection for known optional Sentry SDK class-availability checks, reducing SDK initialization time by ~1%. Enabled by default via sentry.runtimeOptimizations.enabled (no code change needed).
  • Dependencies: Android SDK bumped from v8.51.0 to v8.52.0

SDK 8.52.0

  • Release notes
  • Fixes: Clear contexts on Scope.clear(), preserve custom Throwable identities under R8, reduce false-positive SDK crash attribution for SQLite cursor crashes, prevent inflated cold app start from background process spawning, preserve single-sample ANR profile chunks, avoid CPU busy-loop under rate limiting
  • Performance: Defer reflection during SDK init, use RGB_565 for screenshot/replay capture (halving per-frame memory), batch scope-persistence disk writes, reduce SDK thread count
  • Dependencies: Native SDK bumped from v0.16.0 to v0.16.1

sentry-native 0.16.1

  • Release notes
  • Feature: Added sentry_app_hang_pause C API for pausing app hang detection (not exposed in Java/Kotlin SDK)
  • Fix: Honor checks before launching crash reporter

New features implemented

None — the changelog entries in this version range contain only fixes, performance improvements, and C-level native APIs:

  • Plugin 6.18.0 runtimeOptimizations — enabled by default, no code change needed. The optimization eliminates reflection for SDK class-availability checks at build time.
  • SDK 8.52.0 — all entries are fixes and performance improvements, no new user-facing APIs.
  • sentry-native 0.16.1 sentry_app_hang_pause — C-level API not exposed through the Java/Kotlin Android SDK.

Features skipped (with technical blockers)

  • sentry_app_hang_pause (sentry-native 0.16.1): C API function not exposed through the Java/Kotlin Android SDK; only usable from native C code.

Build verification

Build could not be fully verified — ./gradlew assembleDebug fails with HTTP 403 from dl.google.com due to network restrictions in the remote execution environment. This is an infrastructure issue, not a code issue. The changes are version-only bumps in app/build.gradle with no logic changes.


Generated by Claude Code

@romtsn
romtsn requested a review from sdzhong as a code owner August 10, 2026 17:16
@sentry

sentry Bot commented Aug 10, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Android com.example.vu.android 24.12.26 (241226) release
Android com.example.vu.android 24.12.26 (241226) debug
Android com.example.vu.android 24.12.26 (241226) release

⚙️ android Build Distribution Settings

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (21c77a4) to head (6afe66f).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #255   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         16      16           
  Lines        883     883           
  Branches      67      67           
=====================================
  Misses       883     883           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant