releases.shpreview

Flag evaluation 10x faster with bulk API

July 8, 2026VercelView original ↗
1 feature1 enhancementThis release1 featureNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes
From the original release noteView original ↗

Flags SDK and Vercel Flags now evaluate multiple feature flags in bulk around 10x faster.

Flag evaluation time improved by reducing microtask queue overhead and creating fewer promises. The improvement scales with the number of flags.

Use await evaluate([flagA, flagB]) instead of Promise.all([flagA(), flagB()]) to benefit from these optimizations:

app/page.tsx

import { evaluate } from 'flags/next';
import { flagA, flagB } from '../flags';
const [valueA, valueB] = await evaluate([flagA, flagB]);

You can also pass an object to evaluate flags with named keys

app/page.tsx

import { evaluate } from 'flags/next';
import { flagA, flagB } from '../flags';
const { a, b } = await evaluate({ a: flagA, b: flagB });

precompute() automatically benefits from these improvements as well.

Upgrade flags and @flags-sdk/vercel to the latest versions to get started. Learn more in the documentation.

Fetched July 8, 2026