Skip to content

Commit 5c46211

Browse files
committed
Rephrase ip address collecting
1 parent bb2d64b commit 5c46211

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/migration/v8-to-v9.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,14 @@ Older Typescript versions _may_ continue to be compatible, but no guarantees app
103103
});
104104
```
105105

106-
### `@sentry/node`
106+
### `@sentry/browser` / All SDKs running in the browser
107+
108+
- The SDK no longer instructs the Sentry backend to automatically infer IP addresses by default.
109+
Depending on the version of the Sentry backend (self-hosted), this may lead to IP addresses no longer showing up in Sentry, and events being grouped to "anonymous users".
110+
At the time of writing, the Sentry SaaS solution will still continue to infer IP addresses, but this will change in the near future.
111+
Set the `sendDefaultPii` option in `Sentry.init()` to true to instruct the Sentry backend to infer IP addresses.
112+
113+
### `@sentry/node` / All SDKs running in Node.js
107114

108115
- The `tracesSampler` hook will no longer be called for _every_ span.
109116
Root spans may however have incoming trace data from a different service, for example when using distributed tracing.
@@ -150,12 +157,6 @@ Older Typescript versions _may_ continue to be compatible, but no guarantees app
150157
You no longer have to specify this manually.
151158
With this change, no spans are emitted once `skipOpenTelemetrySetup: true` is configured, without any further configuration being needed.
152159

153-
### `@sentry/browser`
154-
155-
- The SDK no longer instructs the Sentry backend to automatically infer IP addresses by default.
156-
This means that places where you previously saw IP addresses in Sentry may now be grouped to anonymous users.
157-
Set the `sendDefaultPii` option in `Sentry.init()` to true to instruct the Sentry backend to infer IP addresses.
158-
159160
### `@sentry/nextjs`
160161

161162
- By default, client-side source maps will now be automatically deleted after being uploaded to Sentry during the build.

0 commit comments

Comments
 (0)