Releases: upstash/redis-js
v1.34.3
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
1.34.3-canary-2
Canary for #1311
Full Changelog: 1.34.3-canary...1.34.3-canary-2
1.34.3-canary
Canary for #1311
Full Changelog: v1.34.2...1.34.3-canary
v1.34.2
v1.34.1
What's Changed
- Revisit SDK Examples by @yunusemreozdemir in #1196
- Fix TS5084 Error in Bitfield SubCommandArgs by @CahidArda in #1235
- Change signature of SADD by @ytkimirti in #1250
- Redis Eslint Update by @fahreddinozcan in #1278
- Add sync token set/get methods by @CahidArda in #1299
New Contributors
- @yunusemreozdemir made their first contribution in #1196
Full Changelog: v1.34.0...v1.34.1
v1.35.0-canary
canary for #1290
What's Changed
- Update SDK Examples by @yunusemreozdemir in #1196
- Fix TS5084 Error in Bitfield SubCommandArgs by @CahidArda in #1235
- Remove cron from github flow by @ogzhanolguncu in #1247
- Change signature of SADD by @ytkimirti in #1250
- Redis Eslint Update by @fahreddinozcan in #1278
New Contributors
- @yunusemreozdemir made their first contribution in #1196
Full Changelog: v1.34.0...v1.35.0-canary
v1.34.0
What's Changed
- feat: add json mset command by @ogzhanolguncu in #1197
- ci: remove stale command by @ogzhanolguncu in #1205
- Dx 1102 by @ogzhanolguncu in #1213
- DX-1019: Read Your Writes Support by @fahreddinozcan in #1175
Full Changelog: v1.33.0...v1.34.0
v1.33.1-canary
What's Changed
- feat: add json mset command by @ogzhanolguncu in #1197
- ci: remove stale command by @ogzhanolguncu in #1205
- Dx 1102 by @ogzhanolguncu in #1213
Full Changelog: v1.33.0...v1.33.1-canary
v1.33.0
What's Changed
- Enable auto pipelining by default by @CahidArda in #1187
Full Changelog: v1.32.0...v1.33.0
v1.32.0
What's Changed
- DX-1023: Add regex for base url by @CahidArda in #1157
- feat: add bitfield command by @lewxdev in #1159
- Resolve Auto Pipeline Arrappend Issue by @CahidArda in #1165
New Contributors
Full Changelog: v1.31.6...v1.32.0