Skip to content

Commit 5d41d7f

Browse files
committed
Adds changelog
1 parent ccbbbd8 commit 5d41d7f

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@
66
> make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first.
77
<!-- prettier-ignore-end -->
88
9+
## Unreleased
10+
11+
- Expose iOS options to ignore views from subtree traversal in version 8 ([#5663](https://github.com/getsentry/sentry-react-native/pull/5663))
12+
- Use `includedViewClasses` to only traverse specific view classes, or `excludedViewClasses` to skip problematic view classes during session replay and screenshot capture
13+
```js
14+
import * as Sentry from '@sentry/react-native';
15+
16+
Sentry.init({
17+
replaysSessionSampleRate: 1.0,
18+
integrations: [
19+
Sentry.mobileReplayIntegration({
20+
includedViewClasses: ['UILabel', 'UIView', 'MyCustomView'],
21+
excludedViewClasses: ['WKWebView', 'UIWebView'],
22+
}),
23+
],
24+
});
25+
```
26+
927
## 8.0.0
1028

1129
### Upgrading from 7.x to 8.0

0 commit comments

Comments
 (0)