Files
github-actions[bot] f0f8a00848 Version Packages (#465)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-12 08:39:34 +02:00

3.3 KiB

@flags-sdk/launchdarkly

1.1.1

Patch Changes

1.1.0

Minor Changes

  • #452 58e1f5b Thanks @luismeyer! - Replace @vercel/edge-config with @vercel/global-config.

    Rename the Edge Config adapter package to @flags-sdk/global-config and rename repository-owned Edge Config files, exports, types, options, variables, and environment variables to Global Config.

    The previous Edge Config names remain available as deprecated aliases, and the previous environment variables are still honored as fallbacks, so existing code keeps working without changes.

1.0.0

Major Changes

  • #418 5488865 Thanks @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:

      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

  • 5f3757a: drop tsconfig dependency

0.3.3

Patch Changes

  • ff052f0: upgrade internal @vercel/edge-config dependency to v1.4.3

0.3.2

Patch Changes

0.3.1

Patch Changes

  • 595e9d0: only read edge config once per request

0.3.0

Minor Changes

  • 917ef42: change API from ldAdapter() to ldAdapter.variation()

Patch Changes

  • b375e4e: add metadata to package.json
  • 917ef42: expose ldClient on default ldAdapter

0.2.1

Patch Changes

0.2.0

Minor Changes

  • 2fcc446: Add LaunchDarkly adapter

0.1.0

Minor Changes