Skip to content

Comments

[@vercel/kv, @vercel/postgres, @vercel/postgres-kysely] Add notices to READMEs#831

Merged
adriancooney merged 2 commits intomainfrom
adriancooney/deprecate-kv-postgres-packages
Mar 3, 2025
Merged

[@vercel/kv, @vercel/postgres, @vercel/postgres-kysely] Add notices to READMEs#831
adriancooney merged 2 commits intomainfrom
adriancooney/deprecate-kv-postgres-packages

Conversation

@adriancooney
Copy link
Collaborator

@adriancooney adriancooney commented Feb 21, 2025

This PR adds notices to the READMEs of @vercel/kv, @vercel/postgres and @vercel/postgres-kysely. The Vercel KV and Vercel Postgres have transitioned over to Neon and Upstash in the Vercel Marketplace, unlocking the full potential of both platforms for Vercel customers. As a consequence, we are recommending @vercel/kv in favour of Upstash's @upstash/redis module and @vercel/postgres in favour of Neon's @neondatabase/serverless. These modules were essentially just wrappers around these modules anyway (with some added bells and whistles and API sprinkles). npm deprecation notices will follow soon.

@changeset-bot
Copy link

changeset-bot bot commented Feb 21, 2025

⚠️ No Changeset found

Latest commit: dda3a01

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
vercel-storage-next-integration-test-suite ✅ Ready (Inspect) Visit Preview Mar 3, 2025 2:16pm

@adriancooney adriancooney requested a review from a team February 21, 2025 10:40
@adriancooney adriancooney force-pushed the adriancooney/deprecate-kv-postgres-packages branch from 9fda40a to 733334b Compare February 21, 2025 10:42
# @vercel/kv
# @vercel/kv (deprecated)

> [!CAUTION] > **`@vercel/kv` is deprecated**. Please use [the `@upstash/redis` package from Upstash instead](https://github.com/upstash/redis-js).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-02-21 at 12 05 16

it seems the Note didn't render correctly

Should we add some info about the features in this package not avilable in @upstash/redis?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grrr. My editor formatter removed the new line, very strange. Updated! Thanks for checking.

Should we add some info about the features in this package not avilable in @upstash/redis?

What had you in mind?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • this package overrides scan, hscanIterator, sscan, zscan...not sure if upstash fixed that issue in the meantime, otherwise we could mention it in the deprecation note

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you mean like an upgrade guide? I'll check in with the docs team to see where we are on that.

# @vercel/postgres
# @vercel/postgres (deprecated)

> [!CAUTION] > **`@vercel/postgres` is deprecated**. Please use [the `@neondatabase/serverless` package from Neon instead](https://github.com/neondatabase/serverless). See the [Vercel Postgres to Neon transition guide](https://neon.tech/docs/guides/vercel-postgres-transition-guide).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, apologies! I think I pushed an older commit.

@adriancooney adriancooney changed the title [@vercel/kv, @vercel/storage] Add deprecation notice to READMEs [@vercel/kv, @vercel/postgres, @vercel/postgres-kysely] Add deprecation notice to READMEs Feb 24, 2025
@adriancooney adriancooney force-pushed the adriancooney/deprecate-kv-postgres-packages branch from c3cdff7 to 9085f1b Compare March 3, 2025 13:51
@adriancooney adriancooney changed the title [@vercel/kv, @vercel/postgres, @vercel/postgres-kysely] Add deprecation notice to READMEs [@vercel/kv, @vercel/postgres, @vercel/postgres-kysely] Add notices to READMEs Mar 3, 2025
@adriancooney adriancooney merged commit ee7b35b into main Mar 3, 2025
12 checks passed
@adriancooney adriancooney deleted the adriancooney/deprecate-kv-postgres-packages branch March 3, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants