What's Changed
- Accept vercel kv env variables by @CahidArda in #1315
- In auto pipeline, throw errors seperately by @CahidArda in #1305
- Replace throw on missing env with warning by @CahidArda in #1311
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