Skip to content

Commit a0eb24d

Browse files
authored
feat: release-react-sdk-v4 (#1238)
This PR will release the v4 major version of React SDK. We should not merge this in until we have our docs ready. SDK-1568 <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Docs/metadata/release-config changes only; no runtime code paths are modified. > > **Overview** > Prepares the `@launchdarkly/react-sdk` package for its v4 major release by updating release automation and SDK metadata. > > This sets `packages/sdk/react` to `release-as: 4.0.0` in `release-please-config.json`, adds `inlineContextCustomEvents` to the React SDK’s feature list in `.sdk_metadata.json`, refreshes `packages/sdk/react/README.md` to point at the main docs and include SLSA provenance guidance, and removes the temporary `temp_docs/MIGRATING.md` document. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit cdd54bf. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 0ddd93f commit a0eb24d

4 files changed

Lines changed: 6 additions & 497 deletions

File tree

.sdk_metadata.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
"experimentation": { "introduced": "2.9" },
187187
"flagChanges": { "introduced": "2.9" },
188188
"hooks": { "introduced": "3.7" },
189+
"inlineContextCustomEvents": { "introduced": "4.0" },
189190
"perContextSummaryEvents": { "introduced": "3.8" },
190191
"pluginSupport": { "introduced": "3.7" },
191192
"privateAttrs": { "introduced": "2.9" },

packages/sdk/react/README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,13 @@
66
[![NPM][react-sdk-dm-badge]][react-sdk-npm-link]
77
[![NPM][react-sdk-dt-badge]][react-sdk-npm-link]
88

9-
⚠️⚠️⚠️
9+
## Getting started
1010

11-
> [!CAUTION]
12-
> This SDK is in pre-release and not subject to backwards compatibility
13-
> guarantees. The API may change based on feedback.
14-
>
15-
> Pin to a specific minor version and review the [changelog](./CHANGELOG.md) before upgrading.
11+
Refer to the [SDK documentation](https://launchdarkly.com/docs/sdk/client-side/react/react-web) for instructions on getting started with using the SDK.
1612

17-
☝️☝️☝️
13+
## Verifying SDK build provenance with the SLSA framework
1814

19-
## Getting started
20-
Refer to the [SDK documentation](https://launchdarkly.com/docs/sdk/client-side/react/react-web#get-started) for instructions on getting started with using the SDK.
15+
LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published SDK packages. To learn more, see the [provenance guide](../../../PROVENANCE.md).
2116

2217
## About LaunchDarkly
2318

0 commit comments

Comments
 (0)