NIORedis 0.6.0: Simple Connections
Pre-release
Pre-release
Motivation
Much of the exposed types in the library were wordy, unclear, or not fulfilling strong use cases - so a revisit was done to the foundational protocols: RedisCommandExecutor
, RedisConnection
, RedisPipeline
- as well as their implementations and RedisDriver
.
Breaking Changes
RedisCommandExecutor
is nowRedisClient
(#24)RedisConnection
is no longer a protocol (#24)NIORedisConnection
has taken the name to act as the primary concrete implementation for Redis connections- the
isClosed
property has been renamed toisConnected
- the
RedisPipeline
is no longer a protocol (#26)NIORedisPipeline
has taken the name to act as the primary concrete implementation for Redis pipelines
RedisDriver
is no longer a thing (#25)- Connections are now made with a static method on
RedisConnection
- Connections are now made with a static method on
Fixes
RedisConnection.close()
has had some tweaks to resolve a state where closing a connection results in error and theQUIT
command could not be sent (#24)