|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## Unreleased |
| 4 | + |
| 5 | +### Fixes |
| 6 | + |
| 7 | +- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github.com/getsentry/sentry-java/pull/5157)) |
| 8 | + |
| 9 | +### Features |
| 10 | + |
| 11 | +- Add new experimental option to capture profiles for ANRs ([#4899](https://github.com/getsentry/sentry-java/pull/4899)) |
| 12 | + - This feature will capture a stack profile of the main thread when it gets unresponsive |
| 13 | + - 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 |
| 14 | + - 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]" />` |
| 15 | + - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) |
| 16 | +- **Breaking:** Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces |
| 17 | + - 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 |
| 18 | + - **IMPORTANT:** This option is enabled by default. |
| 19 | + - Disable via `options.setEnableAnrFingerprinting(false)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="false" />` |
| 20 | + |
3 | 21 | ## 8.34.1 |
4 | 22 |
|
5 | 23 | ### Fixes |
6 | 24 |
|
7 | 25 | - Common: Finalize previous session even when auto session tracking is disabled ([#5154](https://github.com/getsentry/sentry-java/pull/5154)) |
8 | 26 | - Android: Add `filterTouchesWhenObscured` to prevent Tapjacking on user feedback dialog ([#5155](https://github.com/getsentry/sentry-java/pull/5155)) |
9 | 27 | - Android: Add proguard rules to prevent error about missing Replay classes ([#5153](https://github.com/getsentry/sentry-java/pull/5153)) |
10 | | -- Android: Remove the dependency on protobuf-lite for tombstones ([#5157](https://github.com/getsentry/sentry-java/pull/5157)) |
11 | 28 |
|
12 | 29 | ## 8.34.0 |
13 | 30 |
|
|
46 | 63 | <meta-data android:name="io.sentry.screenshot.mask-all-images" android:value="true" /> |
47 | 64 | ``` |
48 | 65 | - The `ManifestMetaDataReader` now read the `DIST` ([#5107](https://github.com/getsentry/sentry-java/pull/5107)) |
49 | | -- Add new experimental option to capture profiles for ANRs ([#4899](https://github.com/getsentry/sentry-java/pull/4899)) |
50 | | - - This feature will capture a stack profile of the main thread when it gets unresponsive |
51 | | - - 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 |
52 | | - - 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]" />` |
53 | | - - The sample rate controls the probability of collecting a profile for each detected foreground ANR (0.0 to 1.0, null to disable) |
54 | | -- Add `enableAnrFingerprinting` option to reduce ANR noise by assigning static fingerprints to ANR events with system-only stacktraces |
55 | | - - 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 |
56 | | - - Enable via `options.setEnableAnrFingerprinting(true)` or AndroidManifest.xml: `<meta-data android:name="io.sentry.anr.enable-fingerprinting" android:value="true" />` |
57 | 66 |
|
58 | 67 | ### Fixes |
59 | 68 |
|
|
0 commit comments