npm @upstash/redis 1.34.3
v1.34.3

13 hours ago

What's Changed

Changes

Vercel Env Variables

@upstash/redis sdk now also works when the env variables of Vercel KV are set:

KV_REST_API_URL
KV_REST_API_TOKEN

Granular Auto Pipeline Errors

When the pipeline of the auto pipeline failed, it threw an error for all commands in the auto pipeline. This is not ideal for the use case of auto pipeline. Now, they are raised seperately.

This required changing the exec method of Pipeline. It's not possible to return the errors instead of raising them. See the docstring for more details.

Remove throw on missing URL/Token

We updated the SDK to throw error if the URL or the token is not set in v1.31.1, in PR #1065. This causes the Vercel builds in Turbo repo to fail unless the turbo.json is updated.

Now, we only print warning logs if the credentials are missing, instead of throwing.

Full Changelog: v1.34.2...v1.34.3

Don't miss a new redis release

NewReleases is sending notifications on new releases.