Skip to content

Releases: redis/go-redis

v8.11.4

04 Oct 13:41
fa51524
Compare
Choose a tag to compare

Please refer to CHANGELOG.md for details

v8.11.2

06 Aug 09:20
fd3025b
Compare
Choose a tag to compare

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.

v8.11.1

29 Jul 07:17
7dad93e
Compare
Choose a tag to compare

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

v7.4.1

16 Jul 07:45
03a8648
Compare
Choose a tag to compare

v8.11.0

30 Jun 11:06
27e2efb
Compare
Choose a tag to compare

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 (redis/redis#9046)

v8.10.0

03 Jun 11:08
6e4eb2e
Compare
Choose a tag to compare

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