Skip to content

fix(deps): update vulnfeeds-go - #6471

Open
renovate-bot wants to merge 1 commit into
google:masterfrom
renovate-bot:renovate/vulnfeeds-go
Open

renovate-bot wants to merge 1 commit into
google:masterfrom
renovate-bot:renovate/vulnfeeds-go

Conversation

@renovate-bot

Copy link
Copy Markdown
Collaborator

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
charm.land/lipgloss/v2 v2.1.0 → v2.1.1 age confidence
cloud.google.com/go/storage v1.70.0 → v1.71.0 age confidence
github.com/gkampitakis/go-snaps v0.5.25 → v0.5.26 age confidence
github.com/redis/go-redis/v9 v9.23.0 → v9.24.0 age confidence
github.com/sethvargo/go-retry v0.5.0 → v0.7.0 age confidence
google.golang.org/api v0.312.0 → v0.317.0 age confidence
gopkg.in/dnaeon/go-vcr.v4 v4.0.7 → v4.0.8 age confidence

Release Notes

charmbracelet/lipgloss (charm.land/lipgloss/v2)

v2.1.1

Compare Source

Tiny patch

This version just bumps down the minimum Go version to match our other libraries

Have a nice Sunday,
Charm XX 🌦️

Changelog

Fixed
Other stuff

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

googleapis/google-cloud-go (cloud.google.com/go/storage)

v1.71.0: storage: v1.71.0

