Change8

vercel@54.17.2

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

Summary

This patch introduces new Edge Config backup management commands and improves handling of very large file deployments by implementing streaming uploads to prevent crashes.

Migration Steps

  1. When configuring service-targeted rewrites or routes, the `type: "service"` field is now optional; it can be omitted if the `service` field is present.

✨ New Features

  • Added `vercel edge-config backups` command for listing, inspecting, and restoring Edge Config backups.
  • Made hand-written service-targeted route/rewrite `destination` config less repetitive by making the `type` discriminator optional in configuration files.

🐛 Bug Fixes

  • Handled deployments containing very large files (over ~2 GiB) without crashing by streaming large files instead of reading them into a single Buffer, resolving `ERR_FS_FILE_TOO_LARGE` errors.
  • CLI upload progress no longer assumes every file is held in memory when handling large files.

Affected Symbols