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
Auto-generated from external SDK content. Review all links and code suggestions before acting on them.
cc @getsentry/support
Summary
The JavaScript SDK introduced a new dataCollection option in v10.54.0 (PR #20965) that will eventually replace sendDefaultPii. Multiple SDK features have been migrated to use this new option in v10.55.0, including request data, metrics, logs, and browser packages.
Impact on Skill
The sentry-nextjs-sdk skill currently shows configuration examples using sendDefaultPii: true throughout (lines 144, 174, 192 in SKILL.md). While this is still valid, the skill should be updated to:
Document the new dataCollection option
Note that sendDefaultPii will be deprecated in a future release
Provide guidance on when to use dataCollection vs sendDefaultPii
Why Manual Review Needed
The exact API structure for dataCollection is not fully clear from the changelog
Migration to dataCollection is still ongoing across SDK features
Need to check official Sentry docs for Next.js-specific guidance
Requires judgment on how to present both options during the transition period
#21097 - Migrated browser packages to dataCollection
Changelog Quote
"Adds a new dataCollection client option for controlling what data the SDK collects and sends to Sentry. This provides a centralized way to configure data collection behavior across different SDK features. In the future, this option will be used for fine-granular data filtering, while the simple sendDefaultPii boolean option will be deprecated and removed in a future release."
Warning
Auto-generated from external SDK content. Review all links and code suggestions before acting on them.
cc @getsentry/support
Summary
The JavaScript SDK introduced a new
dataCollectionoption in v10.54.0 (PR #20965) that will eventually replacesendDefaultPii. Multiple SDK features have been migrated to use this new option in v10.55.0, including request data, metrics, logs, and browser packages.Impact on Skill
The
sentry-nextjs-sdkskill currently shows configuration examples usingsendDefaultPii: truethroughout (lines 144, 174, 192 in SKILL.md). While this is still valid, the skill should be updated to:dataCollectionoptionsendDefaultPiiwill be deprecated in a future releasedataCollectionvssendDefaultPiiWhy Manual Review Needed
dataCollectionis not fully clear from the changelogdataCollectionis still ongoing across SDK featuresRelevant PRs
dataCollectionoptiondataCollectiondataCollectiondataCollectionChangelog Quote
Source: CHANGELOG v10.54.0