Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@
- Disable URL caching when reading `META-INF/MANIFEST.MF` files during version detection so that the SDK no longer keeps jar file handles open for the life of the process ([#6124](https://github.com/getsentry/sentry-java/pull/6124)
- Keep the `EventListener` wrapped by `SentryOkHttpEventListener` per `Call` ([#6003](https://github.com/getsentry/sentry-java/pull/6003))

### Dependencies

- Bump Native SDK from v0.16.6 to v0.17.0 ([#6135](https://github.com/getsentry/sentry-java/pull/6135))
- [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#0170)
- [diff](https://github.com/getsentry/sentry-native/compare/0.16.6...0.17.0)

## 8.57.0

### Behavioral Changes
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ quartz = { module = "org.quartz-scheduler:quartz", version = "2.3.0" }
reactor-core = { module = "io.projectreactor:reactor-core", version = "3.5.3" }
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.17.0" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Native crash marker consumed too early

High Severity

Native SDK 0.17.0 makes sentry_init() consume .sentry-native/last_crash after caching it. NdkIntegration still calls init during Sentry.init, before EnvelopeCache and PreviousSessionFinalizer read that file. After a native crash, the previous session is no longer marked Crashed and isCrashedLastRun() can return false, especially below API 31 where tombstones do not backfill this.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bugbot

Reviewed by Cursor Bugbot for commit 58df0b5. Configure here.

servlet-api = { module = "javax.servlet:javax.servlet-api", version = "3.1.0" }
servlet-jakarta-api = { module = "jakarta.servlet:jakarta.servlet-api", version = "6.1.0" }
slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
Expand Down
Loading