From 9bb0e293b15212e11f7b7f5a45fdbd4ef991a78a Mon Sep 17 00:00:00 2001 From: ytkimirti Date: Wed, 14 Oct 2026 11:19:02 +0300 Subject: [PATCH 1/2] docs(redis): update hashed response troubleshooting for plain default --- redis/sdks/ts/troubleshooting.mdx | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/redis/sdks/ts/troubleshooting.mdx b/redis/sdks/ts/troubleshooting.mdx index 9561858db..c04fbe471 100644 --- a/redis/sdks/ts/troubleshooting.mdx +++ b/redis/sdks/ts/troubleshooting.mdx @@ -39,16 +39,14 @@ console.log(data); #### Problem -By default `@upstash/redis` will request responses from the server to be base64 -encoded. This is to prevent issues with some edge cases when storing data where -the http response fails to be deserialized using `res.json()` - -This solves the problem for almost all edge cases, but it can cause new issues. +Versions of `@upstash/redis` before 1.40.0 request base64 encoded responses from +the server by default. If a response reaches your code without being decoded, +you see the base64 encoded value. #### Solution -You can disable this behavior by setting `responseEncoding` to `false` in the -options. +Upgrade to `@upstash/redis` 1.40.0 or later, which requests plain responses by +default, or set `responseEncoding` to `false` in the options. ```ts const redis = new Redis({ @@ -57,13 +55,6 @@ const redis = new Redis({ }); ``` -This should no longer be necessary, but if you are still experiencing issues -with this, please let us know: - -- [Discord](https://discord.gg/w9SenAtbme) -- [X](https://x.com/upstash) -- [GitHub](https://github.com/upstash/upstash-redis/issues/new) - ## Large numbers are returned as string You are trying to load a large number and it is returned as a string instead. From fb1ea1809efb89984db72227d73521f66a3e9e8b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 08:20:29 +0000 Subject: [PATCH 2/2] chore(llms): regenerate llms.txt and llms-full.txt --- llms-full.txt | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/llms-full.txt b/llms-full.txt index 9293c7f19..f2a96eca2 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -92379,16 +92379,14 @@ console.log(data); #### Problem -By default `@upstash/redis` will request responses from the server to be base64 -encoded. This is to prevent issues with some edge cases when storing data where -the http response fails to be deserialized using `res.json()` - -This solves the problem for almost all edge cases, but it can cause new issues. +Versions of `@upstash/redis` before 1.40.0 request base64 encoded responses from +the server by default. If a response reaches your code without being decoded, +you see the base64 encoded value. #### Solution -You can disable this behavior by setting `responseEncoding` to `false` in the -options. +Upgrade to `@upstash/redis` 1.40.0 or later, which requests plain responses by +default, or set `responseEncoding` to `false` in the options. ```ts const redis = new Redis({ @@ -92397,13 +92395,6 @@ const redis = new Redis({ }); ``` -This should no longer be necessary, but if you are still experiencing issues -with this, please let us know: - -* [Discord](https://discord.gg/w9SenAtbme) -* [X](https://x.com/upstash) -* [GitHub](https://github.com/upstash/upstash-redis/issues/new) - ## Large numbers are returned as string You are trying to load a large number and it is returned as a string instead.