Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 0 additions & 21 deletions .changeset/launchdarkly-experimentation-config.md

This file was deleted.

22 changes: 22 additions & 0 deletions packages/adapter-launchdarkly/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @flags-sdk/launchdarkly

## 1.0.0

### Major Changes

- [#418](https://github.com/vercel/flags/pull/418) [`5488865`](https://github.com/vercel/flags/commit/54888657e895d2c5e32f96baf545b9f798045c2c) Thanks [@mbrakken](https://github.com/mbrakken)! - Support the native LaunchDarkly Marketplace integration.

**Breaking changes:**

- The default adapter (`ldAdapter`) now reads the Edge Config connection string from the `EXPERIMENTATION_CONFIG` environment variable instead of `EDGE_CONFIG`. This aligns with the native LaunchDarkly Marketplace integration and matches the behavior of other adapters (e.g. Statsig). `EDGE_CONFIG` is no longer read by the default adapter. The error thrown when `EXPERIMENTATION_CONFIG` is not set changed to `LaunchDarkly Adapter: Missing EXPERIMENTATION_CONFIG environment variable`.

**If you use the legacy LaunchDarkly Vercel integration** (which provides the connection string as `EDGE_CONFIG`), pass the connection string explicitly with `createLaunchDarklyAdapter`:

```ts
import { createLaunchDarklyAdapter } from "@flags-sdk/launchdarkly";

const ldAdapter = createLaunchDarklyAdapter({
projectSlug: process.env.LAUNCHDARKLY_PROJECT_SLUG,
clientSideId: process.env.LAUNCHDARKLY_CLIENT_SIDE_ID,
edgeConfigConnectionString: process.env.EDGE_CONFIG,
});
```

## 0.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-launchdarkly/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flags-sdk/launchdarkly",
"version": "0.3.4",
"version": "1.0.0",
"description": "LaunchDarkly provider for the Flags SDK",
"keywords": [
"flags-sdk",
Expand Down
Loading