Packages/@vercel/postgres

Alternatives to @vercel/postgres

Its maintainers have deprecated it: no fix is coming, so the next advisory stays open. Here is what they and the community point to instead.

Deprecated by its maintainers

@vercel/postgres is deprecated. If you are setting up a new database, you can choose an alternate storage solution from the Vercel Marketplace. If you had an existing Vercel Postgres database, it should have been migrated to Neon as a native Vercel integration. You can find more details and the guide to migrate to Neon's SDKs here: https://neon.com/docs/guides/vercel-postgres-transition-guide

Named in the deprecation message

Read from the message, so worth a look before switching.

Before you switch

  1. 1

    Check what else depends on it

    Paste your package.json in the dependency check to see every deprecated or outdated package in one pass, not only this one.

  2. 2

    Read the replacement's peers and releases

    The page of Neon lists what it works with, its recent release notes and any open advisory.

  3. 3

    Know when it ships

    Follow the new package on Inlinr: its releases and advisories land in your feed, and the time spent on the migration branch shows on its page.