Skip to content

Commit 92b8e26

Browse files
authored
chore: migrating current react features (#1235)
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-core` react sdk met. NOTE: there will be another PR to add in features that are supported in the new sdk (if any) <!-- CURSOR_SUMMARY --> --- > [!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.json` to replace the React SDK’s single `contexts` feature entry with a full, versioned feature matrix (for example `allFlags`, `bootstrapping`, `secureMode`, `hooks`, and others), aligning React metadata with the upstream React client SDK feature list. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 1684feb. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/launchdarkly/js-core/pull/1235" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end -->
1 parent e53949e commit 92b8e26

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.sdk_metadata.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,21 @@
178178
},
179179
"wrapperNames": ["react-client-sdk"],
180180
"features": {
181-
"contexts": { "introduced": "0.0.1" }
181+
"allFlags": { "introduced": "2.9" },
182+
"appMetadata": { "introduced": "2.26" },
183+
"bigSegments": { "introduced": "2.9" },
184+
"bootstrapping": { "introduced": "2.9.5" },
185+
"contexts": { "introduced": "3.0" },
186+
"experimentation": { "introduced": "2.9" },
187+
"flagChanges": { "introduced": "2.9" },
188+
"hooks": { "introduced": "3.7" },
189+
"perContextSummaryEvents": { "introduced": "3.8" },
190+
"pluginSupport": { "introduced": "3.7" },
191+
"privateAttrs": { "introduced": "2.9" },
192+
"relayProxyProxy": { "introduced": "2.9" },
193+
"secureMode": { "introduced": "2.18" },
194+
"track": { "introduced": "2.9" },
195+
"variationDetail": { "introduced": "2.21" }
182196
}
183197
},
184198
"server-ai": {

0 commit comments

Comments
 (0)