Update dependency redis to v6.2.0 #158
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/redis-6.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
6.1.0→6.2.0Release Notes
redis/node-redis (redis)
v6.2.0Compare Source
6.2.0
✨ Highlights
Cluster commands now follow the server's request/response policies. node-redis reads each command's routing policy from the server's
COMMANDmetadata and routes and aggregates accordingly, so the cluster client behaves much more like a single server. Multi-key commands that span hash slots —MGET,MSET,DEL,EXISTS,TOUCH,UNLINK— are transparently split per slot and their replies reassembled in caller order, so cross-slot calls that previously failed withCROSSSLOTnow just work. Fan-out commands such asKEYS,DBSIZE,FLUSHALL,PING,WAIT,SCRIPT EXISTSandCONFIG SETrun across every shard (or every node) and their replies are aggregated per the server's policy,SCANwalks the whole cluster behind a per-client virtual cursor, andRANDOMKEY/FT.CURSORget correct cluster-aware routing. Replica read-scaling was also aligned with the server flags, so read-only keyless commands (DBSIZE,KEYS,SCAN,RANDOMKEY, and the RediSearch / time-series reads) can be served from replicas again.⚠️ Behavior change for the raw
sendCommandpath: a table-recognized command sent raw — e.g.cluster.sendCommand(['DBSIZE'])— now follows its policy (fan-out and aggregate) instead of hitting a single node. Callers who relied on raw commands for per-node operations should target a specific node withcluster.nodeClient(node).sendCommand(...).This release also brings a broad wave of new command coverage across the client and modules. The time-series package gains the most: new
TS.NRANGE/TS.NREVRANGEmulti-key pivot commands, aTS.READcursor reader,TS.QUERYLABELS,EXCLUDEEMPTYonMRANGE/MREVRANGE, and multi-aggregator support. RediSearch addsFT.ALIASLIST, aCOLLECTreducer forFT.AGGREGATE, HNSWRERANK, timeout warnings on theFT.SEARCHfamily, and the full set of stemmer languages. The core client addsSUNIONCARD/SDIFFCARD,LMOVEM/BLMOVEM,ZREVRANK WITHSCORE,COMMAND DOCS, andXREAD MAXCOUNT/MAXSIZE. A large batch of correctness fixes lands for zero-valued optional arguments (LIMIT 0,DB 0,SAMPLES 0,ENTRIESREAD 0,IDLETIME/FREQ 0,ENTRIESADDED 0) that were previously dropped from the wire, alongside several cluster and sentinel connection-lifecycle fixes.The new HIMPORT command family (managed fieldset lifecycle) ships as experimental — see the warning below.
🚀 New Features
COMMAND DOCSsupport (#3362) — @Hashim1999164LMOVEMandBLMOVEMcommands (#3340) — @nkaradzhovSUNIONCARDandSDIFFCARDset-cardinality commands (#3336) — @nkaradzhovzRevRankWithScore(#3279) — @raashish1601MAXCOUNT/MAXSIZEoptions (#3335) — @nkaradzhovFT.SEARCHfamily (#3338) — @nkaradzhovFT.ALIASLIST(#3351) — @nkaradzhovRERANKparameter for HNSW vector fields (#3356) — @nkaradzhovCOLLECTreducer toFT.AGGREGATE(#3310) — @nkaradzhovTS.NRANGE/TS.NREVRANGEmulti-key pivot commands (#3337) — @nkaradzhovTS.NRANGE/TS.NREVRANGE(#3360) — @nkaradzhovTS.QUERYLABELS(LABELSandVALUESforms) (#3354) — @nkaradzhovEXCLUDEEMPTYtoTS.MRANGE/TS.MREVRANGE(#3352) — @nkaradzhovTS.READcursor-read command (#3322) — @nkaradzhovGET,MGET, andARRPOP(#3205) — @JeanSamGirard⚠️ Experimental
🐛 Bug Fixes
extractAllCommandsdrain the write queue (#3364) — @GiHoon1123connect()instead of hanging when the resolved master is unreachable (#3331) — @GiHoon1123XADD/XTRIMwithLIMIT 0must emit the argument (#3342) — @Develop-KIMXGROUP CREATE/SETIDwithENTRIESREAD 0must emit the argument (#3333) — @Develop-KIMXSETIDwithENTRIESADDED 0must emit the argument (#3324) — @spokodevMEMORY USAGEmust emitSAMPLESwhen 0 (#3328) — @Develop-KIMRESTOREwithIDLETIME/FREQ 0must emit the argument (#3323) — @spokodevGETEX PXATwith aDatemust encode milliseconds (#3317) — @spokodevCOPYwithDB 0must emit theDBargument (#3318) — @spokodevFT.CREATEscores (#3355) — @alencristenhScanValuesIteratornow yields values instead of field names (#3344) — @winklemad🧰 Maintenance
GITHUB_TOKENtocontents: read(#3291) — @arpitjain099FT.SEARCH(#3339) — @nkaradzhovXCLAIM JUSTID(#3376) — @Piyush0049LATENCY LATESTtest (#3326) — @nkaradzhovrootNodesconfig is not inherited by node connections (#3327) — @nkaradzhovendevent description to referenceclose()anddestroy()(#3332) — @Wnayarjws(#3372),on-headers/express-session(#3371),uuid/nyc(#3370),esbuild/tsx(#3309) — @dependabotNew Contributors
Full Changelog: https://github.com/redis/node-redis/compare/redis@6.1.0...redis@6.2.0
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate.