Skip to content

Releases: amphp/redis

2.0.3

15 Jan 04:15
v2.0.3
1572c2f
Compare
Choose a tag to compare

What's Changed

  • Dropped support for league/uri@6.x

Full Changelog: v2.0.2...v2.0.3

2.0.2

15 Jan 04:13
v2.0.2
6793505
Compare
Choose a tag to compare

What's Changed

  • Fixed return type for RedistList::get() by @Bilge in #96

Full Changelog: v2.0.1...v2.0.2

2.0.1

03 Aug 18:53
v2.0.1
6793505
Compare
Choose a tag to compare

What's Changed

  • Fixed return type for RedistList::get() by @Bilge in #96

Full Changelog: v2.0.0...v2.0.1

1.1.3

26 Oct 02:39
v1.1.3
2693c17
Compare
Choose a tag to compare
  • Fixed #84: Unexpected connection close in RemoteExecutor causing method call on null.

2.0.0

20 Aug 16:57
v2.0.0
5c14a57
Compare
Choose a tag to compare

Initial release compatible with AMPHP v3. As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.

  • Added RedisParcel in the Sync sub-namespace implementing the Parcel interface from amphp/sync
  • Added RedisConnector interface to decouple connecting and init commands such as AUTH and SELECT
  • Reorganized class names / namespaces for better overview
    • Redis moved to RedisClient
    • Subscriber / Subscription moved to RedisSubscriber / RedisSubscription
    • Cache moved to RedisCache
    • Mutex sub-namespace has been changed to Sync. All classes within now have a prefix of Redis, e.g., MutexRedisMutex, MutexOptionsRedisMutexOptions
    • Config moved to RedisConfig
    • RespSocket moved to Amp\Redis\Connection\RedisConnection and is an interface now
    • RespParser moved to Amp\Redis\Protocol\RespParser
    • QueryExecutor moved to Amp\Redis\Connection\RedisLink
    • RemoteExecutor moved to Amp\Redis\Connection\ReconnectingRedisLink
    • RedisHyperLogLog moved to Amp\Redis\Command\RedisHyperLogLog
    • RedisList moved to Amp\Redis\Command\RedisList
    • RedisMap moved to Amp\Redis\Command\RedisMap
    • RedisSet moved to Amp\Redis\Command\RedisSet
    • RedisSortedSet moved to Amp\Redis\Command\RedisSortedSet
    • SortOptions moved to Amp\Redis\Command\Option\SortOptions
    • SetOptions moved to Amp\Redis\Command\Option\SetOptions
    • SocketException moved to Amp\Redis\Connection/RedisConnectionException
    • ParserException moved to Amp\Redis\Protocol\ProtocolException
    • QueryException moved to Amp\Redis\Protocol\QueryException
  • RedisSubscription is now a simple PHP iterator now that Amp\Iterator is no longer necessary with fibers.

1.1.2

26 Oct 02:38
v1.1.2
edd1edc
Compare
Choose a tag to compare
  • Fixed leaking non-RedisException from Subscriber connection errors.

1.1.1

25 Mar 15:07
v1.1.1
6e01617
Compare
Choose a tag to compare
  • Fix deprecated string interpolation style

1.1.0

25 Mar 15:07
v1.1.0
07eb124
Compare
Choose a tag to compare
  • Added getRange(), getRangeWithScores(), getRangeByScore(), getRangeByScoreWithScores(), and getLexicographicRange() to RedisSortedSet (#77, #78)
  • Fixed a circular reference in RemoteExecutor that delayed garbage collection

2.0.0 Beta 3

07 Nov 22:46
v2.0.0-beta.3
6a19255
Compare
Choose a tag to compare
2.0.0 Beta 3 Pre-release
Pre-release
  • Added compatibility with Revolt v1.x

2.0.0 Beta 2

20 Oct 18:21
v2.0.0-beta.2
c2bfdc8
Compare
Choose a tag to compare
2.0.0 Beta 2 Pre-release
Pre-release
  • Fix subscription calling unsubscribe if only iterator is retained
  • Expand psr/log version constraint for wider compatibility (#79)