Neon Performance Releases Stability

Missing @neondatabase/serverless in edge (general)

Part of the Connection pooling check · fix arrives as a guide

What it is

Edge-runtime code queries Neon without using @neondatabase/serverless.

Why it matters

The standard drivers need TCP and Node APIs the edge runtime does not provide, so the code fails to build or fails at runtime on the first query — usually after it has already deployed.

How to fix it

Install @neondatabase/serverless and use its neon() or Pool export in edge routes. It speaks HTTP for one-shot queries and WebSocket for transactions, both of which work in that runtime.

Run them all on your app

Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.