Skip to content

feat(core): Add dataCollection client option#20965

Merged
s1gr1d merged 4 commits into
developfrom
cg/datacollection-type
May 18, 2026
Merged

feat(core): Add dataCollection client option#20965
s1gr1d merged 4 commits into
developfrom
cg/datacollection-type

Conversation

@chargome
Copy link
Copy Markdown
Member

Adds the new dataCollection option according to https://develop.sentry.dev/sdk/foundations/client/data-collection/#datacollection-options.

This PR only defines the type and sets it on the base options, no-op atm.

closes #20924

@chargome chargome self-assigned this May 18, 2026
@chargome chargome requested a review from s1gr1d May 18, 2026 09:35
@chargome
Copy link
Copy Markdown
Member Author

@cursor review

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 596dd79. Configure here.

Comment thread packages/core/src/types-hoist/datacollection.ts
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.

Define DataCollection types and add option to ClientOptions

2 participants