ref(data-collection)!: Remove sendDefaultPii#8550
Open
philprime wants to merge 2 commits into
Open
Conversation
Remove sendDefaultPii from the V10 Swift and Objective-C API surfaces. Keep the option available in V9 and migrate V10 coverage to dataCollection. BREAKING CHANGE: V10 users must replace sendDefaultPii with dataCollection. Fixes #8253
philprime
marked this pull request as ready for review
July 24, 2026 07:45
philprime
requested review from
a team,
NinjaLikesCheez,
itaybre,
noahsmartin and
philipphofmann
as code owners
July 24, 2026 07:45
…d-default-pii-v10
📲 Install BuildsiOS
|
Contributor
Performance metrics 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Remove
sendDefaultPiifrom the V10 Swift, legacy Objective-C, andSentryObjCwrapper API surfaces. V9 keeps the property and its existing behavior.V10 dictionary configuration no longer reads
sendDefaultPii, and affected V10 tests now configure automatic collection throughdataCollection. The generated V10 Swift and Objective-C API manifests record the removal.💡 Motivation and Context
V10 replaces the broad
sendDefaultPiiswitch with granulardataCollectionoptions. Applications migrating to V10 must configure the relevant categories throughoptions.dataCollection, includingdataCollection.userInfofor automatic user information.This is a breaking V10-only API change and is tracked in
CHANGELOG_V10.md.This PR is stacked on #8547 because that branch updates the V10 network tracker tests and API manifests touched by the removal.
Fixes #8253
💚 How did you test it?
make test-ios-v10 FOR_AGENTS=true ONLY_TESTING=SentryTests/SentryOptionsTests,SentryTests/SentryOptionsTest,SentryTests/SentryClientTests,SentryTests/SentryMetricsIntegrationTests,SentryTests/SentryNetworkTrackerTests,SentryTests/SentryTraceContextTestsmake test-ios FOR_AGENTS=true ONLY_TESTING=SentryTests/SentryOptionsTests,SentryTests/SentryOptionsTest,SentryTests/SentryClientTests,SentryTests/SentryMetricsIntegrationTests,SentryTests/SentryNetworkTrackerTests,SentryTests/SentryTraceContextTestsmake test-macos-v10 FOR_AGENTS=true TEST_SCHEME=SentryObjCTests ONLY_TESTING=SentryObjCTests/SentryObjCOptionsTestsmake test-macos FOR_AGENTS=true TEST_SCHEME=SentryObjCTests ONLY_TESTING=SentryObjCTests/SentryObjCOptionsTestsmake analyzemake build-ios-v10 FOR_AGENTS=truemake generate-public-api📝 Checklist
You have to check all boxes before merging:
sendDefaultPIIis enabled.CHANGELOG_V10.md.dataCollection.