Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

Flags SDK now works on Vercel without FLAGS_SECRET

With flags@4.5.0, Vercel projects can use Flags Explorer and precompute without requiring a FLAGS_SECRET, simplifying setup and eliminating the need to sync secrets across microfrontends. Vercel signs discovery requests and overrides, while the SDK encrypts flag values in the Vercel Toolbar using Vercel’s public key. Existing projects continue using FLAGS_SECRET if it's set or passed in code; upgrading alone doesn't switch to Vercel-managed keys. To transition, remove the environment variable and any explicit secret passes—use `vercel env pull` for local development. Precomputed codes without a secret are deployment-specific and require Vercel system environment variables, enabled by default. Cross-deployment prebuilt deployments still need a secret; use FLAGS_PRECOMPUTE_SECRET if only precompute requires one. Build cache users should consult the precompute documentation for required configurations.

Vercel CI no longer requires a linked Vercel project

Vercel CI can now be enabled on GitHub repositories without requiring an associated Vercel project, simplifying setup. Users need the Vercel GitHub App installed, their GitHub and Vercel accounts linked, and write or admin access to the repository. Running `vercel ci enable` in a local clone activates CI for the team, with configuration applied on subsequent pushes. This feature is currently limited to private GitHub repositories.

Simplifying runtime caching on Vercel

Vercel is merging its Data Cache service into Runtime Cache, unifying data caching across frameworks like Next.js, SvelteKit, and Nuxt. Developers using fetch caching or unstable_cache in Next.js won’t need to change their code. Pro and Enterprise projects receive increased storage allocations, with Pro getting 8x more space and Enterprise 10x. Runtime Cache now handles regional storage, authentication, and tag-based invalidation across Vercel’s global infrastructure. Improvements include faster reads during traffic bursts via circuit breakers, higher storage budgets reducing evictions, and enhanced observability with deployment markers, revalidation causes, and write utilization metrics. The migration simplifies billing and usage tools, with existing teams receiving advance notice and pricing details.