Change8

vercel@50.40.0

📦 vercel-cliView on GitHub →
2 features🐛 3 fixes🔧 3 symbols

Summary

This release introduces new commands for enabling Speed Insights and Web Analytics on projects. It also includes several backend improvements for CLI performance and scope resolution.

✨ New Features

  • Added `vercel project speed-insights` command to enable Speed Insights for a project, supporting `--format json` and non-interactive error payloads.
  • Added `vercel project web-analytics` command to enable Web Analytics for a project, supporting `--format json` and non-interactive error payloads.

🐛 Bug Fixes

  • Improved CLI scope resolution groundwork.
  • Fixed current-team detection for the `vercel switch` command.
  • Cached the authenticated `userId` in the CLI auth config to reduce unnecessary `getUser()` requests.

Affected Symbols