Skip to content

feat(core)!: Remove sendDefaultPii in favor of dataCollection - #22918

Merged
chargome merged 6 commits into
developfrom
sig/removeSendDefaultPii
Aug 4, 2026
Merged

feat(core)!: Remove sendDefaultPii in favor of dataCollection#22918
chargome merged 6 commits into
developfrom
sig/removeSendDefaultPii

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Jul 31, 2026

Copy link
Copy Markdown
Member

Removes all occurrences of sendDefaultPii and also updates the migration docs.

Closes #22708

@s1gr1d
s1gr1d requested review from a team as code owners July 31, 2026 14:25
@s1gr1d
s1gr1d requested review from andreiborza, chargome, isaacs and nicohrubec and removed request for a team July 31, 2026 14:25
@s1gr1d
s1gr1d marked this pull request as draft July 31, 2026 14:25
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.79 kB -0.4% -118 B 🔽
@sentry/browser - with treeshaking flags 28.02 kB -0.35% -97 B 🔽
@sentry/browser (incl. Tracing) 47.26 kB -0.22% -104 B 🔽
@sentry/browser (incl. Tracing + Span Streaming) 47.27 kB -0.2% -93 B 🔽
@sentry/browser (incl. Tracing, Profiling) 52.03 kB -0.2% -104 B 🔽
@sentry/browser (incl. Tracing, Replay) 86.57 kB -0.15% -128 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 76.01 kB -0.16% -120 B 🔽
@sentry/browser (incl. Tracing, Replay with Canvas) 91.29 kB -0.14% -121 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 103.94 kB -0.11% -111 B 🔽
@sentry/browser (incl. Feedback) 47.12 kB -0.23% -108 B 🔽
@sentry/browser (incl. sendFeedback) 34.64 kB -0.35% -120 B 🔽
@sentry/browser (incl. FeedbackAsync) 39.75 kB -0.3% -117 B 🔽
@sentry/browser (incl. Metrics) 30.87 kB -0.41% -126 B 🔽
@sentry/browser (incl. Logs) 31.1 kB -0.39% -120 B 🔽
@sentry/browser (incl. Metrics & Logs) 31.79 kB -0.35% -111 B 🔽
@sentry/react 31.6 kB -0.42% -131 B 🔽
@sentry/react (incl. Tracing) 49.49 kB -0.25% -121 B 🔽
@sentry/vue 34.84 kB -0.4% -138 B 🔽
@sentry/vue (incl. Tracing) 49.24 kB -0.22% -105 B 🔽
@sentry/svelte 29.82 kB -0.43% -127 B 🔽
CDN Bundle 31.89 kB -0.35% -112 B 🔽
CDN Bundle (incl. Tracing) 47.57 kB -0.32% -152 B 🔽
CDN Bundle (incl. Logs, Metrics) 33.45 kB -0.32% -105 B 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) 48.98 kB -0.21% -99 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) 72.8 kB -0.14% -97 B 🔽
CDN Bundle (incl. Tracing, Replay) 85.23 kB -0.15% -124 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.53 kB -0.15% -124 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 91.04 kB -0.12% -101 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.36 kB -0.11% -99 B 🔽
CDN Bundle - uncompressed 94.79 kB -0.77% -726 B 🔽
CDN Bundle (incl. Tracing) - uncompressed 142.38 kB -0.51% -726 B 🔽
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.5 kB -0.73% -726 B 🔽
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 146.36 kB -0.5% -726 B 🔽
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.26 kB -0.33% -726 B 🔽
CDN Bundle (incl. Tracing, Replay) - uncompressed 261.63 kB -0.28% -726 B 🔽
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 265.6 kB -0.28% -726 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 275.34 kB -0.27% -726 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 279.3 kB -0.26% -726 B 🔽
@sentry/nextjs (client) 52.07 kB -0.26% -133 B 🔽
@sentry/sveltekit (client) 47.69 kB -0.25% -116 B 🔽
@sentry/core/server 79.88 kB -0.17% -130 B 🔽
@sentry/core/browser 51.84 kB -0.25% -129 B 🔽
@sentry/node 120.66 kB -0.2% -231 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 84 kB -0.32% -264 B 🔽
@sentry/aws-serverless 92.67 kB -0.3% -271 B 🔽
@sentry/cloudflare (withSentry) - minified 218.54 kB -0.38% -829 B 🔽
@sentry/cloudflare (withSentry) 538.34 kB -0.4% -2.13 kB 🔽

View base workflow run

@chargome chargome self-assigned this Aug 3, 2026
@chargome
chargome force-pushed the sig/removeSendDefaultPii branch 2 times, most recently from 49cb58b to a6abd4f Compare August 3, 2026 13:55
Base automatically changed from sig/collect-data-based-on-spec to develop August 3, 2026 15:34
s1gr1d and others added 4 commits August 3, 2026 17:38
`PII_HEADER_SNIPPETS` was only consumed by the removed `sendDefaultPii` bridge
and is not part of the public API, so it is now unreachable. The `userInfo`
JSDoc still advertised the pre-v11 default of `false`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@chargome
chargome force-pushed the sig/removeSendDefaultPii branch from a6abd4f to cf92ec0 Compare August 3, 2026 15:41
@chargome

chargome commented Aug 3, 2026

Copy link
Copy Markdown
Member

bugbot moch

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit cf92ec0. Configure here.

@chargome
chargome marked this pull request as ready for review August 4, 2026 10:07
@chargome

chargome commented Aug 4, 2026

Copy link
Copy Markdown
Member

@nicohrubec I think we can trim down the migration docs here a bit more, but we need to do that anyway for the whole release

@nicohrubec

Copy link
Copy Markdown
Member

@chargome jup I think it's fine to just do that in one pass in the end, for now I'd focus on completeness

@chargome chargome left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chargome
chargome merged commit 03df3fb into develop Aug 4, 2026
265 checks passed
@chargome
chargome deleted the sig/removeSendDefaultPii branch August 4, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v11] Remove sendDefaultPii

3 participants