Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .sdk_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,21 @@
},
"wrapperNames": ["react-client-sdk"],
"features": {
"contexts": { "introduced": "0.0.1" }
"allFlags": { "introduced": "2.9" },
"appMetadata": { "introduced": "2.26" },
"bigSegments": { "introduced": "2.9" },
"bootstrapping": { "introduced": "2.9.5" },
"contexts": { "introduced": "3.0" },
"experimentation": { "introduced": "2.9" },
"flagChanges": { "introduced": "2.9" },
"hooks": { "introduced": "3.7" },
"perContextSummaryEvents": { "introduced": "3.8" },
"pluginSupport": { "introduced": "3.7" },
"privateAttrs": { "introduced": "2.9" },
"relayProxyProxy": { "introduced": "2.9" },
"secureMode": { "introduced": "2.18" },
"track": { "introduced": "2.9" },
"variationDetail": { "introduced": "2.21" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Fix in Cursor Fix in Web

}
},
"server-ai": {
Expand Down
Loading