3 hours ago
wails

Wails v3.2.0-nightly.20261123

Wails v3 Nightly - v3.2.0-nightly.20261123

Nightly preview of the upcoming v3.2.0.

Fixed

  • sync timestamp_server description with published field reference in PR by @taliesin-ai

🤖 This is an automated nightly pre-release generated from the latest changes on master. It is not selected by @latest; install it by its exact tag.

Installation:

go install github.com/wailsapp/wails/v3/cmd/wails3@v3.2.0-nightly.20261123

Tip: always pin an exact version (e.g. @v3.2.0-nightly.20261123) in go.mod and CI rather than @latest.

1 days ago
fasthttp

v1.80.0

v1.80.0 fixes client connection desynchronization when skipping response bodies and preserves cache variation headers during compression. It also adds helper APIs for downstream frameworks, makes parser errors matchable, and improves redirects, compression negotiation, and repeated-header handling.

Security fixes and hardening

  • Skipping a response body no longer desynchronizes later requests. Reusing a Response after HEAD no longer makes subsequent requests skip their bodies. When a caller explicitly skips a potentially present body, Client and HostClient close the connection instead of pooling it with unread bytes. PipelineClient reads and discards the body so the next pipelined response starts at the correct boundary. The caller's SkipBody setting is preserved. #2533
  • Compression preserves every Vary line. Adding Accept-Encoding no longer removes later Vary fields, such as Vary: Cookie. This fixes a regression that could let a shared cache reuse a response without considering all of its original variation criteria. Both CompressHandler and compressed static-file serving are covered. #2598
  • Unsigned float parsing rejects non-finite values and negative zero. ParseUfloat and the argument getters that use it now reject NaN, infinity, and -0. Finite formats accepted by strconv.ParseFloat, including a leading +, digit separators, and hexadecimal floats, remain supported. #2546

Features

  • Bounded decompression helpers work directly on byte slices. AppendGunzipBytesWithLimit, AppendInflateBytesWithLimit, AppendUnbrotliBytesWithLimit, and AppendUnzstdBytesWithLimit append decoded data while enforcing a limit on newly decoded bytes. Existing data in the destination does not count toward the limit. Exceeding the limit returns ErrBodyTooLarge; a non-positive limit leaves output unlimited. The zstd helper also limits decoder window size when a positive limit is supplied. #2520
  • Frameworks can inspect header normalization and reuse redirect helpers. RequestHeader.NormalizingDisabled() and ResponseHeader.NormalizingDisabled() expose the current setting. HasNonHTTPSchemeWithoutAuthority identifies locations such as mailto: and native-app callbacks, and DefaultMaxRedirectsCount exports the existing default of 16. DoRedirects continues to use the count explicitly supplied by its caller. #2520
  • Unsupported methods and unknown transfer codings have matchable errors. errors.Is can identify ErrUnsupportedRequestMethod regardless of SecureErrorLogMessage. The new ErrUnknownTransferCoding distinguishes a well-formed but unsupported transfer coding from malformed framing and also matches ErrUnsupportedTransferEncoding. Custom error handlers can use these distinctions to choose between 501 and 400 responses; malformed request fields and targets still take precedence over an unknown coding. #2594

HTTP compatibility and redirects

  • Compression negotiation checks all supplied encodings. HasAcceptEncoding scans every Accept-Encoding header line and continues after a matching q=0 member, so a later acceptable occurrence is considered. Compressible media types are also recognized case-insensitively. #2600, #2590, #2606
  • Directory redirects preserve the client-facing path. For ordinary origin-form request targets, FS adds the trailing slash to the original encoded path and retains the query string. Prefix stripping and virtual-host rewriting no longer expose the internal filesystem lookup path in the redirect. #2551
  • DoRedirects preserves URL credentials on the initial request. Relative redirects retain URI credentials, while absolute redirects use only their own userinfo. An explicit Authorization header still takes precedence and follows the existing host-based forwarding rules. #2531
  • URI updates separate queries from fragments. Updating a URI with ?next=2#new now stores next=2 as the query and new as the fragment, keeping the fragment out of the HTTP request line. Explicit empty query delimiters are preserved, including a redirect target ending in ?. Hosts with an empty port, such as example.com: or [::1]:, now receive the scheme's default port when dialing. #2592, #2603
  • Repeated cookies and suppressed content types retain their meaning. ResponseHeader.PeekAll("Set-Cookie") returns each cookie separately instead of joining them into one value; Peek is unchanged. Adapted net/http handlers that set Content-Type to nil or empty now send no default content type, on both buffered and flushed responses. #2599, #2556

