From one switch to a control panel: meet `dataCollection`
Release 6 min +60 XP
Sentry's JavaScript SDK v11 replaces the all-or-nothing `sendDefaultPii` boolean with `dataCollection`, a per-category config covering user info, cookies, HTTP headers and bodies, query params, GenAI inputs/outputs, database queries and more.