Skip to content

Releases: amphp/redis

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)

2.0.0 Beta 1

09 May 03:52
v2.0.0-beta.1
e396442
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release

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.

  • RespSocket and RespParser have been moved the the Amp\Redis\Connection sub-namespace. RespSocket is now an interface implemented by DefaultRespParser
  • Added RedisConnector interface and a single implementation, RedisSocketConnector
  • Mutex sub-namespace has been changed to Sync. All classes within now have a prefix of Redis, e.g., MutexRedisMutex, MutexOptionsRedisMutexOptions
  • Added RedisParcel in the Sync sub-namespace implementing the Parcel interface from amphp/sync
  • Subscription is now a simple PHP iterator now that Amp\Iterator is no longer necessary with fibers.
  • Several classes now have a Redis prefix which did not before:
    • ConfigRedisConfig
    • SetOptionsRedisSetOptions
    • SortOptionsRedisSortOptions
    • SocketExceptionRedisSocketException

1.0.7

11 Jan 17:04
90aa4f5
Compare
Choose a tag to compare
  • Fixed a case where an exception may be thrown to the event loop when a Subscriber lost connection to the Redis server.

1.0.6

18 Oct 17:22
v1.0.6
1eade91
Compare
Choose a tag to compare
  • Fixed Redis::getMultiple combining responses by @dmitry-pilipenko in #72