Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.
RemoteExecutor
causing method call on null.RedisException
from Subscriber
connection errors.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
.
RedisParcel
in the Sync
sub-namespace implementing the Parcel
interface from amphp/sync
RedisConnector
interface to decouple connecting and init commands such as AUTH
and SELECT
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., Mutex
→ RedisMutex
, MutexOptions
→ RedisMutexOptions
Config
moved to RedisConfig
RespSocket
moved to Amp\Redis\Connection\RedisConnection
and is an interface nowRespParser
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.getRange()
, getRangeWithScores()
, getRangeByScore()
, getRangeByScoreWithScores()
, and getLexicographicRange()
to RedisSortedSet
(#77, #78)RemoteExecutor
that delayed garbage collectionpsr/log
version constraint for wider compatibility (https://github.com/amphp/redis/pull/79)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
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., Mutex
→ RedisMutex
, MutexOptions
→ RedisMutexOptions
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.Config
→ RedisConfig
SetOptions
→ RedisSetOptions
SortOptions
→ RedisSortOptions
SocketException
→ RedisSocketException
Subscriber
lost connection to the Redis server.Redis::getMultiple
combining responses by @dmitry-pilipenko in https://github.com/amphp/redis/pull/72