Skip to content

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

@sentry-junior

Description

@sentry-junior

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

Action taken on behalf of Prithvi Rajakumar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions