All Versions
20
Latest Version
Avg Release Cycle
88 days
Latest Release
43 days ago

Changelog History
Page 1

  • v0.18.0

    December 03, 2020
  • v0.17.0

    July 29, 2020

    ๐Ÿ›  Fixes and improvements

    • โž• Added Redis Streams commands (#162)
    • โž• Added support for zpopmin and zpopmax (#351)
    • โž• Added TLS support, gated by a feature flag (#305)
    • โž• Added Debug and Clone implementations to redis::Script (#365)
    • โž• Added FromStr for ConnectionInfo (#368)
    • ๐Ÿ‘Œ Support SCAN methods on async connections (#326)
    • โœ‚ Removed unnecessary overhead around Value conversions (#327)
    • ๐Ÿ‘Œ Support for Redis 6 auth (#341)
    • ๐Ÿ›  BUGFIX: Make aio::Connection Sync again (#321)
    • ๐Ÿ›  BUGFIX: Return UnexpectedEof if we try to decode at eof (#322)
    • โž• Added support to create a connection from a (host, port) tuple (#370)
  • v0.16.0

    May 10, 2020

    ๐Ÿ›  Fixes and improvements

    • โฌ‡๏ธ Reduce dependencies without async IO (#266)
    • โž• Add an afl fuzz target (#274)
    • โšก๏ธ Updated to combine 4 and avoid async dependencies for sync-only (#272)
      • BREAKING CHANGE: The parser type now only persists the buffer and takes the Read instance in parse_value
    • Implement a connection manager for automatic reconnection (#278)
    • โž• Add async-std support ([#281]([https://github.com/mitsuhiko/redis-rs/pull/281))
    • ๐Ÿ›  Fix key extraction for some stream commands (#283)
    • โž• Add asynchronous PubSub support (#287)

    ๐Ÿ’ฅ Breaking changes

    ๐Ÿ”„ Changes to the Parser type (#272)

    ๐Ÿ“œ The parser type now only persists the buffer and takes the Read instance in parse_value. redis::parse_redis_value is unchanged and continues to work.

    Old:

    let mut parser = Parser::new(bytes);
    let result = parser.parse_value();
    

    ๐Ÿ†• New:

    let mut parser = Parser::new();
    let result = parser.pase_value(bytes);
    
  • v0.15.1

    January 15, 2020

    ๐Ÿ›  Fixes and improvements

  • v0.15.0

    January 15, 2020

    ๐Ÿ›  Fixes and improvements

    • โž• Added support for cargo cluster (#239)
  • v0.14.0

    January 08, 2020

    ๐Ÿ›  Fixes and improvements

    • ๐Ÿ›  Fix the command verb being sent to redis for zremrangebyrank (#240)
    • Add get_connection_with_timeout to Client (#243)
    • ๐Ÿ’ฅ Breaking change: Add Cmd::get, Cmd::set and remove PipelineCommands (#253)
    • Async-ify the API (#232)
    • โฌ†๏ธ Bump minimal required Rust version to 1.39 (required for the async/await API)
    • โž• Add async/await examples (#261, #263)
    • โž• Added support for PSETEX and PTTL commands. (#259)

    ๐Ÿ’ฅ Breaking changes

    โž• Add Cmd::get, Cmd::set and remove PipelineCommands (#253)

    ๐Ÿšš If you are using pipelines and were importing the PipelineCommands trait you can now remove that import and only use the Commands trait.

    Old:

    use redis::{Commands, PipelineCommands};
    

    ๐Ÿ†• New:

    use redis::Commands;
    
  • v0.13.0

    October 14, 2019

    ๐Ÿ›  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>()
    
  • v0.12.0

    August 26, 2019

    ๐Ÿ›  Fixes and improvements

    • ๐Ÿ’ฅ Breaking change: Use dyn keyword to avoid deprecation warning (#223)
    • ๐Ÿ’ฅ Breaking change: Update url dependency to v2 (#234)
    • ๐Ÿ’ฅ Breaking change: (async) Fix Script::invoke_async return type error (#233)
    • โž• Add GETRANGE and SETRANGE commands (#202)
    • ๐Ÿ›  Fix SINTERSTORE wrapper name, it's now correctly sinterstore (#225)
    • ๐Ÿ‘ Allow running SharedConnection with any other runtime (#229)
    • Reformatted as Edition 2018 code (#235)

    ๐Ÿ’ฅ BREAKING CHANGES

    ๐Ÿ—„ Use dyn keyword to avoid deprecation warning (#223)

    ๐Ÿ—„ Rust nightly deprecated bare trait objects. โš  This PR adds the dyn keyword to all trait objects in order to get rid of the warning. ๐Ÿ‘ This bumps the minimal supported Rust version to Rust 1.27.

    โšก๏ธ Update url dependency to v2 (#234)

    We updated the url dependency to v2. We do expose this on our public API on the redis::parse_redis_url function. If you depend on that, make sure to also upgrade your direct dependency.

    (async) Fix Script::invoke_async return type error (#233)

    Previously, invoking a script with a complex return type would cause the following error:

    Response was of incompatible type: "Not a bulk response" (response was string data('"4b98bef92b171357ddc437b395c7c1a5145ca2bd"'))
    

    This was because the Future returned when loading the script into the database returns the hash of the script, and thus the return type of String would not match the intended return type.

    This commit adds an enum to account for the different Future return types.

  • v0.11.0

    July 19, 2019

    ๐Ÿš€ This release includes all fixes & improvements from the two beta releases listed below. ๐Ÿš€ This release contains breaking changes.

    ๐Ÿ›  Fixes and improvements

    • ๐ŸŽ (async) Fix performance problem for SharedConnection (#222)
  • v0.11.0-beta.2

    July 14, 2019

    ๐Ÿ›  Fixes and improvements

    • (async) Don't block the executor from shutting down (#217)