Skip to content

0.8.0

Choose a tag to compare

@gavrie gavrie released this 07 Apr 19:36
· 393 commits to master since this release

Release 0.8.0

Breaking changes:

  • As described below, all commands defined with the redis_module! macro now take 3 additional arguments (which were previously hardcoded, wrongly, to equal 1 each). This will require updating your code (but the change is trivial, see the examples).

User-facing changes

  • Improved support for specifying which command arguments are Redis keys:

    • When declaring Redis commands with redis_module!, the standard firstkey, lastkey, and keystep arguments are now necessary so Redis knows which arguments are keys. This was a missing feature, and becomes important with the Redis 6.0 ACLs feature that depends on this being correct.
    • Support for RedisModule_IsKeysPositionRequest allows the author of a command to define more fine-grained handling of which arguments are keys.
  • Added support for Redis timers: Idiomatic Rust wrappers for RedisModule_CreateTimer, StopTimer and GetTimerInfo.

Internal enhancements

  • Cleaner way to use the Redis allocator: Previously this was a runtime flag, now it's compile-time.