Amphp Redis Versions Save

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

v1.1.3

6 months ago
  • Fixed #84: Unexpected connection close in RemoteExecutor causing method call on null.

v1.1.2

6 months ago
  • Fixed leaking non-RedisException from Subscriber connection errors.

v2.0.0

8 months ago

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.

v1.1.1

1 year ago
  • Fix deprecated string interpolation style

v1.1.0

1 year ago
  • Added getRange(), getRangeWithScores(), getRangeByScore(), getRangeByScoreWithScores(), and getLexicographicRange() to RedisSortedSet (#77, #78)
  • Fixed a circular reference in RemoteExecutor that delayed garbage collection

v2.0.0-beta.3

1 year ago
  • Added compatibility with Revolt v1.x

v2.0.0-beta.2

1 year ago

v2.0.0-beta.1

2 years ago

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

v1.0.7

2 years ago
  • Fixed a case where an exception may be thrown to the event loop when a Subscriber lost connection to the Redis server.

v1.0.6

2 years ago