This release also adds a WebSocket README, reorganizes its tests, addresses intermittent CI failures, and clarifies retry callback eligibility and fragmented input to Request.Read.

What's Changed

Security and hardening

Features

Fixes

Documentation and tests

Dependency updates

New Contributors

Full Changelog: https://github.com/valyala/fasthttp/compare/v1.79.0...v1.80.0

1 days ago
lego

v5.7.0

lego is an independent, free, and open-source project, if you value it, consider supporting it! ❤️

Everybody thinks that the others will donate, but in the end, nobody does.

So if you think that lego is worth it, please consider donating.

For key updates, see the changelog.

Changelog

  • 54679098948d4bae957fafc02ea1ee4621bf1242 Add DNS provider for Com Laude (#2886)
  • bdad9af7b385246c27dbe483e3390c9c7845f693 Add DNS provider for Domain Chief (#3352)
  • edac9cfbe87b3ecf8b5f5da685498f2ac5a0763e Add DNS provider for DonDominio/MrDomain (#3342)
  • 20bf264d164d0cbde17193f1d6d6bd15adaec00b Add DNS provider for EdgeCDN-X (#3381)
  • 2a69b7a3376bc5ef055a06e8b3d20edb45d32024 Add DNS provider for Gyro (#3370)
  • 0f98a6d0091e57aa9e9688ffd4ffe9761cddf9fa Add DNS provider for NameOcean (#3376)
  • 31cfb9d482f3793304921e4251d95b8a597797a4 curanet: rewrite tests related to oauth (#3336)
  • e4545633ce536831472271c3cbac9c352b431a09 feat(cli): randomize the dynamic renewal period (#3386)
  • 94c6728f1f8d80c08a4016f1c14e492fa848564c feat: Add DNS provider for TotalUptime (#3383)
  • 168b9636e7b34a632a5556b9072296015079c9b6 feat: improve ACME server errors management (#3360)
  • 0b28569a827205c0ad3ca7b865d66dd9accec2ce feat: support ML-DSA (#3365)
  • 7c6c47714184a82bf019823eacab08805214df73 fix: malformed Forwarded header (#3374)
  • b3392aad70bba9874d22d3e19d4b9fc20be12021 fix: retries nonce based on number of calls (#3343)
  • 2c2e50c536e92b460162e1f0a5f0452a3c24dba7 gandiv5: remove useless lock (#3394)
  • d7ae1324e9de568429172e17ced073e2a5f49eee gandiv5: use verification record endpoint (#3391)
  • c41c7a892054f2f606fc2ea52a67380204a553cd katapult: fix cleanup (#3397)
  • 62aaeb35ebd5a4ba2482440fbbe35bcb9d7aa298 mythicbeasts: rewrite token management (#3337)
  • 5b554546cb3294178a079b5ac55b9245b69d5aea namecheap: improve clean up value (#3395)
  • cf784c26d026c30ee9aaee7b7d48a7c5d2f1dcda netcupv1: fix subdomain parsing (#3367)
  • d53b6993cedea1a585db6326cee3457bb5e3e8f7 openprovider: migrate from v1beta to v1 (#3349)
  • d28153077f0f6fe5145ba5e77a9f707414af9a5d tests: add more tests on certcrypto (#3377)
  • 9ea516c317b826b675fdb8846d71f7989833054f versio: provider deprecation (#3359)
3 days ago
echo

v5.4.7

Security

  • Proxy middleware: after routing, a . or .. path segment (also encoded as %2e) was resolved by Rewrite/RegexRewrite or by the upstream into a path the router never matched. GET /api/x/../admin/users matched an unprotected /api/* proxy group but reached the upstream as /admin/users, skipping middleware such as authentication on /api/admin. After routing, Proxy now returns 400 Bad Request for such paths, and rewrite targets in Proxy and the Rewrite middleware are applied literally instead of being resolved; a target with a dot segment or a leading // is rejected. Fixes GHSA-w5j2-g3fc-pwr6. Reported by AndyAnh174.
  • Static files: Static, StaticFS, Group.Static and Group.StaticFS with a prefix without a trailing slash registered prefix*, so /assetsadmin/private.txt was served from <root>/admin/private.txt for e.Static("/assets", root), bypassing a guard on /assets/admin. They now register prefix/*, plus prefix for the redirect to prefix/. Fixes GHSA-76qj-xf66-r429. Reported by AndyAnh174.
  • Static middleware on a group: documented that middleware.Static attached with Group#Use is not protected by guards on routes inside the group or on nested groups, and that Group#Static should be used for files behind such guards. See GHSA-5hp7-4fcm-57f9. Reported by AndyAnh174.

Fixes

  • Map binding: binding path, query, header or form data into a map whose value type is not string, []string or any returns an error instead of skipping the values, and named string types no longer panic. Fixes #3235 in #3238.
  • Gzip middleware: Accept-Encoding quality values are honored (gzip;q=0 refuses gzip, x-gzip is accepted, substrings such as notgzip no longer match), and responses that already have a Content-Encoding, for example from a reverse proxy, are passed through instead of compressed twice. Also fixes Write reporting more bytes than given at the MinLength threshold, a truncated stream when a handler only flushes, and stale Content-Length and Content-Encoding headers. Fixes #3232 and #2788 in #3239.
  • Response: Flush commits an uncommitted response, WriteHeader passes 1xx informational codes (such as 103 Early Hints) through without committing, and the built-in error handlers remove Content-Encoding, Content-Length and Content-Disposition before writing the error body. Fixes #3240, #3241 and #3242 in #3243.

Behavior changes

  • After routing, Proxy rejects paths with ./.. segments, and a Rewrite middleware attached after routing (on Echo#Use, a group or a route) applies its targets literally: relative targets and absolute URLs are rejected. Echo#Pre is unchanged.
  • Static and StaticFS return the RouteInfo of prefix/* instead of prefix*, and file names that only start with the prefix (for example /img-logo.png for e.Static("/img-", dir)) are no longer served.
  • Binding into an unsupported map type returns 400 Bad Request.
  • A handler that sets Content-Encoding itself is assumed to have encoded the body; the Gzip middleware no longer compresses it.
  • Custom HTTPErrorHandlers still need to clear stale Content-Encoding, Content-Length and Content-Disposition themselves.

No dependency or minimum Go-version changes.

3 days ago
echo

v4.16.6

Security

  • Proxy middleware: after routing, a . or .. path segment (also encoded as %2e) was resolved by Rewrite/RegexRewrite or by the upstream into a path the router never matched, bypassing route and group middleware such as authentication. After routing, Proxy now returns 400 Bad Request for such paths, and rewrite targets in Proxy and the Rewrite middleware are applied literally instead of being resolved; a target with a dot segment or a leading // is rejected. Fixes GHSA-w5j2-g3fc-pwr6. Reported by AndyAnh174.
  • Static files: Static, StaticFS, Group.Static and Group.StaticFS with a prefix without a trailing slash registered prefix*, so /assetsadmin/private.txt was served from <root>/admin/private.txt for e.Static("/assets", root), bypassing a guard on /assets/admin. They now register prefix/*, plus prefix for the redirect to prefix/. Fixes GHSA-76qj-xf66-r429. Reported by AndyAnh174.
  • Static middleware on a group: documented that middleware.Static attached with Group#Use is not protected by guards on routes inside the group or on nested groups, and that Group#Static should be used for files behind such guards. See GHSA-5hp7-4fcm-57f9. Reported by AndyAnh174.

Behavior changes

  • After routing, Proxy rejects paths with ./.. segments, and a Rewrite middleware attached after routing applies its targets literally: relative targets and absolute URLs are rejected. Echo#Pre is unchanged.
  • Static and StaticFS return the route for prefix/* instead of prefix*, and file names that only start with the prefix are no longer served.

No public API, dependency or minimum Go-version changes; Go 1.26 or later remains required.

3 days ago
redis

9.24.0-beta.2

This is a beta release. It follows 9.24.0-beta.1 with bug fixes, the ACLGetUser command and one change to retry behavior. Read the behavior changes before you upgrade.

⚠️ Behavior changes

  • 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.
  • Negative pool_size: ParseURL, ParseClusterURL and ParseFailoverURL reject a negative pool_size, where they used to panic, and a negative PoolSize in the options structs selects the default (#4325) by @ump45nose.
  • LimitOffset without Limit returns a page of 10: 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, so code that relied on the empty page now gets documents. On Redis 8 it was an error (#4285) by @kevin9327.
  • Cmd.Uint64 of a negative integer: it now returns an error, as it does for other out-of-range values, where it returned the wrapped value (for example DECR giving 18446744073709551615). Callers that read a signed 64-bit reply as unsigned, for example BITFIELD GET i64 through Uint64Slice, now get an error (#4369) by @ruziba3vich
  • FT.HYBRID COMBINE LINEAR sends WINDOW: FTHybridWithArgs sends WINDOW for LINEAR as well as for RRF. Before, a Window set together with LINEAR was silently ignored. It now takes effect (#4379) by @ruziba3vich

✨ New Features

  • 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. Cmdable gains ACLGetUser, so a custom implementation such as a mock must add it (#4357) by @ruziba3vich
  • 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
  • ClusterSlotStats and ClusterSlotStatsOrderBy: 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. ClusterCmdable gains the two methods, so a custom implementation such as a mock must add them (#4358) by @ruziba3vich

🐛 Bug Fixes

  • Credential rotation with MaxActiveConns: at the MaxActiveConns cap, Get now waits within PoolTimeout for an idle connection that is re-authenticating, and does not fail with ErrPoolExhausted. Without a cap, or with room under it, the behavior is unchanged (#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
  • ContextDeadlineError: 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. This follows #4263 from 9.24.0-beta.1 (#4306) by @PerryLink, issue #4305
  • Search: LimitOffset without Limit in FT.SEARCH and FT.HYBRID options now uses the default page of 10. On Redis 8 the command was rejected with SEARCH_LIMIT_OVER (#4285) by @kevin9327, issue #4284
  • GEOSEARCH without WITH flags: GeoSearchLocation no longer fails with a parse error when the query sets none of WithCoord, WithDist and WithHash. The locations come back with only Name set (#4335) by @ruziba3vich
  • BF.INFO of a non-scaling filter: BFInfo and BFInfoExpansion no longer fail with redis: nil for a filter created with NONSCALING. ExpansionRate is 0 (#4336) by @ruziba3vich
  • JSON replies to a legacy path: JSONObjLen, JSONStrLen, JSONStrAppend and JSONToggle no longer fail when the path does not start with $, and neither does JSONType with RESP2. Before, JSON.STRAPPEND and JSON.TOGGLE had already changed the document when the error was reported (#4337) by @ruziba3vich
  • JSONNumIncrBy with RESP3: a path that matches values that are not numbers no longer fails with redis: nil. Val() returns the same string as with RESP2, for example [null,7], so code that used redis.Nil to mean "no numeric match" now gets [null] (#4338) by @ruziba3vich
  • Cluster redirects to an IPv6 address with a dotted quad: a MOVED or ASK reply that points to an IPv6 address ending in a dotted quad, such as ::ffff:10.0.0.1, is now dialable. The address is bracketed like any other IPv6 address (#4350) by @ruziba3vich
  • HELLO password in traces and logs: rediscmd.CmdString now redacts the HELLO password when AUTH comes after SETNAME. Before, a HELLO sent through Do in that order showed the password in clear text in tracing and logging hooks built on rediscmd (#4348) by @ruziba3vich
  • FT.HYBRID with ShardKRatio: SHARD_K_RATIO is now counted in the KNN argument block, so the server accepts the command and no longer answers Unknown argument (#4353) by @ruziba3vich
  • FT.HYBRID COMBINE LINEAR weights: setting only Alpha or only Beta no longer fails with Missing value for BETA. Both are sent when either is set, the unset one as 0 (#4354) by @ruziba3vich
  • Empty Params map in search: FTSearchWithArgs, FTAggregateWithArgs, FTSearchQuery and FTAggregateQuery no longer send PARAMS 0 for an empty, non-nil map, which the server rejected (#4355) by @ruziba3vich
  • Ring shards that share an address: SetAddrs no longer leaks a client on each call when two shard names point to the same address. Every shard is now reused or closed (#4356) by @ruziba3vich
  • MAXTEXTFIELDS in FT.CREATE: FTCreate with MaxTextFields set now sends MAXTEXTFIELDS as a bare flag, so the server accepts it and no longer answers Unknown argument (#4344) by @ruziba3vich
  • Disabled cluster options: a -1 retry backoff set on ClusterOptions now reaches the node clients (#4345), and reusing one *ClusterOptions for a second client no longer turns disabled options (MaxRedirects, timeouts, retry backoff) back into their defaults (#4360) by @ruziba3vich
  • FT.INFO on RESP2: FTInfo reads index_definition by key, so DefaultScore and the other definition fields are correct and a short array no longer panics (#4347) by @ruziba3vich
  • JSON array commands on a legacy path: JSONArrLen, JSONArrAppend, JSONArrIndex, JSONArrInsert, JSONArrTrim and JSONArrPop no longer fail to parse when the path does not start with $, and one such reply no longer shifts the replies of the commands after it in a pipeline (#4359) by @ruziba3vich
  • JSONArrTrim arguments: the command is now sent with both start and stop, defaults 0 and -1, which keep the whole array. Before, the server rejected every call with a wrong number of arguments (#4361) by @ruziba3vich
  • net.IP fields in struct scan: HGetAll(...).Scan and HMGet(...).Scan read a net.IP that HSet stored as raw bytes, where they failed with invalid IP address. Text is tried first, so values that scanned before scan the same, and a 4 or 16 byte value that is not IP text now scans as a raw IP (#4362) by @ruziba3vich
  • Pointer arguments in command strings: Cmd.String() and rediscmd.CmdString print the value of a pointer argument to a predeclared type or time.Time, where they printed an address. The redaction of secrets such as CONFIG SET requirepass now also covers a keyword or password passed behind a pointer or as a named string (#4363) by @ruziba3vich
  • MaxRetries or MaxRedirects below -1: any negative value now means one attempt with no retries, the same as -1. Before, a value such as -2 skipped the retry loop, so a Client pipeline or transaction, a Ring command, and a ClusterClient command, pipeline or transaction were never sent and the call returned a nil error (#4349) by @ruziba3vich
  • CF.SCANDUMP last chunk: CFScanDump no longer fails with redis: nil on its last call, where the server returns iterator 0 and a null chunk (#4366) by @ruziba3vich
  • BF.INFO with an option: a single-option BF.INFO (capacity, size, items, filters, expansion) no longer fails with unexpected key, whatever case the server uses for the field name (#4368) by @ruziba3vich
  • FT.SEARCH null field on RESP2: a returned field that is a stored JSON null no longer fails the whole search with invalid field value format. RESP2 now behaves like RESP3 (#4370) by @ruziba3vich
  • FT.INFO TAG separator on RESP2: a TAG field with the separator m or M no longer swallows the next flag, so Sortable and CaseSensitive are kept (#4371) by @ruziba3vich
  • Cluster max number of clients error: shouldRetry and IsMaxClientsError also match the cluster wording max number of clients + cluster connections reached (#4367) by @ruziba3vich
  • FCall with slice arguments: FCall and FCallRO expand a []string or []interface{} argument into separate function arguments, where they failed with a marshal error. A lone nil is still sent as one empty argument (#4365) by @ruziba3vich
  • Clone of finished commands: XInfoStreamFullCmd.Clone keeps all fields, including the idempotency fields, and no longer shares the pending storage of its groups and consumers (#4372). The vector set slice commands copy their result slice instead of sharing it with the original (#4373). Empty results stay empty. FunctionStatsCmd.Clone also copies the command of the running script instead of sharing it (#4378). Clones of XMessageSliceCmd, XStreamSliceCmd, XInfoStreamCmd, ClientInfoCmd, ACLLogCmd and FTSearchCmd keep every field of the value, such as the XREADGROUP claim fields, the idempotency fields, the ClientInfo network and command totals and Document.Error, where they dropped them before (#4346). By @ruziba3vich
  • Slice arguments in Bloom, Cuckoo and Count-Min commands: BFInsert, BFMAdd, BFMExists, CFInsert, CFInsertNX, CFMExists and CMSQuery expand a single []string or []interface{} of elements, where they failed with a marshal error. Other arguments, including []byte and nil, are sent as before (#4377) by @ruziba3vich

🧪 Testing & Infrastructure

  • Documentation: doc link definitions in the set and search command comments now render as links on pkg.go.dev (#4328) by @farisbasha
  • End-to-end failure scenarios: the e2e suites cover connection failures (dropped, refused, timed out) for regular, pub/sub, blocking and mixed workloads, MultiDBClient failover on member outage and on slow responses, and standalone topology changes. The fault-injector client gains proxy_failure, BDB-scoped network_latency and the /topology-change-standalone routes (#4352)

👥 Contributors

We'd like to thank all the contributors who worked on this release!

@farisbasha, @kevin9327, @PerryLink, @ruziba3vich, @Tidehyc, @ump45nose, @xixi-box


Full Changelog: https://github.com/redis/go-redis/compare/v9.24.0-beta.1...v9.24.0-beta.2

3 days ago
go-redis

9.24.0-beta.2

This is a beta release. It follows 9.24.0-beta.1 with bug fixes, the ACLGetUser command and one change to retry behavior. Read the behavior changes before you upgrade.

⚠️ Behavior changes

  • 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.
  • Negative pool_size: ParseURL, ParseClusterURL and ParseFailoverURL reject a negative pool_size, where they used to panic, and a negative PoolSize in the options structs selects the default (#4325) by @ump45nose.
  • LimitOffset without Limit returns a page of 10: 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, so code that relied on the empty page now gets documents. On Redis 8 it was an error (#4285) by @kevin9327.
  • Cmd.Uint64 of a negative integer: it now returns an error, as it does for other out-of-range values, where it returned the wrapped value (for example DECR giving 18446744073709551615). Callers that read a signed 64-bit reply as unsigned, for example BITFIELD GET i64 through Uint64Slice, now get an error (#4369) by @ruziba3vich
  • FT.HYBRID COMBINE LINEAR sends WINDOW: FTHybridWithArgs sends WINDOW for LINEAR as well as for RRF. Before, a Window set together with LINEAR was silently ignored. It now takes effect (#4379) by @ruziba3vich

✨ New Features

  • 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. Cmdable gains ACLGetUser, so a custom implementation such as a mock must add it (#4357) by @ruziba3vich
  • 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
  • ClusterSlotStats and ClusterSlotStatsOrderBy: 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. ClusterCmdable gains the two methods, so a custom implementation such as a mock must add them (#4358) by @ruziba3vich

🐛 Bug Fixes

  • Credential rotation with MaxActiveConns: at the MaxActiveConns cap, Get now waits within PoolTimeout for an idle connection that is re-authenticating, and does not fail with ErrPoolExhausted. Without a cap, or with room under it, the behavior is unchanged (#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
  • ContextDeadlineError: 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. This follows #4263 from 9.24.0-beta.1 (#4306) by @PerryLink, issue #4305
  • Search: LimitOffset without Limit in FT.SEARCH and FT.HYBRID options now uses the default page of 10. On Redis 8 the command was rejected with SEARCH_LIMIT_OVER (#4285) by @kevin9327, issue #4284
  • GEOSEARCH without WITH flags: GeoSearchLocation no longer fails with a parse error when the query sets none of WithCoord, WithDist and WithHash. The locations come back with only Name set (#4335) by @ruziba3vich
  • BF.INFO of a non-scaling filter: BFInfo and BFInfoExpansion no longer fail with redis: nil for a filter created with NONSCALING. ExpansionRate is 0 (#4336) by @ruziba3vich
  • JSON replies to a legacy path: JSONObjLen, JSONStrLen, JSONStrAppend and JSONToggle no longer fail when the path does not start with $, and neither does JSONType with RESP2. Before, JSON.STRAPPEND and JSON.TOGGLE had already changed the document when the error was reported (#4337) by @ruziba3vich
  • JSONNumIncrBy with RESP3: a path that matches values that are not numbers no longer fails with redis: nil. Val() returns the same string as with RESP2, for example [null,7], so code that used redis.Nil to mean "no numeric match" now gets [null] (#4338) by @ruziba3vich
  • Cluster redirects to an IPv6 address with a dotted quad: a MOVED or ASK reply that points to an IPv6 address ending in a dotted quad, such as ::ffff:10.0.0.1, is now dialable. The address is bracketed like any other IPv6 address (#4350) by @ruziba3vich
  • HELLO password in traces and logs: rediscmd.CmdString now redacts the HELLO password when AUTH comes after SETNAME. Before, a HELLO sent through Do in that order showed the password in clear text in tracing and logging hooks built on rediscmd (#4348) by @ruziba3vich
  • FT.HYBRID with ShardKRatio: SHARD_K_RATIO is now counted in the KNN argument block, so the server accepts the command and no longer answers Unknown argument (#4353) by @ruziba3vich
  • FT.HYBRID COMBINE LINEAR weights: setting only Alpha or only Beta no longer fails with Missing value for BETA. Both are sent when either is set, the unset one as 0 (#4354) by @ruziba3vich
  • Empty Params map in search: FTSearchWithArgs, FTAggregateWithArgs, FTSearchQuery and FTAggregateQuery no longer send PARAMS 0 for an empty, non-nil map, which the server rejected (#4355) by @ruziba3vich
  • Ring shards that share an address: SetAddrs no longer leaks a client on each call when two shard names point to the same address. Every shard is now reused or closed (#4356) by @ruziba3vich
  • MAXTEXTFIELDS in FT.CREATE: FTCreate with MaxTextFields set now sends MAXTEXTFIELDS as a bare flag, so the server accepts it and no longer answers Unknown argument (#4344) by @ruziba3vich
  • Disabled cluster options: a -1 retry backoff set on ClusterOptions now reaches the node clients (#4345), and reusing one *ClusterOptions for a second client no longer turns disabled options (MaxRedirects, timeouts, retry backoff) back into their defaults (#4360) by @ruziba3vich
  • FT.INFO on RESP2: FTInfo reads index_definition by key, so DefaultScore and the other definition fields are correct and a short array no longer panics (#4347) by @ruziba3vich
  • JSON array commands on a legacy path: JSONArrLen, JSONArrAppend, JSONArrIndex, JSONArrInsert, JSONArrTrim and JSONArrPop no longer fail to parse when the path does not start with $, and one such reply no longer shifts the replies of the commands after it in a pipeline (#4359) by @ruziba3vich
  • JSONArrTrim arguments: the command is now sent with both start and stop, defaults 0 and -1, which keep the whole array. Before, the server rejected every call with a wrong number of arguments (#4361) by @ruziba3vich
  • net.IP fields in struct scan: HGetAll(...).Scan and HMGet(...).Scan read a net.IP that HSet stored as raw bytes, where they failed with invalid IP address. Text is tried first, so values that scanned before scan the same, and a 4 or 16 byte value that is not IP text now scans as a raw IP (#4362) by @ruziba3vich
  • Pointer arguments in command strings: Cmd.String() and rediscmd.CmdString print the value of a pointer argument to a predeclared type or time.Time, where they printed an address. The redaction of secrets such as CONFIG SET requirepass now also covers a keyword or password passed behind a pointer or as a named string (#4363) by @ruziba3vich
  • MaxRetries or MaxRedirects below -1: any negative value now means one attempt with no retries, the same as -1. Before, a value such as -2 skipped the retry loop, so a Client pipeline or transaction, a Ring command, and a ClusterClient command, pipeline or transaction were never sent and the call returned a nil error (#4349) by @ruziba3vich
  • CF.SCANDUMP last chunk: CFScanDump no longer fails with redis: nil on its last call, where the server returns iterator 0 and a null chunk (#4366) by @ruziba3vich
  • BF.INFO with an option: a single-option BF.INFO (capacity, size, items, filters, expansion) no longer fails with unexpected key, whatever case the server uses for the field name (#4368) by @ruziba3vich
  • FT.SEARCH null field on RESP2: a returned field that is a stored JSON null no longer fails the whole search with invalid field value format. RESP2 now behaves like RESP3 (#4370) by @ruziba3vich
  • FT.INFO TAG separator on RESP2: a TAG field with the separator m or M no longer swallows the next flag, so Sortable and CaseSensitive are kept (#4371) by @ruziba3vich
  • Cluster max number of clients error: shouldRetry and IsMaxClientsError also match the cluster wording max number of clients + cluster connections reached (#4367) by @ruziba3vich
  • FCall with slice arguments: FCall and FCallRO expand a []string or []interface{} argument into separate function arguments, where they failed with a marshal error. A lone nil is still sent as one empty argument (#4365) by @ruziba3vich
  • Clone of finished commands: XInfoStreamFullCmd.Clone keeps all fields, including the idempotency fields, and no longer shares the pending storage of its groups and consumers (#4372). The vector set slice commands copy their result slice instead of sharing it with the original (#4373). Empty results stay empty. FunctionStatsCmd.Clone also copies the command of the running script instead of sharing it (#4378). Clones of XMessageSliceCmd, XStreamSliceCmd, XInfoStreamCmd, ClientInfoCmd, ACLLogCmd and FTSearchCmd keep every field of the value, such as the XREADGROUP claim fields, the idempotency fields, the ClientInfo network and command totals and Document.Error, where they dropped them before (#4346). By @ruziba3vich
  • Slice arguments in Bloom, Cuckoo and Count-Min commands: BFInsert, BFMAdd, BFMExists, CFInsert, CFInsertNX, CFMExists and CMSQuery expand a single []string or []interface{} of elements, where they failed with a marshal error. Other arguments, including []byte and nil, are sent as before (#4377) by @ruziba3vich

🧪 Testing & Infrastructure

  • Documentation: doc link definitions in the set and search command comments now render as links on pkg.go.dev (#4328) by @farisbasha
  • End-to-end failure scenarios: the e2e suites cover connection failures (dropped, refused, timed out) for regular, pub/sub, blocking and mixed workloads, MultiDBClient failover on member outage and on slow responses, and standalone topology changes. The fault-injector client gains proxy_failure, BDB-scoped network_latency and the /topology-change-standalone routes (#4352)

👥 Contributors

We'd like to thank all the contributors who worked on this release!

@farisbasha, @kevin9327, @PerryLink, @ruziba3vich, @Tidehyc, @ump45nose, @xixi-box


Full Changelog: https://github.com/redis/go-redis/compare/v9.24.0-beta.1...v9.24.0-beta.2

3 days ago
sarama

Version 1.62.0 (2026-11-20)

[!IMPORTANT] If you build a MetadataRequest yourself, an empty non-nil Topics (such as []string{}) at version 1 or above now asks for no topics, returning only the brokers and controller, as the Kafka protocol defines. Set Topics to nil to fetch all topics. NewMetadataRequest still treats an empty list as all topics. See #3810.

What's Changed

🎉 New Features / Improvements

🐛 Fixes

📦 Dependency updates

🔧 Maintenance

New Contributors

Full Changelog: https://github.com/IBM/sarama/compare/v1.61.1...v1.62.0

4 days ago
ini
5 days ago
ini