Change8

@vercel/python-runtime@0.16.0

📦 vercel-cliView on GitHub →
1 features🔧 2 symbols

Summary

This release introduces WebSocket support for WSGI applications, allowing platforms to handle bidirectional streaming after the initial handshake.

✨ New Features

  • Support WebSockets for WSGI apps (e.g. Flask via `flask-sock`). The runtime now exposes the raw connection socket in the WSGI `environ` as `werkzeug.socket` / `gunicorn.socket` for WebSocket upgrade requests, and ends the request lifecycle once the `101` handshake is written so the platform can begin bidirectional streaming — matching the ASGI `websocket.accept` behavior.

Affected Symbols