feat!: Migrate vue-client-sdk to @launchdarkly/vue-client-sdk v3 - #1853
Draft
joker23 wants to merge 1 commit into
Draft
feat!: Migrate vue-client-sdk to @launchdarkly/vue-client-sdk v3#1853joker23 wants to merge 1 commit into
joker23 wants to merge 1 commit into
Conversation
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
Contributor
|
@launchdarkly/browser size report |
joker23
force-pushed
the
skz/sdk-2194/migrate-vue-sdk
branch
from
August 12, 2026 21:10
250e00b to
611181c
Compare
joker23
force-pushed
the
skz/sdk-2194/migrate-vue-sdk
branch
from
August 12, 2026 21:11
611181c to
3381b65
Compare
The standalone `launchdarkly-vue-client-sdk` package is superseded by
`@launchdarkly/vue-client-sdk`, now living in the js-core monorepo and
built on top of the shared `@launchdarkly/js-client-sdk` platform layer.
feat: Typed variation composables: useBoolVariation, useStringVariation,
useNumberVariation, useJsonVariation (replace the generic useLDFlag)
feat: Variation detail composables for each type (useBoolVariationDetail, etc.)
feat: Provider component API: createLDProvider, createLDProviderWithClient
feat: Provider slots for initialization states (default, initializing, failed)
feat: createClient for programmatic client creation (BYO client pattern)
feat: Multi-environment support via createLDVueInstanceKey
feat: Bootstrap support to eliminate initialization waterfall
feat: startOptions for controlling initialization timeout
feat: Reactive flag keys (MaybeRefOrGetter<string>) on all variation composables
feat: LDVueClient type extending base LDClient with Vue lifecycle helpers
feat: useInitializationStatus replaces useLDReady with richer status object
BREAKING CHANGE: Package renamed from launchdarkly-vue-client-sdk to @launchdarkly/vue-client-sdk.
BREAKING CHANGE: Plugin renamed from LDPlugin to LDVuePlugin; options interface renamed from LDPluginOptions to LDVuePluginOptions.
BREAKING CHANGE: Plugin options field `options` (LDOptions pass-through) renamed to `ldOptions`.
BREAKING CHANGE: useLDFlag removed; use useBoolVariation, useStringVariation, useNumberVariation, or useJsonVariation instead.
BREAKING CHANGE: useLDReady removed; use useInitializationStatus which returns a discriminated union { status: 'initializing' | 'complete' | 'timeout' | 'failed' }.
BREAKING CHANGE: Low-level injection keys LD_INIT, LD_READY, LD_CLIENT, LD_FLAG removed; use composables (useLDClient, useInitializationStatus, variation composables) instead.
BREAKING CHANGE: ldInit composable removed; use createLDProviderWithClient with client.start() for deferred initialization.
BREAKING CHANGE: Deprecated user option removed from plugin options; use context instead.
BREAKING CHANGE: Implicit anonymous-user fallback removed; context is now required in LDVuePluginOptions and createLDProvider.
joker23
force-pushed
the
skz/sdk-2194/migrate-vue-sdk
branch
from
August 13, 2026 15:18
3381b65 to
6ccf5a7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The standalone
launchdarkly-vue-client-sdkpackage is superseded by@launchdarkly/vue-client-sdk, now living in the js-core monorepo andbuilt on top of the shared
@launchdarkly/js-client-sdkplatform layer.BEGIN_COMMIT_OVERRIDE
feat: Typed variation composables: useBoolVariation, useStringVariation,
useNumberVariation, useJsonVariation (replace the generic useLDFlag)
feat: Variation detail composables for each type (useBoolVariationDetail, etc.)
feat: Provider component API: createLDProvider, createLDProviderWithClient
feat: Provider slots for initialization states (default, initializing, failed)
feat: createClient for programmatic client creation (BYO client pattern)
feat: Multi-environment support via createLDVueInstanceKey
feat: Bootstrap support to eliminate initialization waterfall
feat: startOptions for controlling initialization timeout
feat: Reactive flag keys (MaybeRefOrGetter) on all variation composables
feat: LDVueClient type extending base LDClient with Vue lifecycle helpers
feat: useInitializationStatus replaces useLDReady with richer status object
BREAKING CHANGE: Package renamed from launchdarkly-vue-client-sdk to @launchdarkly/vue-client-sdk.
BREAKING CHANGE: Plugin renamed from LDPlugin to LDVuePlugin; options interface renamed from LDPluginOptions to LDVuePluginOptions.
BREAKING CHANGE: Plugin options field
options(LDOptions pass-through) renamed toldOptions.BREAKING CHANGE: useLDFlag removed; use useBoolVariation, useStringVariation, useNumberVariation, or useJsonVariation instead.
BREAKING CHANGE: useLDReady removed; use useInitializationStatus which returns a discriminated union { status: 'initializing' | 'complete' | 'timeout' | 'failed' }.
BREAKING CHANGE: Low-level injection keys LD_INIT, LD_READY, LD_CLIENT, LD_FLAG removed; use composables (useLDClient, useInitializationStatus, variation composables) instead.
BREAKING CHANGE: ldInit composable removed; use createLDProviderWithClient with client.start() for deferred initialization.
BREAKING CHANGE: Deprecated user option removed from plugin options; use context instead.
BREAKING CHANGE: Implicit anonymous-user fallback removed; context is now required in LDVuePluginOptions and createLDProvider.
END_COMMIT_OVERRIDE