Skip to content

Commit c468058

Browse files
committed
Changelog
1 parent 6649e9b commit c468058

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
## Unreleased
44

5+
### Features
6+
7+
- Session Replay GA ([#4017](https://github.com/getsentry/sentry-java/pull/4017))
8+
9+
To enable Replay use the `sessionReplay.sessionSampleRate` or `sessionReplay.errorSampleRate` options.
10+
11+
```kotlin
12+
import io.sentry.SentryReplayOptions
13+
import io.sentry.android.core.SentryAndroid
14+
15+
SentryAndroid.init(context) { options ->
16+
17+
options.sessionReplay.sessionSampleRate = 1.0
18+
options.sessionReplay.errorSampleRate = 1.0
19+
20+
// To change default redaction behavior (defaults to true)
21+
options.sessionReplay.redactAllImages = true
22+
options.sessionReplay.redactAllText = true
23+
24+
// To change quality of the recording (defaults to MEDIUM)
25+
options.sessionReplay.quality = SentryReplayOptions.SentryReplayQuality.MEDIUM // (LOW|MEDIUM|HIGH)
26+
}
27+
```
28+
529
### Fixes
630

731
- Fix warm start detection ([#3937](https://github.com/getsentry/sentry-java/pull/3937))
@@ -13,6 +37,10 @@
1337
- Session Replay: Allow overriding `SdkVersion` for replay events ([#4014](https://github.com/getsentry/sentry-java/pull/4014))
1438
- Session Replay: Send replay options as tags ([#4015](https://github.com/getsentry/sentry-java/pull/4015))
1539

40+
### Breaking changes
41+
42+
- Session Replay options were moved from under `experimental` to the main `options` object ([#4017](https://github.com/getsentry/sentry-java/pull/4017))
43+
1644
## 7.19.1
1745

1846
### Fixes

0 commit comments

Comments
 (0)