Skip to content

Commit 7e6de5f

Browse files
committed
Changelog
1 parent f49736d commit 7e6de5f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
### Features
66

77
- Add debouncing mechanism and before-capture callbacks for screenshots and view hierarchies ([#2773](https://github.com/getsentry/sentry-java/pull/2773))
8+
- Improve ANRv2 implementation ([#2792](https://github.com/getsentry/sentry-java/pull/2792))
9+
- Add a proguard rule to keep `ApplicationNotResponding` class from obfuscation
10+
- Add a new option `setReportHistoricalAnrs`; when enabled, it will report all of the ANRs from the [getHistoricalExitReasons](https://developer.android.com/reference/android/app/ActivityManager?hl=en#getHistoricalProcessExitReasons(java.lang.String,%20int,%20int)) list.
11+
By default, the SDK only reports and enriches the latest ANR and only this one counts towards ANR rate.
12+
Worth noting that once the SDK has been updated to the version with the ANRv2 implementation, this option is not necessary, because the SDK always reads the latest ANR on the next app restart.
13+
These ANRs are reported with the `HistoricalAppExitInfo` mechanism.
14+
- Add a new option `setAttachAnrThreadDump` to send ANR thread dump from the system as an attachment.
15+
This is only useful as additional information, because the SDK attempts to parse the thread dump into proper threads with stacktraces by default.
16+
- If [ApplicationExitInfo#getTraceInputStream](https://developer.android.com/reference/android/app/ApplicationExitInfo#getTraceInputStream()) returns null, the SDK no longer reports an ANR event, as these events are not very useful without it.
17+
- Enhance regex patterns for native stackframes
818

919
## 6.23.0
1020

0 commit comments

Comments
 (0)