Skip to content

Releases: amphp/redis

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

1.0.5

12 Oct 20:25
v1.0.5
Compare
Choose a tag to compare
  • Fixed reconnect if initial connect fails (#70)
  • Fix Redis::get() return type by @enumag (#66)

1.0.4

27 Jul 21:03
v1.0.4
Compare
Choose a tag to compare
  • Fixed error handling on connection closure
  • Fixed RespSocket::write if the socket is closed

1.0.3

16 May 19:20
v1.0.3
Compare
Choose a tag to compare
  • Fixed error when popTailBlocking returns null
  • Fixed popTailBlocking type information
  • Fixed popTailPushHeadBlocking type information

1.0.2

16 May 19:09
v1.0.2
Compare
Choose a tag to compare
  • Fixed error when popHeadBlocking returns null (#64)
  • Fixed popHeadBlocking type information

1.0.1

24 Oct 22:10
v1.0.1
Compare
Choose a tag to compare
  • Fixed timed out clients not removing themselves from the lock queue in Mutex (#61)

1.0.0

29 Sep 16:01
v1.0.0
Compare
Choose a tag to compare
  • Changed to human readable names in favor of direct redis command names
  • Merged Mutex implementation from kelunik/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() to RedisList::sort(), RedisSet::sort(), and RedisSortedSet::sort()
  • Fixed setTtl()getTtl(), setTtlInMillis()getTtlInMillis()
  • Renamed RedisHyperLogLog::storeMergeOfRedisHyperLogLog::storeUnion()
  • Renamed SetOptions::toSetQuery()SetOptions::toQuery()
  • Renamed SortOptions::isLexicographically()SortOptions::isLexicographicSorting()
  • Fixed SortOptions::getCount()

1.0.0 RC2

24 Sep 21:12
v1.0.0-rc2
Compare
Choose a tag to compare
1.0.0 RC2 Pre-release
Pre-release

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 use Config::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 with Redis::move()
  • Fixed return type of RedisList::set() and RedisList::trim()
  • Fixed return type of RedisMap::getValues() and RedisMap::scan()
  • Fixed scan commands
  • Accept optional Connector parameter in constructor of RemoteExecutor / RemoteExecutorFactory