Flags SDK Release Notes
Last updated: Apr 3, 2026
- Apr 3, 2026
- Date parsed from source:Apr 3, 2026
- First seen by Releasebot:Apr 3, 2026
Flags SDK improves Next.js flag evaluation performance with caching and lower microtask overhead.
Patch Changes
c08f3e5: Improve performance by caching next/headers imports. Previously every flag evaluation in Next.js App Router would run await import("next/headers"). The imported module is cached by the runtime, but we would still go through the event loop unnecessarily. Now we cache the resolved module in a local variable so only the first call awaits the dynamic import; subsequent calls skip the microtask entirely.
c08f3e5: Reduce microtask queue overhead in flag evaluation by replacing the async IIFE around decide() with a direct call and Promise.resolve().
- Mar 21, 2026
- Date parsed from source:Mar 21, 2026
- First seen by Releasebot:Mar 22, 2026
@vercel/[email protected]
Flags SDK fixes SDK key detection to avoid false positives with third-party vf_ identifiers.
Patch Changes
b755ffe: Fix SDK key detection to avoid false positives with third-party identifiers.
The SDK key validation now uses a regex to require the format vf_server_* or vf_client_* instead of accepting any string starting with vf_. This prevents false positives with third-party service identifiers that happen to start with vf_ (e.g., Stripe identity flow IDs like vf_1PyHgVLpWuMxVFx...).
Original source Report a problem All of your release notes in one feed
Join Releasebot and get updates from Vercel and hundreds of other software products.
- Mar 21, 2026
- Date parsed from source:Mar 21, 2026
- First seen by Releasebot:Mar 22, 2026
@vercel/[email protected]
Flags SDK fixes SDK key detection to avoid false positives with third-party vf_ identifiers.
Patch Changes
b755ffe: Fix SDK key detection to avoid false positives with third-party identifiers.
The SDK key validation now uses a regex to require the format vf_server_* or vf_client_* instead of accepting any string starting with vf_. This prevents false positives with third-party service identifiers that happen to start with vf_ (e.g., Stripe identity flow IDs like vf_1PyHgVLpWuMxVFx...).
Original source Report a problem - Mar 21, 2026
- Date parsed from source:Mar 21, 2026
- First seen by Releasebot:Mar 22, 2026
@flags-sdk/[email protected]
Flags SDK ships a patch update with refreshed dependencies, including @vercel/flags-core 1.3.1.
Patch Changes
Updated dependencies [b755ffe]
@vercel/[email protected]
Original source Report a problem - Mar 19, 2026
- Date parsed from source:Mar 19, 2026
- First seen by Releasebot:Mar 20, 2026
@vercel/[email protected]
Flags SDK loosens Evaluation type restrictions to fix an accidental breaking change for type-based usage.
Patch Changes
b81963d: Loosen the type restrictions on the Evaluation type as the previous implementation would only work with interface but not with type that lead to an accidental breaking change.
Original source Report a problem - Mar 19, 2026
- Date parsed from source:Mar 19, 2026
- First seen by Releasebot:Mar 20, 2026
@flags-sdk/[email protected]
Flags SDK loosens Evaluation type restrictions and updates dependencies in a patch release.
Patch Changes
- b81963d: Loosen the type restrictions on the Evaluation type as the previous implementation would only work with interface but not with type that lead to an accidental breaking change.
Updated dependencies [b81963d]
- @vercel/[email protected]
- Mar 18, 2026
- Date parsed from source:Mar 18, 2026
- First seen by Releasebot:Mar 18, 2026
@vercel/[email protected]
Flags SDK releases minor changes that let developers specify entities type when creating clients and tailor evaluations with a custom entities type; it also patches to skip sending config read events for dev and custom backends.
Minor Changes
64619d7: Allow specifying entities type when creating clients
You can now create clients while specifying the entities type:
type Entities = { user: { id: string; name?: string } }; const client = createClient<Entities>(""); client.evaluate("flagKey", undefined, { user: { id: "" } }); // uses Entities type for contextYou can still narrow the entities type when evaluating flags:
client.evaluate<{ user: { id: string; name: string } }>( "flagKey", false, { user: { id: "", name: "" } } // uses custom entities type );Patch Changes
- 4a5f56a: Skip sending config read events for dev and custom backends
- Mar 18, 2026
- Date parsed from source:Mar 18, 2026
- First seen by Releasebot:Mar 18, 2026
@flags-sdk/[email protected]
Flags SDK releases a minor update that lets developers specify entities type when creating clients and narrows types when evaluating flags, plus dependency bumps for vercel/flags-core.
Minor Changes
64619d7: Allow specifying entities type when creating clients
You can now create clients while specifying the entities type:
type Entities = { user: { id: string; name?: string } };
const client = createClient<Entities>("");
client.evaluate("flagKey", undefined, { user: { id: "" } }); // uses Entities type for context
You can still narrow the entities type when evaluating flags:
client.evaluate<{ user: { id: string; name: string } }>(
"flagKey",
false,
{ user: { id: "", name: "" } } // uses custom entities type
);type Entities = { user: { id: string; name?: string } }; const client = createClient<Entities>(""); client.evaluate("flagKey", undefined, { user: { id: "" } }); // uses Entities type for contextclient.evaluate<{ user: { id: string; name: string } }>( "flagKey", false, { user: { id: "", name: "" } } // uses custom entities type );Patch Changes
Updated dependencies [64619d7]
Original source Report a problem
Updated dependencies [4a5f56a]
@vercel/[email protected] - Mar 12, 2026
- Date parsed from source:Mar 12, 2026
- First seen by Releasebot:Mar 12, 2026
@vercel/[email protected]
Vercel patches internal flag hooks to guard when runtime helpers are not exposed during evaluation.
Patch Changes
dd1396e: Guard internal flag hooks when Vercel does not expose the expected runtime helpers during evaluation.
Original source Report a problem - Mar 12, 2026
- Date parsed from source:Mar 12, 2026
- First seen by Releasebot:Mar 12, 2026
@flags-sdk/[email protected]
Vercel announces patch changes updating dependencies flags 4.0.5 and vercel/flags-core 1.1.1.
Patch Changes
- Updated dependencies [dd1396e]
- [email protected]
- @vercel/[email protected]