Features
  • storage: Add default buffer pool for gRPC parallel uploads (#​20719) (69a9ad3)
  • storage: Add error.type and gcp.errors.domain to operation spans (#​20705) (50cd4a3)
  • storage: Add gcp.client.retry.attempt_number to gRPC attempt spans (#​20716) (5528a50)
  • storage: Add gcp.storage.payload.offset/size_bytes to attempt spans (#​20757) (56721d1)
  • storage: Add gcp.storage.upload.id attribute for resumable uploads (#​20687) (1259592)
  • storage: Add gcp.storage.uri trace attribute to object and bucket operation spans (#​20606) (dfdddde)
  • storage: Add OpenTelemetry tracing for auth credential refreshes (#​20677) (3ec4bb2)
  • storage: Add RetryBackoff spans for retry backoffs (#​20715) (edca405)
  • storage: Add rpc.system.name attribute to trace spans (#​20655) (7d238ad)
  • storage: Add Storage.UploadChunk spans for resumable uploads (#​20750) (22c9ad5)
  • storage: Align metric names, units, and base labels (#​20796) (9e83e4c)
  • storage: Expose Unfinalized on ReaderObjectAttrs (#​20703) (c2aabb1)
  • storage: Record read and write mode trace attributes (#​20714) (f41be16)
Bug Fixes
  • Adds additional validation for REST RPC requests (#​20753) (7827181)
  • Correct 'seperated' and 'paramters' typos in comments (#​20828) (51c6cf6)
  • storage: Apply read stall timeout to initial stream open in MultiRangeDownloader (#​20840) (1ddfb07)
  • storage: Do not discard seen bytes on 206 Partial Content during reader reopen (#​20766) (aa773a1)
  • storage: Fix WaitGroup data race in MultiRangeDownloader callbacks (#​20827) (b6b9f0b)
  • storage: Prevent spurious cancelled status on completed gRPC reads (#​20409) (4749772)
  • storage: Unbreak storage benchmark module (#​20893) (51e96b4)
  • storage: Use URL-safe base64 for the feature tracking header (#​20684) (50fd4eb)
gkampitakis/go-snaps (github.com/gkampitakis/go-snaps)

v0.5.26

Compare Source

What's Changed

  • refactor: reuse comparing-and-storing snapshots logic by @​G-Rath in #​165
  • refactor: determine if we need updating based on the number of obsolute tests by @​G-Rath in #​155
  • refactor: reuse matcher logic by @​G-Rath in #​166
  • feat: sort new snaps without changing existing snaps when UPDATE_SNAPS is false by @​G-Rath in #​164

Full Changelog: gkampitakis/go-snaps@v0.5.25...v0.5.26

redis/go-redis (github.com/redis/go-redis/v9)

v9.24.0: 9.24.0

Compare 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:

  • Redis 8.12 support: set member expiration, ZMOVE, BITRANGEINTARRAY, CF.COMPACT, scalar-quantized HNSW, BLESS and more, tested against Redis 8.12.0.
  • The experimental MultiDB client for Active-Active (Redis Enterprise) failover.
  • Metadata-driven cluster routing and client-side caching (CSC) eligibility that come from the COMMAND metadata.
  • CSC OPT-IN / OPT-OUT tracking modes, CSC on ClusterClient, and CSC with EphemeralConn.
  • A per-client OTelRecorder, MultiDB metrics in redisotel-native, and much less OpenTelemetry cost on the hot path.
  • New full-duplex options (FullDuplexPipes, PipelineMinIdleConns) and a cluster recovery fix for full-duplex sessions.
  • An opt-in idle connection reaper, ACLGetUser, ClusterSlotStats and the Redis 8.10 BACKUP commands.
  • Many fixes for connections, cluster routing, authentication, reply parsing, and the search, JSON and probabilistic commands.

🚀 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).

  • Set member expiration: SExpire, SPExpire, SExpireAt, SPExpireAt (each with WithArgs), STTL, SPTTL, SExpireTime, SPExpireTime, SPersist, SAddEX and SAddEXWithArgs (#​4165) by @​ndyakov.
  • Sorted sets and bitmaps: ZMOVE, BZMOVE and ZMOVEMEMBER (#​4289), and BITRANGEINTARRAY (#​4242) by @​ndyakov.
  • Probabilistic and search: CF.COMPACT as CFCompact (#​4243) by @​ndyakov. CELL_SIZE for CMS.INITBYDIM and CMS.INITBYPROB (CMSInitByDimCellSize, CMSInitByProbCellSize) (#​4023), and scalar-quantized HNSW indexes in FT.CREATE with the two new FT.INFO fields (#​4077) by @​vlady-kotsev. RERANK for FT.HYBRID, the BITRANGEINTARRAY options and the new command metadata (#​4277) by @​ndyakov.
  • BLESS: BLESS GET, BLESS SET, BLESS CLEAR and BLESS SCAN for the NO-EVICT flag (#​4041) by @​vlady-kotsev. BlessScan is node-local: scan each master of a cluster or ring.
MultiDB client (experimental)

NewMultiDBClient routes 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. The multidb package adds ping and lag-aware health checks and probe policies. See example/multidb (#​3954) by @​ndyakov. Defaults:

  • MultiDB owns retries: 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 (MaxRetries 0 becomes -1); an explicit MaxRetries is kept.
  • Health checks: HEALTHY_ALL, 3 probes 500ms apart per check, honoring multidb.WithProbes / WithDelay / WithTimeout; HealthCheckTimeout (3s) caps the pass. Probes that cannot fit it are rejected at construction and by AddDatabase. Under the default policy, SetActiveDatabase and ProbeTargetBeforeFailover use one probe per check.
  • Startup: InitialDBStateMajorityAvailable needs half the members, rounded up (1 of 2). A failed start matches ErrInsufficientHealthyDatabases; with no healthy member it also matches ErrPermanentlyNotAvailable.
  • Weights are in (0, 1] (0 = 1.0); -1 disables a member. The last enabled member cannot be disabled.
  • The default failure detector (1000 failures and 10% within 2s) is set with FailureDetectorConfig, whose fields are used as given; start from DefaultMultiDBFailureDetectorConfig().
  • redisotel-native reports MultiDB events (failover, active database change, circuit breaker state change, health check) in a new multidb metric group, MetricGroupFlagMultiDB, which MetricGroupAll includes (#​4007) by @​ndyakov.
  • A member ProcessHook that returns nil without calling next is 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 COMMAND record for each command, so flags, key positions and policies cannot drift between two metadata sources (#​3960, #​4093) by @​ofekshenawa.

  • Existing default routing and the cluster-wide DBSize, ScriptLoad, ScriptFlush and ScriptExists helpers are preserved. Install NewCommandMetadataResolver() or client.NewDynamicResolver() with SetCommandInfoResolver to enable metadata-based fan-out and aggregation. CommandMetadata configuration alone does not enable them. Cross-slot fan-out is not atomic.
  • With metadata routing enabled, cross-slot MGET follows 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 contain MOVED or ASK refresh the topology for later commands.
  • Explicit pipelines and transactions keep node-local execution; ordered AsyncAutoPipeline rejects fan-out before dispatch. Automatic fan-out is available through the blocking face or unordered half-duplex mode. SCAN, INFO and known diagnostics stay node-local.
  • Numeric sum/min/max fan-out keeps integer replies as exact int64 results, including raw Do results; integer overflow returns an error. Aggregates with floating-point replies return float64.
  • Resolved command key specifications take precedence over SetFirstKeyPos. Commands missing from the snapshot keep the legacy key-position fallback; set CommandMetadataPreferLive or CommandMetadataConfig.Overrides for full metadata. The default CommandMetadataStatic mode does no network lookup unless resolution reaches an installed NewDynamicResolver. Identity probes have bounded deadlines, and after a failure or invalidation commands use conservative metadata while verification retries in the background.
  • Topology loading prefers CLUSTER SHARDS and falls back to CLUSTER SLOTS, and concurrent reloads share one in-flight load. Keyless routing prefers healthy nodes without excluding every candidate on a temporary local marker. ErrClusterTopologyUnhealthy supports errors.Is, and unknown response policies return an error.
  • FT.CURSOR READ is no longer retried after a lost reply, on standalone and cluster clients, because the server may already have advanced the cursor.
  • A SCAN iterator on a ClusterClient now 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.
  • With the dynamic resolver, DEL, EXISTS, TOUCH and UNLINK on 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.

  • OPT-IN and OPT-OUT tracking modes: Options.ClientSideCacheTrackingMode selects TrackingModePlain (default), TrackingModeOptIn or TrackingModeOptOut. Options.ClientSideCacheable is a predicate that selects the eligible unmarked calls, and WithCache(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.
  • CSC on ClusterClient: each node client has its own cache, shared by its connection pool, with per-node capacity limits. ClusterOptions, UniversalOptions and NewFailoverClusterClient accept the CSC options, and CSCStats() and CSCRefreshStats() 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.
  • Ephemeral connections with client-side caching: with CSC active, EphemeralConn lazily dials a fresh, untracked connection. Session commands are allowed without disrupting the parent cache, and reads always go to Redis. The connection takes no PoolSize turn, 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.FullDuplexPipes sets the number of full-duplex pipes (held connections) on a standalone Client. 0 means 1. NumShards > 1 under FullDuplex still selects that number when FullDuplexPipes is 0, but FullDuplexPipes is the preferred name. Config().FullDuplexPipes reports the effective count. On a cluster, a full-duplex autopipeliner keeps one pipe for each master (#​4107) by @​ndyakov.
  • Warm spare connection: Options.PipelineMinIdleConns (default 0, pipeline_min_idle_conns in URLs) sets the minimum idle connections of the dedicated pipeline pool, and is available on ClusterOptions, RingOptions, FailoverOptions and UniversalOptions. 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: HELLO and AUTH still run on the first lease (#​4101) by @​ndyakov.
  • Cluster recovery: when the session of a node engine drops, the unacknowledged commands now go through the cluster router, so they reach the new owner of the slot. Before, they were replayed only on a new connection to the same node and failed if that node was closed or replaced (#​4111) by @​ndyakov.
Lower OpenTelemetry cost

Two groups of changes remove most of the cost of the redisotel-native metrics on the hot path.

  • Full duplex: it lost about 90% of its throughput. In one test with 256 callers and 64 commands in flight on a local Redis, GET throughput 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, and RecordOperationDuration uses a bounded attribute cache and a queue for the success path (#​4269) by @​ndyakov.
  • Pool metrics: db.client.connection.count and db.client.connection.pending_requests are now observed at collection time from the pool statistics, and no longer updated on every Get and Put. 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). Init and Shutdown with 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 OTelRecorder

Each client can have its own metrics recorder. Set OTelRecorder in Options, ClusterOptions, RingOptions, FailoverOptions, UniversalOptions or MultiDBOptions. 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 from redis.SetOTelRecorder, as before. In redisotel-native, NewRecorder makes a recorder with its own WithCustomAttributes, which take precedence over the attributes of the global Init config (#​4179) by @​vladvildanov.

inst := redisotel.GetObservabilityInstance()
_ = inst.Init(redisotel.NewConfig().WithEnabled(true).WithMeterProvider(provider))
defer inst.Shutdown()

acmeRec, _ := inst.NewRecorder(redisotel.NewConfig().
	WithCustomAttributes(attribute.String("tenant", "acme")))
acme := redis.NewClient(&redis.Options{Addr: "acme:6379", OTelRecorder: acmeRec})
Idle connection reaper

ConnMaxLifetimeReapInterval (on Options, ClusterOptions, FailoverOptions, RingOptions and UniversalOptions, and conn_max_lifetime_reap_interval in URLs) starts a background goroutine that closes idle connections past ConnMaxLifetime or ConnMaxIdleTime and refills the pool toward MinIdleConns, 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 than ConnMaxIdleTime, 30 minutes by default. Connections in use, and connections that a re-auth or handoff worker owns, are skipped, and a refill toward MinIdleConns adds dials at low concurrency (#​4334, #​4340) by @​ndyakov.

More new commands
  • BACKUP START, SEAL, ABORT, CLEANUP and STATUS for Redis 8.10 (#​4286) by @​Purv-Kabaria.
  • ACLGetUser returns an ACLUser with the flags, passwords, command, key and channel rules and the selectors of a user, for Redis 7.0 and later. A missing user returns redis.Nil (#​4357) by @​ruziba3vich.
  • ClusterSlotStats and ClusterSlotStatsOrderBy run CLUSTER SLOT-STATS with a slot range or ORDERBY, for Redis 8.2 and later. On a ClusterClient, MultiDBClient and AutoPipeliner the call asks every master and merges the replies, so the result covers the whole cluster and the top slots are global, as with DBSize. A pipeline still sends the command to one node. The slot metrics beyond the key count need cluster-slot-stats-enabled yes on the servers (#​4358) by @​ruziba3vich.

⚠️ Behavior changes

Check these when you upgrade from 9.23.0:

  • Command retries no longer replay a failed dial sequence: for clients without a custom Dialer (single commands, pipelines, Watch, Conn and Tx, the Sentinel client, Ring shards and cluster nodes), MaxRetries no longer starts a new DialerRetries sequence 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 custom Dialer keeps its previous retry behavior. DialTimeout still applies to each attempt, so a dial that hangs is still bounded by DialTimeout times DialerRetries. 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 unpinned SCAN that exhausts a node also falls back to the replicas that ReadOnly routing allows (#​4304, #​4331) by @​xixi-box, issue #​4329.
  • ContextDeadlineError for socket timeouts that come from a context deadline (#​4263) by @​aditya-rai-5. With ContextTimeoutEnabled: true, a socket timeout caused by the deadline of the caller's context now matches context.DeadlineExceeded with errors.Is, and still matches net.Error with Timeout() == 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 with context 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 as context.DeadlineExceeded (#​4306) by @​PerryLink, issue #​4305.
  • WithTimeout keeps hooks: a client returned by WithTimeout now runs the hooks of its parent. Before, it dropped them, so hooks added with AddHook did not run for commands, pipelines and transactions on that client (#​4095) by @​CaliLuke.
  • CSC eligibility comes from the COMMAND metadata and fails closed (#​3960) by @​ofekshenawa. An unknown, malformed, blocking, nondeterministic or script-based command runs as usual but is not cached. JSON.MGET and TS.INFO are no longer cached by default. With CSC enabled, more eligible commands can be cached in the default Static metadata mode (the BF.*, CF.*, TOPK.*, TDIGEST.*, V* and AR* families, CMS.QUERY, EXPIRETIME, PEXPIRETIME, HEXPIRETIME, HPEXPIRETIME, PFCOUNT, SDIFFCARD, SUNIONCARD, ZINTERCARD and others). Command() results now also contain subcommand entries named parent|child, for example client|id. When built-in CSC is on, a raw CLIENT CACHING command is rejected, like the other commands that change connection state (#​4193) by @​ofekshenawa.
  • Connection-pool limits and dials: MaxActiveConns now counts all connections registered with the pool (pooled, excess, and dedicated NewConn connections) plus in-flight dial reservations. Before, admission checked only the pooled count, so clients with this limit can now receive ErrPoolExhausted from NewConn/EphemeralConn or during bursts that previously exceeded it. NewConn now waits for the shared MaxConcurrentDials limit 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.
  • Struct scan on a bad field: Scan on HGETALL/HMGET results used to stop at the first field that failed to decode, and with HGETALL the 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 with errors.Join, in key order for HGETALL and argument order for HMGET, so errors.Is and errors.As match each of them. For the built-in types, a field that fails to decode keeps its previous value. A custom decoder (ScanRedis, UnmarshalText or UnmarshalBinary) 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).
  • URL and option validation: ParseURL, ParseClusterURL and ParseFailoverURL now reject negative dialer_retry_timeout, read_buffer_size and write_buffer_size values, and a negative pool_size, which used to panic. Replace negative retry timeouts with 0 for no delay, or omit the parameter for the default 100 ms delay; an explicit dialer_retry_timeout=0 now disables the delay (#​4144) by @​Samuel-Sorial. A negative PoolSize in the options structs selects the default (#​4325) by @​ump45nose. ParseURL and ParseFailoverURL also reject a negative database number (#​4275) and a plain-second duration that overflows int64 nanoseconds (#​4276) by @​ump45nose. A disabled dial_timeout (0 or a negative value in the URL) now means no dial deadline. Before, every dial failed at once (#​4168) by @​PerryLink.
  • Empty password with a username (opt-in): a Username with an empty Password sends no AUTH, the same as 9.23.0. To authenticate an ACL user created with nopass, set AuthEmptyPassword: true (or auth_empty_password=true in the URL); for sentinel connections use SentinelAuthEmptyPassword (sentinel_auth_empty_password=true). The rule also applies to credentials from CredentialsProvider, CredentialsProviderContext and StreamingCredentialsProvider used 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 no AUTH (#​4161 by @​saddamr3e, #​4194 by @​ndyakov).
  • Ring telemetry: redisotel.InstrumentTracing and InstrumentMetrics now instrument existing shards. Remove any per-shard instrumentation workaround when instrumenting the ring to avoid duplicate spans and metrics (#​4227) by @​nk-batman21.
  • OpenTelemetry metrics: db.client.connection.count and db.client.connection.pending_requests are 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 until Shutdown. OTelConnectionCounter.RecordConnectionCount is no longer called and is deprecated; a custom recorder that built its own count from it should implement OTelPoolRegistrar and read PoolStats() (#​4406, #​4408) by @​ndyakov. In redisotel-native, only a server error reply gets redis:<PREFIX> as error.type, the server category and db.response.status_code. A closed connection (io.EOF) is now eof in the network category with no status code, and a server error wrapped by a hook keeps its prefix (#​4391) by @​ruziba3vich.
  • Full-duplex clients keep one idle spare connection: a full-duplex engine raises MinIdleConns of its pipeline pool to 1, so the pool holds one extra idle connection for each client (for each node on a cluster). Set PipelineMinIdleConns to a negative value to opt out (#​4101) by @​ndyakov.
  • Replies nested deeper than 1000 levels fail: the RESP reader returns an error for a reply with more than 1000 levels of nested aggregates or attributes, instead of exhausting the stack (#​4296) by @​xixi-box.
  • Script.Load keeps the client-computed SHA-1: a Script made with NewScript no longer takes the digest from the SCRIPT LOAD reply, so a server that replies with another digest cannot redirect later Run/RunRO calls. NewScriptServerSHA still uses the server digest (#​3943) by @​saddamr3e.
  • PubSub.Channel misuse does not panic: calling Channel and ChannelWithSubscriptions on one PubSub now returns a closed channel and logs a warning. Ring.Subscribe, PSubscribe and SSubscribe with no channels, or a failed shard lookup, return a PubSub that carries the error (#​3968) by @​VedantMadane.
  • Search, Cmd and return values: a search that sets LimitOffset and leaves Limit at 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. FTHybridWithArgs sends WINDOW for COMBINE LINEAR as well as for RRF, where a Window with LINEAR was ignored (#​4379) by @​ruziba3vich. Cmd.Uint64 of a negative integer returns an error, where it returned the wrapped value (#​4369) by @​ruziba3vich. XInfoStreamFull reports a -1 consumer-group lag when Redis replies with a nil lag (#​4217), and ClusterClient.ScriptFlush returns OK (#​4252) by @​LindseyZ1205.
  • New interface methods: Cmdable, ClusterCmdable and their sub-interfaces gain methods for the new commands (ACLGetUser, ClusterSlotStats, ClusterSlotStatsOrderBy, the 8.10 and 8.12 commands and BlessCmdable). 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.AGGREGATE steps: FILTER and LIMIT are now steps in FTAggregateOptions.Steps, so you can filter before GROUPBY, filter more than once, and place LIMIT between steps. AggregateBuilder gets Limit(). The old tail fields Filter and LimitOffset/Limit still work, are sent after all steps, and are deprecated in favor of steps (#​4076) by @​ndyakov
  • Per-stream IDs for XRead: XReadArgs.IDs gives one ID for each stream, in the order of Streams, and takes precedence over ID (#​4203) by @​aozmekik
  • Native iterators for ScanIterator: ScanIterator.Vals(ctx) returns an iter.Seq[string] for use with range (#​3348) by @​khasanovbi
  • More URL options: ParseURL, ParseClusterURL and ParseFailoverURL accept dialer_retries, dialer_retry_timeout, context_timeout_enabled, read_buffer_size, write_buffer_size, disable_identity and identity_suffix where the options struct has the field (#​4063) by @​SulimanAbdulrazzaq. ParseClusterURL also accepts ?skip_verify=true on rediss:// URLs (#​4106) and tls_verify_node_host=true, which clears TLSConfig.ServerName so each node is verified against the host it is dialed at and not against the host of the first URL. The default is unchanged, and rediss:// cluster URLs now set MinVersion: tls.VersionTLS12, as ParseURL and ParseFailoverURL do (#​4145) by @​PragalvaXFREZ
  • Context-aware credential subscriptions: the optional auth.ContextStreamingCredentialsProvider interface lets the client call SubscribeWithContext when it sets up a connection, so the context bounds the wait for the first credentials. Providers without the method keep Subscribe (#​4249) by @​PragalvaXFREZ
  • TSCreateRuleOptions.AlignTimestamp: the field is now exported, so callers outside the package can set the bucket alignment for TSCreateRuleWithArgs (#​4280) by @​pcbeingused333

🐛 Bug Fixes

Connections, pool and transactions

  • Connection handshake and Options.Limiter: the handshake of a new connection (HELLO, AUTH, SELECT, CLIENT SETINFO, CLIENT MAINT_NOTIFICATIONS) no longer calls Limiter.Allow per 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 an OnConnect or credentials hook now settles the admission (#​4247) by @​ump45nose
  • Silent reply mix-up after a maintenance handoff: with maintenance notifications on, a MOVING handoff under concurrent traffic could give one connection two owners. Both wrote on the same socket and read each other's replies, so a GET could return the "OK" of a SET, with no error (#​4110, #​4239) by @​ndyakov. A completed handoff is now removed from the tracked MOVING operations, so GetState() no longer stays StateMoving (#​4392), and the handoff queue of a nil config is capped by MaxActiveConns like any other (#​4389) by @​ruziba3vich
  • Pool turns and idle connections: Get frees its pool turn when an OnGet hook 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 @​dunglas
  • Credential rotation with MaxActiveConns: at the cap, Get now waits within PoolTimeout for an idle connection that is re-authenticating, and does not fail with ErrPoolExhausted (#​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 #​4332
  • Transactions: TxPipelined returns an error and drops the connection when EXEC replies with a different number of results than the number of queued commands, and a rejected MULTI drops the connection (#​4186, #​4192) by @​saddamr3e. Tx.Close requires an OK reply to UNWATCH and removes the connection when it cannot confirm a clean state (#​4316) by @​xixi-box
  • Pipeline setup errors: when connection setup fails with a Redis error reply (for example WRONGPASS), each queued command now gets the error, where Pipeline.Exec returned it but every command had Err() == nil (#​4312) by @​xh123637
  • TLS dial and PubSub: a TLS dial honors the caller's context deadline and cancellation during the handshake (#​4143) by [@​Samuel-Sorial](https://redirect

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Australia/Sydney)

  • Branch creation
    • "before 6am on wednesday"
  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate Bot added the dependencies Pull requests that update a dependency file label Dec 1, 2026
@forking-renovate

Copy link
Copy Markdown

ℹ️ Artifact update notice

File name: vulnfeeds/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 10 additional dependencies were updated

Due to Go's usage of Minimal Version Selection (MVS), these packages have been updated to the minimum version available, so will still abide by minimumReleaseAge=7 days

Details:

Package Change
cloud.google.com/go/auth v0.24.1 -> v0.24.4
cloud.google.com/go/iam v1.14.0 -> v1.15.1
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.57.0 -> v0.62.0
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.60.0 -> v0.62.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.70.0 -> v0.72.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.70.0 -> v0.72.0
go.yaml.in/yaml/v4 v4.0.0-rc.6 -> v4.0.0
golang.org/x/net v0.62.0 -> v0.63.0
google.golang.org/genproto/googleapis/api v0.0.0-20261012220534-4341edf3f941 -> v0.0.0-20261110000943-09e21b237f2c
google.golang.org/genproto/googleapis/rpc v0.0.0-20261104224025-d1e00e9f33ab -> v0.0.0-20261118221215-c8830f628b3f

@renovate-bot
renovate-bot force-pushed the renovate/vulnfeeds-go branch from 95b6de6 to 7b46e62 Compare December 2, 2026 05:01

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant