Skip to main content

Inspect feature flag history with Vercel CLI

By Steven Van ·

Vercel CLI's new "flags versions" command lists every revision of a feature flag and can diff one against the last.

Vercel's CLI can now show the revision history behind a feature flag. Running vercel flags versions prints every saved revision for a flag, with each one's author, change message, timestamp, and which environments it changed.

  • Filter to a single environment with --environment.
  • Page through results with --limit and --cursor, or add --json for scripting.
  • Compare a revision against the one before it with vercel flags versions diff --revision. The diff is semantic, surfacing field-level changes to targeting rules, rollout percentages, and conditions, with additions, removals, and modifications shown as colored +, -, and ~.

The command requires updating to the latest version of the Vercel CLI, as described in the announcement.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Inspect feature flag history with Vercel CLI on Creators Toolbox