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
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,26 @@
8
8
9
9
## Unreleased
10
10
11
-
### Fixes
11
+
### Important Changes
12
+
13
+
-**fix(browser): Ensure IP address is only inferred by Relay if `sendDefaultPii` is `true`** ([#5092](https://github.com/getsentry/sentry-react-native/pull/5092))
14
+
15
+
This release includes a fix for a [behaviour change](https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/#behavior-changes)
16
+
that was originally introduced with v9 of the JavaScript SDK: User IP Addresses should only be added to Sentry events automatically,
17
+
if `sendDefaultPii` was set to `true`.
18
+
19
+
However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
20
+
To avoid making a major bump, the fix was patched on the current version and not by bumping to V10.
21
+
There is _no API_ breakage involved and hence it is safe to update.
22
+
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
23
+
user IP addresses, if you set `sendDefaultPii: true` in your `Sentry.init` options.
24
+
25
+
We apologize for any inconvenience caused!
26
+
27
+
## Fixes
12
28
13
29
- Fix Expo prebuild failed on cached builds ([#5098](https://github.com/getsentry/sentry-react-native/pull/5098))
30
+
- Remove the warning that used to indicate that Time To Initial Display and Time To Full Display are not supported ([#5081](https://github.com/getsentry/sentry-react-native/pull/5081))
// Using setTimeout with a delay of 0 milliseconds to defer execution and avoid printing the React stack trace.
70
-
setTimeout(()=>{
71
-
logger.warn(
72
-
'TimeToInitialDisplay and TimeToFullDisplay are not supported on the web, Expo Go and New Architecture. Run native build or report an issue at https://github.com/getsentry/sentry-react-native');
0 commit comments