Skip to content

Commit 8763773

Browse files
runningcodeclaude
andcommitted
docs(changelog): List the fatal-error change under Breaking Changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent db8dd03 commit 8763773

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
- App starts are measured from process start on Android 7.0+ (API 24), and slow and frozen frames are measured per span
7070
- `ActivityFramesTracker` is removed, and the `ActivityLifecycleIntegration` constructor no longer takes it
7171
- Screenshots attached to errors and user feedback now mask all text and images by default. Turn it off with `options.screenshot.setMaskAllText(false)` and `setMaskAllImages(false)`, or the `io.sentry.screenshot.mask-all-text` and `io.sentry.screenshot.mask-all-images` manifest options. Masking needs `sentry-android-replay`, so apps that depend on `sentry-android-core` alone get no screenshot until they add it or turn masking off ([#6437](https://github.com/getsentry/sentry-java/pull/6437))
72+
- Fatal errors such as `OutOfMemoryError` and `StackOverflowError` are no longer caught by the SDK and now reach your app's crash handling. The SDK's internal `catch` blocks now handle specific exception types instead of `Throwable`. A `LinkageError` from a missing or incompatible optional module, or from your callbacks, is still handled, and a screenshot or replay frame whose bitmap can't be allocated is skipped. Related fixes: `QueueFile` no longer deletes its file on an `OutOfMemoryError`, and the Ktor client integration no longer swallows coroutine cancellation ([#6665](https://github.com/getsentry/sentry-java/pull/6665), [#6666](https://github.com/getsentry/sentry-java/pull/6666), [#6667](https://github.com/getsentry/sentry-java/pull/6667), [#6668](https://github.com/getsentry/sentry-java/pull/6668), [#6669](https://github.com/getsentry/sentry-java/pull/6669), [#6670](https://github.com/getsentry/sentry-java/pull/6670), [#6678](https://github.com/getsentry/sentry-java/pull/6678))
7273

7374
### Features
7475

@@ -83,7 +84,6 @@
8384

8485
- Nav3: Returning to an Activity or Fragment with its own `SentryNavEffect` within the app (e.g., closing the Activity that covered it, swiping back to its ViewPager2 page, or dismissing a dialog over it) now starts a new navigation transaction for the current destination if the previous one finished, so spans produced upon return can now be consistently captured ([#6482](https://github.com/getsentry/sentry-java/pull/6482))
8586
- Nav3: `ui.load` transactions are bound to `IScope` in preference to Nav3 transactions when transitioning between Activities, matching Nav2 behavior (API 29+) ([#6484](https://github.com/getsentry/sentry-java/pull/6484))
86-
- The SDK no longer swallows fatal errors such as `OutOfMemoryError`, `StackOverflowError` or an unexpected `LinkageError`, nor its own bugs: its `catch (Throwable)` sites now catch only what they guard. A `LinkageError` from your callbacks or from a missing or incompatible optional module is still handled. A screenshot or replay frame whose bitmap can't be allocated is skipped. This also stops `QueueFile` from deleting its file on an `OutOfMemoryError`, `Installation` from wrapping an `OutOfMemoryError`, and the Ktor client integration from swallowing coroutine cancellation ([#6665](https://github.com/getsentry/sentry-java/pull/6665), [#6666](https://github.com/getsentry/sentry-java/pull/6666), [#6667](https://github.com/getsentry/sentry-java/pull/6667), [#6668](https://github.com/getsentry/sentry-java/pull/6668), [#6669](https://github.com/getsentry/sentry-java/pull/6669), [#6670](https://github.com/getsentry/sentry-java/pull/6670), [#6678](https://github.com/getsentry/sentry-java/pull/6678))
8787

8888
### Improvements
8989

0 commit comments

Comments
 (0)