Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3.3 KiB
@flags-sdk/launchdarkly
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#452
58e1f5bThanks @luismeyer! - Replace@vercel/edge-configwith@vercel/global-config.Rename the Edge Config adapter package to
@flags-sdk/global-configand 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
5488865Thanks @mbrakken! - Support the native LaunchDarkly Marketplace integration.Breaking changes:
-
The default adapter (
ldAdapter) now reads the Edge Config connection string from theEXPERIMENTATION_CONFIGenvironment variable instead ofEDGE_CONFIG. This aligns with the native LaunchDarkly Marketplace integration and matches the behavior of other adapters (e.g. Statsig).EDGE_CONFIGis no longer read by the default adapter. The error thrown whenEXPERIMENTATION_CONFIGis not set changed toLaunchDarkly 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 withcreateLaunchDarklyAdapter: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
-
e1def0e: Significantly improve performance by upgrading to@launchdarkly/vercel-server-sdkv1.3.34.This release avoids JSON.stringify and JSON.parse overhead which earlier versions of
@launchdarkly/vercel-server-sdkhad.See
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
0.2.1
Patch Changes
0.2.0
Minor Changes
2fcc446: Add LaunchDarkly adapter
0.1.0
Minor Changes
3c66284: initialize