- Add ExpireNX, ExpireXX, ExpireGT, ExpireLT methods
- Rollback to stable version go-redis v9.0.3
- Add FlushDB/FlushDBAsync methods
- Add SetArgs method
- Add a couple of variants of ZADD command (ZADD key GT, ZADD key LT)
- Update go-redis library to v9.2.0
- Fixed connection selection error for HAConnFactory in MGet/MGetWithGD
- Fixed a bug with the handling of the weight value for the slave
- Edit optional Hooks to HAConfig
- Update go-redis library to v9 (v9.0.3)
- Bug fixes
- Adding new commands MExpire/MExpireAt with support for executing multiple keys
- Fixed the Ping command, now the check occurs on all shards and returns the first error for the sharded configuration
- Minor performance improvements
- Added getting statistics of all connection pools
- Fixed error return value for MGetWithGD
-
Update go-redis library to v8
-
All commands require
context.Context
as a first argument, e.g.Ping(ctx)
. If you are not usingcontext.Context
yet, the simplest option is to define global package variablevar ctx = context.TODO()
and use it whenctx
is required -
Full support for
context.Context
canceling
- Bug fixes
- Adding new commands with graceful degradation support (MGetWithGD, MSetWithGD)
- Initial public version