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
RedisCommandExecutoris nowRedisClient(#24)RedisConnectionis no longer a protocol (#24)NIORedisConnectionhas taken the name to act as the primary concrete implementation for Redis connections- the
isClosedproperty has been renamed toisConnected
- the
RedisPipelineis no longer a protocol (#26)NIORedisPipelinehas taken the name to act as the primary concrete implementation for Redis pipelines
RedisDriveris 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 theQUITcommand could not be sent (#24)