From baa597448d0de4c404385d9b2c5a964a631b90d8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2026 13:28:48 +0000 Subject: [PATCH] [skill-drift] update(sentry-react-sdk): document urlQueryParams rename and new graphQL/databaseQueryData options Automated drift-fix run. Co-Authored-By: Claude (claude-sonnet-5) --- src/references/sdks/react/index.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/references/sdks/react/index.md b/src/references/sdks/react/index.md index 1cdbae48..411b8b3b 100644 --- a/src/references/sdks/react/index.md +++ b/src/references/sdks/react/index.md @@ -359,13 +359,18 @@ Fine-grained control over what data the SDK collects. Replaces the simple `sendD | `cookies` | `boolean \| { allow: string[] } \| { deny: string[] }` | `true` | Cookie collection and filtering; `true` = all cookies (sensitive keys filtered) | | `httpHeaders.request` | `boolean \| { allow: string[] } \| { deny: string[] }` | `true` | HTTP request header collection | | `httpHeaders.response` | `boolean \| { allow: string[] } \| { deny: string[] }` | `true` | HTTP response header collection | -| `queryParams` | `boolean \| { allow: string[] } \| { deny: string[] }` | `true` | Query parameter collection and filtering | +| `urlQueryParams` | `boolean \| { allow: string[] } \| { deny: string[] }` | `true` | Query parameter collection and filtering (SDK ≥10.67.0; replaces deprecated `queryParams`) | | `httpBodies` | `HttpBodyCollectionTarget[]` | `["incomingRequest", "outgoingRequest", "incomingResponse", "outgoingResponse"]` | Collect request/response bodies; options: `'incomingRequest'`, `'outgoingRequest'`, `'incomingResponse'`, `'outgoingResponse'` | +| `graphQL.document` | `boolean` | `true` | Attach the GraphQL document (query/mutation source text) — requires a GraphQL integration enabled (SDK ≥10.66.0) | +| `graphQL.variables` | `boolean` | `true` | Attach GraphQL operation variables — requires a GraphQL integration enabled (SDK ≥10.66.0) | +| `databaseQueryData` | `boolean` | `true` | Collect DB query parameters, inline literal values, mutation/request bodies, and returned result data (SDK ≥10.66.0) | | `genAI.inputs` | `boolean` | `true` | Record AI model inputs (for AI monitoring) | | `genAI.outputs` | `boolean` | `true` | Record AI model outputs (for AI monitoring) | | `stackFrameVariables` | `boolean` | `true` | Capture local variable values in stack frames | | `frameContextLines` | `number` | `5` | Source code context lines around stack frames | +> **Deprecated:** `queryParams` still works but is deprecated in favor of `urlQueryParams` (same shape and default). + **Example:** Allow only specific cookies and headers: ```typescript