Repository navigation
fix(go.mod/go.sum): update minor dependencies (golang) - #85
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
4 times, most recently
from
October 26, 2026 14:49
458b06c to
07c5e3b
Compare
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
from
November 3, 2026 00:21
07c5e3b to
6a026c2
Compare
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
from
November 4, 2026 15:59
6a026c2 to
0cba694
Compare
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
from
November 5, 2026 15:57
0cba694 to
0bec5bc
Compare
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
from
November 10, 2026 00:42
0bec5bc to
56d7213
Compare
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
from
November 10, 2026 17:55
56d7213 to
7ba1bcd
Compare
renovate
Bot
force-pushed
the
renovate/minor-deps-golang
branch
from
November 24, 2026 19:32
7ba1bcd to
26de992
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
v2.33.1→v2.34.0v0.94.2→v0.95.2v9.23.0→v9.24.0v0.42.0→v0.43.0v0.22.0→v0.23.0Release Notes
onsi/ginkgo (github.com/onsi/ginkgo/v2)
v2.34.0Compare Source
Features
DeferOnFailureregisters a callback that runs only when a spec fails - as soon as the failing node returns and before any teardown (JustAfterEach,AfterEach,AfterAll,DeferCleanup) - so it can capture the state teardown is about to destroy. It takes exactly whatDeferCleanuptakes and shares its scoping: called inBeforeEach/JustBeforeEach/Itit covers the spec, inBeforeAllthe ordered container, and inBeforeSuitethe whole suite. It is also available onGinkgoT(); note that this adds a method toFullGinkgoTInterface, so hand-written implementations of that interface need to add it. See https://onsi.github.io/ginkgo/#capturing-failure-state-deferonfailureFixes
AttachProgressReporter) are no longer called while Ginkgo holds an internal lock, so a reporter that callsCurrentSpecReport()orAddReportEntry()no longer stalls for 5 seconds and has its output dropped.--sleep-on-failurenow runs after anyDeferOnFailurecallbacks, also pauses when a spec times out, and no longer pauses if the suite has already been interrupted.prometheus-operator/prometheus-operator (github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring)
v0.95.2: 0.95.2 / 2026-11-10Compare Source
linux/amd64. #8971v0.95.1: 0.95.1 / 2026-11-05Compare Source
Maintenance release because the CI workflow failed to publish the
v0.95.0container images.v0.95.0: 0.95.0 / 2026-11-04Compare Source
alertmanagerConfigFileSystemModefield to theAlertmanagerCRD controlling how to processAlertmanagerConfigresources which have references to files from the Alertmanager container's filesystem.extraScrapeMetricsfield to thePrometheusandPrometheusAgentCRDs. #8810extraScrapeMetricsfield to theServiceMonitor,PodMonitor,ProbeandScrapeConfigCRDs. #8892ScrapeConfigstatus subresource when selected byPrometheusAgentcustom resources (requires theStatusForConfigurationResourcesfeature gate). #8910ServiceMonitorstatus subresource when selected byPrometheusAgentcustom resources (requires theStatusForConfigurationResourcesfeature gate). #8860PodMonitorstatus subresource when selected byPrometheusAgentcustom resources (requires theStatusForConfigurationResourcesfeature gate). #8859Probestatus subresource when selected byPrometheusAgentcustom resources (requires theStatusForConfigurationResourcesfeature gate). #8930AlertmanagerConfigstatus subresource onAlertmanagerreconciliations (requires theStatusForConfigurationResourcesfeature gate). #8261labelsfield to theAlertmanagerConfigto manage route labels. #8761labelsin the Alertmanager configuration Secret. #8865botTokensupport for the global Telegram configuration in theAlertmanagerCRD. #8403<version>-distrolesstag). #8815--disable-pprofCLI argument. #8920--log.levelflag for Prometheus >=3.15.0. #8881routingKeyandserviceKeyreferences resolve to empty strings. #8842imagePullPolicyto theThanosRulerconfig-reloader sidecar. #8916tsandlevelkeys consistent in the config-reloader logs (thetskey always comes first). #8913AlertmanagerConfigCRD. #8906 #8897ScrapeConfigCRD. #8898AlertmanagerConfigcustom resources with duplicated time interval names. #8896AlertmanagerConfigCRD. #8842clientAuthTypefield inPrometheus,PrometheusAgent,AlertmanagerandThanosRulerCRDs. #8823ThanosRulerCRD. #8813ttlfield when convertingAlertmanagerConfigresources. #8866AlertmanagerConfigresources. #8858redis/go-redis (github.com/redis/go-redis/v9)
v9.24.0: 9.24.0Compare Source
This is a minor release. It contains everything from 9.24.0-beta.1 and 9.24.0-beta.2, so these notes cover the full 9.23.0 → 9.24.0 upgrade. The release adds:
ZMOVE,BITRANGEINTARRAY,CF.COMPACT, scalar-quantized HNSW,BLESSand more, tested against Redis 8.12.0.COMMANDmetadata.ClusterClient, and CSC withEphemeralConn.OTelRecorder, MultiDB metrics inredisotel-native, and much less OpenTelemetry cost on the hot path.FullDuplexPipes,PipelineMinIdleConns) and a cluster recovery fix for full-duplex sessions.ACLGetUser,ClusterSlotStatsand the Redis 8.10BACKUPcommands.🚀 Highlights
Redis 8.12 support
This release adds the new commands and options of Redis 8.12 and runs its tests against Redis 8.12.0 (#4404).
SExpire,SPExpire,SExpireAt,SPExpireAt(each withWithArgs),STTL,SPTTL,SExpireTime,SPExpireTime,SPersist,SAddEXandSAddEXWithArgs(#4165) by @ndyakov.ZMOVE,BZMOVEandZMOVEMEMBER(#4289), andBITRANGEINTARRAY(#4242) by @ndyakov.CF.COMPACTasCFCompact(#4243) by @ndyakov.CELL_SIZEforCMS.INITBYDIMandCMS.INITBYPROB(CMSInitByDimCellSize,CMSInitByProbCellSize) (#4023), and scalar-quantized HNSW indexes inFT.CREATEwith the two newFT.INFOfields (#4077) by @vlady-kotsev.RERANKforFT.HYBRID, theBITRANGEINTARRAYoptions and the new command metadata (#4277) by @ndyakov.BLESS:BLESS GET,BLESS SET,BLESS CLEARandBLESS SCANfor theNO-EVICTflag (#4041) by @vlady-kotsev.BlessScanis node-local: scan each master of a cluster or ring.MultiDB client (experimental)
NewMultiDBClientroutes commands to one active database out of several standalone or cluster members (e.g. Redis Enterprise Active-Active) and fails over based on circuit breakers, health checks and a weight-based failover strategy, with auto-fallback to higher-weight members. Themultidbpackage adds ping and lag-aware health checks and probe policies. Seeexample/multidb(#3954) by @ndyakov. Defaults:CommandRetries(0 = 2, -1 = none) retries on the database active at each attempt, and every attempt is counted by the breaker and failure detector. Standalone members get no retries of their own (MaxRetries0 becomes -1); an explicitMaxRetriesis kept.multidb.WithProbes/WithDelay/WithTimeout;HealthCheckTimeout(3s) caps the pass. Probes that cannot fit it are rejected at construction and byAddDatabase. Under the default policy,SetActiveDatabaseandProbeTargetBeforeFailoveruse one probe per check.InitialDBStateMajorityAvailableneeds half the members, rounded up (1 of 2). A failed start matchesErrInsufficientHealthyDatabases; with no healthy member it also matchesErrPermanentlyNotAvailable.FailureDetectorConfig, whose fields are used as given; start fromDefaultMultiDBFailureDetectorConfig().redisotel-nativereports MultiDB events (failover, active database change, circuit breaker state change, health check) in a newmultidbmetric group,MetricGroupFlagMultiDB, whichMetricGroupAllincludes (#4007) by @ndyakov.ProcessHookthat returnsnilwithout callingnextis no longer counted as a healthy database response (#4271), and a local result of a member hook in a cluster pipeline is kept when another node fails (#4279) by @harshitdeora. Full-duplex outcomes are recorded in the failure window after the active member is selected again (#4283) by @xixi-box.Experimental: the MultiDB API can change in a minor release. User hooks and health checks must not call MultiDB control methods or
Close.Metadata-driven cluster routing
Cluster routing and CSC use the same resolved
COMMANDrecord for each command, so flags, key positions and policies cannot drift between two metadata sources (#3960, #4093) by @ofekshenawa.DBSize,ScriptLoad,ScriptFlushandScriptExistshelpers are preserved. InstallNewCommandMetadataResolver()orclient.NewDynamicResolver()withSetCommandInfoResolverto enable metadata-based fan-out and aggregation.CommandMetadataconfiguration alone does not enable them. Cross-slot fan-out is not atomic.MGETfollows redirects for each affected slot during resharding instead of returning a missing value for a key that moved. Successful slot groups are not replayed, and fan-out replies that containMOVEDorASKrefresh the topology for later commands.AsyncAutoPipelinerejects fan-out before dispatch. Automatic fan-out is available through the blocking face or unordered half-duplex mode.SCAN,INFOand known diagnostics stay node-local.int64results, including rawDoresults; integer overflow returns an error. Aggregates with floating-point replies returnfloat64.SetFirstKeyPos. Commands missing from the snapshot keep the legacy key-position fallback; setCommandMetadataPreferLiveorCommandMetadataConfig.Overridesfor full metadata. The defaultCommandMetadataStaticmode does no network lookup unless resolution reaches an installedNewDynamicResolver. Identity probes have bounded deadlines, and after a failure or invalidation commands use conservative metadata while verification retries in the background.CLUSTER SHARDSand falls back toCLUSTER SLOTS, and concurrent reloads share one in-flight load. Keyless routing prefers healthy nodes without excluding every candidate on a temporary local marker.ErrClusterTopologyUnhealthysupportserrors.Is, and unknown response policies return an error.FT.CURSOR READis no longer retried after a lost reply, on standalone and cluster clients, because the server may already have advanced the cursor.SCANiterator on aClusterClientnow visits every master. Before, it sent each page to a random node with the cursor of another node and could end early without an error (#4200) by @ndyakov.DEL,EXISTS,TOUCHandUNLINKon several keys of one slot returned the per-slot count multiplied by the number of keys in that slot. They now count each slot once (#4141) by @lazerg.Client-side caching
Experimental: the CSC options can change in a minor release.
Options.ClientSideCacheTrackingModeselectsTrackingModePlain(default),TrackingModeOptInorTrackingModeOptOut.Options.ClientSideCacheableis a predicate that selects the eligible unmarked calls, andWithCache(ctx)/WithoutCache(ctx)mark one call. The mode works with miss coalescing, refresh on invalidate, pipelines, autopipeline and cluster fan-out. With CSC on, the native full-duplex engine leases only the untracked pipeline pool and does not use the main pool (#4193) by @ofekshenawa.ClusterClient: each node client has its own cache, shared by its connection pool, with per-node capacity limits.ClusterOptions,UniversalOptionsandNewFailoverClusterClientaccept the CSC options, andCSCStats()andCSCRefreshStats()add up the registered nodes. The client does not store a reply that cannot prove that every key it depends on exists. A MOVED or ASK redirect bypasses the cache, and a topology change flushes only the caches of nodes that enter or leave routing. Replica reads, ordinary pipelines, transactions and full-duplex batches stay uncached (#4080) by @ofekshenawa.EphemeralConnlazily dials a fresh, untracked connection. Session commands are allowed without disrupting the parent cache, and reads always go to Redis. The connection takes noPoolSizeturn, does not support maintenance handoff, and must be closed after use. Without CSC, idle-connection reuse is unchanged (#4174) by @aditya-rai-5.Full-duplex autopipelining
AutoPipelineOptions.FullDuplexPipessets the number of full-duplex pipes (held connections) on a standaloneClient. 0 means 1.NumShards > 1underFullDuplexstill selects that number whenFullDuplexPipesis 0, butFullDuplexPipesis the preferred name.Config().FullDuplexPipesreports the effective count. On a cluster, a full-duplex autopipeliner keeps one pipe for each master (#4107) by @ndyakov.Options.PipelineMinIdleConns(default 0,pipeline_min_idle_connsin URLs) sets the minimum idle connections of the dedicated pipeline pool, and is available onClusterOptions,RingOptions,FailoverOptionsandUniversalOptions. A full-duplex engine keeps one idle spare, so a replacement for a failed held connection does not wait for a TCP or TLS dial. The spare is dialed but not initialized:HELLOandAUTHstill run on the first lease (#4101) by @ndyakov.Lower OpenTelemetry cost
Two groups of changes remove most of the cost of the
redisotel-nativemetrics on the hot path.GETthroughput went from about 190k/s on v9.23.0 to about 2.1M/s (about 2.0M/s with OTel off). The gain depends on RTT, the number of commands in flight and the CPU, so expect a smaller effect on a remote Redis. The full-duplex reader reads its goroutine id once for each session, andRecordOperationDurationuses a bounded attribute cache and a queue for the success path (#4269) by @ndyakov.db.client.connection.countanddb.client.connection.pending_requestsare now observed at collection time from the pool statistics, and no longer updated on everyGetandPut. The measurement options of the pool and command metrics are cached, and the global recorder is read without a lock. In one in-memory test (500 connections, 128 workers, all metric groups on) a command ran at 165k ops/s before, 678k with the observed connection count, 895k with the cache, and about 1.05M with the observed pending requests (1.21M with OTel off).InitandShutdownwith 10k connections went from about 7.4 ms to 0.13 ms and 0.011 ms. Over a real Redis there is no measurable difference between OTel on and off (#4406, #4407, #4408) by @ndyakov.Per-client
OTelRecorderEach client can have its own metrics recorder. Set
OTelRecorderinOptions,ClusterOptions,RingOptions,FailoverOptions,UniversalOptionsorMultiDBOptions. The client sends its commands, pipelines, errors, cluster redirects, Pub/Sub messages, stream lag, and pool and connection events to it. Cluster nodes, ring shards, sentinel clients and MultiDB members use the recorder of their parent. Clients without it use the recorder fromredis.SetOTelRecorder, as before. Inredisotel-native,NewRecordermakes a recorder with its ownWithCustomAttributes, which take precedence over the attributes of the globalInitconfig (#4179) by @vladvildanov.Idle connection reaper
ConnMaxLifetimeReapInterval(onOptions,ClusterOptions,FailoverOptions,RingOptionsandUniversalOptions, andconn_max_lifetime_reap_intervalin URLs) starts a background goroutine that closes idle connections pastConnMaxLifetimeorConnMaxIdleTimeand refills the pool towardMinIdleConns, so expired connections are closed off the request path. It is off by default. When it is on, it also closes connections that were idle longer thanConnMaxIdleTime, 30 minutes by default. Connections in use, and connections that a re-auth or handoff worker owns, are skipped, and a refill towardMinIdleConnsadds dials at low concurrency (#4334, #4340) by @ndyakov.More new commands
BACKUP START,SEAL,ABORT,CLEANUPandSTATUSfor Redis 8.10 (#4286) by @Purv-Kabaria.ACLGetUserreturns anACLUserwith the flags, passwords, command, key and channel rules and the selectors of a user, for Redis 7.0 and later. A missing user returnsredis.Nil(#4357) by @ruziba3vich.ClusterSlotStatsandClusterSlotStatsOrderByrunCLUSTER SLOT-STATSwith a slot range orORDERBY, for Redis 8.2 and later. On aClusterClient,MultiDBClientandAutoPipelinerthe call asks every master and merges the replies, so the result covers the whole cluster and the top slots are global, as withDBSize. A pipeline still sends the command to one node. The slot metrics beyond the key count needcluster-slot-stats-enabled yeson the servers (#4358) by @ruziba3vich.Check these when you upgrade from 9.23.0:
Dialer(single commands, pipelines,Watch,ConnandTx, the Sentinel client, Ring shards and cluster nodes),MaxRetriesno longer starts a newDialerRetriessequence on an endpoint where one has already failed. With default options a refused connection is now reported after about 0.4s, where it took about 1.7s before. Attempts on other cluster nodes or Ring shards are kept, and a customDialerkeeps its previous retry behavior.DialTimeoutstill applies to each attempt, so a dial that hangs is still bounded byDialTimeouttimesDialerRetries. A command that reaches an exhausted node or shard skips that address and keeps its bounded retries for the others, and a cluster client asks for a topology reload, so a replacement can be reached in the same call. An unpinnedSCANthat exhausts a node also falls back to the replicas thatReadOnlyrouting allows (#4304, #4331) by @xixi-box, issue #4329.ContextDeadlineErrorfor socket timeouts that come from a context deadline (#4263) by @aditya-rai-5. WithContextTimeoutEnabled: true, a socket timeout caused by the deadline of the caller's context now matchescontext.DeadlineExceededwitherrors.Is, and still matchesnet.ErrorwithTimeout() == true. The complete original transport error stays in the chain. Such an error is no longer retried, because the context has already expired, and its message starts withcontext deadline exceeded:. A read timeout that arrives together with data no longer reaches the next command, and a socket timeout that fires slightly before the context deadline is still reported ascontext.DeadlineExceeded(#4306) by @PerryLink, issue #4305.WithTimeoutkeeps hooks: a client returned byWithTimeoutnow runs the hooks of its parent. Before, it dropped them, so hooks added withAddHookdid not run for commands, pipelines and transactions on that client (#4095) by @CaliLuke.COMMANDmetadata and fails closed (#3960) by @ofekshenawa. An unknown, malformed, blocking, nondeterministic or script-based command runs as usual but is not cached.JSON.MGETandTS.INFOare no longer cached by default. With CSC enabled, more eligible commands can be cached in the defaultStaticmetadata mode (theBF.*,CF.*,TOPK.*,TDIGEST.*,V*andAR*families,CMS.QUERY,EXPIRETIME,PEXPIRETIME,HEXPIRETIME,HPEXPIRETIME,PFCOUNT,SDIFFCARD,SUNIONCARD,ZINTERCARDand others).Command()results now also contain subcommand entries namedparent|child, for exampleclient|id. When built-in CSC is on, a rawCLIENT CACHINGcommand is rejected, like the other commands that change connection state (#4193) by @ofekshenawa.MaxActiveConnsnow counts all connections registered with the pool (pooled, excess, and dedicatedNewConnconnections) plus in-flight dial reservations. Before, admission checked only the pooled count, so clients with this limit can now receiveErrPoolExhaustedfromNewConn/EphemeralConnor during bursts that previously exceeded it.NewConnnow waits for the sharedMaxConcurrentDialslimit and honors context cancellation while waiting, and idle prewarming shares this limit without holding a pool turn. These changes apply to all clients using the pool, not only CSC ephemeral sessions (#4174) by @aditya-rai-5.ScanonHGETALL/HMGETresults used to stop at the first field that failed to decode, and withHGETALLthe set of filled fields was random. It now sets every field it can decode and still returns an error. When several fields fail, their errors are joined witherrors.Join, in key order forHGETALLand argument order forHMGET, soerrors.Isanderrors.Asmatch each of them. For the built-in types, a field that fails to decode keeps its previous value. A custom decoder (ScanRedis,UnmarshalTextorUnmarshalBinary) runs on the existing field and can leave a failed field changed. Code that reuses the struct after an error will see more fields set (#4136 by @lazerg, #2255 by @cpoole, #4294 by @Avv123).ParseURL,ParseClusterURLandParseFailoverURLnow reject negativedialer_retry_timeout,read_buffer_sizeandwrite_buffer_sizevalues, and a negativepool_size, which used to panic. Replace negative retry timeouts with0for no delay, or omit the parameter for the default 100 ms delay; an explicitdialer_retry_timeout=0now disables the delay (#4144) by @Samuel-Sorial. A negativePoolSizein the options structs selects the default (#4325) by @ump45nose.ParseURLandParseFailoverURLalso reject a negative database number (#4275) and a plain-second duration that overflowsint64nanoseconds (#4276) by @ump45nose. A disableddial_timeout(0or a negative value in the URL) now means no dial deadline. Before, every dial failed at once (#4168) by @PerryLink.Usernamewith an emptyPasswordsends noAUTH, the same as 9.23.0. To authenticate an ACL user created withnopass, setAuthEmptyPassword: true(orauth_empty_password=truein the URL); for sentinel connections useSentinelAuthEmptyPassword(sentinel_auth_empty_password=true). The rule also applies to credentials fromCredentialsProvider,CredentialsProviderContextandStreamingCredentialsProviderused when a connection is set up; re-authentication on a credentials refresh is unchanged. Redis Enterprise and Redis Cloud databases with unauthenticated access can reject an empty password, which is why this is opt-in. The client-side cache keeps a separate namespace for a username that sends noAUTH(#4161 by @saddamr3e, #4194 by @ndyakov).redisotel.InstrumentTracingandInstrumentMetricsnow instrument existing shards. Remove any per-shard instrumentation workaround when instrumenting the ring to avoid duplicate spans and metrics (#4227) by @nk-batman21.db.client.connection.countanddb.client.connection.pending_requestsare now asynchronous instruments, so views or selectors keyed on the instrument kind match them differently. A series that exists is reported at every collection, and the series of a closed pool stay at 0 untilShutdown.OTelConnectionCounter.RecordConnectionCountis no longer called and is deprecated; a custom recorder that built its own count from it should implementOTelPoolRegistrarand readPoolStats()(#4406, #4408) by @ndyakov. Inredisotel-native, only a server error reply getsredis:<PREFIX>aserror.type, theservercategory anddb.response.status_code. A closed connection (io.EOF) is noweofin thenetworkcategory with no status code, and a server error wrapped by a hook keeps its prefix (#4391) by @ruziba3vich.MinIdleConnsof its pipeline pool to 1, so the pool holds one extra idle connection for each client (for each node on a cluster). SetPipelineMinIdleConnsto a negative value to opt out (#4101) by @ndyakov.Script.Loadkeeps the client-computed SHA-1: aScriptmade withNewScriptno longer takes the digest from theSCRIPT LOADreply, so a server that replies with another digest cannot redirect laterRun/RunROcalls.NewScriptServerSHAstill uses the server digest (#3943) by @saddamr3e.PubSub.Channelmisuse does not panic: callingChannelandChannelWithSubscriptionson onePubSubnow returns a closed channel and logs a warning.Ring.Subscribe,PSubscribeandSSubscribewith no channels, or a failed shard lookup, return aPubSubthat carries the error (#3968) by @VedantMadane.Cmdand return values: a search that setsLimitOffsetand leavesLimitat 0 now returns up to 10 documents from that offset. On Redis 7 it returned an empty page before, and on Redis 8 it was an error (#4285) by @kevin9327.FTHybridWithArgssendsWINDOWforCOMBINE LINEARas well as forRRF, where aWindowwithLINEARwas ignored (#4379) by @ruziba3vich.Cmd.Uint64of a negative integer returns an error, where it returned the wrapped value (#4369) by @ruziba3vich.XInfoStreamFullreports a-1consumer-group lag when Redis replies with a nil lag (#4217), andClusterClient.ScriptFlushreturnsOK(#4252) by @LindseyZ1205.Cmdable,ClusterCmdableand their sub-interfaces gain methods for the new commands (ACLGetUser,ClusterSlotStats,ClusterSlotStatsOrderBy, the 8.10 and 8.12 commands andBlessCmdable). This is the usual way go-redis adds commands. A custom type that implements these interfaces, for example a mock, must add the methods.✨ New Features
FT.AGGREGATEsteps:FILTERandLIMITare now steps inFTAggregateOptions.Steps, so you can filter beforeGROUPBY, filter more than once, and placeLIMITbetween steps.AggregateBuildergetsLimit(). The old tail fieldsFilterandLimitOffset/Limitstill work, are sent after all steps, and are deprecated in favor of steps (#4076) by @ndyakovXRead:XReadArgs.IDsgives one ID for each stream, in the order ofStreams, and takes precedence overID(#4203) by @aozmekikScanIterator:ScanIterator.Vals(ctx)returns aniter.Seq[string]for use withrange(#3348) by @khasanovbiParseURL,ParseClusterURLandParseFailoverURLacceptdialer_retries,dialer_retry_timeout,context_timeout_enabled,read_buffer_size,write_buffer_size,disable_identityandidentity_suffixwhere the options struct has the field (#4063) by @SulimanAbdulrazzaq.ParseClusterURLalso accepts?skip_verify=trueonrediss://URLs (#4106) andtls_verify_node_host=true, which clearsTLSConfig.ServerNameso each node is verified against the host it is dialed at and not against the host of the first URL. The default is unchanged, andrediss://cluster URLs now setMinVersion: tls.VersionTLS12, asParseURLandParseFailoverURLdo (#4145) by @PragalvaXFREZauth.ContextStreamingCredentialsProviderinterface lets the client callSubscribeWithContextwhen it sets up a connection, so the context bounds the wait for the first credentials. Providers without the method keepSubscribe(#4249) by @PragalvaXFREZTSCreateRuleOptions.AlignTimestamp: the field is now exported, so callers outside the package can set the bucket alignment forTSCreateRuleWithArgs(#4280) by @pcbeingused333🐛 Bug Fixes
Connections, pool and transactions
Options.Limiter: the handshake of a new connection (HELLO,AUTH,SELECT,CLIENT SETINFO,CLIENT MAINT_NOTIFICATIONS) no longer callsLimiter.Allowper command. The command that dials pays one admission and reports the handshake result once, and a PubSub connection, a reconnect after a handoff and a fresh full-duplex session each pay one. Before, a half-open circuit breaker spent its probe budget on the handshake and never closed (#4232) by @othoathydrahost. A panic in anOnConnector credentials hook now settles the admission (#4247) by @ump45noseMOVINGhandoff under concurrent traffic could give one connection two owners. Both wrote on the same socket and read each other's replies, so aGETcould return the"OK"of aSET, with no error (#4110, #4239) by @ndyakov. A completed handoff is now removed from the trackedMOVINGoperations, soGetState()no longer staysStateMoving(#4392), and the handoff queue of a nil config is capped byMaxActiveConnslike any other (#4389) by @ruziba3vichGetfrees its pool turn when anOnGethook rejects a new connection, so the pool no longer loses a slot on each such failure (#4396) by @ruziba3vich. An idle scan that skipped an unusable connection and acquired a usable one on its last attempt no longer loses it from the idle list (#4322) by @xixi-box. Idle TLS connections that the server closed are retired and the command runs again without spending a retry (#4197) by @dunglasMaxActiveConns: at the cap,Getnow waits withinPoolTimeoutfor an idle connection that is re-authenticating, and does not fail withErrPoolExhausted(#4313) by @xixi-box, issue #4311. A race at the cap, where the only connection finished re-authentication just before the capacity check, is closed by the same release (#4333) by @Tidehyc, issue #4332TxPipelinedreturns an error and drops the connection whenEXECreplies with a different number of results than the number of queued commands, and a rejectedMULTIdrops the connection (#4186, #4192) by @saddamr3e.Tx.Closerequires anOKreply toUNWATCHand removes the connection when it cannot confirm a clean state (#4316) by @xixi-boxWRONGPASS), each queued command now gets the error, wherePipeline.Execreturned it but every command hadErr() == nil(#4312) by @xh123637Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.