Fixes TxPipeline to work correctly in cluster scenarios, allowing execution of commands
only in the same slot for a given transaction.
scan commands, rather than random (#2623)Ring, Client and ClusterClient (#3401)We'd like to thank all the contributors who worked on this release!
@andy-stark-redis, @boekkooi-impossiblecloud, @cxljs, @dcherubini, @iamamirsalehi, @ndyakov, @pete-woods, @twz915
Experimental support for vector sets!
go-redis now supports vector sets. This data type is marked as "in preview" in Redis and its support in go-redis is marked as experimental. You can find examples in the documentation and in the doctests folder.
We'd like to thank all the contributors who worked on this release!
StreamingCredentialsProvider for dynamic credential updates (experimental)
ParseFailoverURL for easier failover configurationStreamingCredentialsProvider for token-based authentication (#3320)
ParseFailoverURL for parsing failover URLs (#3362)GetShardClients() to retrieve all active shard clientsGetShardClientForKey(key string) to get the shard client for a specific key (#3388)ReplaceSpaces function (#3383)Options.Protocol in init() (#3387)We would like to thank all the contributors who made this release possible:
@ndyakov, @ofekshenawa, @LINKIWI, @iamamirsalehi, @fukua95, @lzakharov, @DengY11
For a complete list of changes, see the full changelog.
HGETDEL, HGETEX, HSETEX) and HSTRLEN commandCountOnly argument for FT.SearchHGETDEL, HGETEX, HSETEX (#3305)HSTRLEN command for hash operations (#2843)Do method for raw query by single connection from pool.Conn() (#3182)IsClusterMode config parameter (#3255)HELLO RESP handshake (#3294)CountOnly argument for FT.Search to use LIMIT 0 0 (#3338)DB option support in NewFailoverClusterClient (#3342)nil check for the options when creating a client (#3363)PubSub concurrency safety issues (#3360)nil (#3353)MASTERDOWN a retriable error (#3164)FT.Search Limit argument and added CountOnly argument for limit 0 0 (#3338)COUNTKEYSINSLOT command (#3327)CountOnly search example (#3345)LLEN, LPOP, LPUSH, LRANGE, RPOP, RPUSH (#3234)SADD and SMEMBERS command examples (#3242)README.md to use Redis Discord guild (#3331)HExpire command documentation (#3355)README.md with additional information (#310ce55)We would like to thank all the contributors who made this release possible:
@alexander-menshchikov, @EXPEbdodla, @afti, @dmaier-redislabs, @four_leaf_clover, @alohaglenn, @gh73962, @justinmir, @LINKIWI, @liushuangbill, @golang88, @gnpaone, @ndyakov, @nikolaydubina, @oleglacto, @andy-stark-redis, @rodneyosodo, @dependabot, @rfyiamcool, @frankxjkuang, @fukua95, @soleymani-milad, @ofekshenawa, @khasanovbi
This is a beta release with support for Redis 8
This release introduces a client-side default dialect for Redis’ search and query capabilities. By default, the client now overrides the server-side dialect with version 2, automatically appending DIALECT 2 to commands like FT.AGGREGATE and FT.SEARCH.
Important: Be aware that the query dialect may impact the results returned. If needed, you can revert to a different dialect version by passing the desired dialect in the arguments of the command you want to execute. For example:
res2, err := rdb.FTSearchWithArgs(ctx,
"idx:bicycle",
"@pickup_zone:[CONTAINS $bike]",
&redis.FTSearchOptions{
Params: map[string]interface{}{
"bike": "POINT(-0.1278 51.5074)",
},
DialectVersion: 3,
},
).Result()
You can find further details in the query dialect documentation.
Do method for raw query by single conn from pool.Conn() #3182skip_verify param #3216routeByLatency #2795INFO in RCE 8 #3269HELLO handshake during connection initialization #3294io-thread key in client info #3244We'd like to thank all the contributors who worked on this release!
@ndyakov, @a-menshchikov, @rfyiamcool, @rentziass, @LINKIWI, @justinmir, @alingse, @EXPEbdodla, @Cgol9, @aliforever, @flc1125, @monkey92t, @jouir, @smilad, @Oleglacto, @reeshijoshi, @bitsark, @shawnwgit, @ofekshenawa, @vladvildanov, @zhuhaicity, @tomfrombayesians
@monkey92t helped a ton with PR reviews, especially related to redisotel
Full Changelog: https://github.com/redis/go-redis/compare/v9.7.3...v9.8.0-beta.1
DisableIndentity flag in the client options.DisableIdentity flag in the client options.Full Changelog: https://github.com/redis/go-redis/compare/v9.7.1...v9.7.3
Full Changelog: https://github.com/redis/go-redis/compare/v9.6.2...v9.6.3
Full Changelog: https://github.com/redis/go-redis/compare/v9.5.4...v9.5.5
We'd like to thank all the contributors who worked on this release!
@ofekshenawa, @Cgol9, @LINKIWI, @shawnwgit, @zhuhaicity, @bitsark, @vladvildanov, @ndyakov
Full Changelog: https://github.com/redis/go-redis/compare/v9.7.0...v9.7.1
We're glad to announce that we added a search and query support in the current release.
We'd like to thank all the contributors who worked on this release!
@andy-stark-redis, @ipechorin, @ofekshenawa and @vladvildanov
We'd like to thank all the contributors who worked on this release!
@ofekshenawa @vladvildanov @rentziass
We're glad to announce that we added a search and query support in the current release.
We'd like to thank all the contributors who worked on this release!
@andy-stark-redis, @ipechorin, @ofekshenawa and @vladvildanov
This release contains all new features from version 9.6.
In addition minor changes were performed to retract version 9.5.3 and 9.5.4 that were released accidentally.
We'd like to thank all the contributors who worked on this release!
@LINKIWI, @b1ron, @gerzse, @haines, @immersedin, @naiqianz, @ofekshenawa, @srikar-jilugu, @tzongw, @vladvildanov, @vmihailenco and @monkey92t
This release includes support for Redis Community Edition (CE) 7.4.0, ensuring compatibility with the latest features and improvements introduced in Redis CE 7.4.0.
(*StatusCmd).Bytes() method (#3030)We'd like to thank all the contributors who worked on this release!
@LINKIWI, @b1ron, @dependabot, @dependabot[bot], @gerzse, @haines, @immersedin, @naiqianz, @ofekshenawa, @srikar-jilugu, @tzongw, @vladvildanov and @vmihailenco @monkey92t
This release includes support for Redis Community Edition (CE) 7.4.0, ensuring compatibility with the latest features and improvements introduced in Redis CE 7.4.0.
We'd like to thank all the contributors who worked on this release!
@XSAM, @akash14darshan, @daviddzxy, @dependabot, @dependabot[bot], @esara, @hakusai22, @hishope, @kindknow, @monkey92t, @ofekshenawa, @singular-seal and deferdeter
Note: This release fixes the SETINFO issue from 9.5.0. This release restores connections to redis versions that do not have SETINFO. Thank you to our amazing community for their help with this issue
We'd like to thank all the contributors who worked on this release!
@ofekshenawa
Note: This release implements SETINFO by default, and currently breaks with Redis versions prior to 7.2 due to the way the change was implemented. It should have failed silently, but did not. 9.5.1 will fix this. To disable this behaviour, with this release, please DisableIdentity: true in your RedisOptions struct.
We'd like to thank all the contributors who worked on this release!
@OlegStotsky, @abusizhishen, @dependabot, @dependabot[bot], @johnduhart, @limotley, @ofekshenawa, @peczenyj, @rfyiamcool, and @vmihailenco
We'd like to thank all the contributors who worked on this release!
@lowang-bh and @ofekshenawa