vercel@57.0.0
Breaking Changes📦 vercel-functionsView on GitHub →
⚠ 1 breaking✨ 5 features🐛 2 fixes🔧 11 symbols
Summary
This release introduces an opt-in native CLI binary, improves the output and behavior of various Vercel CLI commands like alerts and logs, and enhances team scope persistence. It also includes a breaking change for Python framework applications regarding request path observation.
⚠️ 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, run `vercel upgrade --enable-binary` or set the `useNativeBinary` global config flag.
- For Python projects, be aware that the request path observed by framework applications will now be the resolved rewrite destination. Monitor for warnings related to this change.
✨ 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` / `fully_dynamic`).
- Preserved the selected team scope across re-authentication. `vercel login` no longer resets `currentTeam` to the default team when re-authenticating.
- The native CLI binary trampoline is now opt-in. It is only spawned when the user opts in via `vercel upgrade --enable-binary` or the `useNativeBinary` global config flag. Members of the `vercel` team are auto-opted-in.
🐛 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.
- Ensured `vercel teams switch` does not hard-fail when the persisted team is stale (deleted or membership revoked), allowing users to always switch away.