megachangelog
Improvement

Flags SDK now evaluates flags 10x faster

The Flags SDK dramatically improved flag evaluation performance by 10x through reduced microtask queue overhead and fewer promise creations. Users should upgrade to the latest version and use the new evaluate() method with bulk flag evaluation to benefit from these optimizations.

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

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

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

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

automatically benefits from these improvements as well.precompute()

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

Read more

flagsperformancesdkoptimization

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Feature

Agents can now buy domains with the Vercel CLI

Vercel CLI now enables agents to discover, check availability, and initiate domain purchases through structured commands, with purchase confirmation remaining under user control via interactive terminal or dashboard approval.

clidomainsagentsapi
Announcement

New Pro teams default to 30-day deployment retention

Pro teams now default to a 30-day deployment retention period to balance keeping recent history available while reducing storage costs. You can configure a longer retention period in team settings if needed.

deploymentsstoragepro-teamspricing
Announcement

Deployment Storage billing begins for existing Pro teams

Pro teams will now be charged for Deployment Storage and Functions Storage at $0.10 per GB-month. The default deployment retention window changes to 30 days, with deployments older than 30 days deleted automatically unless you adjust your retention settings beforehand.

billingstoragepricingdeployments
See all Vercel changes →