
flags@4.5.0 lets projects on Vercel use Flags Explorer and precompute without setting a FLAGS_SECRET environment variable. New projects lose a setup step, while microfrontend projects no longer need to keep the same shared secret in sync across each frontend.
The Vercel changelog explains that Vercel now signs Flags Explorer discovery requests and overrides. The SDK encrypts flag values displayed in the Vercel Toolbar using Vercel’s public key.
This applies when the project uses Vercel-managed keys. Existing projects continue using their current secret until it is removed from both the environment and the code.
What flags@4.5.0 changes on Vercel
The update changes how Flags Explorer and precompute are authenticated on Vercel deployments. It does not remove secret-based configuration where a project still needs it.
| Project setup | Before | With flags@4.5.0 |
|---|---|---|
| New Vercel project | Configure FLAGS_SECRET | Use Vercel-managed keys |
Existing project with FLAGS_SECRET | Use the configured secret | Continues using the configured secret |
| Microfrontends | Keep a shared secret in sync | Vercel manages signing and encryption |
| Local development | Pull project environment variables | Run vercel env pull |
Upgrading the package alone does not move an existing project to managed keys. The environment variable takes priority while it remains set. The same applies when a secret is passed directly in code.
Existing projects need one manual change
To switch an existing project, upgrade the SDK, remove the old secret configuration and refresh the local environment.
- 1
Upgrade the SDK
install flags@4.5.0
- 2
Remove the old secret
delete FLAGS_SECRET and any code that passes it explicitly
- 3
Refresh local development
run vercel env pull
Precompute without a secret requires Vercel system environment variables, which are enabled by default. Codes created this way work only inside the deployment that created them. Prebuilt deployments and codes that need to work across deployments still require a secret, with FLAGS_PRECOMPUTE_SECRET available for precompute configuration.
The change follows Vercel’s work on flag deployment checks, including the Flag Definitions Present Deployment Check.
Frequently asked questions
What is flags@4.5.0 on Vercel?
flags@4.5.0 is a Flags SDK release that allows Flags Explorer and precompute to work without FLAGS_SECRET on Vercel. Vercel signs discovery requests and overrides, while the SDK encrypts Toolbar flag values with Vercel’s public key.
Does flags@4.5.0 automatically replace FLAGS_SECRET?
No. Existing projects continue using FLAGS_SECRET while the environment variable is set or the secret is passed in code. Both must be removed to use Vercel-managed keys.
Which Vercel plan includes flags@4.5.0?
The changelog does not list pricing or plan restrictions. It states that secret-free precompute requires Vercel system environment variables, which are enabled by default.
Sources
3 checkedHow we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.







