|
8 | 8 | - Enable via `options.getFeedbackOptions().setUseShakeGesture(true)` or manifest meta-data `io.sentry.feedback.use-shake-gesture` |
9 | 9 | - Uses the device's accelerometer — no special permissions required |
10 | 10 |
|
| 11 | +## 8.35.0 |
| 12 | + |
| 13 | +### Fixes |
| 14 | + |
| 15 | +- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github.com/getsentry/sentry-java/pull/5157)) |
| 16 | + |
| 17 | +### Features |
| 18 | + |
| 19 | +- Add new experimental option to capture profiles for ANRs ([#4899](https://github.com/getsentry/sentry-java/pull/4899)) |
| 20 | + - This feature will capture a stack profile of the main thread when it gets unresponsive |
| 21 | + - 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 |
| 22 | + - Enable via `options.setAnrProfilingSampleRate(<sample-rate>)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.profiling.sample-rate" android:value="[0.0-1.0]" />` |
| 23 | + - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) |
| 24 | + |
| 25 | +### Behavioral Changes |
| 26 | + |
| 27 | +- Add `enableAnrFingerprinting` option which assigns static fingerprints to ANR events with system-only stacktraces |
| 28 | + - 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 |
| 29 | + - This will help to reduce overall ANR issue noise in the Sentry dashboard |
| 30 | + - **IMPORTANT:** This option is enabled by default. |
| 31 | + - Disable via `options.setEnableAnrFingerprinting(false)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="false" />` |
| 32 | + |
11 | 33 | ## 8.34.1 |
12 | 34 |
|
13 | 35 | ### Fixes |
14 | 36 |
|
15 | 37 | - Common: Finalize previous session even when auto session tracking is disabled ([#5154](https://github.com/getsentry/sentry-java/pull/5154)) |
16 | 38 | - Android: Add `filterTouchesWhenObscured` to prevent Tapjacking on user feedback dialog ([#5155](https://github.com/getsentry/sentry-java/pull/5155)) |
17 | 39 | - Android: Add proguard rules to prevent error about missing Replay classes ([#5153](https://github.com/getsentry/sentry-java/pull/5153)) |
18 | | -- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github.com/getsentry/sentry-java/pull/5157)) |
19 | 40 |
|
20 | 41 | ## 8.34.0 |
21 | 42 |
|
|
54 | 75 | <meta-data android:name="io.sentry.screenshot.mask-all-images" android:value="true" /> |
55 | 76 | ``` |
56 | 77 | - The `ManifestMetaDataReader` now read the `DIST` ([#5107](https://github.com/getsentry/sentry-java/pull/5107)) |
57 | | -- Add new experimental option to capture profiles for ANRs ([#4899](https://github.com/getsentry/sentry-java/pull/4899)) |
58 | | - - This feature will capture a stack profile of the main thread when it gets unresponsive |
59 | | - - 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 |
60 | | - - Enable via `options.setAnrProfilingSampleRate(<sample-rate>)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.profiling.sample-rate" android:value="[0.0-1.0]" />` |
61 | | - - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) |
62 | | -- Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces |
63 | | - - 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 |
64 | | - - Enable via `options.setEnableAnrFingerprinting(true)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="true" />` |
65 | 78 |
|
66 | 79 | ### Fixes |
67 | 80 |
|
|
0 commit comments