You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+15-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,21 @@
2
2
3
3
## Unreleased
4
4
5
+
### Features
6
+
7
+
- New continuous profiling configuration API (#4952)
8
+
9
+
> [!Important]
10
+
> With the addition of the new profiling configuation API, the previous profiling API are deprecated and will be removed in the next major version of the SDK:
11
+
>
12
+
> -`SentryOptions.enableProfiling`
13
+
> -`SentryOptions.isProfilingEnabled`
14
+
> -`SentryOptions.profilesSampleRate`
15
+
> -`SentryOptions.profilesSampler`
16
+
> -`SentryOptions.enableLaunchProfiling`
17
+
>
18
+
> Additionally, note that the behavior of `SentrySDK.startProfiler()` will change once the above API are removed, as follows: before adding the new configuration API (`SentryProfileOptions`), `SentrySDK.startProfiler()` would unconditionally start a continuous profile if both `SentryOptions.profilesSampleRate` and `SentryOptions.profilesSampler` were `nil`, or no-op if either was non-`nil` (meaning the SDK would operate under original, transaction-based, profiling model). In the next major version, `SentryOptions.profilesSampleRate` and `SentryOptions.profilesSampler` will be removed, and `SentrySDK.startProfile()` will become a no-op unless you configure `SentryProfileOptions.sessionSampleRate` to a value greater than zero (which is it's default). If you already have calls to `SentrySDK.startProfiler()` in your code, ensure you properly configure `SentryProfileOptions` via `SentryOptions.configureProfiling` to avoid losing profiling coverage.
19
+
5
20
### Fixes
6
21
7
22
- Continuous profile stop requests are cancelled by subsequent timely calls to start (#4993)
@@ -35,7 +50,6 @@
35
50
### Features
36
51
37
52
- Add extension for `Data` to track file I/O operations with Sentry (#4862)
38
-
- New continuous profiling API (#4952)
39
53
- Send fatal app hang session updates (#4921) only when enabling the option `enableAppHangTrackingV2`.
40
54
- Add experimental flag `options.sessionReplay.enableExperimentalViewRenderer` to enable up to 5x times more performance in Session Replay (#4940)
0 commit comments