Releases: redis/go-redis
Releases · redis/go-redis
v8.11.4
Please refer to CHANGELOG.md for details
v8.11.2
v8.11.1
Enhancement:
DBSize
,ScriptLoad
,ScriptFlush
andScriptExists
should use hook. (#1811)- Added FIFO option to connection pool, set option
Options.PoolFIFO
to true. (#1820) - The connection is checked before use, it will increase the CPU time by 5-10% (#1824)
- Check Failing() before serving random node. (#1825)
Command:
- RPOP command supports Count option (redis-server >= 6.2)
- New cmd:
GeoSearch
,GeoSearchStore
(redis-server >= 6.2)
Thanks: @ktaekwon000 @hidu @AnatolyRugalev
v7.4.1
v8.11.0
Change
Remove OpenTelemetry metrics, Linked #1534 #1805
New Command
- XAutoClaim
- ZRangeStore
- ZUnion
Command More Options
- XAdd: NoMkStream+MinID+Limit
- XTrim: MinID+Limit
- XGroup: CreateConsumer
- ZAdd: GT+LT
- ZRange: ByScore+ByLex+Rev+Limit
New API
- XAutoClaim(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimCmd
- XAutoClaimJustID(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimJustIDCmd
- ZRangeStore(ctx context.Context, dst string, z ZRangeArgs) *IntCmd
- ZAddArgs(ctx context.Context, key string, args ZAddArgs) *IntCmd
- ZAddArgsIncr(ctx context.Context, key string, args ZAddArgs) *FloatCmd
- ZRangeArgs(ctx context.Context, z ZRangeArgs) *StringSliceCmd
- ZRangeArgsWithScores(ctx context.Context, z ZRangeArgs) *ZSliceCmd
- ZUnion(ctx context.Context, store ZStore) *StringSliceCmd
- ZUnionWithScores(ctx context.Context, store ZStore) *ZSliceCmd
Mark deprecated(remove in v9)
- ZAddCh
- ZIncr
- ZAddNXCh
- ZAddXXCh
- ZIncrNX
- ZIncrXX
- XTrim
- XTrimApprox
- XAddArgs.MaxLenApprox
Remarks
There is a bug in the xtrim/xadd limit option (redis/redis#9046)