fix(deps): update dependency @upstash/redis to ^1.41.0
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @upstash/redis (source) | ^1.39.0 → ^1.41.0 |
⚠️ Renovate does not enforce Minimum Release Age for bump, lockfileUpdate, or rollback updates, so these are raised without a Minimum Release Age check. You will need to manually validate the Minimum Release Age for these package(s).
Release Notes
upstash/redis-js (@upstash/redis)
v1.41.0
Minor Changes
dbf1863: Support hybrid search:s.hybrid()declares aHYBRIDfield, andquery()accepts the$ann,$rrfand$standardretrievers.count()andaggregate()accept$rrfand$standardwithout$ann.
Patch Changes
4d3f58e: Include TypeScript source and Redis SDK documentation in the npm package for offline reference and coding agents. Command JSDoc links each documented method to its bundled docs page and notes automatic JSON deserialization on commands that return stored values.
v1.40.0
Minor Changes
-
2254796: DefaultresponseEncodingtofalse. The server now returns string values as plain JSON instead of base64, which cuts response sizes by up to 25%. SetresponseEncoding: "base64"to keep the previous behavior.Behavior changes with the new default:
- String values that start with a UTF-8 BOM keep it. Automatic deserialization still ignores the BOM, so a BOM-prefixed JSON value is parsed as before; other BOM-prefixed strings, and all strings with
automaticDeserialization: false, are returned exactly, BOM included. - Invalid UTF-8 (binary data) is still replaced with
U+FFFD, but the server now replaces each invalid byte, so the number of replacement characters can differ. Binary values were not preserved before either. - A nested
OKstatus reply (e.g. a Lua script returning{redis.call("SET", ...)}) no longer sometimes decodes to8. - Error replies nested in arrays (e.g. Lua
pcallresults) are no longer garbled.
Static aborted
signal(all encodings):abort()with no reason or with anErrorreturnsnull. WithresponseEncoding: falseit used to return a serialized error object.abort(null)returnsnullinstead of"Aborted".- With the new default, other reasons are returned as is: strings that look like base64 (e.g.
"abcd") are no longer garbled, and booleans and objects are no longer dropped. - Non-Latin-1 string reasons no longer throw a
TypeErroron Node.
- String values that start with a UTF-8 BOM keep it. Automatic deserialization still ignores the BOM, so a BOM-prefixed JSON value is parsed as before; other BOM-prefixed strings, and all strings with
Configuration
📅 Schedule: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Summary by cubic
Updates @upstash/redis to ^1.41.0 in packages/redis. v1.40.0 changes the default responseEncoding from base64 to plain JSON for string values, which can cut response sizes by up to 25% but may affect existing code that relies on base64.
Behavior change
- Set
responseEncoding: "base64"explicitly to keep the old behavior. - Verify that string values are handled correctly after this update.