Switched to PSR-4 for autoloading.
Switched to react/event-loop 0.4 and predis/predis 1.0. This change breaks the compatibility with previous versions of Predis\Async due to the changes needed to adapt to the new (and stable) API of Predis. Support for PHP 5.3 has been dropped since newer versions of React require PHP >= 5.4.
The phpiredis extension is now optional and by default the client uses a pure PHP protocol serializer / parser provided by the clue/redis-protocol library. This change also enables Predis\Async to be used with HHVM.
Callbacks are now required by Client::connect(), Client::executeCommand(), ConnectionInterface::connect() and ConnectionInterface::executeCommand() but they are still optional when using Client::__call().
- FIX: when connection refused exceptions are thrown the client gets stuck in a retry loop that keeps on raising exceptions until the specified server starts accepting new connections again.
- FIX: properly release subscription to write events when the write buffer is empty (ISSUE #5).
- The library now requires react/event-loop v0.3.x.
- First versioned release of Predis\Async. This should be used if you still depend on react v0.2.x.