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
This PR adds a `settings` structure in the SDK context of an event and
adds the `infer_ip` field to give explicit control if an IP address
should be inferred.
Currently 3 values are supported, one of them being used to describe
legacy behavior
* `auto` - equivalent to the old `{{auto}}`, it will infer the IP
address from request information unless `user.ip_address` contains an
actual IP address. The main difference is that it will also infer the IP
if the submitted IP address is missing.
* `never` - Do no derive the IP under any circumstances. If
`user.ip_address` contains `{{auto}}`, it will be removed.
* `legacy` - If no value is sent, then this will be the default. Uses
old behaviour of inferring the IP if `{{auto}}` is specified and also
backfills `REMOTE_ADDR`. It will also enable the IP inference for
`javascript`, `cocoa` and `objc` if the submitted IP address is missing
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@
55
55
- Remove separate quota and rate limit counting for replay videos ([#4554](https://github.com/getsentry/relay/pull/4554))
56
56
- Deprecate ReplayVideo data category ([#4560](https://github.com/getsentry/relay/pull/4560))
57
57
- Improve localhost detection by checking contained request headers in the error. ([#4580](https://github.com/getsentry/relay/pull/4580))
58
+
- Introduce SDK settings structure with `infer_ip` setting to explicitly control IP inference behaviour. ([#4623](https://github.com/getsentry/relay/pull/4623))
0 commit comments