Releases: amphp/redis
Releases · amphp/redis
2.0.0 Beta 1
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
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
- Changed to human readable names in favor of direct redis command names
- Merged
Mutex
implementation fromkelunik/redis-mutex
- Added type declarations where possible
- Separated high-level commands from low-level raw
QueryExecutor
- Added support for
redis://
URIs
- Renamed
restoreFromDump()
→restore()
- Moved
Redis::getSorted()
toRedisList::sort()
,RedisSet::sort()
, andRedisSortedSet::sort()
- Fixed
setTtl()
→getTtl()
,setTtlInMillis()
→getTtlInMillis()
- Renamed
RedisHyperLogLog::storeMergeOf
→RedisHyperLogLog::storeUnion()
- Renamed
SetOptions::toSetQuery()
→SetOptions::toQuery()
- Renamed
SortOptions::isLexicographically()
→SortOptions::isLexicographicSorting()
- Fixed
SortOptions::getCount()
1.0.0 RC2
Note: This is a pre-release, there might be breaking changes in the final stable version.
- Fixed URI parsing in
Config
Config
constructor is now private, please useConfig::fromUri
instead- Fixed / improved
Mutex
implementation - Renamed
Redis::expire()
→Redis::expireIn()
- Renamed
Redis::pauseInMillis()
→Redis::pauseMillis()
- Renamed
RedisMap::delete()
→RedisMap::remove()
- Renamed
RedisSet::isMember()
→RedisSet::contains()
- Changed parameter order in
RedisSet::move()
to be consistent withRedis::move()
- Fixed return type of
RedisList::set()
andRedisList::trim()
- Fixed return type of
RedisMap::getValues()
andRedisMap::scan()
- Fixed
scan
commands - Accept optional
Connector
parameter in constructor ofRemoteExecutor
/RemoteExecutorFactory