Skip to content

NIORedis 0.5.0: Everything is Convenient

Pre-release
Pre-release
Compare
Choose a tag to compare
@Mordil Mordil released this 25 Mar 23:04
· 294 commits to master since this release
2dd1d30

Motivation

The goal of this release was to bring feature parity with Vapor's Redis implementation and to have as Swifty of an API as possible, with consistent documentation and minimal performance impact.

Breaking Changes

  • Every command extension has the @inlinable attribute to remove method call overhead as much as possible
  • Every existing command extension up to this point has been re-evaluated with the function names, parameter labels, and return types.

New Additions

  • EventLoopFutures resolving RESPValue now have an extension method that can convert to a type you desire or fail with a RedisError: .mapFromRESP(to:) (5a35a91)
  • New convenience command methods