Skip to content

2.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@trowski trowski released this 09 May 03:52
v2.0.0-beta.1
e396442

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