releases.shpreview
Redis/go-redis

go-redis

$npx @buildinternet/releases show go-redis
Mon
Wed
Fri
MayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases2Avg0/wkVersionsv9.18.0 → v9.19.0
Aug 6, 2021

Important changes:

Revert #1824, because it will have a significant impact on the connection pool(#1849) We will re-add this feature in v9.

Users who have already used v8.11.1, need to upgrade immediately.

Jul 29, 2021

Enhancement:

  • DBSize,ScriptLoad,ScriptFlush and ScriptExists 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

Jul 16, 2021

fix #1823

Jun 30, 2021

Change

Remove OpenTelemetry metrics, Linked #1534 #1805

New Command

  1. XAutoClaim
  2. ZRangeStore
  3. ZUnion

Command More Options

  1. XAdd: NoMkStream+MinID+Limit
  2. XTrim: MinID+Limit
  3. XGroup: CreateConsumer
  4. ZAdd: GT+LT
  5. ZRange: ByScore+ByLex+Rev+Limit

New API

  1. XAutoClaim(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimCmd
  2. XAutoClaimJustID(ctx context.Context, a *XAutoClaimArgs) *XAutoClaimJustIDCmd
  3. ZRangeStore(ctx context.Context, dst string, z ZRangeArgs) *IntCmd
  4. ZAddArgs(ctx context.Context, key string, args ZAddArgs) *IntCmd
  5. ZAddArgsIncr(ctx context.Context, key string, args ZAddArgs) *FloatCmd
  6. ZRangeArgs(ctx context.Context, z ZRangeArgs) *StringSliceCmd
  7. ZRangeArgsWithScores(ctx context.Context, z ZRangeArgs) *ZSliceCmd
  8. ZUnion(ctx context.Context, store ZStore) *StringSliceCmd
  9. ZUnionWithScores(ctx context.Context, store ZStore) *ZSliceCmd

Mark deprecated(remove in v9)

  1. ZAddCh
  2. ZIncr
  3. ZAddNXCh
  4. ZAddXXCh
  5. ZIncrNX
  6. ZIncrXX
  7. XTrim
  8. XTrimApprox
  9. XAddArgs.MaxLenApprox

Remarks

There is a bug in the xtrim/xadd limit option (https://github.com/redis/redis/issues/9046)

Jun 3, 2021

go-redis no longer depends on OpenTelemetry. add support redis-command: ZInter ZDiffStore

Latest
v9.19.0
Tracking Since
Jun 3, 2021
Last checked May 1, 2026