Bỏ qua đến nội dung chính
Back to home
Tech tools-ai 1 min read

Vercel CLI now supports traffic splitting for Vercel Flags 🚩

The Vercel CLI tool has introduced a new command, allowing developers to configure traffic splitting directly from the command line for feature testing.

Tier 2 · sources 99% confidence Reviewed
Sources vercel.com

Vercel has announced the addition of the vercel flags split command to the Vercel CLI. This update allows developers to configure weighted traffic splits directly for Vercel Flags without needing to use the web interface.

Key details

Previously, managing and splitting traffic for experimental versions required users to perform manual actions on the Vercel dashboard. According to the Vercel Blog announcement, the new feature optimizes developer workflows by integrating deeply into the familiar CLI environment. The new command supports both interactive mode and direct inputs for environment variables, bucketing attributes, and variant weights via flags.

Why it matters

With this improvement, engineering teams can easily implement techniques like A/B testing or canary deployments. Splitting traffic percentages among different variants can now be fully automated within CI/CD pipelines, minimizing risks when deploying new source code to production. For developers operating products on the Vercel platform, this tool provides more flexible traffic control without disrupting existing workflows.