Skip to content

Commit b1d70e9

Browse files
Remove localvariables integration for unsupported SDKs (#14090)
The `supported` list in `docs/platforms/javascript/common/configuration/integrations/localvariables.mdx` was modified. * `javascript.cloudflare` was removed from the `supported` list. * `javascript.bun` was removed from the `supported` list. * `javascript.deno` was removed from the `supported` list. --------- Co-authored-by: Cursor Agent <[email protected]>
1 parent 499d68e commit b1d70e9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/platforms/javascript/common/configuration/integrations/localvariables.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ supported:
2121
- javascript.remix
2222
- javascript.react-router
2323
- javascript.astro
24-
- javascript.bun
25-
- javascript.cloudflare
26-
- javascript.deno
2724
- javascript.tanstackstart-react
2825
---
2926

docs/platforms/javascript/common/configuration/options.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ Set this option to `false` to disable sending of client reports. Client reports
159159

160160
Set this option to `true` to add stack local variables to stack traces.
161161

162+
<PlatformSection notSupported={["javascript.bun", "javascript.cloudflare", "javascript.deno"]}>
162163
For more advanced configuration options, see the documentation on the <PlatformLink to="/configuration/integrations/localvariables">Local Variables integration options</PlatformLink>.
164+
</PlatformSection>
163165

164166
</SdkOption>
165167

@@ -247,7 +249,7 @@ Or
247249

248250
> [Sentry] < libraryName > is not instrumented. Please make sure to initialize Sentry in a separate file that you \`--import\` when running node, see: < docs link >.
249251
250-
This means the SDK detected that the library hasnt been wrapped for automatic performance instrumentation. This may result in some spans not being reported correctly. If this is not affecting you (for example because the warning is a false positive or you do not care about these specific spans), you can disable this warning by setting this option to `true`.
252+
This means the SDK detected that the library hasn't been wrapped for automatic performance instrumentation. This may result in some spans not being reported correctly. If this is not affecting you (for example because the warning is a false positive or you do not care about these specific spans), you can disable this warning by setting this option to `true`.
251253

252254
</SdkOption>
253255

docs/platforms/javascript/common/data-management/data-collected/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ To disable source map upload, see <PlatformLink to="/sourcemaps">the Source Maps
7676

7777
The Sentry SDK does not send local variables in the error stack trace in client-side JavaScript SDKs.
7878

79-
<PlatformSection notSupported={["javascript", "javascript.angular", "javascript.capacitor", "javascript.cordova", "javascript.ember", "javascript.gatsby", "javascript.react", "javascript.solid", "javascript.svelte", "javascript.vue", "javascript.wasm"]}>
79+
<PlatformSection notSupported={["javascript", "javascript.angular", "javascript.capacitor", "javascript.cordova", "javascript.ember", "javascript.gatsby", "javascript.react", "javascript.solid", "javascript.svelte", "javascript.vue", "javascript.wasm", "javascript.bun", "javascript.cloudflare", "javascript.deno"]}>
8080
You can enable sending local variables by setting `includeLocalVariables: true` in the `Sentry.init()` call. This activates the <PlatformLink to="/configuration/integrations/localvariables">Local Variables Integration</PlatformLink>. The integration is added by default in Node.js-based runtimes.
8181
</PlatformSection>
8282

0 commit comments

Comments
 (0)