0.8.0
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 equal1each). 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 standardfirstkey,lastkey, andkeysteparguments 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_IsKeysPositionRequestallows the author of a command to define more fine-grained handling of which arguments are keys.
- When declaring Redis commands with
-
Added support for Redis timers: Idiomatic Rust wrappers for
RedisModule_CreateTimer,StopTimerandGetTimerInfo.
Internal enhancements
- Cleaner way to use the Redis allocator: Previously this was a runtime flag, now it's compile-time.