Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: upstash/redis-js

Tags

v1.36.0-rc.3

Toggle v1.36.0-rc.3's commit message
feat: edit schema of describe return type

v1.35.8

Toggle v1.35.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: improve env variable access (#1399)

* fix: avoid throwing error if process variable is not defined in the default client

* fix: improve error message for when env is missing in cloudflare

---------

Co-authored-by: CahidArda <[email protected]>

v1.36.0-rc.2

Toggle v1.36.0-rc.2's commit message
fix: mv filter parameter inside query options

v1.36.0-rc.1

Toggle v1.36.0-rc.1's commit message
Merge branch 'main' into redis-search

v1.35.8-canary-2

Toggle v1.35.8-canary-2's commit message

Verified

This commit was signed with the committer’s verified signature.
fix: improve error message for when env is missing in cloudflare

v1.35.8-canary

Toggle v1.35.8-canary's commit message
Merge branch 'main' into DX-2299-safe-env

v1.35.7

Toggle v1.35.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix: zremrangebyscore should accept string | number for min/max scores (

#1396)

* Fix: zremrangebyscore should accept string | number for min/max scores

The zremrangebyscore command had incorrect TypeScript type definitions
that only accepted number for min and max parameters, but the Redis
protocol and Upstash REST API accept string values like '-inf' and '+inf'.

This change aligns zremrangebyscore with the existing zcount command,
which already uses number | string for score range parameters.

Changes:
- Updated min parameter type from 'number' to 'number | string'
- Updated max parameter type from 'number' to 'number | string'

Fixes #1395

* fix: narrow down allowed strings in zremrangebyscore

* fix: add more tests

---------

Co-authored-by: CahidArda <[email protected]>

v1.35.6

Toggle v1.35.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: catch json parse errors (#1392)

* fix: catch json parse errors

* fix: throw upstash error outside the try catch

* fix: fix tests and http error handling

* fix: revert lock files

* fix: fix tests

* fix: fix tests

* fix: switch from toInclude to toHaveProperty

* fix: fix lpop, rpop and subscribe tests

* fix: zscan returns string as cursor

* fix: fix test inside test flaw

* fix: simplify UpstashJSONParseError options

---------

Co-authored-by: CahidArda <[email protected]>

v1.35.5

Toggle v1.35.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
DX-2161: fall back to returning the message string if message is not …

…parsable (#1391)

* fix: fall back to returning the message string if message is not parsable

when the message was a string, we tried to parse which got an error. Also, test durations were too short and we were getting the subscribe event instead of the message event

* fix: publish message as string instead of JSON stringified format

v1.35.4

Toggle v1.35.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: adhere to deserialization setting (#1388)

* fix: adhere to deserialization setting

* fix: change default parsing option

* fix: narrow type

* ci: fix test path

---------

Co-authored-by: CahidArda <[email protected]>