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
andRespParser
have been moved the theAmp\Redis\Connection
sub-namespace.RespSocket
is now an interface implemented byDefaultRespParser
- Added
RedisConnector
interface and a single implementation,RedisSocketConnector
Mutex
sub-namespace has been changed toSync
. All classes within now have a prefix of Redis, e.g.,Mutex
→RedisMutex
,MutexOptions
→RedisMutexOptions
- Added
RedisParcel
in theSync
sub-namespace implementing theParcel
interface fromamphp/sync
Subscription
is now a simple PHP iterator now thatAmp\Iterator
is no longer necessary with fibers.- Several classes now have a Redis prefix which did not before:
Config
→RedisConfig
SetOptions
→RedisSetOptions
SortOptions
→RedisSortOptions
SocketException
→RedisSocketException