From 108e5b51419b6a3fda139f99868fc74d98c53713 Mon Sep 17 00:00:00 2001 From: Ivana Kellyer Date: Wed, 7 Oct 2026 09:04:35 +0200 Subject: [PATCH] chore: Remove send_default_pii option --- sentry_sdk/consts.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index 01322ee7f3..e8874cd184 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -1360,7 +1360,6 @@ def __init__( transport: "Optional[Union[sentry_sdk.transport.Transport, Type[sentry_sdk.transport.Transport], None]]" = None, transport_queue_size: int = DEFAULT_QUEUE_SIZE, sample_rate: float = 1.0, - send_default_pii: "Optional[bool]" = None, data_collection: "Optional[DataCollectionUserOptions]" = {}, http_proxy: "Optional[str]" = None, https_proxy: "Optional[str]" = None, @@ -1498,12 +1497,6 @@ def __init__( Grouping in Sentry is different for events with stack traces and without. As a result, you will get new groups as you enable or disable this flag for certain events. - :param send_default_pii: If this flag is enabled, `certain personally identifiable information (PII) - `_ is added by active integrations. - - If you enable this option, be sure to manually remove what you don't want to send using our features for - managing `Sensitive Data `_. - :param data_collection: Structured configuration controlling what data integrations collect automatically. Omitted fields use their defaults (most categories are collected, with the sensitive denylist scrubbing values). Restrict collection per category (user identity, cookies,