From 4ca9c6dd01be5b7389e4ebde27c85e82960937b4 Mon Sep 17 00:00:00 2001 From: Markus Hintersteiner Date: Wed, 11 Mar 2026 10:58:23 +0100 Subject: [PATCH 1/3] Fix Changelog --- CHANGELOG.md | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21fcd2aac7..edaef81f07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## Unreleased + +### Fixes + +- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github.com/getsentry/sentry-java/pull/5157)) + +### Features + +- Add new experimental option to capture profiles for ANRs ([#4899](https://github.com/getsentry/sentry-java/pull/4899)) + - This feature will capture a stack profile of the main thread when it gets unresponsive + - The profile gets attached to the ANR event on the next app start, providing a flamegraph of the ANR issue on the sentry issue details page + - Enable via `options.setAnrProfilingSampleRate()` or AndroidManifest.xml: `` + - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) +- Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces + - When enabled, ANRs whose stacktraces contain only system frames (e.g. `java.lang` or `android.os`) are grouped into a single issue instead of creating many separate issues + - Enable via `options.setEnableAnrFingerprinting(true)` or AndroidManifest.xml: `` + ## 8.34.1 ### Fixes @@ -7,7 +24,6 @@ - Common: Finalize previous session even when auto session tracking is disabled ([#5154](https://github.com/getsentry/sentry-java/pull/5154)) - Android: Add `filterTouchesWhenObscured` to prevent Tapjacking on user feedback dialog ([#5155](https://github.com/getsentry/sentry-java/pull/5155)) - Android: Add proguard rules to prevent error about missing Replay classes ([#5153](https://github.com/getsentry/sentry-java/pull/5153)) -- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github.com/getsentry/sentry-java/pull/5157)) ## 8.34.0 @@ -46,14 +62,6 @@ ``` - The `ManifestMetaDataReader` now read the `DIST` ([#5107](https://github.com/getsentry/sentry-java/pull/5107)) -- Add new experimental option to capture profiles for ANRs ([#4899](https://github.com/getsentry/sentry-java/pull/4899)) - - This feature will capture a stack profile of the main thread when it gets unresponsive - - The profile gets attached to the ANR event on the next app start, providing a flamegraph of the ANR issue on the sentry issue details page - - Enable via `options.setAnrProfilingSampleRate()` or AndroidManifest.xml: `` - - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) -- Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces - - When enabled, ANRs whose stacktraces contain only system frames (e.g. `java.lang` or `android.os`) are grouped into a single issue instead of creating many separate issues - - Enable via `options.setEnableAnrFingerprinting(true)` or AndroidManifest.xml: `` ### Fixes From c18e8ea80fd463618cb5a78680d1ad3ef5106e9d Mon Sep 17 00:00:00 2001 From: Markus Hintersteiner Date: Wed, 11 Mar 2026 11:51:11 +0100 Subject: [PATCH 2/3] Update CHANGELOG.md Co-authored-by: Roman Zavarnitsyn --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edaef81f07..d66466f271 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,8 @@ - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) - Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces - When enabled, ANRs whose stacktraces contain only system frames (e.g. `java.lang` or `android.os`) are grouped into a single issue instead of creating many separate issues - - Enable via `options.setEnableAnrFingerprinting(true)` or AndroidManifest.xml: `` + - **IMPORTANT:** This option is enabled by default. + - Disable via `options.setEnableAnrFingerprinting(false)` or AndroidManifest.xml: `` ## 8.34.1 From b9b7b69c4d7576eea8ff207ed8b58c4c62043f70 Mon Sep 17 00:00:00 2001 From: Markus Hintersteiner Date: Wed, 11 Mar 2026 11:52:08 +0100 Subject: [PATCH 3/3] Update CHANGELOG with breaking change for ANR fingerprinting Added breaking change for enableAnrFingerprinting option to reduce ANR noise. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d66466f271..10622bcaf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ - The profile gets attached to the ANR event on the next app start, providing a flamegraph of the ANR issue on the sentry issue details page - Enable via `options.setAnrProfilingSampleRate()` or AndroidManifest.xml: `` - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) -- Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces +- **Breaking:** Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces - When enabled, ANRs whose stacktraces contain only system frames (e.g. `java.lang` or `android.os`) are grouped into a single issue instead of creating many separate issues - **IMPORTANT:** This option is enabled by default. - Disable via `options.setEnableAnrFingerprinting(false)` or AndroidManifest.xml: ``