Conversation
|
@launchdarkly/js-sdk-common size report |
|
@launchdarkly/browser size report |
|
@launchdarkly/js-client-sdk-common size report |
|
@launchdarkly/js-client-sdk size report |
af8e904 to
1684feb
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
| "relayProxyProxy": { "introduced": "2.9" }, | ||
| "secureMode": { "introduced": "2.18" }, | ||
| "track": { "introduced": "2.9" }, | ||
| "variationDetail": { "introduced": "2.21" } |
There was a problem hiding this comment.
Feature versions reference wrong SDK's version history
Medium Severity
The introduced version numbers (e.g., "2.9", "3.0", "3.8") are from the old launchdarkly-react-client-sdk package, but this metadata entry is for the new @launchdarkly/react-sdk which has only had versions 0.0.1, 0.1.0, and 0.1.1. Every other SDK in this file has introduced versions within its own actual version range. The previous value "contexts": { "introduced": "0.0.1" } was correct for this package. Any tooling using these version numbers to determine feature availability would conclude that the current SDK supports zero features, since all introduced versions exceed 0.1.1.


This PR copies the react features that are in https://github.com/launchdarkly/react-client-sdk/blob/main/.sdk_metadata.json to the new
js-corereact sdk met.NOTE: there will be another PR to add in features that are supported in the new sdk (if any)
Note
Low Risk
Low risk metadata-only change, but incorrect feature/version mappings could mislead tooling or documentation that consumes this file.
Overview
Updates
.sdk_metadata.jsonto replace the React SDK’s singlecontextsfeature entry with a full, versioned feature matrix (for exampleallFlags,bootstrapping,secureMode,hooks, and others), aligning React metadata with the upstream React client SDK feature list.Written by Cursor Bugbot for commit 1684feb. This will update automatically on new commits. Configure here.