Skip to content

docs(browser-sdk): load the latest SDK from the CDN in the script tag example - #854

Merged
roncohen merged 1 commit into
mainfrom
docs/browser-cdn-unpinned
Dec 1, 2026
Merged

roncohen merged 1 commit into
mainfrom
docs/browser-cdn-unpinned

Conversation

@roncohen

@roncohen roncohen commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

The Browser README's script tag example loaded cdn.jsdelivr.net/npm/@reflag/browser-sdk@2, a major-pinned URL carried over from v1. The docs site's check keeps major-pinned installs out of the SDK pages, since they belong in the upgrade guide, and fails on this line when the READMEs are imported. The example now loads @reflag/browser-sdk without a version.

This was meant to be part of #853 but was pushed after #853 entered the merge queue.

@roncohen
roncohen enabled auto-merge December 1, 2026 09:39

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@roncohen
roncohen added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 77027ac Dec 1, 2026
9 checks passed
@roncohen
roncohen deleted the docs/browser-cdn-unpinned branch December 1, 2026 09:52
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.

1 participant