Skip to content

Commit b1df97d

Browse files
authored
Merge pull request #220 from getsentry/upgrade-send_default_pii
Add info about send_default_pii in the upgrade doc
2 parents 17ab3ce + e976649 commit b1df97d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UPGRADE-3.0.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and client, you should read through the [relative upgrade document](https://gith
1212
There are only two BC impacting the configuration:
1313
* the `skip_capture` option has been **removed**: the same feature has been implemented in the new SDK, with the PHP `excluded_exceptions` option; you just have to move your values from `sentry.skip_capture` to `sentry.options.excluded_exceptions`
1414
* The `sentry.options` values reflect the options of the PHP SDK; many of those have been removed, and there are some new ones. You can read the [appropriate section of the upgrade document](https://github.com/getsentry/sentry-php/blob/master/UPGRADE-2.0.md#client-options), with the exception of the `server` to `dsn` migration, which is still handled in the same way by the bundle, under `sentry.dsn`
15+
* A new notable option is `send_default_pii`: it's a new option of the new SDK with by default is turned off, for GDPR compliance. You need to set `sentry.options.send_default_pii: true` to have the user's username and IP address attached to the events, as in the 2.0 bundle.
1516

1617
## HTTPlug
1718
Since SDK 2.0 uses HTTPlug to remain transport-agnostic, you need to have installed two packages that provides

0 commit comments

Comments
 (0)