-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(js-logs): remove stale CDN/loader restriction warning from JS logs requirements #17124
Description
What's Wrong
platform-includes/logs/requirements/javascript.mdx and platform-includes/logs/requirements/javascript.capacitor.mdx both contain this outdated warning:
Logging is not supported in the loader or CDN script for browser JavaScript. We recommend installing the SDK via NPM to use logging. We are tracking support for the loader and CDN script in this GitHub issue.
This links to getsentry/sentry-javascript#16314, which was closed as completed on 2026-02-02. CDN bundles with logging support are live (e.g. bundle.logs.metrics.min.js), and the JS Loader Script also supports logging per maintainer confirmation in the issue thread (@chargome, Feb 2026).
The loader.mdx install page itself already documents all the *.logs.metrics.* CDN bundles correctly. Only the requirements include files are stale.
Proposed Fix
platform-includes/logs/requirements/javascript.mdx
Logs for JavaScript are supported in Sentry JavaScript SDK version `9.41.0` and above.
<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>platform-includes/logs/requirements/javascript.capacitor.mdx
Logs for JavaScript are supported in Sentry Capacitor SDK version `2.0.0` and above.
<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>References
- Closed issue: Support Sentry Logging in the JS Loader and CDN sentry-javascript#16314
- Maintainer confirmation (Feb 13 2026): Support Sentry Logging in the JS Loader and CDN sentry-javascript#16314 (comment)
- Stale page live at: https://docs.sentry.io/platforms/javascript/logs/
Action taken on behalf of Prithvi Rajakumar.