Skip to content

fix(docs): Remove stale JS logs loader warning#18387

Open
macuzi wants to merge 2 commits into
masterfrom
macuzi/fix/js-logs-requirements
Open

fix(docs): Remove stale JS logs loader warning#18387
macuzi wants to merge 2 commits into
masterfrom
macuzi/fix/js-logs-requirements

Conversation

@macuzi

@macuzi macuzi commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #17124 where the /platforms/javascript/logs/ page still showed a warning saying:

Logging is not supported via the loader or CDN.

That guidance appears to be outdated, As the loader/CDN bundles with logs support according to this comment

Support Sentry Logging in the JS Loader and CDN · Issue #16314 · getsentry/sentry-javascript

This will remove the stale warning and replace pointing to the Loader Script docs.

<PlatformSection supported={["javascript"]}>

Logging is also supported via [CDN bundles and the Loader Script](/platforms/javascript/install/loader/). Use a bundle that includes logs, such as `bundle.logs.metrics.min.js`.

</PlatformSection>

Capacitor was left unchanged on purpose. Since it uses javascript.capacitor.mdx, and the stale warning there is wrapped in <PlatformSection supported={["javascript"]}>, so it does not render on Capacitor pages since it's checking for:

<PlatformSection supported={["javascript"]}>

not

<PlatformSection supported={["javascript.capacitor"]}>

It’s gated by the wrong key for that page. But I think that's by design, should be safe to leave that file alone for now.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

@macuzi macuzi requested a review from rahulchhabria June 12, 2026 00:24
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Jun 12, 2026 1:08am
sentry-docs Ready Ready Preview, Comment Jun 12, 2026 1:08am

Request Review

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.

fix(js-logs): remove stale CDN/loader restriction warning from JS logs requirements

1 participant