Yesterday's Top Poster

Inspect feature flag history with Vercel CLI

  • Thread starter Thread starter Chris Widmaier
  • Start date Start date
Vercel Flags version history can now be inspected from the Vercel CLI with the new vercel flags versions command.

Run vercel flags versions <flag> to print the full revision history for a flag, with each revision's author, message, timestamp, and changed environments. Filter to a specific environment with --environment, paginate with --limit and --cursor, or add --json for scripting.


To compare a revision against the one before it, run vercel flags versions diff <flag> --revision <n>. The diff is semantic, surfacing field-level changes to targeting rules, rollout percentages, and conditions. Additions, removals, and modifications appear as colored +, -, and ~.


Update to the latest version of the Vercel CLI and learn more in the Vercel Flags CLI documentation to get started.

Read more

Continue reading...
 
Back
Top