@vercel/rust@1.4.0
📦 vercel-functionsView on GitHub →
✨ 1 features🐛 2 fixes🔧 2 symbols
Summary
This release stabilizes the Rust runtime under `vercel dev` by dynamically allocating ports and improving shutdown handling to ensure background tasks complete.
✨ New Features
- Allocates a unique free port per `vercel dev` server instance when using the Rust runtime to prevent "address already in use" failures.
🐛 Bug Fixes
- Fixed intermittent "Process exited before completing request" failures during `vercel dev` restarts caused by the Rust runtime using a fixed default port.
- Ensured background work registered via `waitUntil` completes during shutdown in `vercel dev` by extending the shutdown grace period to allow the dev-mode `waitUntil` drain to finish.