Releases: upstash/redis-js
v1.35.0
What's Changed
Features:
- feat: add withtypes option to the scan command by @ytkimirti in #1376
Fixes:
- feat: use uncrypto instead of crypto-js by @ytkimirti in #1375
Full Changelog: v1.34.9...v1.35.0
v1.34.9
What's Changed
Fixes:
- DX-1839: exclude some commands from auto pipeline by @CahidArda in #1373
Full Changelog: v1.34.8...v1.34.9
v1.34.8
What's Changed
- DX-1780: add hash expiration commands by @CahidArda in #1371
Full Changelog: v1.34.7...v1.34.8
v1.34.7
What's Changed
Features:
- DX-1660: Add EVAL_RO and EVALSHA_RO commands by @yunusemreozdemir in #1365
- DX-1780: Add HEXPIRE by @CahidArda in #1367
- Add json.merge command by @CahidArda in #1368
Fixes:
- Add expire options to PEXPIREAT, PEXPIRE, EXPIREAT by @CahidArda in #1370
Full Changelog: v1.34.6...v1.34.7
v1.34.6
What's Changed
- Don't use Array.shift in custom deserializers by @mdumandag in #1364
New Contributors
- @mdumandag made their first contribution in #1364
Full Changelog: v1.34.5...v1.34.6
v1.34.5
What's Changed
- Introduce SUBSCRIBE and PSUBSCRIBE Command by @fahreddinozcan in #1360
Full Changelog: v1.34.4...v1.34.5
v1.34.4
What's Changed
Features:
- Added command: getex by @SomajitDey in #1358
Fixes:
- Add install ci version to vercel deployed tests by @CahidArda in #1328
- Remove sleep after the last retry attempt by @CahidArda in #1342
- DX-1382: Generic EXEC command by @fahreddinozcan in #1346
- fix: remove test.only from auto-pipeline by @arjunattam in #1356
New Contributors
- @arjunattam made their first contribution in #1356
- @SomajitDey made their first contribution in #1358
Full Changelog: v1.34.3...v1.34.4
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