redis-rs v0.13.0 Release Notes

Release Date: 2019-10-14 // almost 3 years ago
  • ๐Ÿ›  Fixes and improvements

    • ๐Ÿ’ฅ Breaking change: rename parse_async to parse_redis_value_async for consistency (ce59cecb).
    • โš™ Run clippy over the entire codebase (#238)
    • ๐Ÿ’ฅ Breaking change: Make Script#invoke_async generic over aio::ConnectionLike (#242)

    ๐Ÿ’ฅ BREAKING CHANGES

    ๐Ÿ“œ Rename parse_async to parse_redis_value_async for consistency (ce59cecb).

    ๐Ÿ“œ If you used redis::parse_async before, you now need to change this to redis::parse_redis_value_async or import the method under the new name: use redis::parse_redis_value_async.

    ๐Ÿ‘‰ Make Script#invoke_async generic over aio::ConnectionLike (#242)

    ๐Ÿ‘ Script#invoke_async was changed to be generic over aio::ConnectionLike in order to support wrapping a SharedConnection in user code. This required adding a new generic parameter to the method, causing an error when the return type is defined using the turbofish syntax.

    Old:

    redis::Script::new("return ...")
      .key("key1")
      .arg("an argument")
      .invoke_async::<String>()
    

    ๐Ÿ†• New:

    redis::Script::new("return ...")
      .key("key1")
      .arg("an argument")
      .invoke_async::<_, String>()