PatchVault › Errors › @vercel/kv & @vercel/postgres → Upstash + Neon
npm warn deprecated @vercel/kv@3.0.0: Vercel KV is deprecated. If you had an existing KV store, it should have moved to Upstash Redis which you will see under Vercel Integrations.
npm prints the package's deprecation notice on install. The Vercel KV product was sunset, and existing stores were moved to Upstash Redis.
Check your code free (runs in your browser)
The box is pre-filled with a sample that triggers this error. Paste your own file to check it. Nothing leaves this page.
Or scan your whole repo locally (free, stdlib Python, read-only):
python3 <(curl -fsSL https://patchvault-81y.pages.dev/starters/vercel-kv-scan.py) .
Get the @vercel/kv & @vercel/postgres → Upstash + Neon auto-fixer: $9 one-time
Why it happens
@vercel/kv 3.0.0 is the last release. The registry message points new projects to a Redis integration from the Vercel Marketplace.
Manual fix
npm uninstall @vercel/kv && npm install @upstash/redis
// before
import { kv } from '@vercel/kv'
// after
import { Redis } from '@upstash/redis'
const kv = Redis.fromEnv() // reads UPSTASH_REDIS_REST_URL / UPSTASH_REDIS_REST_TOKEN
Verify
Re-run your install/build and re-scan the file above. The finding should be gone. The paid fixer applies the same change across a repo: --dry-run shows the diff, --apply keeps a .bak of each file, and --rollback restores them.
Sources
Related errors
- @vercel/kv: Missing KV_REST_API_URL and KV_REST_API_TOKEN
- VercelPostgresError missing_connection_string: fix
- @vercel/postgres is deprecated: migrate to Neon
Full guide and free terminal scanner: @vercel/kv & @vercel/postgres → Upstash + Neon. Last checked 2026-10-31.