|
4 | 4 |
|
5 | 5 | ### Features |
6 | 6 |
|
| 7 | +- Increase http timeouts from 5s to 30s to have a better chance of events being delivered without retry ([#4276](https://github.com/getsentry/sentry-java/pull/4276)) |
| 8 | + |
| 9 | +### Fixes |
| 10 | + |
| 11 | +- Do not override user-defined `SentryOptions` ([#4262](https://github.com/getsentry/sentry-java/pull/4262)) |
| 12 | + |
| 13 | +### Dependencies |
| 14 | + |
| 15 | +- Bump Native SDK from v0.8.1 to v0.8.2 ([#4267](https://github.com/getsentry/sentry-java/pull/4267)) |
| 16 | + - [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#082) |
| 17 | + - [diff](https://github.com/getsentry/sentry-native/compare/0.8.1...0.8.2) |
| 18 | + |
| 19 | +## 8.5.0 |
| 20 | + |
| 21 | +### Features |
| 22 | + |
7 | 23 | - Add native stack frame address information and debug image metadata to ANR events ([#4061](https://github.com/getsentry/sentry-java/pull/4061)) |
8 | | - - This enables symbolication for stripped native code in ANRs |
| 24 | + - This enables symbolication for stripped native code in ANRs |
| 25 | +- Add Continuous Profiling Support ([#3710](https://github.com/getsentry/sentry-java/pull/3710)) |
| 26 | + |
| 27 | + To enable Continuous Profiling use the `Sentry.startProfiler` and `Sentry.stopProfiler` experimental APIs. Sampling rate can be set through `options.profileSessionSampleRate`, which defaults to null (disabled). |
| 28 | + Note: Both `options.profilesSampler` and `options.profilesSampleRate` must **not** be set to enable Continuous Profiling. |
| 29 | + |
| 30 | + ```java |
| 31 | + import io.sentry.ProfileLifecycle; |
| 32 | + import io.sentry.android.core.SentryAndroid; |
| 33 | + |
| 34 | + SentryAndroid.init(context) { options -> |
| 35 | + |
| 36 | + // Currently under experimental options: |
| 37 | + options.getExperimental().setProfileSessionSampleRate(1.0); |
| 38 | + // In manual mode, you need to start and stop the profiler manually using Sentry.startProfiler and Sentry.stopProfiler |
| 39 | + // In trace mode, the profiler will start and stop automatically whenever a sampled trace starts and finishes |
| 40 | + options.getExperimental().setProfileLifecycle(ProfileLifecycle.MANUAL); |
| 41 | + } |
| 42 | + // Start profiling |
| 43 | + Sentry.startProfiler(); |
| 44 | + |
| 45 | + // After all profiling is done, stop the profiler. Profiles can last indefinitely if not stopped. |
| 46 | + Sentry.stopProfiler(); |
| 47 | + ``` |
| 48 | + ```kotlin |
| 49 | + import io.sentry.ProfileLifecycle |
| 50 | + import io.sentry.android.core.SentryAndroid |
| 51 | + |
| 52 | + SentryAndroid.init(context) { options -> |
| 53 | + |
| 54 | + // Currently under experimental options: |
| 55 | + options.experimental.profileSessionSampleRate = 1.0 |
| 56 | + // In manual mode, you need to start and stop the profiler manually using Sentry.startProfiler and Sentry.stopProfiler |
| 57 | + // In trace mode, the profiler will start and stop automatically whenever a sampled trace starts and finishes |
| 58 | + options.experimental.profileLifecycle = ProfileLifecycle.MANUAL |
| 59 | + } |
| 60 | + // Start profiling |
| 61 | + Sentry.startProfiler() |
| 62 | + |
| 63 | + // After all profiling is done, stop the profiler. Profiles can last indefinitely if not stopped. |
| 64 | + Sentry.stopProfiler() |
| 65 | + ``` |
| 66 | + |
| 67 | + To learn more visit [Sentry's Continuous Profiling](https://docs.sentry.io/product/explore/profiling/transaction-vs-continuous-profiling/#continuous-profiling-mode) documentation page. |
9 | 68 |
|
10 | 69 | ### Fixes |
11 | 70 |
|
@@ -511,6 +570,26 @@ If you have been using `8.0.0-rc.4` of the Java SDK, here's the new changes that |
511 | 570 | - We are planning to improve this in the future but opted for this fix first. |
512 | 571 | - Fix swallow NDK loadLibrary errors ([#4082](https://github.com/getsentry/sentry-java/pull/4082)) |
513 | 572 |
|
| 573 | +## 7.22.4 |
| 574 | + |
| 575 | +### Fixes |
| 576 | + |
| 577 | +- Session Replay: Fix crash when a navigation breadcrumb does not have "to" destination ([#4185](https://github.com/getsentry/sentry-java/pull/4185)) |
| 578 | +- Session Replay: Cap video segment duration to maximum 5 minutes to prevent endless video encoding in background ([#4185](https://github.com/getsentry/sentry-java/pull/4185)) |
| 579 | +- Avoid logging an error when a float is passed in the manifest ([#4266](https://github.com/getsentry/sentry-java/pull/4266)) |
| 580 | + |
| 581 | +## 7.22.3 |
| 582 | + |
| 583 | +### Fixes |
| 584 | + |
| 585 | +- Reduce excessive CPU usage when serializing breadcrumbs to disk for ANRs ([#4181](https://github.com/getsentry/sentry-java/pull/4181)) |
| 586 | + |
| 587 | +## 7.22.2 |
| 588 | + |
| 589 | +### Fixes |
| 590 | + |
| 591 | +- Fix AbstractMethodError when using SentryTraced for Jetpack Compose ([#4256](https://github.com/getsentry/sentry-java/pull/4256)) |
| 592 | + |
514 | 593 | ## 7.22.1 |
515 | 594 |
|
516 | 595 | ### Fixes |
|
0 commit comments