Skip to content

DataCollection phase 4: spec defaults for explicit DataCollection users #5438

Open

Description

@jamescrosswell

Part of #5420. Phase 4 — defaults flip (minor release).

Confirm/enable the spec defaults for users who explicitly set DataCollection:

  • UserInfo = true, HttpBodies = All (four directions), denyList behaviors for cookies/headers/query params.
  • MaxRequestBodySize continues to govern body size (integration precedence).
  • Behavior-neutral for everyone who has not set DataCollection (they stay on the SendDefaultPii bridge).
  • Changelog callout documenting that DataCollection = new() is more permissive than SendDefaultPii = false, with the opt-out block.

JS references: getsentry/sentry-javascript#21348, #21352 (10.57.0 defaults flip gated on explicit opt-in).


Category list narrowed (2026-11-05). Mcp, Queues, FilePaths, StackFrameVariables and FrameContextLines were removed from DataCollectionOptions in #5853, as none has a consumer in the .NET SDK and the spec is still a candidate. See the deferred-categories note on #5420. This issue has been updated accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeFeatureNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions