vercel@57.0.0
Breaking Changes📦 vercel-cliView on GitHub →
⚠ 1 breaking✨ 4 features🐛 1 fixes🔧 13 symbols
Summary
This release introduces improvements to the Vercel CLI, including enhanced alert outputs, better team scope persistence, and an opt-in mechanism for the native binary. It also includes a behavior change for Python framework applications regarding rewrite destinations.
⚠️ Breaking Changes
- Python framework applications will now observe the resolved rewrite destination as the request path. This is a behavior change that may affect how Python projects handle requests. Affected Python projects will receive a warning about this change.
Migration Steps
- To enable the native CLI binary trampoline, run `vercel upgrade --enable-binary` or set the `useNativeBinary` global config flag.
- If you are using Python framework applications, be aware that the request path observed by these applications will now be the resolved rewrite destination. You may need to adjust your application logic if it relies on the original request path.
✨ New Features
- Added a `resolved` attribute to the `vc.importBuilders` trace span to record each Builder's resolved version and source directory.
- Improved `vc alerts` and `vc alerts rules` output for custom alerts, including readable inspect views, custom alert rule filtering, compact rule tables, and normalized alert timestamps.
- Exposed `pprState` in `vc logs` output, showing how a PPR page was served (`fully_static`, `partially_dynamic`, or `fully_dynamic`).
- Preserved the selected team scope across re-authentication. `vercel login` no longer resets `currentTeam` to the default team when re-authenticating. `vercel teams switch` no longer hard-fails when the persisted team is stale.
🐛 Bug Fixes
- Fixed the native trampoline resolving the native binary through `NODE_PATH` by locating the native package with an explicit walk up the install's own `node_modules` tree.