chore(deps): update Native SDK to v0.16.7 - #6135
github-actions[bot] wants to merge 1 commit into
Conversation
733d364 to
339dfaa
Compare
📲 Install BuildsAndroid
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 339dfaa. Configure here.
| retrofit = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" } | ||
| retrofit-gson = { module = "com.squareup.retrofit2:converter-gson", version.ref = "retrofit" } | ||
| sentry-native-ndk = { module = "io.sentry:sentry-native-ndk", version = "0.16.6" } | ||
| sentry-native-ndk = { module = "io.sentry:sentry-native-ndk", version = "0.16.7" } |
There was a problem hiding this comment.
Native crash marker deleted too early
High Severity
Native 0.16.7 makes sentry_init() consume .sentry-native/last_crash after caching it. NdkIntegration runs that init during Sentry.init(), before PreviousSessionFinalizer and SentryCrashLastRunState read the same marker, so native crashes no longer mark the previous session as crashed and isCrashedLastRun() can miss them.
Triggered by project rule: PR Review Guidelines for Cursor Bugbot
Reviewed by Cursor Bugbot for commit 339dfaa. Configure here.


Bumps scripts/update-sentry-native-ndk.sh from 0.16.6 to 0.16.7.
Auto-generated by a dependency updater.
Changelog
0.16.7
Breaking / Important behavior changes:
sentry_value_tandsentry_uuid_tinstead ofsentry_attachment_t *handles. Most attachment APIs, function names and arguments, are otherwise unchanged. (#1974)sentry_init()now consumes<db>/last_crashafter caching its value, aligning crashed-last-run behavior with other Sentry SDKs. (#2023)sentry_options_get/set_enable_logsandsentry_options_get/set_enable_metrics. (#1980)Features:
sentry_options_set_initial_scopefor configuring scope data before the crash backend is started, including out-of-process crash handlers. (#2087)sentry_attachment_from_file/bytes(and their wide-string variants) for creating attachment values that can be fully configured before they are added. (#2079)sentry_add_attachment,sentry_scope_add_attachment, andsentry_hint_add_attachmentfor adding configured attachments to the global scope, a specific scope, or a hint. These functions consume and freeze the attachment value. (#2079, #1974)sentry_start_new_trace()as a clearer name for starting a new trace. (#2095)Fixes:
Other changes:
Deprecations:
sentry_clear_crashed_last_run()becausesentry_init()now consumes the marker automatically. (#2023)sentry_regenerate_trace()in favor ofsentry_start_new_trace(). (#2095)Thank you: